Home
last modified time | relevance | path

Searched refs:getTemplatedDecl (Results 1 – 25 of 50) sorted by relevance

12

/external/clang/include/clang/AST/
DASTLambda.h58 dyn_cast_or_null<CXXConversionDecl>(F->getTemplatedDecl())) in isLambdaConversionOperator()
DDeclTemplate.h358 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/
DCIndexCXX.cpp61 return MakeCXCursor(Template->getTemplatedDecl(), getCursorTU(C)).kind; in clang_getTemplateCursorKind()
DCXIndexDataConsumer.cpp861 return handleCXXRecordDecl(D->getTemplatedDecl(), D); in handleClassTemplate()
1063 DC = ClassTempl->getTemplatedDecl(); in getEntityContainer()
1066 DC = FuncTempl->getTemplatedDecl(); in getEntityContainer()
/external/clang/lib/Sema/
DCodeCompleteConsumer.cpp403 return FunctionTemplate->getTemplatedDecl(); in getFunction()
415 return FunctionTemplate->getTemplatedDecl()->getType() in getFunctionType()
DSemaTemplate.cpp483 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 …]
DSemaTemplateInstantiateDecl.cpp244 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 …]
DSemaTemplateDeduction.cpp2480 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 …]
DSemaAccess.cpp403 Context->getTemplatedDecl(), in MightInstantiateTo()
404 Friend->getTemplatedDecl()); in MightInstantiateTo()
1076 cast<FunctionTemplateDecl>(D)->getTemplatedDecl()))) { in TryDiagnoseProtectedAccess()
1480 DC = cast<DeclContext>(TD->getTemplatedDecl()); in HandleDelayedAccessCheck()
DSema.cpp581 Complete = !F->getTemplatedDecl()->isLateTemplateParsed() && in MethodsAndNestedClassesComplete()
582 F->getTemplatedDecl()->isDefined(); in MethodsAndNestedClassesComplete()
/external/clang/lib/AST/
DDecl.cpp931 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 …]
DDeclCXX.cpp450 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()
DComment.cpp191 const FunctionDecl *FD = FTD->getTemplatedDecl(); in fill()
DASTImporter.cpp1389 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 …]
DDeclPrinter.cpp963 Visit(D->getTemplatedDecl()); in VisitTemplateDecl()
977 prettyPrintPragmas(D->getTemplatedDecl()); in VisitFunctionTemplateDecl()
DDeclBase.cpp192 return FTD->getTemplatedDecl(); in getAsFunction()
499 return FTD->getTemplatedDecl()->getAvailability(Message); in getAvailability()
/external/v8/tools/clang/blink_gc_plugin/
DRecordInfo.cpp135 return dyn_cast_or_null<CXXRecordDecl>(tmpl_decl->getTemplatedDecl()); in GetDependentTemplatedDecl()
477 method = dyn_cast<CXXMethodDecl>(func_template->getTemplatedDecl()); in DetermineTracingMethods()
DBlinkGCPluginConsumer.cpp253 return dyn_cast<CXXRecordDecl>(tmpl_decl->getTemplatedDecl()); in GetDependentTemplatedDecl()
/external/clang/lib/Index/
DUSRGeneration.cpp322 VisitFunctionDecl(D->getTemplatedDecl()); in VisitFunctionTemplateDecl()
326 VisitTagDecl(D->getTemplatedDecl()); in VisitClassTemplateDecl()
DIndexingContext.cpp223 D = TD->getTemplatedDecl(); in getCanonicalDecl()
DIndexSymbol.cpp199 cast<FunctionTemplateDecl>(D)->getTemplatedDecl())) { in getSymbolInfo()
DIndexDecl.cpp386 return Visit(D->getTemplatedDecl()); in VisitTemplateDecl()
/external/clang/unittests/AST/
DASTImporterTest.cpp250 const NamedDecl *Template = Node.getTemplatedDecl(); in AST_MATCHER_P()
/external/clang/include/clang/Sema/
DOverload.h821 D = Info.ConstructorTmpl->getTemplatedDecl(); in getConstructorInfo()
/external/clang/lib/Serialization/
DASTReaderDecl.cpp1719 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()

12