Home
last modified time | relevance | path

Searched defs:D (Results 1 – 25 of 2346) sorted by relevance

12345678910>>...94

/llvm-project/clang/lib/Serialization/
H A DASTWriterDecl.cpp52 Emit(Decl * D) Emit() argument
184 AddFirstDeclFromEachModule(const Decl * D,bool IncludeLocal) AddFirstDeclFromEachModule() argument
214 AddTemplateSpecializations(DeclTy * D) AddTemplateSpecializations() argument
242 for (auto *D : Specs) { AddTemplateSpecializations() local
278 CanElideDeclDef(const Decl * D) CanElideDeclDef() argument
306 Visit(Decl * D) Visit() argument
361 VisitDecl(Decl * D) VisitDecl() argument
414 VisitPragmaCommentDecl(PragmaCommentDecl * D) VisitPragmaCommentDecl() argument
425 VisitPragmaDetectMismatchDecl(PragmaDetectMismatchDecl * D) VisitPragmaDetectMismatchDecl() argument
436 VisitTranslationUnitDecl(TranslationUnitDecl * D) VisitTranslationUnitDecl() argument
440 VisitNamedDecl(NamedDecl * D) VisitNamedDecl() argument
448 VisitTypeDecl(TypeDecl * D) VisitTypeDecl() argument
454 VisitTypedefNameDecl(TypedefNameDecl * D) VisitTypedefNameDecl() argument
464 VisitTypedefDecl(TypedefDecl * D) VisitTypedefDecl() argument
480 VisitTypeAliasDecl(TypeAliasDecl * D) VisitTypeAliasDecl() argument
486 VisitTagDecl(TagDecl * D) VisitTagDecl() argument
516 VisitEnumDecl(EnumDecl * D) VisitEnumDecl() argument
563 VisitRecordDecl(RecordDecl * D) VisitRecordDecl() argument
603 VisitValueDecl(ValueDecl * D) VisitValueDecl() argument
608 VisitEnumConstantDecl(EnumConstantDecl * D) VisitEnumConstantDecl() argument
618 VisitDeclaratorDecl(DeclaratorDecl * D) VisitDeclaratorDecl() argument
632 VisitFunctionDecl(FunctionDecl * D) VisitFunctionDecl() argument
788 VisitCXXDeductionGuideDecl(CXXDeductionGuideDecl * D) VisitCXXDeductionGuideDecl() argument
796 VisitObjCMethodDecl(ObjCMethodDecl * D) VisitObjCMethodDecl() argument
848 VisitObjCTypeParamDecl(ObjCTypeParamDecl * D) VisitObjCTypeParamDecl() argument
858 VisitObjCContainerDecl(ObjCContainerDecl * D) VisitObjCContainerDecl() argument
869 VisitObjCInterfaceDecl(ObjCInterfaceDecl * D) VisitObjCInterfaceDecl() argument
914 VisitObjCIvarDecl(ObjCIvarDecl * D) VisitObjCIvarDecl() argument
935 VisitObjCProtocolDecl(ObjCProtocolDecl * D) VisitObjCProtocolDecl() argument
952 VisitObjCAtDefsFieldDecl(ObjCAtDefsFieldDecl * D) VisitObjCAtDefsFieldDecl() argument
957 VisitObjCCategoryDecl(ObjCCategoryDecl * D) VisitObjCCategoryDecl() argument
972 VisitObjCCompatibleAliasDecl(ObjCCompatibleAliasDecl * D) VisitObjCCompatibleAliasDecl() argument
978 VisitObjCPropertyDecl(ObjCPropertyDecl * D) VisitObjCPropertyDecl() argument
999 VisitObjCImplDecl(ObjCImplDecl * D) VisitObjCImplDecl() argument
1005 VisitObjCCategoryImplDecl(ObjCCategoryImplDecl * D) VisitObjCCategoryImplDecl() argument
1011 VisitObjCImplementationDecl(ObjCImplementationDecl * D) VisitObjCImplementationDecl() argument
1026 VisitObjCPropertyImplDecl(ObjCPropertyImplDecl * D) VisitObjCPropertyImplDecl() argument
1039 VisitFieldDecl(FieldDecl * D) VisitFieldDecl() argument
1072 VisitMSPropertyDecl(MSPropertyDecl * D) VisitMSPropertyDecl() argument
1079 VisitMSGuidDecl(MSGuidDecl * D) VisitMSGuidDecl() argument
1090 VisitUnnamedGlobalConstantDecl(UnnamedGlobalConstantDecl * D) VisitUnnamedGlobalConstantDecl() argument
1096 VisitTemplateParamObjectDecl(TemplateParamObjectDecl * D) VisitTemplateParamObjectDecl() argument
1102 VisitIndirectFieldDecl(IndirectFieldDecl * D) VisitIndirectFieldDecl() argument
1111 VisitVarDecl(VarDecl * D) VisitVarDecl() argument
1212 VisitImplicitParamDecl(ImplicitParamDecl * D) VisitImplicitParamDecl() argument
1217 VisitParmVarDecl(ParmVarDecl * D) VisitParmVarDecl() argument
1264 VisitDecompositionDecl(DecompositionDecl * D) VisitDecompositionDecl() argument
1274 VisitBindingDecl(BindingDecl * D) VisitBindingDecl() argument
1280 VisitFileScopeAsmDecl(FileScopeAsmDecl * D) VisitFileScopeAsmDecl() argument
1287 VisitTopLevelStmtDecl(TopLevelStmtDecl * D) VisitTopLevelStmtDecl() argument
1293 VisitEmptyDecl(EmptyDecl * D) VisitEmptyDecl() argument
1299 VisitLifetimeExtendedTemporaryDecl(LifetimeExtendedTemporaryDecl * D) VisitLifetimeExtendedTemporaryDecl() argument
1309 VisitBlockDecl(BlockDecl * D) VisitBlockDecl() argument
1349 VisitLinkageSpecDecl(LinkageSpecDecl * D) VisitLinkageSpecDecl() argument
1361 VisitExportDecl(ExportDecl * D) VisitExportDecl() argument
1367 VisitLabelDecl(LabelDecl * D) VisitLabelDecl() argument
1374 VisitNamespaceDecl(NamespaceDecl * D) VisitNamespaceDecl() argument
1405 VisitNamespaceAliasDecl(NamespaceAliasDecl * D) VisitNamespaceAliasDecl() argument
1415 VisitUsingDecl(UsingDecl * D) VisitUsingDecl() argument
1426 VisitUsingEnumDecl(UsingEnumDecl * D) VisitUsingEnumDecl() argument
1436 VisitUsingPackDecl(UsingPackDecl * D) VisitUsingPackDecl() argument
1445 VisitUsingShadowDecl(UsingShadowDecl * D) VisitUsingShadowDecl() argument
1463 VisitConstructorUsingShadowDecl(ConstructorUsingShadowDecl * D) VisitConstructorUsingShadowDecl() argument
1471 VisitUsingDirectiveDecl(UsingDirectiveDecl * D) VisitUsingDirectiveDecl() argument
1481 VisitUnresolvedUsingValueDecl(UnresolvedUsingValueDecl * D) VisitUnresolvedUsingValueDecl() argument
1491 VisitUnresolvedUsingTypenameDecl(UnresolvedUsingTypenameDecl * D) VisitUnresolvedUsingTypenameDecl() argument
1500 VisitUnresolvedUsingIfExistsDecl(UnresolvedUsingIfExistsDecl * D) VisitUnresolvedUsingIfExistsDecl() argument
1505 VisitCXXRecordDecl(CXXRecordDecl * D) VisitCXXRecordDecl() argument
1554 VisitCXXMethodDecl(CXXMethodDecl * D) VisitCXXMethodDecl() argument
1600 VisitCXXConstructorDecl(CXXConstructorDecl * D) VisitCXXConstructorDecl() argument
1616 VisitCXXDestructorDecl(CXXDestructorDecl * D) VisitCXXDestructorDecl() argument
1626 VisitCXXConversionDecl(CXXConversionDecl * D) VisitCXXConversionDecl() argument
1632 VisitImportDecl(ImportDecl * D) VisitImportDecl() argument
1650 VisitAccessSpecDecl(AccessSpecDecl * D) VisitAccessSpecDecl() argument
1656 VisitFriendDecl(FriendDecl * D) VisitFriendDecl() argument
1675 VisitFriendTemplateDecl(FriendTemplateDecl * D) VisitFriendTemplateDecl() argument
1689 VisitTemplateDecl(TemplateDecl * D) VisitTemplateDecl() argument
1696 VisitConceptDecl(ConceptDecl * D) VisitConceptDecl() argument
1703 VisitImplicitConceptSpecializationDecl(ImplicitConceptSpecializationDecl * D) VisitImplicitConceptSpecializationDecl() argument
1711 VisitRequiresExprBodyDecl(RequiresExprBodyDecl * D) VisitRequiresExprBodyDecl() argument
1715 VisitRedeclarableTemplateDecl(RedeclarableTemplateDecl * D) VisitRedeclarableTemplateDecl() argument
1731 VisitClassTemplateDecl(ClassTemplateDecl * D) VisitClassTemplateDecl() argument
1749 VisitClassTemplateSpecializationDecl(ClassTemplateSpecializationDecl * D) VisitClassTemplateSpecializationDecl() argument
1794 VisitClassTemplatePartialSpecializationDecl(ClassTemplatePartialSpecializationDecl * D) VisitClassTemplatePartialSpecializationDecl() argument
1808 VisitVarTemplateDecl(VarTemplateDecl * D) VisitVarTemplateDecl() argument
1817 VisitVarTemplateSpecializationDecl(VarTemplateSpecializationDecl * D) VisitVarTemplateSpecializationDecl() argument
1863 VisitVarTemplatePartialSpecializationDecl(VarTemplatePartialSpecializationDecl * D) VisitVarTemplatePartialSpecializationDecl() argument
1877 VisitFunctionTemplateDecl(FunctionTemplateDecl * D) VisitFunctionTemplateDecl() argument
1885 VisitTemplateTypeParmDecl(TemplateTypeParmDecl * D) VisitTemplateTypeParmDecl() argument
1920 VisitNonTypeTemplateParmDecl(NonTypeTemplateParmDecl * D) VisitNonTypeTemplateParmDecl() argument
1955 VisitTemplateTemplateParmDecl(TemplateTemplateParmDecl * D) VisitTemplateTemplateParmDecl() argument
1985 VisitTypeAliasTemplateDecl(TypeAliasTemplateDecl * D) VisitTypeAliasTemplateDecl() argument
1990 VisitStaticAssertDecl(StaticAssertDecl * D) VisitStaticAssertDecl() argument
2023 getFirstLocalDecl(const Decl * D) getFirstLocalDecl() argument
2041 VisitRedeclarable(Redeclarable<T> * D) VisitRedeclarable() argument
2099 VisitHLSLBufferDecl(HLSLBufferDecl * D) VisitHLSLBufferDecl() argument
2110 VisitOMPThreadPrivateDecl(OMPThreadPrivateDecl * D) VisitOMPThreadPrivateDecl() argument
2116 VisitOMPAllocateDecl(OMPAllocateDecl * D) VisitOMPAllocateDecl() argument
2122 VisitOMPRequiresDecl(OMPRequiresDecl * D) VisitOMPRequiresDecl() argument
2128 VisitOMPDeclareReductionDecl(OMPDeclareReductionDecl * D) VisitOMPDeclareReductionDecl() argument
2146 VisitOMPDeclareMapperDecl(OMPDeclareMapperDecl * D) VisitOMPDeclareMapperDecl() argument
2154 VisitOMPCapturedExprDecl(OMPCapturedExprDecl * D) VisitOMPCapturedExprDecl() argument
2776 isRequiredDecl(const Decl * D,ASTContext & Context,Module * WritingModule) isRequiredDecl() argument
2808 WriteDecl(ASTContext & Context,Decl * D) WriteDecl() argument
[all...]
/llvm-project/clang/test/CXX/temp/temp.names/
H A Dp5.cpp36 struct A<T>::template B<U>::D<V*>; // expected-error{{'template' cannot be used after a declarative… member in B
41 struct A<T>::B<U>::template D<V**>; // expected-error{{'template' cannot be used after a declarativ… variable
46 struct A<T>::template B<U>::D { }; // expected-error{{'template' cannot be used after a declarative… struct in B
51 struct A<T>::template B<U>::D<V*> { }; // expected-error{{'template' cannot be used after a declara… struct in B
56 struct A<T>::B<U>::template D<V**> { }; // expected-error{{'template' cannot be used after a declar… struct
61 struct A<int>::template B<bool>::D; // expected-error{{'template' cannot be used after a declarativ… member in B
66 struct A<int>::template B<bool>::D<short>; // expected-error{{'template' cannot be used after a dec… member in B
71 struct A<int>::B<bool>::template D<long>; // expected-error{{'template' cannot be used after a decl… variable
76 struct A<int>::template B<bool>::D<V*>; // expected-error{{'template' cannot be used after a declar… member in B
81 struct A<int>::B<bool>::template D<V**>; // expected-error{{'template' cannot be used after a decla… variable
[all …]
/llvm-project/clang/test/Interpreter/
H A Dglobal-dtor.cpp10 struct D { float f = 1.0; D *m = nullptr; D(){} ~D() { printf("D[f=%f, m=0x%llx]\n", f, reinterpret… in D() argument
/llvm-project/clang-tools-extra/test/clang-tidy/checkers/cert/
H A Doop11-cpp.cpp11 struct D { struct
15 D(D &&d) : b(d.b) {} in D() argument
20 D(B b) : b(b) {} in D() function
/llvm-project/clang-tools-extra/clang-doc/
H A DMapper.cpp24 template <typename T> bool isTypedefAnonRecord(const T *D) { in mapDecl() argument
61 getFile(D, D argument
55 VisitNamespaceDecl(const NamespaceDecl * D) VisitNamespaceDecl() argument
59 VisitRecordDecl(const RecordDecl * D) VisitRecordDecl() argument
63 VisitCXXMethodDecl(const CXXMethodDecl * D) VisitCXXMethodDecl() argument
67 VisitFunctionDecl(const FunctionDecl * D) VisitFunctionDecl() argument
74 VisitTypedefDecl(const TypedefDecl * D) VisitTypedefDecl() argument
78 VisitTypeAliasDecl(const TypeAliasDecl * D) VisitTypeAliasDecl() argument
83 getComment(const NamedDecl * D,const ASTContext & Context) const getComment() argument
93 getLine(const NamedDecl * D,const ASTContext & Context) const getLine() argument
98 getFile(const NamedDecl * D,const ASTContext & Context,llvm::StringRef RootDir,bool & IsFileInRootDir) const getFile() argument
[all...]
/llvm-project/clang/include/clang/Sema/
H A DAttr.h34 inline bool isFuncOrMethodForAttrSubject(const Decl *D) { in isFuncOrMethodForAttrSubject()
40 inline bool isFunctionOrMethodOrBlockForAttrSubject(const Decl *D) { in isFunctionOrMethodOrBlockForAttrSubject()
46 inline bool hasDeclarator(const Decl *D) { in hasDeclarator()
55 inline bool hasFunctionProto(const Decl *D) { in hasFunctionProto()
64 inline unsigned getFunctionOrMethodNumParams(const Decl *D) { in getFunctionOrMethodNumParams()
72 inline const ParmVarDecl *getFunctionOrMethodParam(const Decl *D, in getFunctionOrMethodParam()
83 inline QualType getFunctionOrMethodParamType(const Decl *D, unsigned Idx) { in getFunctionOrMethodParamType()
92 inline SourceRange getFunctionOrMethodParamRange(const Decl *D, unsigned Idx) { in getFunctionOrMethodParamRange()
98 inline QualType getFunctionOrMethodResultType(const Decl *D) { in getFunctionOrMethodResultType()
104 inline SourceRange getFunctionOrMethodResultSourceRange(const Decl *D) { in getFunctionOrMethodResultSourceRange()
[all …]
/llvm-project/clang/test/SemaCXX/
H A Dusing-hiding.cpp36 namespace D { namespace
51 namespace D { namespace
68 namespace D { namespace
83 namespace D { namespace
98 namespace D { namespace
113 namespace D { namespace
129 namespace D { namespace
145 namespace D { namespace
161 namespace D { namespace
177 namespace D { namespace
[all …]
/llvm-project/clang/include/clang/AST/
H A DASTMutationListener.h53 virtual void CompletedTagDefinition(const TagDecl *D) { } in CompletedTagDefinition()
56 virtual void AddedVisibleDecl(const DeclContext *DC, const Decl *D) {} in AddedVisibleDecl()
59 virtual void AddedCXXImplicitMember(const CXXRecordDecl *RD, const Decl *D) {} in AddedCXXImplicitMember()
64 const ClassTemplateSpecializationDecl *D) {} in AddedCXXTemplateSpecialization()
70 const VarTemplateSpecializationDecl *D) {} in AddedCXXTemplateSpecialization()
75 const FunctionDecl *D) {} in AddedCXXTemplateSpecialization()
90 virtual void CompletedImplicitDefinition(const FunctionDecl *D) {} in CompletedImplicitDefinition()
95 virtual void InstantiationRequested(const ValueDecl *D) {} in InstantiationRequested()
98 virtual void VariableDefinitionInstantiated(const VarDecl *D) {} in VariableDefinitionInstantiated()
101 virtual void FunctionDefinitionInstantiated(const FunctionDecl *D) {} in FunctionDefinitionInstantiated()
[all …]
H A DGlobalDecl.h60 void Init(const Decl *D) { in Init()
70 GlobalDecl(const VarDecl *D) { Init(D);} in GlobalDecl()
79 GlobalDecl(const FunctionDecl *D, KernelReferenceKind Kind) in GlobalDecl()
83 GlobalDecl(const NamedDecl *D) { Init(D); } in GlobalDecl()
84 GlobalDecl(const BlockDecl *D) { Init(D); } in GlobalDecl()
85 GlobalDecl(const CapturedDecl *D) { Init(D); } in GlobalDecl()
86 GlobalDecl(const ObjCMethodDecl *D) { Init(D); } in GlobalDecl()
87 GlobalDecl(const OMPDeclareReductionDecl *D) { Init(D); } in GlobalDecl()
88 GlobalDecl(const OMPDeclareMapperDecl *D) { Init(D); } in GlobalDecl()
89 GlobalDecl(const CXXConstructorDecl *D, CXXCtorType Type) : Value(D, Type) {} in GlobalDecl()
[all …]
H A DDependenceFlags.h250 toExprDependenceForImpliedType(TypeDependence D) toExprDependenceForImpliedType() argument
253 toExprDependenceAsWritten(TypeDependence D) toExprDependenceAsWritten() argument
259 toExprDependence(NestedNameSpecifierDependence D) toExprDependence() argument
262 turnTypeToValueDependence(ExprDependence D) turnTypeToValueDependence() argument
267 turnValueToTypeDependence(ExprDependence D) turnValueToTypeDependence() argument
275 toTypeDependence(ExprDependence D) toTypeDependence() argument
278 toTypeDependence(NestedNameSpecifierDependence D) toTypeDependence() argument
281 toTypeDependence(TemplateNameDependence D) toTypeDependence() argument
284 toTypeDependence(TemplateArgumentDependence D) toTypeDependence() argument
288 toSyntacticDependence(TypeDependence D) toSyntacticDependence() argument
291 toSemanticDependence(TypeDependence D) toSemanticDependence() argument
296 toNestedNameSpecifierDependendence(TypeDependence D) toNestedNameSpecifierDependendence() argument
301 toTemplateArgumentDependence(TypeDependence D) toTemplateArgumentDependence() argument
305 toTemplateArgumentDependence(TemplateNameDependence D) toTemplateArgumentDependence() argument
309 toTemplateArgumentDependence(ExprDependence D) toTemplateArgumentDependence() argument
314 toTemplateNameDependence(NestedNameSpecifierDependence D) toTemplateNameDependence() argument
[all...]
/llvm-project/clang/test/CodeGenCXX/
H A Dimplicit-copy-assign-operator.cpp24 struct D : A, B, virtual C { struct
29 POD pod_array[2][3]; argument
39 void test_D(D d1, D d2) { in test_D() argument
H A D2006-09-12-OpaqueStructCrash.cpp22 struct D : public A { struct
23 D () {} in D() argument
28 template class D<double>; variable
/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DFunctionSummary.h60 MapTy::iterator findOrInsertSummary(const Decl *D) { in findOrInsertSummary()
72 void markMayInline(const Decl *D) { in markMayInline()
78 void markShouldNotInline(const Decl *D) { in markShouldNotInline()
84 void markReachedMaxBlockCount(const Decl *D) { in markReachedMaxBlockCount()
88 std::optional<bool> mayInline(const Decl *D) { in mayInline()
95 void markVisitedBasicBlock(unsigned ID, const Decl* D, unsigned TotalIDs) { in markVisitedBasicBlock()
106 unsigned getNumVisitedBasicBlocks(const Decl* D) { in getNumVisitedBasicBlocks()
113 unsigned getNumTimesInlined(const Decl* D) { in getNumTimesInlined()
120 void bumpNumTimesInlined(const Decl* D) { in bumpNumTimesInlined()
126 unsigned getPercentBlocksReachable(const Decl *D) { in getPercentBlocksReachable()
/llvm-project/libcxx/test/std/numerics/rand/rand.dist/rand.dist.samp/rand.dist.samp.discrete/
H A Dctor_init.pass.cpp28 typedef std::discrete_distribution<> D; in main() typedef
35 typedef std::discrete_distribution<> D; in main() typedef
42 typedef std::discrete_distribution<> D; in main() typedef
50 typedef std::discrete_distribution<> D; in main() typedef
58 typedef std::discrete_distribution<> D; in main() typedef
67 typedef std::discrete_distribution<> D; in main() typedef
76 typedef std::discrete_distribution<> D; in main() typedef
H A Dctor_iterator.pass.cpp27 typedef std::discrete_distribution<> D; in main() typedef
35 typedef std::discrete_distribution<> D; in main() typedef
43 typedef std::discrete_distribution<> D; in main() typedef
52 typedef std::discrete_distribution<> D; in main() typedef
61 typedef std::discrete_distribution<> D; in main() typedef
71 typedef std::discrete_distribution<> D; in main() typedef
81 typedef std::discrete_distribution<> D; in main() typedef
H A Dparam_ctor_init.pass.cpp28 typedef std::discrete_distribution<> D; in main() typedef
36 typedef std::discrete_distribution<> D; in main() typedef
44 typedef std::discrete_distribution<> D; in main() typedef
53 typedef std::discrete_distribution<> D; in main() typedef
62 typedef std::discrete_distribution<> D; in main() typedef
72 typedef std::discrete_distribution<> D; in main() typedef
82 typedef std::discrete_distribution<> D; in main() typedef
/llvm-project/clang/lib/Index/
H A DIndexDecl.cpp21 #define TRY_DECL(D,CALL_EXPR) \ argument
45 bool VisitDecl(const Decl *D) { in VisitDecl() argument
79 static bool hasUserDefined(const ObjCMethodDecl *D, in hasUserDefined() argument
88 void handleDeclarator(const DeclaratorDecl *D, in handleDeclarator() argument
139 handleObjCMethod(const ObjCMethodDecl * D,const ObjCPropertyDecl * AssociatedProp=nullptr) handleObjCMethod() argument
205 gatherTemplatePseudoOverrides(const NamedDecl * D,SmallVectorImpl<SymbolRelation> & Relations) gatherTemplatePseudoOverrides() argument
243 VisitFunctionDecl(const FunctionDecl * D) VisitFunctionDecl() argument
305 VisitVarDecl(const VarDecl * D) VisitVarDecl() argument
314 VisitDecompositionDecl(const DecompositionDecl * D) VisitDecompositionDecl() argument
320 VisitFieldDecl(const FieldDecl * D) VisitFieldDecl() argument
332 VisitObjCIvarDecl(const ObjCIvarDecl * D) VisitObjCIvarDecl() argument
342 VisitMSPropertyDecl(const MSPropertyDecl * D) VisitMSPropertyDecl() argument
348 VisitEnumConstantDecl(const EnumConstantDecl * D) VisitEnumConstantDecl() argument
354 VisitTypedefNameDecl(const TypedefNameDecl * D) VisitTypedefNameDecl() argument
364 VisitTagDecl(const TagDecl * D) VisitTagDecl() argument
407 VisitObjCInterfaceDecl(const ObjCInterfaceDecl * D) VisitObjCInterfaceDecl() argument
438 VisitObjCProtocolDecl(const ObjCProtocolDecl * D) VisitObjCProtocolDecl() argument
451 VisitObjCImplementationDecl(const ObjCImplementationDecl * D) VisitObjCImplementationDecl() argument
477 VisitObjCCategoryDecl(const ObjCCategoryDecl * D) VisitObjCCategoryDecl() argument
497 VisitObjCCategoryImplDecl(const ObjCCategoryImplDecl * D) VisitObjCCategoryImplDecl() argument
513 VisitObjCMethodDecl(const ObjCMethodDecl * D) VisitObjCMethodDecl() argument
523 VisitObjCPropertyDecl(const ObjCPropertyDecl * D) VisitObjCPropertyDecl() argument
538 VisitObjCPropertyImplDecl(const ObjCPropertyImplDecl * D) VisitObjCPropertyImplDecl() argument
592 VisitNamespaceDecl(const NamespaceDecl * D) VisitNamespaceDecl() argument
598 VisitNamespaceAliasDecl(const NamespaceAliasDecl * D) VisitNamespaceAliasDecl() argument
606 VisitUsingDecl(const UsingDecl * D) VisitUsingDecl() argument
626 VisitUsingDirectiveDecl(const UsingDirectiveDecl * D) VisitUsingDirectiveDecl() argument
642 VisitUnresolvedUsingValueDecl(const UnresolvedUsingValueDecl * D) VisitUnresolvedUsingValueDecl() argument
651 VisitUnresolvedUsingTypenameDecl(const UnresolvedUsingTypenameDecl * D) VisitUnresolvedUsingTypenameDecl() argument
661 VisitClassTemplateSpecializationDecl(const ClassTemplateSpecializationDecl * D) VisitClassTemplateSpecializationDecl() argument
685 shouldIndexTemplateParameterDefaultValue(const NamedDecl * D) shouldIndexTemplateParameterDefaultValue() argument
726 VisitTemplateDecl(const TemplateDecl * D) VisitTemplateDecl() argument
740 VisitConceptDecl(const ConceptDecl * D) VisitConceptDecl() argument
748 VisitFriendDecl(const FriendDecl * D) VisitFriendDecl() argument
766 VisitImportDecl(const ImportDecl * D) VisitImportDecl() argument
770 VisitStaticAssertDecl(const StaticAssertDecl * D) VisitStaticAssertDecl() argument
780 indexDecl(const Decl * D) indexDecl() argument
805 indexTopLevelDecl(const Decl * D) indexTopLevelDecl() argument
[all...]
/llvm-project/lldb/test/API/lang/cpp/namespace_conflicts/
H A Dmain.cpp2 struct D { struct
3 int i;
4 static int anInt() { return 2; } in anInt()
5 int dump() { return i; } in dump()
11 int foo(D* D) { in foo() argument
/llvm-project/lldb/test/API/lang/cpp/template-function/
H A Dmain.cpp48 struct D {}; struct
51 bool operator<(const D &, const D &) { return true; } in operator <()
52 bool operator>(const D &, const D &) { return true; } in operator >()
53 bool operator>>(const D &, const D &) { return true; } in operator >>()
54 bool operator<<(const D &, const D &) { return true; } in operator <<()
55 bool operator==(const D &, const D &) { return true; } in operator ==()
/llvm-project/lldb/test/API/lang/cpp/llvm-style/
H A Dmain.cpp2 struct D { struct
3 int i;
4 static int anInt() { return 2; } in anInt()
5 int dump() { return i; } in dump()
16 int C::foo(D* D) { in foo() argument
/llvm-project/clang/lib/AST/
H A DASTConsumer.cpp18 bool ASTConsumer::HandleTopLevelDecl(DeclGroupRef D) { in HandleTopLevelDecl()
22 void ASTConsumer::HandleInterestingDecl(DeclGroupRef D) { in HandleInterestingDecl()
26 void ASTConsumer::HandleTopLevelDeclInObjCContainer(DeclGroupRef D) {} in HandleTopLevelDeclInObjCContainer()
28 void ASTConsumer::HandleImplicitImportDecl(ImportDecl *D) { in HandleImplicitImportDecl()
H A DComputeDependence.cpp29 auto D = toExprDependenceForImpliedType(E->getType()->getDependence()); in computeDependence() local
98 const ValueDecl *D = nullptr; in computeDependence() local
135 ExprDependence D in computeDependence() local
151 ExprDependence D = computeDependence() local
178 auto D = toExprDependenceForImpliedType(E->getType()->getDependence()); computeDependence() local
194 auto D = toExprDependenceAsWritten( computeDependence() local
220 auto D = ExprDependence::None; computeDependence() local
227 auto D = toExprDependenceAsWritten( computeDependence() local
239 auto D = E->getCommonExpr()->getDependence() | computeDependence() local
256 auto D = toExprDependenceForImpliedType(E->getType()->getDependence()); computeDependence() local
265 auto D = toExprDependenceAsWritten(E->getType()->getDependence()) | computeDependence() local
277 auto D = turnTypeToValueDependence(E->getSubExpr()->getDependence()); computeDependence() local
283 auto D = ExprDependence::None; computeDependence() local
312 auto D = toExprDependenceForImpliedType(E->getType()->getDependence()); computeDependence() local
339 auto D = toExprDependenceForImpliedType(E->getType()->getDependence()); computeDependence() local
350 auto D = toExprDependenceAsWritten(E->getQueriedType()->getDependence()); computeDependence() local
358 auto D = E->getQueriedExpression()->getDependence() & ~ExprDependence::Type; computeDependence() local
366 auto D = E->getOperand()->getDependence() & ~ExprDependence::TypeValue; computeDependence() local
382 ExprDependence D = E->getIndexExpr()->getDependence(); computeDependence() local
454 auto D = E->getBase()->getDependence(); computeDependence() local
468 auto D = E->getBase()->getDependence(); computeDependence() local
476 auto D = toExprDependenceForImpliedType(E->getType()->getDependence()); computeDependence() local
622 auto D = toExprDependenceAsWritten(E->getType()->getDependence()) | computeDependence() local
642 auto D = E->getCallee()->getDependence(); computeDependence() local
655 auto D = turnTypeToValueDependence(toExprDependenceAsWritten( computeDependence() local
663 auto D = ExprDependence::None; getDependenceInExpr() local
672 auto D = E->getBase()->getDependence(); computeDependence() local
702 auto D = ExprDependence::None; computeDependence() local
709 auto D = toExprDependenceForImpliedType(E->getType()->getDependence()); computeDependence() local
717 auto D = ContainsUnexpandedPack ? ExprDependence::UnexpandedPack computeDependence() local
736 for (const auto &D : E->designators()) { computeDependence() local
751 auto D = O->getSyntacticForm()->getDependence(); computeDependence() local
758 auto D = ExprDependence::None; computeDependence() local
765 auto D = toExprDependenceAsWritten( computeDependence() local
779 auto D = E->getBase()->getDependence(); computeDependence() local
806 for (auto *D : E->decls()) { computeDependence() local
820 auto D = ExprDependence::TypeValue; computeDependence() local
830 ExprDependence D = computeDependence() local
854 auto D = toExprDependenceForImpliedType(E->getType()->getDependence()); computeDependence() local
861 auto D = ExprDependence::ValueInstantiation; computeDependence() local
871 auto D = ExprDependence::TypeValueInstantiation; computeDependence() local
887 auto D = ExprDependence::TypeValueInstantiation; computeDependence() local
896 auto D = ExprDependence::None; computeDependence() local
903 auto D = ExprDependence::None; computeDependence() local
922 ExprDependence D = computeDependence() local
931 auto D = ExprDependence::None; computeDependence() local
952 auto D = ExprDependence::None; computeDependence() local
[all...]
/llvm-project/lldb/test/API/lang/cpp/class-template-parameter-pack/
H A Dmain.cpp15 template <class T, typename... Args> struct D { struct
20 template <> struct D<int, int> { argument
25 template <> struct D<int, int, bool> : D<int, int> { argument
34 OnlyPack<int, char, double, D<int, int, bool>> onlyPack; in main() argument
/llvm-project/libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.class/unique.ptr.ctor/
H A Dpointer_deleter.pass.cpp59 using D = CopyOnlyDeleter; in test_sfinae() typedef
70 using D = MoveOnlyDeleter; in test_sfinae() typedef
79 using D = NoCopyMoveDeleter; in test_sfinae() typedef
86 using D = NoCopyMoveDeleter; in test_sfinae() typedef
94 using D = NoCopyMoveDeleter; in test_sfinae() typedef
109 using D = CopyOnlyDeleter; in test_noexcept() typedef
116 using D = MoveOnlyDeleter; in test_noexcept() typedef
123 using D = NoCopyMoveDeleter; in test_noexcept() typedef
128 using D = NoCopyMoveDeleter; in test_noexcept() typedef
139 using D = CopyOnlyDeleter; in test_sfinae_runtime() typedef
[all …]
/llvm-project/clang/tools/libclang/
H A DCXIndexDataConsumer.cpp35 bool VisitFunctionDecl(const FunctionDecl *D) { in VisitFunctionDecl() argument
40 bool VisitVarDecl(const VarDecl *D) { in VisitVarDecl() argument
45 bool VisitFieldDecl(const FieldDecl *D) { in VisitFieldDecl() argument
50 bool VisitMSPropertyDecl(const MSPropertyDecl *D) { in VisitMSPropertyDecl() argument
54 bool VisitEnumConstantDecl(const EnumConstantDecl *D) { in VisitEnumConstantDecl() argument
59 bool VisitTypedefNameDecl(const TypedefNameDecl *D) { in VisitTypedefNameDecl() argument
64 VisitTagDecl(const TagDecl * D) VisitTagDecl() argument
69 VisitObjCInterfaceDecl(const ObjCInterfaceDecl * D) VisitObjCInterfaceDecl() argument
74 VisitObjCProtocolDecl(const ObjCProtocolDecl * D) VisitObjCProtocolDecl() argument
79 VisitObjCImplementationDecl(const ObjCImplementationDecl * D) VisitObjCImplementationDecl() argument
84 VisitObjCCategoryDecl(const ObjCCategoryDecl * D) VisitObjCCategoryDecl() argument
89 VisitObjCCategoryImplDecl(const ObjCCategoryImplDecl * D) VisitObjCCategoryImplDecl() argument
94 VisitObjCMethodDecl(const ObjCMethodDecl * D) VisitObjCMethodDecl() argument
102 VisitObjCPropertyDecl(const ObjCPropertyDecl * D) VisitObjCPropertyDecl() argument
107 VisitObjCPropertyImplDecl(const ObjCPropertyImplDecl * D) VisitObjCPropertyImplDecl() argument
112 VisitNamespaceDecl(const NamespaceDecl * D) VisitNamespaceDecl() argument
117 VisitUsingDecl(const UsingDecl * D) VisitUsingDecl() argument
121 VisitUsingDirectiveDecl(const UsingDirectiveDecl * D) VisitUsingDirectiveDecl() argument
125 VisitClassTemplateDecl(const ClassTemplateDecl * D) VisitClassTemplateDecl() argument
131 VisitClassTemplateSpecializationDecl(const ClassTemplateSpecializationDecl * D) VisitClassTemplateSpecializationDecl() argument
136 VisitFunctionTemplateDecl(const FunctionTemplateDecl * D) VisitFunctionTemplateDecl() argument
141 VisitTypeAliasTemplateDecl(const TypeAliasTemplateDecl * D) VisitTypeAliasTemplateDecl() argument
146 VisitImportDecl(const ImportDecl * D) VisitImportDecl() argument
151 VisitConceptDecl(const ConceptDecl * D) VisitConceptDecl() argument
164 handleDeclOccurrence(const Decl * D,SymbolRoleSet Roles,ArrayRef<SymbolRelation> Relations,SourceLocation Loc,ASTNodeInfo ASTNode) handleDeclOccurrence() argument
285 AttrListInfo(const Decl * D,CXIndexDataConsumer & IdxCtx) AttrListInfo() argument
338 create(const Decl * D,CXIndexDataConsumer & IdxCtx) create() argument
344 CXXBasesListInfo(const CXXRecordDecl * D,CXIndexDataConsumer & IdxCtx,ScratchAlloc & SA) CXXBasesListInfo() argument
426 isFunctionLocalDecl(const Decl * D) isFunctionLocalDecl() argument
544 handleDecl(const NamedDecl * D,SourceLocation Loc,CXCursor Cursor,DeclInfo & DInfo,const DeclContext * LexicalDC,const DeclContext * SemaDC) handleDecl() argument
603 handleObjCContainer(const ObjCContainerDecl * D,SourceLocation Loc,CXCursor Cursor,ObjCContainerDeclInfo & ContDInfo) handleObjCContainer() argument
610 handleFunction(const FunctionDecl * D) handleFunction() argument
626 handleVar(const VarDecl * D) handleVar() argument
632 handleField(const FieldDecl * D) handleField() argument
638 handleEnumerator(const EnumConstantDecl * D) handleEnumerator() argument
644 handleTagDecl(const TagDecl * D) handleTagDecl() argument
653 handleTypedefName(const TypedefNameDecl * D) handleTypedefName() argument
659 handleObjCInterface(const ObjCInterfaceDecl * D) handleObjCInterface() argument
708 handleObjCImplementation(const ObjCImplementationDecl * D) handleObjCImplementation() argument
715 handleObjCProtocol(const ObjCProtocolDecl * D) handleObjCProtocol() argument
744 handleObjCCategory(const ObjCCategoryDecl * D) handleObjCCategory() argument
776 handleObjCCategoryImpl(const ObjCCategoryImplDecl * D) handleObjCCategoryImpl() argument
805 handleObjCMethod(const ObjCMethodDecl * D,SourceLocation Loc) handleObjCMethod() argument
823 handleSynthesizedObjCProperty(const ObjCPropertyImplDecl * D) handleSynthesizedObjCProperty() argument
830 handleSynthesizedObjCMethod(const ObjCMethodDecl * D,SourceLocation Loc,const DeclContext * LexicalDC) handleSynthesizedObjCMethod() argument
838 handleObjCProperty(const ObjCPropertyDecl * D) handleObjCProperty() argument
863 handleNamespace(const NamespaceDecl * D) handleNamespace() argument
870 handleClassTemplate(const ClassTemplateDecl * D) handleClassTemplate() argument
874 handleFunctionTemplate(const FunctionTemplateDecl * D) handleFunctionTemplate() argument
881 handleTypeAliasTemplate(const TypeAliasTemplateDecl * D) handleTypeAliasTemplate() argument
887 handleConcept(const ConceptDecl * D) handleConcept() argument
893 handleReference(const NamedDecl * D,SourceLocation Loc,CXCursor Cursor,const NamedDecl * Parent,const DeclContext * DC,const Expr * E,CXIdxEntityRefKind Kind,CXSymbolRole Role) handleReference() argument
973 setClientEntity(const Decl * D,CXIdxClientEntity client) setClientEntity() argument
1012 markEntityOccurrenceInFile(const NamedDecl * D,SourceLocation Loc) markEntityOccurrenceInFile() argument
1126 getEntityInfo(const NamedDecl * D,EntityInfo & EntityInfo,ScratchAlloc & SA) getEntityInfo() argument
1184 getRefCursor(const NamedDecl * D,SourceLocation Loc) getRefCursor() argument
1205 shouldIgnoreIfImplicit(const Decl * D) shouldIgnoreIfImplicit() argument
1219 isTemplateImplicitInstantiation(const Decl * D) isTemplateImplicitInstantiation() argument
[all...]

12345678910>>...94