/external/clang/lib/Serialization/ |
D | ASTWriterDecl.cpp | 165 void AddFirstDeclFromEachModule(const Decl *D, bool IncludeLocal) { in AddFirstDeclFromEachModule() 195 void AddTemplateSpecializations(Decl *D) { in AddTemplateSpecializations() 218 auto *D = getSpecializationDecl(Entry); in AddTemplateSpecializations() local 223 auto *D = getSpecializationDecl(Entry); in AddTemplateSpecializations() local 257 void ASTDeclWriter::Visit(Decl *D) { in Visit() 277 void ASTDeclWriter::VisitDecl(Decl *D) { in VisitDecl() 317 void ASTDeclWriter::VisitTranslationUnitDecl(TranslationUnitDecl *D) { in VisitTranslationUnitDecl() 321 void ASTDeclWriter::VisitNamedDecl(NamedDecl *D) { in VisitNamedDecl() 329 void ASTDeclWriter::VisitTypeDecl(TypeDecl *D) { in VisitTypeDecl() 335 void ASTDeclWriter::VisitTypedefNameDecl(TypedefNameDecl *D) { in VisitTypedefNameDecl() [all …]
|
D | ASTReaderDecl.cpp | 257 void VisitCXXRecordDecl(CXXRecordDecl *D) { VisitCXXRecordDeclImpl(D); } in VisitCXXRecordDecl() 261 ClassTemplateSpecializationDecl *D) { in VisitClassTemplateSpecializationDecl() 270 void VisitVarTemplateSpecializationDecl(VarTemplateSpecializationDecl *D) { in VisitVarTemplateSpecializationDecl() 414 llvm::iterator_range<MergedRedeclIterator<DeclT>> merged_redecls(DeclT *D) { in merged_redecls() 423 void ASTDeclReader::Visit(Decl *D) { in Visit() 468 void ASTDeclReader::VisitDecl(Decl *D) { in VisitDecl() 641 for (auto *D : merged_redecls(ED->getCanonicalDecl())) { in VisitEnumDecl() local 889 void ASTDeclReader::VisitObjCTypeParamDecl(ObjCTypeParamDecl *D) { in VisitObjCTypeParamDecl() 1060 void ASTDeclReader::VisitObjCPropertyDecl(ObjCPropertyDecl *D) { in VisitObjCPropertyDecl() 1080 void ASTDeclReader::VisitObjCImplDecl(ObjCImplDecl *D) { in VisitObjCImplDecl() [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 | 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 …]
|
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 …]
|
/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() 165 bool USRGenerator::ShouldGenerateLocation(const NamedDecl *D) { in ShouldGenerateLocation() 175 if (const NamedDecl *D = dyn_cast<NamedDecl>(DC)) in VisitDeclContext() local 179 void USRGenerator::VisitFieldDecl(const FieldDecl *D) { in VisitFieldDecl() [all …]
|
/external/clang/lib/Sema/ |
D | SemaDeclAttr.cpp | 52 static bool isFunctionOrMethod(const Decl *D) { in isFunctionOrMethod() 57 static bool isFunctionOrMethodOrBlock(const Decl *D) { in isFunctionOrMethodOrBlock() 63 static bool hasDeclarator(const Decl *D) { in hasDeclarator() 72 static bool hasFunctionProto(const Decl *D) { in hasFunctionProto() 81 static unsigned getFunctionOrMethodNumParams(const Decl *D) { in getFunctionOrMethodNumParams() 89 static QualType getFunctionOrMethodParamType(const Decl *D, unsigned Idx) { in getFunctionOrMethodParamType() 98 static SourceRange getFunctionOrMethodParamRange(const Decl *D, unsigned Idx) { in getFunctionOrMethodParamRange() 108 static QualType getFunctionOrMethodResultType(const Decl *D) { in getFunctionOrMethodResultType() 114 static SourceRange getFunctionOrMethodResultSourceRange(const Decl *D) { in getFunctionOrMethodResultSourceRange() 122 static bool isFunctionOrMethodVariadic(const Decl *D) { in isFunctionOrMethodVariadic() [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 | 47 virtual void CompletedTagDefinition(const TagDecl *D) { } in CompletedTagDefinition() 50 virtual void AddedVisibleDecl(const DeclContext *DC, const Decl *D) {} in AddedVisibleDecl() 53 virtual void AddedCXXImplicitMember(const CXXRecordDecl *RD, const Decl *D) {} in AddedCXXImplicitMember() 58 const ClassTemplateSpecializationDecl *D) {} in AddedCXXTemplateSpecialization() 64 const VarTemplateSpecializationDecl *D) {} in AddedCXXTemplateSpecialization() 69 const FunctionDecl *D) {} in AddedCXXTemplateSpecialization() 83 virtual void CompletedImplicitDefinition(const FunctionDecl *D) {} in CompletedImplicitDefinition() 86 virtual void StaticDataMemberInstantiated(const VarDecl *D) {} in StaticDataMemberInstantiated() 89 virtual void FunctionDefinitionInstantiated(const FunctionDecl *D) {} in FunctionDefinitionInstantiated() 98 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/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/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 | microsoft-abi-vbtables.cpp | 10 struct D : virtual B, virtual C { int d; }; struct 34 struct D : B, C { int d; }; struct 77 struct D : B, C { int d; }; struct 91 struct D : B, C { int d; }; argument 120 struct D : virtual A { int d; }; argument 133 struct D : virtual C { int d; }; struct 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; }; argument [all …]
|
D | 2006-09-12-OpaqueStructCrash.cpp | 22 struct D : public A { struct 23 D () {} in D() function 28 template class D<double>; variable
|
D | microsoft-abi-vtables-ambiguous.cpp | 20 struct D : B, C { D(); }; // expected-error{{ambiguous vftable component}} struct 21 D::D() {} in D() function in D 39 struct D : B, C { // expected-error{{ambiguous vftable component}} struct 43 D::D() {} in D() function in D
|
/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 | 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_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 | 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
|
/external/clang/lib/AST/ |
D | DeclPrinter.cpp | 139 static QualType getDeclType(Decl* D) { in getDeclType() 198 void DeclPrinter::prettyPrintAttributes(Decl *D) { in prettyPrintAttributes() 218 void DeclPrinter::prettyPrintPragmas(Decl *D) { in prettyPrintPragmas() 279 for (DeclContext::decl_iterator D = DC->decls_begin(), DEnd = DC->decls_end(); in VisitDeclContext() local 370 void DeclPrinter::VisitTranslationUnitDecl(TranslationUnitDecl *D) { in VisitTranslationUnitDecl() 374 void DeclPrinter::VisitTypedefDecl(TypedefDecl *D) { in VisitTypedefDecl() 385 void DeclPrinter::VisitTypeAliasDecl(TypeAliasDecl *D) { in VisitTypeAliasDecl() 391 void DeclPrinter::VisitEnumDecl(EnumDecl *D) { in VisitEnumDecl() 414 void DeclPrinter::VisitRecordDecl(RecordDecl *D) { in VisitRecordDecl() 431 void DeclPrinter::VisitEnumConstantDecl(EnumConstantDecl *D) { in VisitEnumConstantDecl() [all …]
|
D | ASTDumper.cpp | 689 void ASTDumper::dumpBareDeclRef(const Decl *D) { in dumpBareDeclRef() 705 void ASTDumper::dumpDeclRef(const Decl *D, const char *Label) { in dumpDeclRef() 735 for (auto *D : DC->noload_decls()) in dumpDeclContext() local 783 std::function<void(Decl *)> DumpWithPrev = [&](Decl *D) { in dumpLookups() 830 static void dumpPreviousDeclImpl(raw_ostream &OS, const Mergeable<T> *D) { in dumpPreviousDeclImpl() 837 static void dumpPreviousDeclImpl(raw_ostream &OS, const Redeclarable<T> *D) { in dumpPreviousDeclImpl() 845 static void dumpPreviousDecl(raw_ostream &OS, const Decl *D) { in dumpPreviousDecl() 979 void ASTDumper::dumpDecl(const Decl *D) { in dumpDecl() 1039 void ASTDumper::VisitLabelDecl(const LabelDecl *D) { in VisitLabelDecl() 1043 void ASTDumper::VisitTypedefDecl(const TypedefDecl *D) { in VisitTypedefDecl() [all …]
|
D | ASTConsumer.cpp | 20 bool ASTConsumer::HandleTopLevelDecl(DeclGroupRef D) { in HandleTopLevelDecl() 24 void ASTConsumer::HandleInterestingDecl(DeclGroupRef D) { in HandleInterestingDecl() 28 void ASTConsumer::HandleTopLevelDeclInObjCContainer(DeclGroupRef D) {} in HandleTopLevelDeclInObjCContainer() 30 void ASTConsumer::HandleImplicitImportDecl(ImportDecl *D) { in HandleImplicitImportDecl()
|
/external/clang/lib/Frontend/ |
D | MultiplexConsumer.cpp | 78 serialization::DeclID ID, const Decl *D) { in DeclRead() 140 void MultiplexASTMutationListener::CompletedTagDefinition(const TagDecl *D) { in CompletedTagDefinition() 146 const DeclContext *DC, const Decl *D) { in AddedVisibleDecl() 152 const CXXRecordDecl *RD, const Decl *D) { in AddedCXXImplicitMember() 157 const ClassTemplateDecl *TD, const ClassTemplateSpecializationDecl *D) { in AddedCXXTemplateSpecialization() 162 const VarTemplateDecl *TD, const VarTemplateSpecializationDecl *D) { in AddedCXXTemplateSpecialization() 167 const FunctionTemplateDecl *TD, const FunctionDecl *D) { in AddedCXXTemplateSpecialization() 187 const FunctionDecl *D) { in CompletedImplicitDefinition() 192 const VarDecl *D) { in StaticDataMemberInstantiated() 203 const FunctionDecl *D) { in FunctionDefinitionInstantiated() [all …]
|
D | ASTConsumers.cpp | 44 TranslationUnitDecl *D = Context.getTranslationUnitDecl(); in HandleTranslationUnit() local 54 bool TraverseDecl(Decl *D) { in TraverseDecl() 72 std::string getName(Decl *D) { in getName() 77 bool filterMatches(Decl *D) { in filterMatches() 80 void print(Decl *D) { in print() 114 bool VisitNamedDecl(NamedDecl *D) { in VisitNamedDecl() 153 bool HandleTopLevelDecl(DeclGroupRef D) override { in HandleTopLevelDecl() 163 void ASTViewer::HandleTopLevelSingleDecl(Decl *D) { in HandleTopLevelSingleDecl() 282 const CXXMethodDecl* D = cast<CXXMethodDecl>(DC); in PrintDeclContext() local 312 const CXXConstructorDecl* D = cast<CXXConstructorDecl>(DC); in PrintDeclContext() local [all …]
|
/external/llvm/bindings/go/llvm/ |
D | DIBuilderBindings.cpp | 42 DIBuilder *D = unwrap(Dref); in LLVMDIBuilderCreateCompileUnit() local 49 DIBuilder *D = unwrap(Dref); in LLVMDIBuilderCreateFile() local 58 DIBuilder *D = unwrap(Dref); in LLVMDIBuilderCreateLexicalBlock() local 68 DIBuilder *D = unwrap(Dref); in LLVMDIBuilderCreateLexicalBlockFile() local 78 DIBuilder *D = unwrap(Dref); in LLVMDIBuilderCreateFunction() local 91 DIBuilder *D = unwrap(Dref); in LLVMDIBuilderCreateAutoVariable() local 101 DIBuilder *D = unwrap(Dref); in LLVMDIBuilderCreateParameterVariable() local 112 DIBuilder *D = unwrap(Dref); in LLVMDIBuilderCreateBasicType() local 121 DIBuilder *D = unwrap(Dref); in LLVMDIBuilderCreatePointerType() local 129 DIBuilder *D = unwrap(Dref); in LLVMDIBuilderCreateSubroutineType() local [all …]
|