/external/clang/lib/AST/ |
D | TypeLoc.cpp | 29 SourceRange Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \ 36 SourceRange TypeLoc::getLocalSourceRangeImpl(TypeLoc TL) { in getLocalSourceRangeImpl() 46 unsigned Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \ 54 unsigned TypeLoc::getFullDataSizeForType(QualType Ty) { in getFullDataSizeForType() 56 return TypeSizer().Visit(TypeLoc(Ty, 0)); in getFullDataSizeForType() 60 class NextLoc : public TypeLocVisitor<NextLoc, TypeLoc> { 64 TypeLoc Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \ 73 TypeLoc TypeLoc::getNextTypeLocImpl(TypeLoc TL) { in getNextTypeLocImpl() 80 void TypeLoc::initializeImpl(ASTContext &Context, TypeLoc TL, in initializeImpl() 87 CLASS##TypeLoc TLCasted = cast<CLASS##TypeLoc>(TL); \ in initializeImpl() [all …]
|
D | NestedNameSpecifier.cpp | 377 TypeLoc TL(Qualifier->getAsType(), TypeData); in getLocalSourceRange() 386 TypeLoc NestedNameSpecifierLoc::getTypeLoc() const { in getTypeLoc() 394 return TypeLoc(Qualifier->getAsType(), TypeData); in getTypeLoc() 509 TypeLoc TL, in Extend()
|
D | CMakeLists.txt | 47 TypeLoc.cpp
|
D | Android.mk | 60 TypeLoc.cpp \
|
D | TemplateBase.cpp | 440 TypeLoc Pattern = Expansion.getPatternLoc(); in getPackExpansionPattern()
|
/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 | 31 class Class##TypeLoc; 38 class TypeLoc { 57 TypeLoc() : Ty(0), Data(0) { } in TypeLoc() function 58 TypeLoc(QualType ty, void *opaqueData) in TypeLoc() function 60 TypeLoc(const Type *ty, void *opaqueData) in TypeLoc() function 112 TypeLoc getNextTypeLoc() const { in getNextTypeLoc() 119 TypeLoc IgnoreParens() const { in IgnoreParens() 136 void initializeFullCopy(TypeLoc Other) const { in initializeFullCopy() 145 void initializeFullCopy(TypeLoc Other, unsigned Size) const { in initializeFullCopy() 151 friend bool operator==(const TypeLoc &LHS, const TypeLoc &RHS) { [all …]
|
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 | 33 class TypeLoc; variable 302 TypeLoc getTypeLoc() const; 367 void Extend(ASTContext &Context, SourceLocation TemplateKWLoc, TypeLoc TL,
|
D | RecursiveASTVisitor.h | 170 bool TraverseTypeLoc(TypeLoc TL); 326 bool Traverse##CLASS##TypeLoc(CLASS##TypeLoc TL); 331 bool WalkUpFromTypeLoc(TypeLoc TL) { return getDerived().VisitTypeLoc(TL); } in WalkUpFromTypeLoc() 332 bool VisitTypeLoc(TypeLoc TL) { return true; } in VisitTypeLoc() 347 bool WalkUpFrom##CLASS##TypeLoc(CLASS##TypeLoc TL) { \ 349 TRY_TO(Visit##CLASS##TypeLoc(TL)); \ 352 bool Visit##CLASS##TypeLoc(CLASS##TypeLoc TL) { return true; } 460 bool RecursiveASTVisitor<Derived>::TraverseTypeLoc(TypeLoc TL) { in TraverseTypeLoc() 467 case TypeLoc::CLASS: \ in TraverseTypeLoc() 468 return getDerived().Traverse##CLASS##TypeLoc(*cast<CLASS##TypeLoc>(&TL)); in TraverseTypeLoc()
|
/external/clang/lib/Sema/ |
D | TypeLocBuilder.h | 62 void pushFullCopy(TypeLoc L) { in pushFullCopy() 64 TypeLoc Copy = pushFullUninitializedImpl(L.getType(), Size); in pushFullCopy() 70 TypeLoc pushFullUninitialized(QualType T) { in pushFullUninitialized() 71 return pushFullUninitializedImpl(T, TypeLoc::getFullDataSizeForType(T)); in pushFullUninitialized() 100 size_t LocalSize = cast<TyLocType>(TypeLoc(T, 0)).getLocalDataSize(); in push() 118 TypeLoc getTypeLocInContext(ASTContext &Context, QualType T) { in getTypeLocInContext() 126 return TypeLoc(T, Mem); in getTypeLocInContext() 130 TypeLoc pushImpl(QualType T, size_t LocalSize) { in pushImpl() 132 QualType TLast = TypeLoc(T, 0).getNextTypeLoc().getType(); in pushImpl() 171 TypeLoc pushFullUninitializedImpl(QualType T, size_t Size) { in pushFullUninitializedImpl() [all …]
|
D | SemaTemplateVariadic.cpp | 121 bool TraverseTypeLoc(TypeLoc TL) { in TraverseTypeLoc() 327 void Sema::collectUnexpandedParameterPacks(TypeLoc TL, in collectUnexpandedParameterPacks()
|
D | TreeTransform.h | 301 QualType TransformType(TypeLocBuilder &TLB, TypeLoc TL); 491 QualType Transform##CLASS##Type(TypeLocBuilder &TLB, CLASS##TypeLoc T); 2362 TypeLoc TransformTypeInObjectScope(TypeLoc TL, 2575 TypeLoc TL = TransformTypeInObjectScope(Q.getTypeLoc(), ObjectType, in TransformNestedNameSpecifierLoc() 3132 TypeLoc TL = DI->getTypeLoc(); in TransformType() 3144 TreeTransform<Derived>::TransformType(TypeLocBuilder &TLB, TypeLoc T) { in TransformType() 3148 case TypeLoc::CLASS: \ in TransformType() 3149 return getDerived().Transform##CLASS##Type(TLB, cast<CLASS##TypeLoc>(T)); in TransformType() 3220 TypeLoc 3221 TreeTransform<Derived>::TransformTypeInObjectScope(TypeLoc TL, in TransformTypeInObjectScope() [all …]
|
D | SemaTemplateInstantiateDecl.cpp | 1573 TypeLoc TL = D->getTypeSourceInfo()->getTypeLoc(); in VisitNonTypeTemplateParmDecl() 1610 TypeLoc Pattern = Expansion.getPatternLoc(); in VisitNonTypeTemplateParmDecl() 2092 TypeLoc OldTL = OldTInfo->getTypeLoc().IgnoreParens(); in SubstFunctionType() 2095 TypeLoc NewTL = NewTInfo->getTypeLoc().IgnoreParens(); in SubstFunctionType() 2132 TypeLoc OldTL = OldTInfo->getTypeLoc().IgnoreParens(); in SubstFunctionType() 2666 TypeLoc BaseTL = Init->getBaseClassInfo()->getTypeLoc(); in InstantiateMemInitializers()
|
D | SemaTemplateInstantiate.cpp | 1348 TypeSourceInfo *Sema::SubstType(TypeLoc TL, in SubstType() 1400 TypeLoc TL = T->getTypeLoc().IgnoreParens(); in NeedsInstantiationAsFunctionType() 1442 TypeLoc TL = T->getTypeLoc(); in SubstFunctionDeclType() 1459 TypeLoc OldTL = OldDI->getTypeLoc(); in SubstParmVarDecl()
|
D | SemaType.cpp | 2744 TypeLoc OldTL = TInfo->getTypeLoc(); in VisitTemplateSpecializationTypeLoc() 2854 void VisitTypeLoc(TypeLoc TL) { in VisitTypeLoc() 2896 TypeLoc ClsTL = ClsTInfo->getTypeLoc(); in VisitMemberPointerTypeLoc() 2914 TypeLoc NamedTL = ETLoc.getNamedTypeLoc(); in VisitMemberPointerTypeLoc() 2968 void VisitTypeLoc(TypeLoc TL) { in VisitTypeLoc() 3008 TypeLoc TL = ReturnTypeInfo->getTypeLoc(); in GetTypeSourceInfoForDeclarator()
|
/external/clang/include/clang/Index/ |
D | ASTLocation.h | 91 ASTLocation(const Decl *parentDecl, TypeLoc tyLoc) in ASTLocation() 122 TypeLoc AsTypeLoc() const { in AsTypeLoc() 124 return TypeLoc(QualType::getFromOpaquePtr(Ty.TyPtr), Ty.Data); in AsTypeLoc() 132 TypeLoc dyn_AsTypeLoc() const { in dyn_AsTypeLoc() 133 return getKind() == N_Type ? AsTypeLoc() : TypeLoc(); in dyn_AsTypeLoc()
|
/external/llvm/lib/AsmParser/ |
D | LLParser.cpp | 296 LocTy TypeLoc = Lex.getLoc(); in ParseUnnamedType() local 308 if (ParseStructDefinition(TypeLoc, "", in ParseUnnamedType() 314 return Error(TypeLoc, "non-struct types may not be recursive"); in ParseUnnamedType() 1203 SMLoc TypeLoc = Lex.getLoc(); in ParseType() local 1272 return Error(TypeLoc, "void type only allowed for function results"); in ParseType() 1371 LocTy TypeLoc = Lex.getLoc(); in ParseArgumentList() local 1380 return Error(TypeLoc, "argument can not have void type"); in ParseArgumentList() 1388 return Error(TypeLoc, "invalid type for function argument"); in ParseArgumentList() 1390 ArgList.push_back(ArgInfo(TypeLoc, ArgTy, Attrs, Name)); in ParseArgumentList() 1400 TypeLoc = Lex.getLoc(); in ParseArgumentList() [all …]
|
D | LLParser.h | 223 bool ParseStructDefinition(SMLoc TypeLoc, StringRef Name,
|
/external/clang/lib/ARCMigrate/ |
D | TransARCAssign.cpp | 58 TypeLoc TLoc = var->getTypeSourceInfo()->getTypeLoc(); in VisitBinaryOperator()
|
/external/llvm/lib/MC/MCParser/ |
D | ELFAsmParser.cpp | 417 SMLoc TypeLoc; in ParseDirectiveType() local 419 TypeLoc = getLexer().getLoc(); in ParseDirectiveType() 433 return Error(TypeLoc, "unsupported attribute in '.type' directive"); in ParseDirectiveType()
|
/external/clang/lib/Index/ |
D | ASTVisitor.h | 120 void Visit(TypeLoc TL) { in Visit()
|
/external/clang/include/clang/Sema/ |
D | Initialization.h | 38 class TypeLoc; variable
|
D | DeclSpec.h | 35 class TypeLoc; variable 87 void Extend(ASTContext &Context, SourceLocation TemplateKWLoc, TypeLoc TL,
|
/external/clang/include/clang/Serialization/ |
D | ASTWriter.h | 459 void AddTypeLoc(TypeLoc TL, RecordDataImpl &Record);
|