Home | History | Annotate | Download | only in Sema

Lines Matching refs:TypeLoc

18 #include "clang/AST/TypeLoc.h"
60 /// Pushes a copy of the given TypeLoc onto this builder. The builder
62 void pushFullCopy(TypeLoc L) {
64 TypeLoc Copy = pushFullUninitializedImpl(L.getType(), Size);
70 TypeLoc pushFullUninitialized(QualType T) {
71 return pushFullUninitializedImpl(T, TypeLoc::getFullDataSizeForType(T));
74 /// Pushes space for a typespec TypeLoc. Invalidates any TypeLocs
97 /// Pushes space for a new TypeLoc of the given type. Invalidates
100 size_t LocalSize = cast<TyLocType>(TypeLoc(T, 0)).getLocalDataSize();
117 /// returns a \c TypeLoc referring into the AST context.
118 TypeLoc getTypeLocInContext(ASTContext &Context, QualType T) {
126 return TypeLoc(T, Mem);
130 TypeLoc pushImpl(QualType T, size_t LocalSize) {
132 QualType TLast = TypeLoc(T, 0).getNextTypeLoc().getType();
171 TypeLoc pushFullUninitializedImpl(QualType T, size_t Size) {
185 /// \brief Retrieve a temporary TypeLoc that refers into this \c TypeLocBuilder
188 /// The resulting \c TypeLoc should only be used so long as the
191 TypeLoc getTemporaryTypeLoc(QualType T) {
195 return TypeLoc(T, &Buffer[Index]);