/external/clang/include/clang/AST/ |
TypeLocVisitor.h | 1 //===--- TypeLocVisitor.h - Visitor for TypeLoc subclasses ------*- C++ -*-===// 16 #include "clang/AST/TypeLoc.h" 29 RetTy Visit(TypeLoc TyLoc) { 32 #define TYPELOC(CLASS, PARENT) \ 33 case TypeLoc::CLASS: DISPATCH(CLASS##TypeLoc); 42 #define TYPELOC(CLASS, PARENT) \ 43 case TypeLoc::CLASS: DISPATCH(CLASS##TypeLoc); 49 #define TYPELOC(CLASS, PARENT) [all...] |
TypeLoc.h | 1 //===--- TypeLoc.h - Type Source Info Wrapper -------------------*- C++ -*-===// 11 /// \brief Defines the clang::TypeLoc interface and its subclasses. 32 #define TYPELOC(Class, Base) \ 33 class Class##TypeLoc; 38 /// A client should use the TypeLoc subclasses through castAs()/getAs() 40 class TypeLoc { 48 /// \brief Convert to the specified TypeLoc type, asserting that this TypeLoc 56 TypeLoc& tl = t; 61 /// \brief Convert to the specified TypeLoc type, returning a null TypeLoc i [all...] |
ASTTypeTraits.h | 24 #include "clang/AST/TypeLoc.h" 172 KIND_TO_KIND_ID(TypeLoc) 360 NestedNameSpecifierLoc, QualType, TypeLoc> 402 TypeLoc, void> : public ValueConverter<TypeLoc> {};
|
NestedNameSpecifier.h | 31 class TypeLoc; 318 TypeLoc getTypeLoc() const; 385 /// \param TL The TypeLoc that describes the type preceding the '::'. 388 void Extend(ASTContext &Context, SourceLocation TemplateKWLoc, TypeLoc TL,
|
DataRecursiveASTVisitor.h | 35 #include "clang/AST/TypeLoc.h" 168 /// Traverse*TypeLoc() based on the argument type's getTypeClass() property. 172 bool TraverseTypeLoc(TypeLoc TL); 337 // FIXME: revamp to take TypeLoc's rather than Types. 360 // Declare Traverse*() for all concrete TypeLoc classes. 362 #define TYPELOC(CLASS, BASE) bool Traverse##CLASS##TypeLoc(CLASS##TypeLoc TL); 364 // The above header #undefs ABSTRACT_TYPELOC and TYPELOC upon exit. 366 // Define WalkUpFrom*() and empty Visit*() for all TypeLoc classes [all...] |
RecursiveASTVisitor.h | 35 #include "clang/AST/TypeLoc.h" 172 /// Traverse*TypeLoc() based on the argument type's getTypeClass() property. 176 bool TraverseTypeLoc(TypeLoc TL); 339 // FIXME: revamp to take TypeLoc's rather than Types. 362 // Declare Traverse*() for all concrete TypeLoc classes. 364 #define TYPELOC(CLASS, BASE) bool Traverse##CLASS##TypeLoc(CLASS##TypeLoc TL); 366 // The above header #undefs ABSTRACT_TYPELOC and TYPELOC upon exit. 368 // Define WalkUpFrom*() and empty Visit*() for all TypeLoc classes [all...] |
/external/clang/lib/AST/ |
TypeLoc.cpp | 1 //===--- TypeLoc.cpp - Type Source Info Wrapper -----------------*- C++ -*-===// 10 // This file defines the TypeLoc subclasses implementations. 14 #include "clang/AST/TypeLoc.h" 23 // TypeLoc Implementation 30 #define TYPELOC(CLASS, PARENT) \ 31 SourceRange Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \ 38 SourceRange TypeLoc::getLocalSourceRangeImpl(TypeLoc TL) { 47 #define TYPELOC(CLASS, PARENT) [all...] |
ASTTypeTraits.cpp | 30 { NKI_None, "TypeLoc" }, 122 else if (const TypeLoc *TL = get<TypeLoc>()) 148 if (const TypeLoc *TL = get<TypeLoc>())
|
Android.mk | 77 TypeLoc.cpp \
|
NestedNameSpecifier.cpp | 20 #include "clang/AST/TypeLoc.h" 347 // The "void*" that points at the TypeLoc data. 348 // Note: the 'template' keyword is part of the TypeLoc. 412 // The "void*" that points at the TypeLoc data. 413 // Note: the 'template' keyword is part of the TypeLoc. 415 TypeLoc TL(Qualifier->getAsType(), TypeData); 424 TypeLoc NestedNameSpecifierLoc::getTypeLoc() const { 429 // The "void*" that points at the TypeLoc data. 432 return TypeLoc(Qualifier->getAsType(), TypeData); 535 TypeLoc TL, [all...] |
Comment.cpp | 238 TypeLoc TL = TSI->getTypeLoc().getUnqualifiedLoc(); 294 TypeLoc TL = MaybeFunctionTSI->getTypeLoc().getUnqualifiedLoc();
|
/external/clang/lib/Sema/ |
TypeLocBuilder.cpp | 19 void TypeLocBuilder::pushFullCopy(TypeLoc L) { 23 SmallVector<TypeLoc, 4> TypeLocs; 24 TypeLoc CurTL = L; 31 TypeLoc CurTL = TypeLocs[e-i-1]; 34 #define TYPELOC(CLASS, PARENT) \ 35 case TypeLoc::CLASS: { \ 36 CLASS##TypeLoc NewTL = push<class CLASS##TypeLoc>(CurTL.getType()); \ 63 TypeLoc TypeLocBuilder::pushImpl(QualType T, size_t LocalSize, unsigned LocalAlignment) { 65 QualType TLast = TypeLoc(T, nullptr).getNextTypeLoc().getType() [all...] |
TypeLocBuilder.h | 19 #include "clang/AST/TypeLoc.h" 65 /// Pushes a copy of the given TypeLoc onto this builder. The builder 67 void pushFullCopy(TypeLoc L); 69 /// Pushes space for a typespec TypeLoc. Invalidates any TypeLocs 94 /// Pushes space for a new TypeLoc of the given type. Invalidates 97 TyLocType Loc = TypeLoc(T, nullptr).castAs<TyLocType>(); 116 /// returns a \c TypeLoc referring into the AST context. 117 TypeLoc getTypeLocInContext(ASTContext &Context, QualType T) { 125 return TypeLoc(T, Mem); 130 TypeLoc pushImpl(QualType T, size_t LocalSize, unsigned LocalAlignment) [all...] |
/external/clang/lib/ARCMigrate/ |
TransARCAssign.cpp | 61 TypeLoc TLoc = var->getTypeSourceInfo()->getTypeLoc();
|
TransGCAttrs.cpp | 64 TypeLoc TL = TInfo->getTypeLoc(); 248 TypeLoc TL = TInfo->getTypeLoc();
|
/external/clang/unittests/Tooling/ |
RecursiveASTVisitorTestTypeLocVisitor.cpp | 19 bool VisitTypeLoc(TypeLoc TypeLocation) {
|
/external/clang/lib/ASTMatchers/ |
ASTMatchFinder.cpp | 54 // nodes (\c Stmt and \c Decl, but not \c QualType or \c TypeLoc). 55 // For \c QualType and \c TypeLoc it is possible to implement 127 else if (const TypeLoc *T = DynNode.get<TypeLoc>()) 170 // We assume that the TypeLoc, contained QualType and contained Type all are 172 bool TraverseTypeLoc(TypeLoc TypeLocNode) { 182 // The TypeLoc is matched inside traverse. 231 bool baseTraverse(TypeLoc TypeLocNode) { 374 bool TraverseTypeLoc(TypeLoc TypeNode); 476 } else if (auto *N = Node.get<TypeLoc>()) { [all...] |
/external/clang/unittests/AST/ |
SourceLocationTest.cpp | 202 class TemplateAngleBracketLocRangeVerifier : public RangeVerifier<TypeLoc> { 204 SourceRange getRange(const TypeLoc &Node) override { 227 class UnaryTransformTypeLocParensRangeVerifier : public RangeVerifier<TypeLoc> { 229 SourceRange getRange(const TypeLoc &Node) override {
|
/external/clang/include/clang/ASTMatchers/ |
ASTMatchersInternal.h | 733 std::is_same<T, TypeLoc>::value || 806 std::is_base_of<TypeLoc, T>::value || 822 std::is_base_of<TypeLoc, T>::value || [all...] |
ASTMatchFinder.h | 209 std::vector<std::pair<TypeLocMatcher, MatchCallback *>> TypeLoc;
|
ASTMatchersMacros.h | 323 /// the corresponding \c TypeLoc. 326 // FIXME: add a matcher for TypeLoc derived classes using its custom casting 351 static TypeLoc (T::*value())() const { return &T::FunctionName##Loc; } \ 355 TypeLoc, internal::TypeLocMatcher##MatcherName##Getter, \
|
ASTMatchers.h | 126 typedef internal::Matcher<TypeLoc> TypeLocMatcher; 183 /// Usable as: Matcher<Decl>, Matcher<Stmt>, Matcher<TypeLoc> 185 AST_POLYMORPHIC_SUPPORTED_TYPES(Decl, Stmt, TypeLoc)) { 204 /// Usable as: Matcher<Decl>, Matcher<Stmt>, Matcher<TypeLoc> 206 AST_POLYMORPHIC_SUPPORTED_TYPES(Decl, Stmt, TypeLoc)) { 229 /// Usable as: Matcher<Decl>, Matcher<Stmt>, Matcher<TypeLoc> 231 AST_POLYMORPHIC_SUPPORTED_TYPES(Decl, Stmt, TypeLoc), [all...] |
/external/clang/tools/libclang/ |
CursorVisitor.h | 251 #define TYPELOC(CLASS, PARENT) \ 252 bool Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc);
|
IndexBody.cpp | 31 bool TraverseTypeLoc(TypeLoc TL) {
|
IndexTypeSourceInfo.cpp | 105 void IndexingContext::indexTypeLoc(TypeLoc TL,
|