Searched refs:PatternDef (Results 1 – 5 of 5) sorted by relevance
/external/clang/lib/Sema/ |
D | SemaTemplateInstantiate.cpp | 1854 TagDecl *PatternDef, in DiagnoseUninstantiableTemplate() argument 1857 if (PatternDef && !PatternDef->isBeingDefined()) { in DiagnoseUninstantiableTemplate() 1859 if (!S.hasVisibleDefinition(PatternDef, &SuggestedDef, in DiagnoseUninstantiableTemplate() 1871 if (!Complain || (PatternDef && PatternDef->isInvalidDecl())) { in DiagnoseUninstantiableTemplate() 1873 } else if (PatternDef) { in DiagnoseUninstantiableTemplate() 1874 assert(PatternDef->isBeingDefined()); in DiagnoseUninstantiableTemplate() 1931 CXXRecordDecl *PatternDef in InstantiateClass() local 1935 Pattern, PatternDef, TSK, Complain)) in InstantiateClass() 1937 Pattern = PatternDef; in InstantiateClass() 2161 EnumDecl *PatternDef = Pattern->getDefinition(); in InstantiateEnum() local [all …]
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaTemplateInstantiate.cpp | 2628 CXXRecordDecl *PatternDef in InstantiateClass() local 2632 Pattern, PatternDef, TSK, Complain)) in InstantiateClass() 2643 Pattern = PatternDef; in InstantiateClass() 2884 EnumDecl *PatternDef = Pattern->getDefinition(); in InstantiateEnum() local 2887 Pattern, PatternDef, TSK,/*Complain*/true)) in InstantiateEnum() 2889 Pattern = PatternDef; in InstantiateEnum()
|
D | SemaTemplateInstantiateDecl.cpp | 4681 const FunctionDecl *PatternDef = PatternDecl->getDefinition(); in InstantiateFunctionDefinition() local 4683 if (PatternDef) { in InstantiateFunctionDefinition() 4684 Pattern = PatternDef->getBody(PatternDef); in InstantiateFunctionDefinition() 4685 PatternDecl = PatternDef; in InstantiateFunctionDefinition() 4686 if (PatternDef->willHaveBody()) in InstantiateFunctionDefinition() 4687 PatternDef = nullptr; in InstantiateFunctionDefinition() 4694 PatternDecl, PatternDef, TSK, in InstantiateFunctionDefinition()
|
D | SemaTemplate.cpp | 787 const NamedDecl *PatternDef, in DiagnoseUninstantiableTemplate() argument 794 if (const TagDecl *TD = dyn_cast_or_null<TagDecl>(PatternDef)) in DiagnoseUninstantiableTemplate() 797 if (PatternDef && !IsEntityBeingDefined) { in DiagnoseUninstantiableTemplate() 799 if (!hasVisibleDefinition(const_cast<NamedDecl*>(PatternDef), &SuggestedDef, in DiagnoseUninstantiableTemplate() 811 if (!Complain || (PatternDef && PatternDef->isInvalidDecl())) in DiagnoseUninstantiableTemplate() 818 if (PatternDef) { in DiagnoseUninstantiableTemplate()
|
/external/llvm-project/clang/include/clang/Sema/ |
D | Sema.h | 7294 const NamedDecl *PatternDef,
|