/external/clang/lib/Serialization/ |
D | ASTWriterDecl.cpp | 162 void AddTemplateSpecializations(Decl *D) { in AddTemplateSpecializations() 184 auto *D = getSpecializationDecl(Entry); in AddTemplateSpecializations() local 189 auto *D = getSpecializationDecl(Entry); in AddTemplateSpecializations() local 199 void ASTDeclWriter::Visit(Decl *D) { in Visit() 219 void ASTDeclWriter::VisitDecl(Decl *D) { in VisitDecl() 254 void ASTDeclWriter::VisitTranslationUnitDecl(TranslationUnitDecl *D) { in VisitTranslationUnitDecl() 258 void ASTDeclWriter::VisitNamedDecl(NamedDecl *D) { in VisitNamedDecl() 266 void ASTDeclWriter::VisitTypeDecl(TypeDecl *D) { in VisitTypeDecl() 272 void ASTDeclWriter::VisitTypedefNameDecl(TypedefNameDecl *D) { in VisitTypedefNameDecl() 281 void ASTDeclWriter::VisitTypedefDecl(TypedefDecl *D) { in VisitTypedefDecl() [all …]
|
/external/clang/tools/libclang/ |
D | IndexDecl.cpp | 27 static bool hasUserDefined(const ObjCMethodDecl *D, in hasUserDefined() 34 void handleDeclarator(const DeclaratorDecl *D, in handleDeclarator() 52 void handleObjCMethod(const ObjCMethodDecl *D) { in handleObjCMethod() 69 bool VisitFunctionDecl(const FunctionDecl *D) { in VisitFunctionDecl() 94 bool VisitVarDecl(const VarDecl *D) { in VisitVarDecl() 101 bool VisitFieldDecl(const FieldDecl *D) { in VisitFieldDecl() 111 bool VisitMSPropertyDecl(const MSPropertyDecl *D) { in VisitMSPropertyDecl() 116 bool VisitEnumConstantDecl(const EnumConstantDecl *D) { in VisitEnumConstantDecl() 122 bool VisitTypedefNameDecl(const TypedefNameDecl *D) { in VisitTypedefNameDecl() 128 bool VisitTagDecl(const TagDecl *D) { in VisitTagDecl() [all …]
|
D | CIndexDiagnostic.cpp | 36 CXDiagnosticSetImpl::appendDiagnostic(std::unique_ptr<CXDiagnosticImpl> D) { in appendDiagnostic() 97 void beginDiagnostic(DiagOrStoredDiag D, in beginDiagnostic() 120 DiagOrStoredDiag D) override { in emitDiagnosticMessage() 228 CXDiagnosticSet D = clang_getDiagnosticSetFromTU(Unit); in clang_getDiagnostic() local 380 if (CXDiagnosticImpl *D = static_cast<CXDiagnosticImpl*>(Diag)) in clang_getDiagnosticSeverity() local 386 if (CXDiagnosticImpl *D = static_cast<CXDiagnosticImpl*>(Diag)) in clang_getDiagnosticLocation() local 392 if (CXDiagnosticImpl *D = static_cast<CXDiagnosticImpl *>(Diag)) in clang_getDiagnosticSpelling() local 401 if (CXDiagnosticImpl *D = static_cast<CXDiagnosticImpl *>(Diag)) in clang_getDiagnosticOption() local 408 if (CXDiagnosticImpl *D = static_cast<CXDiagnosticImpl *>(Diag)) in clang_getDiagnosticCategory() local 419 if (CXDiagnosticImpl *D = static_cast<CXDiagnosticImpl *>(Diag)) in clang_getDiagnosticCategoryText() local [all …]
|
D | IndexingContext.cpp | 64 AttrListInfo::AttrListInfo(const Decl *D, IndexingContext &IdxCtx) in AttrListInfo() 117 AttrListInfo::create(const Decl *D, IndexingContext &IdxCtx) { in create() 123 IndexingContext::CXXBasesListInfo::CXXBasesListInfo(const CXXRecordDecl *D, in CXXBasesListInfo() 205 bool IndexingContext::isFunctionLocalDecl(const Decl *D) { in isFunctionLocalDecl() 309 bool IndexingContext::handleDecl(const NamedDecl *D, in handleDecl() 365 bool IndexingContext::handleObjCContainer(const ObjCContainerDecl *D, in handleObjCContainer() 372 bool IndexingContext::handleFunction(const FunctionDecl *D) { in handleFunction() 388 bool IndexingContext::handleVar(const VarDecl *D) { in handleVar() 394 bool IndexingContext::handleField(const FieldDecl *D) { in handleField() 400 bool IndexingContext::handleMSProperty(const MSPropertyDecl *D) { in handleMSProperty() [all …]
|
/external/clang/include/clang/AST/ |
D | GlobalDecl.h | 31 void Init(const Decl *D) { in Init() 41 GlobalDecl(const VarDecl *D) { Init(D);} in GlobalDecl() 42 GlobalDecl(const FunctionDecl *D) { Init(D); } in GlobalDecl() 43 GlobalDecl(const BlockDecl *D) { Init(D); } in GlobalDecl() 44 GlobalDecl(const CapturedDecl *D) { Init(D); } in GlobalDecl() 45 GlobalDecl(const ObjCMethodDecl *D) { Init(D); } in GlobalDecl() 47 GlobalDecl(const CXXConstructorDecl *D, CXXCtorType Type) in GlobalDecl() 49 GlobalDecl(const CXXDestructorDecl *D, CXXDtorType Type) in GlobalDecl() 84 GlobalDecl getWithDecl(const Decl *D) { in getWithDecl()
|
D | ASTMutationListener.h | 46 virtual void CompletedTagDefinition(const TagDecl *D) { } in CompletedTagDefinition() 49 virtual void AddedVisibleDecl(const DeclContext *DC, const Decl *D) {} in AddedVisibleDecl() 52 virtual void AddedCXXImplicitMember(const CXXRecordDecl *RD, const Decl *D) {} in AddedCXXImplicitMember() 57 const ClassTemplateSpecializationDecl *D) {} in AddedCXXTemplateSpecialization() 63 const VarTemplateSpecializationDecl *D) {} in AddedCXXTemplateSpecialization() 68 const FunctionDecl *D) {} in AddedCXXTemplateSpecialization() 82 virtual void CompletedImplicitDefinition(const FunctionDecl *D) {} in CompletedImplicitDefinition() 85 virtual void StaticDataMemberInstantiated(const VarDecl *D) {} in StaticDataMemberInstantiated() 88 virtual void FunctionDefinitionInstantiated(const FunctionDecl *D) {} in FunctionDefinitionInstantiated() 109 virtual void DeclarationMarkedUsed(const Decl *D) {} in DeclarationMarkedUsed() [all …]
|
D | ASTConsumer.h | 60 virtual void HandleInlineMethodDefinition(CXXMethodDecl *D) {} in HandleInlineMethodDefinition() 75 virtual void HandleTagDeclDefinition(TagDecl *D) {} in HandleTagDeclDefinition() 79 virtual void HandleTagDeclRequiredDefinition(const TagDecl *D) {} in HandleTagDeclRequiredDefinition() 85 virtual void HandleCXXImplicitFunctionInstantiation(FunctionDecl *D) {} in HandleCXXImplicitFunctionInstantiation() 121 virtual void CompleteTentativeDefinition(VarDecl *D) {} in CompleteTentativeDefinition() 125 virtual void HandleCXXStaticMemberVarInstantiation(VarDecl *D) {} in HandleCXXStaticMemberVarInstantiation() 154 virtual bool shouldSkipFunctionBody(Decl *D) { return true; } in shouldSkipFunctionBody()
|
/external/clang/test/CodeGenCXX/ |
D | implicit-copy-assign-operator.cpp | 24 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
|
D | 2006-09-12-OpaqueStructCrash.cpp | 22 struct D : public A { struct 23 D () {} in D() function 28 template class D<double>; argument
|
D | microsoft-abi-vbtables.cpp | 10 struct D : virtual B, virtual C { int d; }; argument 34 struct D : B, C { int d; }; struct 77 struct D : B, C { int d; }; argument 91 struct D : B, C { int d; }; struct 120 struct D : virtual A { int d; }; struct 133 struct D : virtual C { int d; }; argument 149 struct D : BB, C { int d; }; struct 170 struct D : B, C { int d; }; argument 183 struct D : B { int d; }; struct 202 struct D : C, B { int d; }; struct [all …]
|
D | default-arg-temps.cpp | 60 struct D { struct 64 … // CHECK-LABEL: define linkonce_odr void @_ZN5test11DC2Ev(%"struct.test1::D"* %this) unnamed_addr 69 D() : c(), a() {} in D() argument
|
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.samp/rand.dist.samp.discrete/ |
D | ctor_init.pass.cpp | 24 typedef std::discrete_distribution<> D; in main() typedef 31 typedef std::discrete_distribution<> D; in main() typedef 38 typedef std::discrete_distribution<> D; in main() typedef 46 typedef std::discrete_distribution<> D; in main() typedef 54 typedef std::discrete_distribution<> D; in main() typedef 63 typedef std::discrete_distribution<> D; in main() typedef 72 typedef std::discrete_distribution<> D; in main() typedef
|
D | param_ctor_init.pass.cpp | 24 typedef std::discrete_distribution<> D; in main() typedef 32 typedef std::discrete_distribution<> D; in main() typedef 40 typedef std::discrete_distribution<> D; in main() typedef 49 typedef std::discrete_distribution<> D; in main() typedef 58 typedef std::discrete_distribution<> D; in main() typedef 68 typedef std::discrete_distribution<> D; in main() typedef 78 typedef std::discrete_distribution<> D; in main() typedef
|
D | ctor_iterator.pass.cpp | 24 typedef std::discrete_distribution<> D; in main() typedef 32 typedef std::discrete_distribution<> D; in main() typedef 40 typedef std::discrete_distribution<> D; in main() typedef 49 typedef std::discrete_distribution<> D; in main() typedef 58 typedef std::discrete_distribution<> D; in main() typedef 68 typedef std::discrete_distribution<> D; in main() typedef 78 typedef std::discrete_distribution<> D; in main() typedef
|
D | param_ctor_iterator.pass.cpp | 24 typedef std::discrete_distribution<> D; in main() typedef 33 typedef std::discrete_distribution<> D; in main() typedef 42 typedef std::discrete_distribution<> D; in main() typedef 52 typedef std::discrete_distribution<> D; in main() typedef 62 typedef std::discrete_distribution<> D; in main() typedef 73 typedef std::discrete_distribution<> D; in main() typedef 84 typedef std::discrete_distribution<> D; in main() typedef
|
D | ctor_func.pass.cpp | 30 typedef std::discrete_distribution<> D; in main() typedef 37 typedef std::discrete_distribution<> D; in main() typedef 44 typedef std::discrete_distribution<> D; in main() typedef 52 typedef std::discrete_distribution<> D; in main() typedef
|
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
D | FunctionSummary.h | 60 MapTy::iterator findOrInsertSummary(const Decl *D) { in findOrInsertSummary() 71 void markMayInline(const Decl *D) { in markMayInline() 77 void markShouldNotInline(const Decl *D) { in markShouldNotInline() 83 void markReachedMaxBlockCount(const Decl *D) { in markReachedMaxBlockCount() 87 Optional<bool> mayInline(const Decl *D) { in mayInline() 94 void markVisitedBasicBlock(unsigned ID, const Decl* D, unsigned TotalIDs) { in markVisitedBasicBlock() 105 unsigned getNumVisitedBasicBlocks(const Decl* D) { in getNumVisitedBasicBlocks() 112 unsigned getNumTimesInlined(const Decl* D) { in getNumTimesInlined() 119 void bumpNumTimesInlined(const Decl* D) { in bumpNumTimesInlined() 125 unsigned getPercentBlocksReachable(const Decl *D) { in getPercentBlocksReachable()
|
/external/clang/lib/Index/ |
D | USRGeneration.cpp | 93 void VisitLinkageSpecDecl(const LinkageSpecDecl *D) { in VisitLinkageSpecDecl() 96 void VisitUsingDirectiveDecl(const UsingDirectiveDecl *D) { in VisitUsingDirectiveDecl() 99 void VisitUsingDecl(const UsingDecl *D) { in VisitUsingDecl() 102 void VisitUnresolvedUsingValueDecl(const UnresolvedUsingValueDecl *D) { in VisitUnresolvedUsingValueDecl() 105 void VisitUnresolvedUsingTypenameDecl(const UnresolvedUsingTypenameDecl *D) { in VisitUnresolvedUsingTypenameDecl() 111 bool isLocal(const NamedDecl *D) { in isLocal() 158 bool USRGenerator::EmitDeclName(const NamedDecl *D) { in EmitDeclName() 167 bool USRGenerator::ShouldGenerateLocation(const NamedDecl *D) { in ShouldGenerateLocation() 177 if (const NamedDecl *D = dyn_cast<NamedDecl>(DC)) in VisitDeclContext() local 181 void USRGenerator::VisitFieldDecl(const FieldDecl *D) { in VisitFieldDecl() [all …]
|
/external/clang/lib/Sema/ |
D | SemaDeclAttr.cpp | 51 static bool isFunctionOrMethod(const Decl *D) { in isFunctionOrMethod() 56 static bool isFunctionOrMethodOrBlock(const Decl *D) { in isFunctionOrMethodOrBlock() 62 static bool hasDeclarator(const Decl *D) { in hasDeclarator() 71 static bool hasFunctionProto(const Decl *D) { in hasFunctionProto() 80 static unsigned getFunctionOrMethodNumParams(const Decl *D) { in getFunctionOrMethodNumParams() 88 static QualType getFunctionOrMethodParamType(const Decl *D, unsigned Idx) { in getFunctionOrMethodParamType() 97 static SourceRange getFunctionOrMethodParamRange(const Decl *D, unsigned Idx) { in getFunctionOrMethodParamRange() 107 static QualType getFunctionOrMethodResultType(const Decl *D) { in getFunctionOrMethodResultType() 113 static SourceRange getFunctionOrMethodResultSourceRange(const Decl *D) { in getFunctionOrMethodResultSourceRange() 121 static bool isFunctionOrMethodVariadic(const Decl *D) { in isFunctionOrMethodVariadic() [all …]
|
/external/clang/lib/AST/ |
D | DeclPrinter.cpp | 129 static QualType getDeclType(Decl* D) { in getDeclType() 188 void DeclPrinter::prettyPrintAttributes(Decl *D) { in prettyPrintAttributes() 241 for (DeclContext::decl_iterator D = DC->decls_begin(), DEnd = DC->decls_end(); in VisitDeclContext() local 332 void DeclPrinter::VisitTranslationUnitDecl(TranslationUnitDecl *D) { in VisitTranslationUnitDecl() 336 void DeclPrinter::VisitTypedefDecl(TypedefDecl *D) { in VisitTypedefDecl() 347 void DeclPrinter::VisitTypeAliasDecl(TypeAliasDecl *D) { in VisitTypeAliasDecl() 353 void DeclPrinter::VisitEnumDecl(EnumDecl *D) { in VisitEnumDecl() 376 void DeclPrinter::VisitRecordDecl(RecordDecl *D) { in VisitRecordDecl() 393 void DeclPrinter::VisitEnumConstantDecl(EnumConstantDecl *D) { in VisitEnumConstantDecl() 401 void DeclPrinter::VisitFunctionDecl(FunctionDecl *D) { in VisitFunctionDecl() [all …]
|
D | ASTConsumer.cpp | 19 bool ASTConsumer::HandleTopLevelDecl(DeclGroupRef D) { in HandleTopLevelDecl() 23 void ASTConsumer::HandleInterestingDecl(DeclGroupRef D) { in HandleInterestingDecl() 27 void ASTConsumer::HandleTopLevelDeclInObjCContainer(DeclGroupRef D) {} in HandleTopLevelDeclInObjCContainer() 29 void ASTConsumer::HandleImplicitImportDecl(ImportDecl *D) { in HandleImplicitImportDecl()
|
D | ASTDumper.cpp | 683 void ASTDumper::dumpBareDeclRef(const Decl *D) { in dumpBareDeclRef() 699 void ASTDumper::dumpDeclRef(const Decl *D, const char *Label) { in dumpDeclRef() 729 for (auto *D : DC->noload_decls()) in dumpDeclContext() local 777 std::function<void(Decl *)> DumpWithPrev = [&](Decl *D) { in dumpLookups() 824 static void dumpPreviousDeclImpl(raw_ostream &OS, const Mergeable<T> *D) { in dumpPreviousDeclImpl() 831 static void dumpPreviousDeclImpl(raw_ostream &OS, const Redeclarable<T> *D) { in dumpPreviousDeclImpl() 839 static void dumpPreviousDecl(raw_ostream &OS, const Decl *D) { in dumpPreviousDecl() 961 void ASTDumper::dumpDecl(const Decl *D) { in dumpDecl() 1015 void ASTDumper::VisitLabelDecl(const LabelDecl *D) { in VisitLabelDecl() 1019 void ASTDumper::VisitTypedefDecl(const TypedefDecl *D) { in VisitTypedefDecl() [all …]
|
/external/clang/lib/Frontend/ |
D | MultiplexConsumer.cpp | 69 serialization::DeclID ID, const Decl *D) { in DeclRead() 125 void MultiplexASTMutationListener::CompletedTagDefinition(const TagDecl *D) { in CompletedTagDefinition() 131 const DeclContext *DC, const Decl *D) { in AddedVisibleDecl() 137 const CXXRecordDecl *RD, const Decl *D) { in AddedCXXImplicitMember() 142 const ClassTemplateDecl *TD, const ClassTemplateSpecializationDecl *D) { in AddedCXXTemplateSpecialization() 147 const VarTemplateDecl *TD, const VarTemplateSpecializationDecl *D) { in AddedCXXTemplateSpecialization() 152 const FunctionTemplateDecl *TD, const FunctionDecl *D) { in AddedCXXTemplateSpecialization() 167 const FunctionDecl *D) { in CompletedImplicitDefinition() 172 const VarDecl *D) { in StaticDataMemberInstantiated() 189 void MultiplexASTMutationListener::DeclarationMarkedUsed(const Decl *D) { in DeclarationMarkedUsed() [all …]
|
/external/clang/test/SemaCXX/ |
D | attr-declspec-ignored.cpp | 10 …__attribute__((visibility("hidden"))) __attribute__((aligned)) enum D {D}; // expected-warning{{a… enumerator 18 __attribute__((visibility("hidden"))) __attribute__((aligned)) enum D {D} d; enumerator
|
/external/llvm/bindings/go/llvm/ |
D | DIBuilderBindings.cpp | 42 DIBuilder *D = unwrap(Dref); in LLVMDIBuilderCreateCompileUnit() local 50 DIBuilder *D = unwrap(Dref); in LLVMDIBuilderCreateFile() local 60 DIBuilder *D = unwrap(Dref); in LLVMDIBuilderCreateLexicalBlock() local 70 DIBuilder *D = unwrap(Dref); in LLVMDIBuilderCreateLexicalBlockFile() local 81 DIBuilder *D = unwrap(Dref); in LLVMDIBuilderCreateFunction() local 94 DIBuilder *D = unwrap(Dref); in LLVMDIBuilderCreateLocalVariable() local 106 DIBuilder *D = unwrap(Dref); in LLVMDIBuilderCreateBasicType() local 116 DIBuilder *D = unwrap(Dref); in LLVMDIBuilderCreatePointerType() local 125 DIBuilder *D = unwrap(Dref); in LLVMDIBuilderCreateSubroutineType() local 137 DIBuilder *D = unwrap(Dref); in LLVMDIBuilderCreateStructType() local [all …]
|