clang
10.0.0git
|
DataStreamBasicWriter provides convenience implementations for many BasicWriter methods based on the assumption that the ultimate writer implementation is based on a variable-length stream of unstructured data (like Clang's module files). More...
#include "clang/AST/AbstractBasicWriter.h"
Public Member Functions | |
Impl & | find (const char *propertyName) |
Implement property-find by ignoring it. More... | |
Impl & | writeObject () |
template<class T > | |
void | writeEnum (T value) |
template<class T > | |
void | writeArray (llvm::ArrayRef< T > array) |
template<class T > | |
void | writeOptional (llvm::Optional< T > value) |
void | writeAPSInt (const llvm::APSInt &value) |
void | writeAPInt (const llvm::APInt &value) |
void | writeQualifiers (Qualifiers value) |
void | writeExceptionSpecInfo (const FunctionProtoType::ExceptionSpecInfo &esi) |
void | writeExtParameterInfo (FunctionProtoType::ExtParameterInfo epi) |
void | writeNestedNameSpecifier (NestedNameSpecifier *NNS) |
DataStreamBasicWriter provides convenience implementations for many BasicWriter methods based on the assumption that the ultimate writer implementation is based on a variable-length stream of unstructured data (like Clang's module files).
It is designed to pair with DataStreamBasicReader.
This class can also act as a PropertyWriter, implementing find("...") by simply forwarding to itself.
Unimplemented methods: writeBool writeUInt32 writeUInt64 writeIdentifier writeSelector writeSourceLocation writeQualType writeStmtRef writeDeclRef
Definition at line 121 of file AbstractBasicWriter.h.
|
inline |
Implement property-find by ignoring it.
We rely on properties being serialized and deserialized in a reliable order instead.
Definition at line 128 of file AbstractBasicWriter.h.
|
inline |
Definition at line 159 of file AbstractBasicWriter.h.
|
inline |
Definition at line 154 of file AbstractBasicWriter.h.
|
inline |
Definition at line 142 of file AbstractBasicWriter.h.
|
inline |
Definition at line 137 of file AbstractBasicWriter.h.
|
inline |
Definition at line 172 of file AbstractBasicWriter.h.
|
inline |
Definition at line 187 of file AbstractBasicWriter.h.
|
inline |
Definition at line 193 of file AbstractBasicWriter.h.
|
inline |
Definition at line 134 of file AbstractBasicWriter.h.
|
inline |
Definition at line 150 of file AbstractBasicWriter.h.
|
inline |
Definition at line 166 of file AbstractBasicWriter.h.
Referenced by getTypeCodeForTypeClass().