/external/clang/lib/AST/ |
D | TypeLoc.cpp | 33 SourceRange Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \ 40 SourceRange TypeLoc::getLocalSourceRangeImpl(TypeLoc TL) { in getLocalSourceRangeImpl() 50 unsigned Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \ 58 unsigned TypeLoc::getLocalAlignmentForType(QualType Ty) { in getLocalAlignmentForType() 60 return TypeAligner().Visit(TypeLoc(Ty, nullptr)); in getLocalAlignmentForType() 68 unsigned Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \ 76 unsigned TypeLoc::getFullDataSizeForType(QualType Ty) { in getFullDataSizeForType() 78 TypeLoc TyLoc(Ty, nullptr); in getFullDataSizeForType() 92 class NextLoc : public TypeLocVisitor<NextLoc, TypeLoc> { 96 TypeLoc Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \ [all …]
|
D | ASTTypeTraits.cpp | 122 else if (const TypeLoc *TL = get<TypeLoc>()) in print() 148 if (const TypeLoc *TL = get<TypeLoc>()) in getSourceRange()
|
D | NestedNameSpecifier.cpp | 415 TypeLoc TL(Qualifier->getAsType(), TypeData); in getLocalSourceRange() 424 TypeLoc NestedNameSpecifierLoc::getTypeLoc() const { in getTypeLoc() 432 return TypeLoc(Qualifier->getAsType(), TypeData); in getTypeLoc() 537 TypeLoc TL, in Extend()
|
D | CMakeLists.txt | 60 TypeLoc.cpp
|
D | Comment.cpp | 238 TypeLoc TL = TSI->getTypeLoc().getUnqualifiedLoc(); in fill() 294 TypeLoc TL = MaybeFunctionTSI->getTypeLoc().getUnqualifiedLoc(); in fill()
|
D | Android.mk | 82 TypeLoc.cpp \
|
D | OpenMPClause.cpp | 447 SourceLocation TypeLoc) { in Create() argument 452 TypeModifier, Type, TypeLoc, StartLoc, LParenLoc, EndLoc, VL.size()); in Create() 456 Clause->setMapLoc(TypeLoc); in Create()
|
/external/clang/include/clang/AST/ |
D | TypeLocVisitor.h | 29 RetTy Visit(TypeLoc TyLoc) { in Visit() 33 case TypeLoc::CLASS: DISPATCH(CLASS##TypeLoc); in Visit() 43 case TypeLoc::CLASS: DISPATCH(CLASS##TypeLoc); in Visit() 50 RetTy Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \ 55 RetTy VisitTypeLoc(TypeLoc TyLoc) { return RetTy(); } in VisitTypeLoc()
|
D | TypeLoc.h | 33 class Class##TypeLoc; 40 class TypeLoc { 56 TypeLoc& tl = t; in castAs() 68 TypeLoc& tl = t; in getAs() 84 TypeLoc() : Ty(nullptr), Data(nullptr) { } in TypeLoc() function 85 TypeLoc(QualType ty, void *opaqueData) in TypeLoc() function 87 TypeLoc(const Type *ty, void *opaqueData) in TypeLoc() function 145 TypeLoc getNextTypeLoc() const { in getNextTypeLoc() 152 TypeLoc IgnoreParens() const; 160 TypeLoc findExplicitQualifierLoc() const; [all …]
|
D | ASTTypeTraits.h | 179 KIND_TO_KIND_ID(TypeLoc) 278 if (ASTNodeKind::getFromNodeKind<TypeLoc>().isSame(NodeKind)) { 279 auto TLA = getUnchecked<TypeLoc>(); 280 auto TLB = Other.getUnchecked<TypeLoc>(); 310 if (ASTNodeKind::getFromNodeKind<TypeLoc>().isSame(NodeKind)) 311 return getUnchecked<TypeLoc>() == Other.getUnchecked<TypeLoc>(); 339 if (ASTNodeKind::getFromNodeKind<TypeLoc>().isSame(Val.NodeKind)) { 340 auto TL = Val.getUnchecked<TypeLoc>(); 441 TypeLoc> Storage; 482 TypeLoc, void> : public ValueConverter<TypeLoc> {};
|
D | TypeLocNodes.def | 1 //===-- TypeLocNodes.def - Metadata about TypeLoc wrappers ------*- C++ -*-===// 10 // This file defines the TypeLoc info database. Each node is 15 // TYPELOC(Class, Base) - A TypeLoc subclass. If UNQUAL_TYPELOC is 32 TYPELOC(Qualified, TypeLoc)
|
D | NestedNameSpecifier.h | 31 class TypeLoc; variable 318 TypeLoc getTypeLoc() const; 388 void Extend(ASTContext &Context, SourceLocation TemplateKWLoc, TypeLoc TL,
|
D | RecursiveASTVisitor.h | 178 bool TraverseTypeLoc(TypeLoc TL); 409 #define TYPELOC(CLASS, BASE) bool Traverse##CLASS##TypeLoc(CLASS##TypeLoc TL); 414 bool WalkUpFromTypeLoc(TypeLoc TL) { return getDerived().VisitTypeLoc(TL); } 415 bool VisitTypeLoc(TypeLoc TL) { return true; } 430 bool WalkUpFrom##CLASS##TypeLoc(CLASS##TypeLoc TL) { \ 432 TRY_TO(Visit##CLASS##TypeLoc(TL)); \ 435 bool Visit##CLASS##TypeLoc(CLASS##TypeLoc TL) { return true; } 588 bool RecursiveASTVisitor<Derived>::TraverseTypeLoc(TypeLoc TL) { 595 case TypeLoc::CLASS: \ 596 return getDerived().Traverse##CLASS##TypeLoc(TL.castAs<CLASS##TypeLoc>()); [all …]
|
/external/clang/lib/Sema/ |
D | TypeLocBuilder.cpp | 19 void TypeLocBuilder::pushFullCopy(TypeLoc L) { in pushFullCopy() 23 SmallVector<TypeLoc, 4> TypeLocs; in pushFullCopy() 24 TypeLoc CurTL = L; in pushFullCopy() 31 TypeLoc CurTL = TypeLocs[e-i-1]; in pushFullCopy() 35 case TypeLoc::CLASS: { \ in pushFullCopy() 36 CLASS##TypeLoc NewTL = push<class CLASS##TypeLoc>(CurTL.getType()); \ in pushFullCopy() 63 TypeLoc TypeLocBuilder::pushImpl(QualType T, size_t LocalSize, unsigned LocalAlignment) { in pushImpl() 65 QualType TLast = TypeLoc(T, nullptr).getNextTypeLoc().getType(); in pushImpl() 132 assert(Capacity - Index == TypeLoc::getFullDataSizeForType(T) && in pushImpl()
|
D | TypeLocBuilder.h | 67 void pushFullCopy(TypeLoc L); 97 TyLocType Loc = TypeLoc(T, nullptr).castAs<TyLocType>(); in push() 117 TypeLoc getTypeLocInContext(ASTContext &Context, QualType T) { in getTypeLocInContext() 125 return TypeLoc(T, Mem); in getTypeLocInContext() 130 TypeLoc pushImpl(QualType T, size_t LocalSize, unsigned LocalAlignment); 141 TypeLoc getTemporaryTypeLoc(QualType T) { in getTemporaryTypeLoc() 145 return TypeLoc(T, &Buffer[Index]); in getTemporaryTypeLoc()
|
/external/clang/lib/ASTMatchers/ |
D | ASTMatchFinder.cpp | 127 else if (const TypeLoc *T = DynNode.get<TypeLoc>()) in findMatch() 172 bool TraverseTypeLoc(TypeLoc TypeLocNode) { in TraverseTypeLoc() 228 bool baseTraverse(TypeLoc TypeLocNode) { in baseTraverse() 371 bool TraverseTypeLoc(TypeLoc TypeNode); 473 } else if (auto *N = Node.get<TypeLoc>()) { in match() 584 void matchDispatch(const TypeLoc *Node) { in matchDispatch() 585 matchWithoutFilter(*Node, Matchers->TypeLoc); in matchDispatch() 843 bool MatchASTVisitor::TraverseTypeLoc(TypeLoc TypeLocNode) { in TraverseTypeLoc() 940 Matchers.TypeLoc.emplace_back(NodeMatch, Action); in addMatcher() 961 } else if (NodeMatch.canConvertTo<TypeLoc>()) { in addDynamicMatcher() [all …]
|
/external/clang/include/clang/ASTMatchers/ |
D | ASTMatchersInternal.h | 749 std::is_same<T, TypeLoc>::value || 822 std::is_base_of<TypeLoc, T>::value || in matchesChildOf() 838 std::is_base_of<TypeLoc, T>::value || in matchesDescendantOf() 854 std::is_base_of<TypeLoc, T>::value, in matchesAncestorOf() 917 QualType, Type, TypeLoc, CXXCtorInitializer> AllNodeBaseTypes; 931 TypeLoc, QualType> AdaptativeDefaultToTypes; 1429 class TypeLocTypeMatcher : public WrapperMatcherInterface<TypeLoc> { 1434 bool matches(const TypeLoc &Node, ASTMatchFinder *Finder, 1473 explicit TypeLocTraverseMatcher(const Matcher<TypeLoc> &InnerMatcher, 1474 TypeLoc (T::*TraverseFunction)() const) [all …]
|
D | ASTMatchers.h | 126 typedef internal::Matcher<TypeLoc> TypeLocMatcher; 186 AST_POLYMORPHIC_SUPPORTED_TYPES(Decl, Stmt, TypeLoc)) { in AST_POLYMORPHIC_MATCHER() argument 207 AST_POLYMORPHIC_SUPPORTED_TYPES(Decl, Stmt, TypeLoc)) { in AST_POLYMORPHIC_MATCHER() argument 232 AST_POLYMORPHIC_SUPPORTED_TYPES(Decl, Stmt, TypeLoc), in AST_POLYMORPHIC_MATCHER_P() argument 1726 const internal::VariadicAllOfMatcher<TypeLoc> typeLoc; 2072 internal::TypeList<Decl, NestedNameSpecifierLoc, Stmt, TypeLoc>, 2073 internal::TypeList<Decl, NestedNameSpecifierLoc, Stmt, TypeLoc>> 2089 internal::TypeList<Decl, NestedNameSpecifierLoc, Stmt, TypeLoc>, 2090 internal::TypeList<Decl, NestedNameSpecifierLoc, Stmt, TypeLoc>> 2334 AST_MATCHER_P(DeclaratorDecl, hasTypeLoc, internal::Matcher<TypeLoc>, Inner) { in AST_MATCHER_P() argument [all …]
|
/external/clang/unittests/AST/ |
D | SourceLocationTest.cpp | 202 class TemplateAngleBracketLocRangeVerifier : public RangeVerifier<TypeLoc> { 204 SourceRange getRange(const TypeLoc &Node) override { in getRange() 227 class UnaryTransformTypeLocParensRangeVerifier : public RangeVerifier<TypeLoc> { 229 SourceRange getRange(const TypeLoc &Node) override { in getRange()
|
D | ASTContextParentMapTest.cpp | 42 MatchVerifier<TypeLoc> Verifier; in TEST()
|
/external/clang/unittests/Tooling/ |
D | RecursiveASTVisitorTestTypeLocVisitor.cpp | 19 bool VisitTypeLoc(TypeLoc TypeLocation) { in VisitTypeLoc()
|
/external/clang/lib/ARCMigrate/ |
D | TransARCAssign.cpp | 61 TypeLoc TLoc = var->getTypeSourceInfo()->getTypeLoc(); in VisitBinaryOperator()
|
/external/clang/tools/libclang/ |
D | CursorVisitor.h | 255 bool Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc);
|
D | IndexTypeSourceInfo.cpp | 105 void IndexingContext::indexTypeLoc(TypeLoc TL, in indexTypeLoc()
|
/external/llvm/lib/AsmParser/ |
D | LLParser.cpp | 341 LocTy TypeLoc = Lex.getLoc(); in ParseUnnamedType() local 350 if (ParseStructDefinition(TypeLoc, "", in ParseUnnamedType() 356 return Error(TypeLoc, "non-struct types may not be recursive"); in ParseUnnamedType() 1801 SMLoc TypeLoc = Lex.getLoc(); in ParseType() local 1868 return Error(TypeLoc, "void type only allowed for function results"); in ParseType() 2042 LocTy TypeLoc = Lex.getLoc(); in ParseArgumentList() local 2051 return Error(TypeLoc, "argument can not have void type"); in ParseArgumentList() 2059 return Error(TypeLoc, "invalid type for function argument"); in ParseArgumentList() 2062 ArgList.emplace_back(TypeLoc, ArgTy, AttributeSet::get(ArgTy->getContext(), in ParseArgumentList() 2074 TypeLoc = Lex.getLoc(); in ParseArgumentList() [all …]
|