| /freebsd-9-stable/contrib/llvm/tools/clang/include/clang/AST/ |
| D | ASTLambda.h | 58 dyn_cast_or_null<CXXConversionDecl>(F->getTemplatedDecl())) in isLambdaConversionOperator()
|
| D | DeclTemplate.h | 256 NamedDecl *getTemplatedDecl() const { return TemplatedDecl; } in getTemplatedDecl() function 801 FunctionDecl *getTemplatedDecl() const { 808 return getTemplatedDecl()->isThisDeclarationADefinition(); 1851 CXXRecordDecl *getTemplatedDecl() const { 1858 return getTemplatedDecl()->isThisDeclarationADefinition(); 2120 TypeAliasDecl *getTemplatedDecl() const { 2696 VarDecl *getTemplatedDecl() const { 2703 return getTemplatedDecl()->isThisDeclarationADefinition();
|
| D | RecursiveASTVisitor.h | 1530 TRY_TO(TraverseDecl(D->getTemplatedDecl())); \ 1555 TRY_TO(TraverseDecl(D->getTemplatedDecl())); in DEF_TRAVERSE_TMPL_DECL() 1585 TRY_TO(TraverseDecl(D->getTemplatedDecl()));
|
| /freebsd-9-stable/contrib/llvm/tools/clang/lib/AST/ |
| D | Decl.cpp | 571 Function = FunTmpl->getTemplatedDecl(); in getLVForNamespaceScopeDecl() 855 explicitSpecSuppressor = spec->getTemplate()->getTemplatedDecl(); in getLVForClassMember() 870 explicitSpecSuppressor = temp->getTemplatedDecl(); in getLVForClassMember() 903 explicitSpecSuppressor = temp->getTemplatedDecl(); in getLVForClassMember() 975 return getVisibilityOf(spec->getSpecializedTemplate()->getTemplatedDecl(), in getExplicitVisibilityAux() 1000 return getVisibilityOf(templateInfo->getTemplate()->getTemplatedDecl(), in getExplicitVisibilityAux() 1014 return getVisibilityOf(TD->getTemplatedDecl(), kind); in getExplicitVisibilityAux() 1388 return FunctionTemplate->getTemplatedDecl() in declarationReplaces() 1389 ->declarationReplaces(OldFunctionTemplate->getTemplatedDecl()); in declarationReplaces() 1460 ->getTemplatedDecl())->isInstance(); in isCXXInstanceMember() [all …]
|
| D | DeclCXX.cpp | 434 D = FunTmpl->getTemplatedDecl(); in addedMember() 973 return cast<CXXMethodDecl>(CallOpTmpl->getTemplatedDecl()); in getLambdaCallOperator() 988 return cast<CXXMethodDecl>(InvokerTemplate->getTemplatedDecl()); in getLambdaStaticInvoker() 1025 T = ConvTemp->getTemplatedDecl()->getResultType(); in GetConversionType() 1560 return StaticInvoker == this->getPrimaryTemplate()->getTemplatedDecl(); in isLambdaStaticInvoker()
|
| D | Comment.cpp | 193 const FunctionDecl *FD = FTD->getTemplatedDecl(); in fill()
|
| D | ASTImporter.cpp | 1268 return Context.IsStructurallyEquivalent(D1->getTemplatedDecl(), in IsStructurallyEquivalent() 1269 D2->getTemplatedDecl()); in IsStructurallyEquivalent() 3973 = cast_or_null<CXXRecordDecl>(D->getTemplatedDecl()->getDefinition()); in VisitClassTemplateDecl() 3974 if (Definition && Definition != D->getTemplatedDecl()) { in VisitClassTemplateDecl() 4006 Importer.Imported(D->getTemplatedDecl(), in VisitClassTemplateDecl() 4007 FoundTemplate->getTemplatedDecl()); in VisitClassTemplateDecl() 4025 CXXRecordDecl *DTemplated = D->getTemplatedDecl(); in VisitClassTemplateDecl() 4163 cast_or_null<VarDecl>(D->getTemplatedDecl()->getDefinition()); in VisitVarTemplateDecl() 4164 if (Definition && Definition != D->getTemplatedDecl()) { in VisitVarTemplateDecl() 4193 Importer.Imported(D->getTemplatedDecl(), in VisitVarTemplateDecl() [all …]
|
| D | ASTDumper.cpp | 1022 dumpDecl(D->getTemplatedDecl()); in VisitTypeAliasTemplateDecl() 1052 dumpDecl(D->getTemplatedDecl()); in VisitFunctionTemplateDecl() 1085 dumpDecl(D->getTemplatedDecl()); in VisitClassTemplateDecl() 1135 dumpDecl(D->getTemplatedDecl()); in VisitVarTemplateDecl()
|
| D | ItaniumMangle.cpp | 95 return ftd->getTemplatedDecl(); in getStructor() 480 FD = PrimaryTemplate->getTemplatedDecl(); in mangleFunctionEncoding() 627 mangleUnscopedName(ND->getTemplatedDecl()); in mangleUnscopedTemplateName() 1547 mangleUnqualifiedName(ND->getTemplatedDecl()); in mangleTemplatePrefix()
|
| D | MicrosoftMangle.cpp | 69 return ftd->getTemplatedDecl(); in getStructor() 975 TA.getAsTemplate().getAsTemplateDecl()->getTemplatedDecl())); in mangleTemplateArg()
|
| /freebsd-9-stable/contrib/llvm/tools/clang/lib/Sema/ |
| D | SemaAccess.cpp | 400 Context->getTemplatedDecl(), in MightInstantiateTo() 401 Friend->getTemplatedDecl()); in MightInstantiateTo() 1084 cast<FunctionTemplateDecl>(D)->getTemplatedDecl()))) { in TryDiagnoseProtectedAccess() 1491 DC = cast<DeclContext>(TD->getTemplatedDecl()); in HandleDelayedAccessCheck() 1756 ->getTemplatedDecl()))); in CheckFriendAccess() 1768 cast<FunctionTemplateDecl>(target)->getTemplatedDecl()); in CheckFriendAccess()
|
| D | SemaTemplate.cpp | 474 D = Temp->getTemplatedDecl(); in AdjustDeclIfTemplate() 990 RecordDecl *PrevRecordDecl = PrevClassTemplate->getTemplatedDecl(); in CheckClassTemplate() 1055 PrevClassTemplate->getTemplatedDecl() : 0, in CheckClassTemplate() 1106 mergeDeclAttributes(NewClass, PrevClassTemplate->getTemplatedDecl()); in CheckClassTemplate() 1989 TypeAliasDecl *Pattern = AliasTemplate->getTemplatedDecl(); in CheckTemplateIdType() 2084 ClassTemplate->getTemplatedDecl()->getTagKind(), in CheckTemplateIdType() 2086 ClassTemplate->getTemplatedDecl()->getLocStart(), in CheckTemplateIdType() 2386 VarDecl *Templated = VarTemplate->getTemplatedDecl(); in ActOnVarTemplateSpecialization() 2569 VarTemplate->getTemplatedDecl(), in ActOnVarTemplateSpecialization() 2611 VarDecl *InstantiationPattern = Template->getTemplatedDecl(); in CheckVarTemplateId() [all …]
|
| D | CodeCompleteConsumer.cpp | 407 return FunctionTemplate->getTemplatedDecl(); in getFunction() 419 return FunctionTemplate->getTemplatedDecl()->getType() in getFunctionType()
|
| D | SemaTemplateInstantiateDecl.cpp | 301 TypeAliasDecl *Pattern = D->getTemplatedDecl(); in VisitTypeAliasTemplateDecl() 766 CXXRecordDecl *Pattern = D->getTemplatedDecl(); in VisitClassTemplateDecl() 787 PrevDecl = PrevClassTemplate->getTemplatedDecl(); in VisitClassTemplateDecl() 817 PrevDecl = PrevClassTemplate->getTemplatedDecl(); in VisitClassTemplateDecl() 822 << D->getTemplatedDecl()->getTagKind() << Pattern->getDeclName() << DC in VisitClassTemplateDecl() 966 assert(D->getTemplatedDecl()->isStaticDataMember() && in VisitVarTemplateDecl() 977 VarDecl *Pattern = D->getTemplatedDecl(); in VisitVarTemplateDecl() 1058 if (CXXMethodDecl *DMethod = dyn_cast<CXXMethodDecl>(D->getTemplatedDecl())) in VisitFunctionTemplateDecl() 1063 D->getTemplatedDecl(), in VisitFunctionTemplateDecl() 1082 !(isFriend && !D->getTemplatedDecl()->isThisDeclarationADefinition())) in VisitFunctionTemplateDecl() [all …]
|
| D | SemaTemplateDeduction.cpp | 2494 FunctionDecl *Function = FunctionTemplate->getTemplatedDecl(); in SubstituteExplicitTemplateArguments() 2556 ContextRAII SavedContext(*this, FunctionTemplate->getTemplatedDecl()); in SubstituteExplicitTemplateArguments() 2788 ContextRAII SavedContext(*this, FunctionTemplate->getTemplatedDecl()); in FinishTemplateArgumentDeduction() 2919 SubstDecl(FunctionTemplate->getTemplatedDecl(), Owner, in FinishTemplateArgumentDeduction() 3278 FunctionDecl *Function = FunctionTemplate->getTemplatedDecl(); in DeduceTemplateArguments() 3559 FunctionDecl *Function = FunctionTemplate->getTemplatedDecl(); in DeduceTemplateArguments() 3758 = cast<CXXConversionDecl>(ConversionTemplate->getTemplatedDecl()); in DeduceTemplateArguments() 4163 FunctionDecl *FD1 = FT1->getTemplatedDecl(); in isAtLeastAsSpecializedAs() 4164 FunctionDecl *FD2 = FT2->getTemplatedDecl(); in isAtLeastAsSpecializedAs() 4320 FunctionDecl *Function = FunTmpl->getTemplatedDecl(); in isVariadicFunctionTemplate() [all …]
|
| D | SemaLookup.cpp | 740 = ConvTemplate->getTemplatedDecl()->getType()->getAs<FunctionProtoType>(); in LookupDirect() 1197 Entity = FromTemplate->getTemplatedDecl(); in getDefiningModule() 2325 FDecl = cast<FunctionTemplateDecl>(Fn)->getTemplatedDecl(); in FindAssociatedClassesAndNamespaces() 2820 D = FunTmpl->getTemplatedDecl(); in LookupLiteralOperator() 2856 OldFD = cast<FunctionTemplateDecl>(Old)->getTemplatedDecl(); in insert() 2857 NewFD = cast<FunctionTemplateDecl>(New)->getTemplatedDecl(); in insert() 4582 FD = FTD->getTemplatedDecl(); in ValidateCandidate() 4624 return getDefinitionToImport(TD->getTemplatedDecl()); in getDefinitionToImport()
|
| D | SemaOverload.cpp | 934 if (!IsOverload(New, OldT->getTemplatedDecl(), UseMemberUsingDeclRules)) { in CheckOverload() 2948 = cast<CXXConstructorDecl>(ConstructorTmpl->getTemplatedDecl()); in IsInitializerListConstructorConversion() 3083 = cast<CXXConstructorDecl>(ConstructorTmpl->getTemplatedDecl()); in IsUserDefinedConversion() 3142 Conv = cast<CXXConversionDecl>(ConvTemplate->getTemplatedDecl()); in IsUserDefinedConversion() 4053 Conv = cast<CXXConversionDecl>(ConvTemplate->getTemplatedDecl()); in FindConversionForRefInit() 5223 Conv = cast<CXXConversionDecl>(ConvTemplate->getTemplatedDecl()); in collectViableConversionCandidates() 5326 Conversion = cast<CXXConversionDecl>(ConvTemplate->getTemplatedDecl()); in PerformContextualImplicitConversion() 5601 if (isa<CXXMethodDecl>(FunTmpl->getTemplatedDecl()) && in AddFunctionCandidates() 5602 !cast<CXXMethodDecl>(FunTmpl->getTemplatedDecl())->isStatic()) in AddFunctionCandidates() 5632 assert(isa<CXXMethodDecl>(TD->getTemplatedDecl()) && in AddMethodCandidate() [all …]
|
| D | SemaCXXScopeSpec.cpp | 113 return ClassTemplate->getTemplatedDecl(); in computeDeclContext()
|
| D | SemaDecl.cpp | 969 FD = TFD->getTemplatedDecl(); in ActOnReenterFunctionContext() 2307 Old = OldFunctionTemplate->getTemplatedDecl(); in MergeFunctionDecl() 3217 Tag = CTD->getTemplatedDecl(); in ParsedFreeStandingDeclSpec() 5447 PrevDecl.addDecl(PrevVarTemplate->getTemplatedDecl()); in ActOnVariableDeclarator() 7117 if (SC != Info->getTemplate()->getTemplatedDecl()->getStorageClass()) in ActOnFunctionDeclarator() 7494 OldMD = dyn_cast<CXXMethodDecl>(OldTD->getTemplatedDecl()); in CheckFunctionDeclaration() 7530 NewFD->setPreviousDeclaration(OldTemplateDecl->getTemplatedDecl()); in CheckFunctionDeclaration() 7535 = dyn_cast<CXXMethodDecl>(NewTemplateDecl->getTemplatedDecl())) { in CheckFunctionDeclaration() 9505 FD = FunTmpl->getTemplatedDecl(); in ActOnStartOfFunctionDef() 9711 FD = FTD->getTemplatedDecl(); in canSkipFunctionBody() [all …]
|
| D | SemaInit.cpp | 3033 ConstructorTmpl->getTemplatedDecl()); in ResolveConstructorOverload() 3467 ConstructorTmpl->getTemplatedDecl()); in TryRefInitWithConversionFunction() 3508 Conv = cast<CXXConversionDecl>(ConvTemplate->getTemplatedDecl()); in TryRefInitWithConversionFunction() 4093 ConstructorTmpl->getTemplatedDecl()); in TryUserDefinedConversion() 4138 Conv = cast<CXXConversionDecl>(ConvTemplate->getTemplatedDecl()); in TryUserDefinedConversion() 4836 ConstructorTmpl->getTemplatedDecl()); in LookupCopyAndMoveConstructors()
|
| D | SemaCodeComplete.cpp | 669 T = FunTmpl->getTemplatedDecl()->getCallResultType(); in getDeclUsageType() 787 Record = ClassTemplate->getTemplatedDecl(); in MaybeAddConstructorResults() 1104 ND = ClassTemplate->getTemplatedDecl(); in IsNestedNameSpecifier() 1118 ND = ClassTemplate->getTemplatedDecl(); in IsClassOrStruct() 1133 ND = ClassTemplate->getTemplatedDecl(); in IsUnion() 2076 T = FunTmpl->getTemplatedDecl()->getResultType(); in AddResultTypeChunk() 2669 FunctionDecl *Function = FunTmpl->getTemplatedDecl(); in CreateCodeCompletionString()
|
| /freebsd-9-stable/contrib/llvm/tools/clang/lib/Index/ |
| D | USRGeneration.cpp | 274 VisitFunctionDecl(D->getTemplatedDecl()); in VisitFunctionTemplateDecl() 278 VisitTagDecl(D->getTemplatedDecl()); in VisitClassTemplateDecl()
|
| /freebsd-9-stable/contrib/llvm/tools/clang/lib/Analysis/ |
| D | AnalysisDeclContext.cpp | 108 return FunTmpl->getTemplatedDecl()->getBody(); in getBody()
|
| /freebsd-9-stable/contrib/llvm/tools/clang/lib/ASTMatchers/ |
| D | ASTMatchFinder.cpp | 652 TemplateType->getTemplateName().getAsTemplateDecl()->getTemplatedDecl(); in getAsCXXRecordDecl()
|
| /freebsd-9-stable/contrib/llvm/tools/clang/lib/Parse/ |
| D | ParseCXXInlineMethods.cpp | 26 return cast<FunctionTemplateDecl>(D)->getTemplatedDecl(); in getFunctionDecl()
|