class DataStreamBasicReader

Declaration

template <class Impl>
class DataStreamBasicReader { /* full declaration omitted */ };

Description

DataStreamBasicReader provides convenience implementations for many BasicReader methods based on the assumption that the ultimate reader implementation is based on a variable-length stream of unstructured data (like Clang's module files). It is designed to pair with DataStreamBasicWriter. This class can also act as a PropertyReader, implementing find("...") by simply forwarding to itself. Unimplemented methods: readBool readUInt32 readUInt64 readIdentifier readSelector readSourceLocation readQualType readStmtRef readDeclRef

Declared at: clang/include/clang/AST/AbstractBasicReader.h:123

Templates

Impl

Method Overview

Methods

DataStreamBasicReader<Impl>(
    clang::ASTContext& ctx)

Declared at: clang/include/clang/AST/AbstractBasicReader.h:126

Parameters

clang::ASTContext& ctx

Impl& find(const char* propertyName)

Description

Implement property-find by ignoring it. We rely on properties being serialized and deserialized in a reliable order instead.

Declared at: clang/include/clang/AST/AbstractBasicReader.h:133

Parameters

const char* propertyName

llvm::APInt readAPInt()

Declared at: clang/include/clang/AST/AbstractBasicReader.h:171

llvm::APSInt readAPSInt()

Declared at: clang/include/clang/AST/AbstractBasicReader.h:165

template <class T>
llvm::ArrayRef<T> readArray(
    llvm::SmallVectorImpl<T>& buffer)

Declared at: clang/include/clang/AST/AbstractBasicReader.h:147

Templates

T

Parameters

llvm::SmallVectorImpl<T>& buffer

template <class T>
T readEnum()

Declared at: clang/include/clang/AST/AbstractBasicReader.h:138

Templates

T

FunctionProtoType::ExceptionSpecInfo
readExceptionSpecInfo(
    llvm::SmallVectorImpl<QualType>& buffer)

Declared at: clang/include/clang/AST/AbstractBasicReader.h:222

Parameters

llvm::SmallVectorImpl<QualType>& buffer

FunctionProtoType::ExtParameterInfo
readExtParameterInfo()

Declared at: clang/include/clang/AST/AbstractBasicReader.h:238

llvm::FixedPointSemantics
readFixedPointSemantics()

Declared at: clang/include/clang/AST/AbstractBasicReader.h:180

APValue::LValuePathSerializationHelper
readLValuePathSerializationHelper(
    SmallVectorImpl<APValue::LValuePathEntry>&
        path)

Declared at: clang/include/clang/AST/AbstractBasicReader.h:191

Parameters

SmallVectorImpl<APValue::LValuePathEntry>& path

clang::NestedNameSpecifier*
readNestedNameSpecifier()

Declared at: clang/include/clang/AST/AbstractBasicReader.h:246

Impl& readObject()

Declared at: clang/include/clang/AST/AbstractBasicReader.h:144

template <class T, class... Args>
llvm::Optional<T> readOptional(Args&&... args)

Declared at: clang/include/clang/AST/AbstractBasicReader.h:160

Templates

T
Args

Parameters

Args&&... args

clang::Qualifiers readQualifiers()

Declared at: clang/include/clang/AST/AbstractBasicReader.h:214