| /src/external/apache2/llvm/dist/clang/include/clang/AST/ |
| TypeLocVisitor.h | 1 //===--- TypeLocVisitor.h - Visitor for TypeLoc subclasses ------*- C++ -*-===// 15 #include "clang/AST/TypeLoc.h" 27 RetTy Visit(TypeLoc TyLoc) { 30 #define TYPELOC(CLASS, PARENT) \ 31 case TypeLoc::CLASS: DISPATCH(CLASS##TypeLoc); 40 #define TYPELOC(CLASS, PARENT) \ 41 case TypeLoc::CLASS: DISPATCH(CLASS##TypeLoc); 47 #define TYPELOC(CLASS, PARENT) [all...] |
| TypeLoc.h | 1 //===- TypeLoc.h - Type Source Info Wrapper ---------------------*- C++ -*-===// 10 /// Defines the clang::TypeLoc interface and its subclasses. 50 #define TYPELOC(Class, Base) \ 51 class Class##TypeLoc; 56 /// A client should use the TypeLoc subclasses through castAs()/getAs() 58 class TypeLoc { 66 TypeLoc() = default; 67 TypeLoc(QualType ty, void *opaqueData) 69 TypeLoc(const Type *ty, void *opaqueData) 72 /// Convert to the specified TypeLoc type, asserting that this TypeLo [all...] |
| ASTTypeTraits.h | 22 #include "clang/AST/TypeLoc.h" 199 KIND_TO_KIND_ID(TypeLoc) 302 if (ASTNodeKind::getFromNodeKind<TypeLoc>().isSame(NodeKind)) { 303 auto TLA = getUnchecked<TypeLoc>(); 304 auto TLB = Other.getUnchecked<TypeLoc>(); 334 if (ASTNodeKind::getFromNodeKind<TypeLoc>().isSame(NodeKind)) 335 return getUnchecked<TypeLoc>() == Other.getUnchecked<TypeLoc>(); 363 if (ASTNodeKind::getFromNodeKind<TypeLoc>().isSame(Val.NodeKind)) { 364 auto TL = Val.getUnchecked<TypeLoc>(); [all...] |
| NestedNameSpecifier.h | 38 class TypeLoc; 336 TypeLoc getTypeLoc() const; 400 /// \param TL The TypeLoc that describes the type preceding the '::'. 403 void Extend(ASTContext &Context, SourceLocation TemplateKWLoc, TypeLoc TL,
|
| /src/external/apache2/llvm/dist/clang/lib/AST/ |
| TypeLoc.cpp | 1 //===- TypeLoc.cpp - Type Source Info Wrapper -----------------------------===// 9 // This file defines the TypeLoc subclasses implementations. 13 #include "clang/AST/TypeLoc.h" 36 // TypeLoc Implementation 44 #define TYPELOC(CLASS, PARENT) \ 45 SourceRange Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \ 53 SourceRange TypeLoc::getLocalSourceRangeImpl(TypeLoc TL) { 63 #define TYPELOC(CLASS, PARENT) [all...] |
| Comment.cpp | 130 static TypeLoc lookThroughTypedefOrTypeAliasLocs(TypeLoc &SrcTL) { 131 TypeLoc TL = SrcTL.IgnoreParens(); 158 static bool getFunctionTypeLoc(TypeLoc TL, FunctionTypeLoc &ResFTL) { 159 TypeLoc PrevTL; 182 TypeLoc TL = MaybeFunctionTSI->getTypeLoc().getUnqualifiedLoc(); 309 TypeLoc TL = TSI->getTypeLoc().getUnqualifiedLoc(); 333 TypeLoc TL = TSI->getTypeLoc().getUnqualifiedLoc(); 354 TypeLoc TL = TSI->getTypeLoc().getUnqualifiedLoc();
|
| ASTTypeTraits.cpp | 30 {NKI_None, "TypeLoc"}, 157 else if (const TypeLoc *TL = get<TypeLoc>()) 186 if (const TypeLoc *TL = get<TypeLoc>())
|
| NestedNameSpecifier.cpp | 23 #include "clang/AST/TypeLoc.h" 376 // The "void*" that points at the TypeLoc data. 377 // Note: the 'template' keyword is part of the TypeLoc. 439 // The "void*" that points at the TypeLoc data. 440 // Note: the 'template' keyword is part of the TypeLoc. 442 TypeLoc TL(Qualifier->getAsType(), TypeData); 451 TypeLoc NestedNameSpecifierLoc::getTypeLoc() const { 454 return TypeLoc(); 456 // The "void*" that points at the TypeLoc data. 459 return TypeLoc(Qualifier->getAsType(), TypeData) [all...] |
| ParentMapContext.cpp | 326 template <> DynTypedNode createDynTypedNode(const TypeLoc &Node) { 420 bool TraverseTypeLoc(TypeLoc TypeLocNode) {
|
| /src/external/apache2/llvm/dist/clang/lib/Sema/ |
| TypeLocBuilder.cpp | 18 void TypeLocBuilder::pushFullCopy(TypeLoc L) { 22 SmallVector<TypeLoc, 4> TypeLocs; 23 TypeLoc CurTL = L; 30 TypeLoc CurTL = TypeLocs[e-i-1]; 33 #define TYPELOC(CLASS, PARENT) \ 34 case TypeLoc::CLASS: { \ 35 CLASS##TypeLoc NewTL = push<class CLASS##TypeLoc>(CurTL.getType()); \ 62 TypeLoc TypeLocBuilder::pushImpl(QualType T, size_t LocalSize, unsigned LocalAlignment) { 64 QualType TLast = TypeLoc(T, nullptr).getNextTypeLoc().getType() [all...] |
| TypeLocBuilder.h | 18 #include "clang/AST/TypeLoc.h" 62 /// Pushes a copy of the given TypeLoc onto this builder. The builder 64 void pushFullCopy(TypeLoc L); 66 /// Pushes space for a typespec TypeLoc. Invalidates any TypeLocs 91 /// Pushes space for a new TypeLoc of the given type. Invalidates 94 TyLocType Loc = TypeLoc(T, nullptr).castAs<TyLocType>(); 113 /// returns a \c TypeLoc referring into the AST context. 114 TypeLoc getTypeLocInContext(ASTContext &Context, QualType T) { 122 return TypeLoc(T, Mem); 127 TypeLoc pushImpl(QualType T, size_t LocalSize, unsigned LocalAlignment) [all...] |
| /src/external/apache2/llvm/dist/clang/lib/Tooling/Refactoring/Rename/ |
| USRLocFinder.cpp | 110 SourceLocation StartLocationForType(TypeLoc TL) { 123 SourceLocation EndLocationForType(TypeLoc TL) { 125 while (TL.getTypeLocClass() == TypeLoc::Elaborated || 126 TL.getTypeLocClass() == TypeLoc::Qualified) 132 if (TL.getTypeLocClass() == TypeLoc::TemplateSpecialization) { 140 NestedNameSpecifier *GetNestedNameForType(TypeLoc TL) { 142 while (TL.getTypeLocClass() == TypeLoc::Qualified) 187 // DestructorDecl has been handled in Typeloc. 301 // TypeLoc. 371 bool VisitTypeLoc(TypeLoc Loc) [all...] |
| /src/external/apache2/llvm/dist/clang/lib/ARCMigrate/ |
| TransARCAssign.cpp | 60 TypeLoc TLoc = var->getTypeSourceInfo()->getTypeLoc();
|
| TransGCAttrs.cpp | 63 TypeLoc TL = TInfo->getTypeLoc(); 242 TypeLoc TL = TInfo->getTypeLoc();
|
| /src/external/apache2/llvm/dist/clang/lib/Index/ |
| IndexingContext.h | 32 class TypeLoc; 107 void indexTypeLoc(TypeLoc TL, const NamedDecl *Parent,
|
| /src/external/apache2/llvm/dist/clang/lib/ASTMatchers/ |
| ASTMatchFinder.cpp | 60 // nodes (\c Stmt and \c Decl, but not \c QualType or \c TypeLoc). 61 // For \c QualType and \c TypeLoc it is possible to implement 129 else if (const TypeLoc *T = DynNode.get<TypeLoc>()) 202 // We assume that the TypeLoc, contained QualType and contained Type all are 204 bool TraverseTypeLoc(TypeLoc TypeLocNode) { 214 // The TypeLoc is matched inside traverse. 331 bool baseTraverse(TypeLoc TypeLocNode) { 487 bool TraverseTypeLoc(TypeLoc TypeNode); 541 TypeLoc TL = LE->getCallOperator()->getTypeSourceInfo()->getTypeLoc() [all...] |
| /src/external/apache2/llvm/dist/clang/include/clang/Tooling/ |
| NodeIntrospection.h | 95 NodeLocationAccessors GetLocations(clang::TypeLoc const &);
|
| /src/external/apache2/llvm/dist/clang/include/clang/Serialization/ |
| ASTRecordWriter.h | 23 class TypeLoc; 206 void AddTypeLoc(TypeLoc TL);
|
| /src/external/apache2/llvm/dist/clang/tools/libclang/ |
| CursorVisitor.h | 258 #define TYPELOC(CLASS, PARENT) bool Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc);
|
| /src/external/apache2/llvm/dist/clang/include/clang/ASTMatchers/ |
| ASTMatchersMacros.h | 360 // FIXME: add a matcher for TypeLoc derived classes using its custom casting 407 static TypeLoc (T::*value())() const { return &T::FunctionName##Loc; } \ 412 TypeLoc, \ 421 TypeLoc, \ 432 static TypeLoc (T::*value())() const { return &T::FunctionName##Loc; } \ 436 TypeLoc, \
|
| ASTMatchersInternal.h | 49 #include "clang/AST/TypeLoc.h" 759 std::is_base_of<TypeLoc, T>::value || 773 std::is_base_of<TypeLoc, T>::value || 788 std::is_base_of<TypeLoc, T>::value, 1174 std::is_same<T, TypeLoc>::value || 1188 Type, TypeLoc, CXXCtorInitializer>; 1214 TypeList<Decl, Stmt, NestedNameSpecifier, NestedNameSpecifierLoc, TypeLoc, 1830 class TypeLocTypeMatcher : public MatcherInterface<TypeLoc> { 1837 bool matches(const TypeLoc &Node, ASTMatchFinder *Finder, 1878 explicit TypeLocTraverseMatcher(const Matcher<TypeLoc> &InnerMatcher [all...] |
| ASTMatchFinder.h | 218 std::vector<std::pair<TypeLocMatcher, MatchCallback *>> TypeLoc;
|
| /src/external/apache2/llvm/dist/clang/include/clang/Tooling/Refactoring/ |
| RecursiveSymbolVisitor.h | 86 bool VisitTypeLoc(const TypeLoc Loc) {
|
| /src/external/apache2/llvm/lib/libclangAST/ |
| Makefile | 82 TypeLoc.cpp \
|
| /src/external/apache2/llvm/dist/clang/lib/Tooling/Transformer/ |
| RangeSelector.cpp | 11 #include "clang/AST/TypeLoc.h" 232 if (const auto *T = Node.get<TypeLoc>()) { 233 TypeLoc Loc = *T; 241 "DeclRefExpr, NamedDecl, CXXCtorInitializer, TypeLoc");
|