/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" 133 KIND_TO_KIND_ID(TypeLoc) 294 NestedNameSpecifierLoc, QualType, TypeLoc> 336 TypeLoc, void> : public ValueConverter<TypeLoc> {};
|
NestedNameSpecifier.h | 30 class TypeLoc; 305 TypeLoc getTypeLoc() const; 372 /// \param TL The TypeLoc that describes the type preceding the '::'. 375 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" }, 75 else if (const TypeLoc *TL = get<TypeLoc>()) 101 if (const TypeLoc *TL = get<TypeLoc>())
|
Android.mk | 80 TypeLoc.cpp \
|
NestedNameSpecifier.cpp | 20 #include "clang/AST/TypeLoc.h" 313 // The "void*" that points at the TypeLoc data. 314 // Note: the 'template' keyword is part of the TypeLoc. 377 // The "void*" that points at the TypeLoc data. 378 // Note: the 'template' keyword is part of the TypeLoc. 380 TypeLoc TL(Qualifier->getAsType(), TypeData); 389 TypeLoc NestedNameSpecifierLoc::getTypeLoc() const { 394 // The "void*" that points at the TypeLoc data. 397 return TypeLoc(Qualifier->getAsType(), TypeData); 504 TypeLoc TL, [all...] |
Comment.cpp | 241 TypeLoc TL = TSI->getTypeLoc().getUnqualifiedLoc(); 299 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/chromium_org/tools/clang/rewrite_scoped_array/ |
RewriteScopedArray.cpp | 44 const clang::TypeLoc type_location = 45 *result.Nodes.getNodeAs<clang::TypeLoc>("loc");
|
/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/AST/ |
SourceLocationTest.cpp | 158 class TemplateAngleBracketLocRangeVerifier : public RangeVerifier<TypeLoc> { 160 virtual SourceRange getRange(const TypeLoc &Node) { 183 class UnaryTransformTypeLocParensRangeVerifier : public RangeVerifier<TypeLoc> { 185 virtual SourceRange getRange(const TypeLoc &Node) {
|
/external/clang/lib/ASTMatchers/ |
ASTMatchFinder.cpp | 50 // nodes (\c Stmt and \c Decl, but not \c QualType or \c TypeLoc). 51 // For \c QualType and \c TypeLoc it is possible to implement 123 else if (const TypeLoc *T = DynNode.get<TypeLoc>()) 166 // We assume that the TypeLoc, contained QualType and contained Type all are 168 bool TraverseTypeLoc(TypeLoc TypeLocNode) { 178 // The TypeLoc is matched inside traverse. 227 bool baseTraverse(TypeLoc TypeLocNode) { 365 bool TraverseTypeLoc(TypeLoc TypeNode); 713 bool MatchASTVisitor::TraverseTypeLoc(TypeLoc TypeLocNode) [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,
|
/external/clang/include/clang/ASTMatchers/ |
ASTMatchersInternal.h | 644 std::is_same<T, TypeLoc>::value || 717 std::is_base_of<TypeLoc, T>::value || 733 std::is_base_of<TypeLoc, T>::value || 836 TypeList<QualType, Type, TypeLoc, CXXCtorInitializer> > AllNodeBaseTypes; 850 TypeList<NestedNameSpecifierLoc, TypeLoc, QualType> > [all...] |
ASTMatchersMacros.h | 319 /// the corresponding \c TypeLoc. 322 // FIXME: add a matcher for TypeLoc derived classes using its custom casting 347 static TypeLoc (T::*value())() const { return &T::FunctionName##Loc; } \ 351 TypeLoc, internal::TypeLocMatcher##MatcherName##Getter, \
|
ASTMatchers.h | 124 typedef internal::Matcher<TypeLoc> TypeLocMatcher; [all...] |
/external/llvm/lib/AsmParser/ |
LLParser.cpp | 361 LocTy TypeLoc = Lex.getLoc(); 373 if (ParseStructDefinition(TypeLoc, "", 379 return Error(TypeLoc, "non-struct types may not be recursive"); [all...] |