/external/clang/include/clang/AST/ |
D | ASTLambda.h | 58 dyn_cast_or_null<CXXConversionDecl>(F->getTemplatedDecl())) in isLambdaConversionOperator()
|
D | DeclTemplate.h | 358 NamedDecl *getTemplatedDecl() const { return TemplatedDecl.getPointer(); } in getTemplatedDecl() function 899 FunctionDecl *getTemplatedDecl() const { 906 return getTemplatedDecl()->isThisDeclarationADefinition(); 1989 CXXRecordDecl *getTemplatedDecl() const { 1996 return getTemplatedDecl()->isThisDeclarationADefinition(); 2243 TypeAliasDecl *getTemplatedDecl() const { 2800 VarDecl *getTemplatedDecl() const { 2807 return getTemplatedDecl()->isThisDeclarationADefinition();
|
/external/clang/tools/libclang/ |
D | CIndexCXX.cpp | 61 return MakeCXCursor(Template->getTemplatedDecl(), getCursorTU(C)).kind; in clang_getTemplateCursorKind()
|
D | CXIndexDataConsumer.cpp | 861 return handleCXXRecordDecl(D->getTemplatedDecl(), D); in handleClassTemplate() 1063 DC = ClassTempl->getTemplatedDecl(); in getEntityContainer() 1066 DC = FuncTempl->getTemplatedDecl(); in getEntityContainer()
|
/external/clang/lib/Sema/ |
D | CodeCompleteConsumer.cpp | 403 return FunctionTemplate->getTemplatedDecl(); in getFunction() 415 return FunctionTemplate->getTemplatedDecl()->getType() in getFunctionType()
|
D | SemaTemplate.cpp | 483 D = Temp->getTemplatedDecl(); in AdjustDeclIfTemplate() 1033 RecordDecl *PrevRecordDecl = PrevClassTemplate->getTemplatedDecl(); in CheckClassTemplate() 1107 PrevClassTemplate->getTemplatedDecl() : nullptr, in CheckClassTemplate() 1158 mergeDeclAttributes(NewClass, PrevClassTemplate->getTemplatedDecl()); in CheckClassTemplate() 2156 TypeAliasDecl *Pattern = AliasTemplate->getTemplatedDecl(); in CheckTemplateIdType() 2249 ClassTemplate->getTemplatedDecl()->getTagKind(), in CheckTemplateIdType() 2251 ClassTemplate->getTemplatedDecl()->getLocStart(), in CheckTemplateIdType() 2740 VarTemplate->getTemplatedDecl(), in ActOnVarTemplateSpecialization() 2783 VarDecl *InstantiationPattern = Template->getTemplatedDecl(); in CheckVarTemplateId() 6282 if (!isAcceptableTagRedeclaration(ClassTemplate->getTemplatedDecl(), in ActOnClassTemplateSpecialization() [all …]
|
D | SemaTemplateInstantiateDecl.cpp | 244 New = FTD->getTemplatedDecl(); in instantiateOMPDeclareSimdDeclAttr() 569 TypeAliasDecl *Pattern = D->getTemplatedDecl(); in VisitTypeAliasTemplateDecl() 1048 CXXRecordDecl *Pattern = D->getTemplatedDecl(); in VisitClassTemplateDecl() 1069 PrevDecl = PrevClassTemplate->getTemplatedDecl(); in VisitClassTemplateDecl() 1099 PrevDecl = PrevClassTemplate->getTemplatedDecl(); in VisitClassTemplateDecl() 1104 << D->getTemplatedDecl()->getTagKind() << Pattern->getDeclName() << DC in VisitClassTemplateDecl() 1244 assert(D->getTemplatedDecl()->isStaticDataMember() && in VisitVarTemplateDecl() 1255 VarDecl *Pattern = D->getTemplatedDecl(); in VisitVarTemplateDecl() 1338 if (CXXMethodDecl *DMethod = dyn_cast<CXXMethodDecl>(D->getTemplatedDecl())) in VisitFunctionTemplateDecl() 1343 D->getTemplatedDecl(), in VisitFunctionTemplateDecl() [all …]
|
D | SemaTemplateDeduction.cpp | 2480 FunctionDecl *Function = FunctionTemplate->getTemplatedDecl(); in SubstituteExplicitTemplateArguments() 2539 ContextRAII SavedContext(*this, FunctionTemplate->getTemplatedDecl()); in SubstituteExplicitTemplateArguments() 2779 ContextRAII SavedContext(*this, FunctionTemplate->getTemplatedDecl()); in FinishTemplateArgumentDeduction() 2905 SubstDecl(FunctionTemplate->getTemplatedDecl(), Owner, in FinishTemplateArgumentDeduction() 3330 FunctionDecl *Function = FunctionTemplate->getTemplatedDecl(); in DeduceTemplateArguments() 3568 FunctionDecl *Function = FunctionTemplate->getTemplatedDecl(); in DeduceTemplateArguments() 3769 = cast<CXXConversionDecl>(ConversionTemplate->getTemplatedDecl()); in DeduceTemplateArguments() 4185 FunctionDecl *FD1 = FT1->getTemplatedDecl(); in isAtLeastAsSpecializedAs() 4186 FunctionDecl *FD2 = FT2->getTemplatedDecl(); in isAtLeastAsSpecializedAs() 4327 FunctionDecl *Function = FunTmpl->getTemplatedDecl(); in isVariadicFunctionTemplate() [all …]
|
D | SemaAccess.cpp | 403 Context->getTemplatedDecl(), in MightInstantiateTo() 404 Friend->getTemplatedDecl()); in MightInstantiateTo() 1076 cast<FunctionTemplateDecl>(D)->getTemplatedDecl()))) { in TryDiagnoseProtectedAccess() 1480 DC = cast<DeclContext>(TD->getTemplatedDecl()); in HandleDelayedAccessCheck()
|
D | Sema.cpp | 581 Complete = !F->getTemplatedDecl()->isLateTemplateParsed() && in MethodsAndNestedClassesComplete() 582 F->getTemplatedDecl()->isDefined(); in MethodsAndNestedClassesComplete()
|
/external/clang/lib/AST/ |
D | Decl.cpp | 931 explicitSpecSuppressor = spec->getTemplate()->getTemplatedDecl(); in getLVForClassMember() 945 explicitSpecSuppressor = temp->getTemplatedDecl(); in getLVForClassMember() 980 explicitSpecSuppressor = temp->getTemplatedDecl(); in getLVForClassMember() 1064 return getVisibilityOf(spec->getSpecializedTemplate()->getTemplatedDecl(), in getExplicitVisibilityAux() 1082 return getVisibilityOf(VTSD->getSpecializedTemplate()->getTemplatedDecl(), in getExplicitVisibilityAux() 1093 return getVisibilityOf(templateInfo->getTemplate()->getTemplatedDecl(), in getExplicitVisibilityAux() 1107 return getVisibilityOf(TD->getTemplatedDecl(), kind); in getExplicitVisibilityAux() 3147 assert(getPrimaryTemplate()->getTemplatedDecl()->getBody() && in getTemplateInstantiationPattern() 3151 return getPrimaryTemplate()->getTemplatedDecl(); in getTemplateInstantiationPattern() 3163 return Primary->getTemplatedDecl(); in getTemplateInstantiationPattern() [all …]
|
D | DeclCXX.cpp | 450 D = FunTmpl->getTemplatedDecl(); in addedMember() 458 DUnderlying = UnderlyingFunTmpl->getTemplatedDecl(); in addedMember() 1052 return cast<CXXMethodDecl>(CallOpTmpl->getTemplatedDecl()); in getLambdaCallOperator() 1067 return cast<CXXMethodDecl>(InvokerTemplate->getTemplatedDecl()); in getLambdaStaticInvoker() 1337 return CTD->getTemplatedDecl()->getDefinition(); in getTemplateInstantiationPattern() 1693 return StaticInvoker == this->getPrimaryTemplate()->getTemplatedDecl(); in isLambdaStaticInvoker()
|
D | Comment.cpp | 191 const FunctionDecl *FD = FTD->getTemplatedDecl(); in fill()
|
D | ASTImporter.cpp | 1389 return Context.IsStructurallyEquivalent(D1->getTemplatedDecl(), in IsStructurallyEquivalent() 1390 D2->getTemplatedDecl()); in IsStructurallyEquivalent() 4408 = cast_or_null<CXXRecordDecl>(D->getTemplatedDecl()->getDefinition()); in VisitClassTemplateDecl() 4409 if (Definition && Definition != D->getTemplatedDecl()) { in VisitClassTemplateDecl() 4444 Importer.Imported(D->getTemplatedDecl(), in VisitClassTemplateDecl() 4445 FoundTemplate->getTemplatedDecl()); in VisitClassTemplateDecl() 4463 CXXRecordDecl *DTemplated = D->getTemplatedDecl(); in VisitClassTemplateDecl() 4599 cast_or_null<VarDecl>(D->getTemplatedDecl()->getDefinition()); in VisitVarTemplateDecl() 4600 if (Definition && Definition != D->getTemplatedDecl()) { in VisitVarTemplateDecl() 4632 Importer.Imported(D->getTemplatedDecl(), in VisitVarTemplateDecl() [all …]
|
D | DeclPrinter.cpp | 963 Visit(D->getTemplatedDecl()); in VisitTemplateDecl() 977 prettyPrintPragmas(D->getTemplatedDecl()); in VisitFunctionTemplateDecl()
|
D | DeclBase.cpp | 192 return FTD->getTemplatedDecl(); in getAsFunction() 499 return FTD->getTemplatedDecl()->getAvailability(Message); in getAvailability()
|
/external/v8/tools/clang/blink_gc_plugin/ |
D | RecordInfo.cpp | 135 return dyn_cast_or_null<CXXRecordDecl>(tmpl_decl->getTemplatedDecl()); in GetDependentTemplatedDecl() 477 method = dyn_cast<CXXMethodDecl>(func_template->getTemplatedDecl()); in DetermineTracingMethods()
|
D | BlinkGCPluginConsumer.cpp | 253 return dyn_cast<CXXRecordDecl>(tmpl_decl->getTemplatedDecl()); in GetDependentTemplatedDecl()
|
/external/clang/lib/Index/ |
D | USRGeneration.cpp | 322 VisitFunctionDecl(D->getTemplatedDecl()); in VisitFunctionTemplateDecl() 326 VisitTagDecl(D->getTemplatedDecl()); in VisitClassTemplateDecl()
|
D | IndexingContext.cpp | 223 D = TD->getTemplatedDecl(); in getCanonicalDecl()
|
D | IndexSymbol.cpp | 199 cast<FunctionTemplateDecl>(D)->getTemplatedDecl())) { in getSymbolInfo()
|
D | IndexDecl.cpp | 386 return Visit(D->getTemplatedDecl()); in VisitTemplateDecl()
|
/external/clang/unittests/AST/ |
D | ASTImporterTest.cpp | 250 const NamedDecl *Template = Node.getTemplatedDecl(); in AST_MATCHER_P()
|
/external/clang/include/clang/Sema/ |
D | Overload.h | 821 D = Info.ConstructorTmpl->getTemplatedDecl(); in getConstructorInfo()
|
/external/clang/lib/Serialization/ |
D | ASTReaderDecl.cpp | 1719 if (!Template->getTemplatedDecl()) { in VisitCXXRecordDeclImpl() 1937 if (D->getTemplatedDecl()->TemplateOrInstantiation) { in VisitClassTemplateDecl() 1942 D->getTemplatedDecl(), D->getInjectedClassNameSpecialization()); in VisitClassTemplateDecl() 2335 auto *DPattern = D->getTemplatedDecl(); in mergeTemplatePattern() 2336 auto *ExistingPattern = Existing->getTemplatedDecl(); in mergeTemplatePattern() 2724 return isSameEntity(TemplateX->getTemplatedDecl(), in isSameEntity() 2725 TemplateY->getTemplatedDecl()) && in isSameEntity()
|