Home
last modified time | relevance | path

Searched defs:ND (Results 1 – 25 of 80) sorted by relevance

1234

/external/clang/lib/AST/
DMangle.cpp58 static bool isExternC(const NamedDecl *ND) { in isExternC()
65 const NamedDecl *ND) { in getStdOrFastCallMangling()
218 const NamedDecl *ND = cast<NamedDecl>(DC); in mangleBlock() local
DItaniumMangle.cpp106 static bool isLambda(const NamedDecl *ND) { in isLambda()
163 bool getNextDiscriminator(const NamedDecl *ND, unsigned &disc) { in getNextDiscriminator()
308 void addSubstitution(const NamedDecl *ND) { in addSubstitution()
328 void mangleUnqualifiedName(const NamedDecl *ND) { in mangleUnqualifiedName()
539 isTemplate(const NamedDecl *ND, const TemplateArgumentList *&TemplateArgs) { in isTemplate()
565 void CXXNameMangler::mangleName(const NamedDecl *ND) { in mangleName()
620 void CXXNameMangler::mangleUnscopedName(const NamedDecl *ND) { in mangleUnscopedName()
630 void CXXNameMangler::mangleUnscopedTemplateName(const TemplateDecl *ND) { in mangleUnscopedTemplateName()
1067 void CXXNameMangler::mangleUnqualifiedName(const NamedDecl *ND, in mangleUnqualifiedName()
1250 void CXXNameMangler::mangleNestedName(const NamedDecl *ND, in mangleNestedName()
[all …]
DDeclBase.cpp246 if (const NamespaceDecl *ND = dyn_cast<NamespaceDecl>(DC)) in isInAnonymousNamespace() local
806 const NamespaceDecl *ND = cast<NamespaceDecl>(this); in isStdNamespace() local
1147 NamedDecl *ND = cast<NamedDecl>(D); in removeDecl() local
1191 if (NamedDecl *ND = dyn_cast<NamedDecl>(D)) in addDecl() local
1199 if (NamedDecl *ND = dyn_cast<NamedDecl>(D)) in addDeclInternal() local
1274 if (NamedDecl *ND = dyn_cast<NamedDecl>(D)) in buildLookupImpl() local
1411 if (NamedDecl *ND = dyn_cast<NamedDecl>(D)) in localUncachedLookup() local
DMicrosoftMangle.cpp78 static bool isLambda(const NamedDecl *ND) { in isLambda()
139 bool getNextDiscriminator(const NamedDecl *ND, unsigned &disc) { in getNextDiscriminator()
241 void mangleUnqualifiedName(const NamedDecl *ND) { in mangleUnqualifiedName()
567 void MicrosoftCXXNameMangler::mangleName(const NamedDecl *ND) { in mangleName()
611 isTemplate(const NamedDecl *ND, const TemplateArgumentList *&TemplateArgs) { in isTemplate()
637 void MicrosoftCXXNameMangler::mangleUnqualifiedName(const NamedDecl *ND, in mangleUnqualifiedName()
801 void MicrosoftCXXNameMangler::mangleNestedName(const NamedDecl *ND) { in mangleNestedName()
1133 const NamedDecl *ND = cast<NamedDecl>(TA.getAsDecl()); in mangleTemplateArg() local
DTemplateBase.cpp359 NamedDecl *ND = cast<NamedDecl>(getAsDecl()); in print() local
DDecl.cpp320 if (NamedDecl *ND = dyn_cast<NamedDecl>(Arg.getAsDecl())) { in getLVForTemplateArgumentList() local
646 const NamespaceDecl *ND = dyn_cast<NamespaceDecl>(DC); in getLVForNamespaceScopeDecl() local
1010 getExplicitVisibilityAux(const NamedDecl *ND, in getExplicitVisibilityAux()
1095 if (const NamedDecl *ND = dyn_cast<NamedDecl>(DC)) in getLVForClosure() local
1369 } else if (const NamespaceDecl *ND = dyn_cast<NamespaceDecl>(*I)) { in printQualifiedName() local
1499 NamedDecl *ND = this; in getUnderlyingDeclImpl() local
2335 static bool isNamed(const NamedDecl *ND, const char (&Str)[Len]) { in isNamed()
/external/llvm/include/llvm/MC/
DMCInstrInfo.h35 void InitMCInstrInfo(const MCInstrDesc *D, const unsigned *NI, const char *ND, in InitMCInstrInfo()
/external/clang/lib/Sema/
DSemaCXXScopeSpec.cpp351 if (NamedDecl *ND = Found.getAsSingle<NamedDecl>()) in isNonTypeNestedNameSpecifier() local
527 if (NamedDecl *ND = R.getAsSingle<NamedDecl>()) in BuildCXXNestedNameSpecifier() local
534 if (NamedDecl *ND = R.getAsSingle<NamedDecl>()) in BuildCXXNestedNameSpecifier() local
563 if (NamedDecl *ND = Corrected.getCorrectionDecl()) in BuildCXXNestedNameSpecifier() local
718 if (NamedDecl *ND = Found.getAsSingle<NamedDecl>()) in BuildCXXNestedNameSpecifier() local
DCodeCompleteConsumer.cpp270 const NamedDecl *ND = dyn_cast<NamedDecl>(DC); in getParentName() local
287 if (const NamedDecl *ND = dyn_cast<NamedDecl>(DC)) { in getParentName() local
387 const NamedDecl *ND = dyn_cast<NamedDecl>(DC); in addParentContext() local
DSemaLookup.cpp930 if (NamedDecl *ND = R.getAcceptableDecl(*I)) { in CppLookupName() local
1006 if (NamedDecl *ND = R.getAcceptableDecl(Ivar)) { in CppLookupName() local
1095 if (NamedDecl *ND = R.getAcceptableDecl(*I)) { in CppLookupName() local
1272 if (auto ND = dyn_cast<NamedDecl>(RD)) { in findAcceptableDecl() local
1468 NamespaceDecl *ND = I->getNominatedNamespace()->getOriginalNamespace(); in LookupQualifiedNameInUsingDirectives() local
1484 NamespaceDecl *ND = Queue.pop_back_val(); in LookupQualifiedNameInUsingDirectives() local
2908 void add(NamedDecl *ND) { in add()
2931 NamedDecl *VisibleDeclsRecord::checkHidden(NamedDecl *ND) { in checkHidden()
2992 if (NamedDecl *ND = dyn_cast<NamedDecl>(I)) { in LookupVisibleDecls() local
3119 if (NamedDecl *ND = dyn_cast<NamedDecl>(D)) in LookupVisibleDecls() local
[all …]
DSemaTemplateVariadic.cpp518 getDepthAndIndex(NamedDecl *ND) { in getDepthAndIndex()
553 NamedDecl *ND = i->first.get<NamedDecl *>(); in CheckParameterPacksForExpansion() local
654 NamedDecl *ND = Unexpanded[I].first.get<NamedDecl *>(); in getNumArgumentsInExpansion() local
771 NamedDecl *ND = candidate.getCorrectionDecl(); in ValidateCandidate() local
DSemaCodeComplete.cpp81 void Add(const NamedDecl *ND, unsigned Index) { in Add()
396 if (const NamedDecl *ND = DeclOrIterator.dyn_cast<const NamedDecl *>()) in operator *() local
422 if (const NamedDecl *ND = DeclOrVector.dyn_cast<const NamedDecl *>()) in begin() local
493 bool ResultBuilder::isInterestingDecl(const NamedDecl *ND, in isInterestingDecl()
654 QualType clang::getDeclUsageType(ASTContext &C, const NamedDecl *ND) { in getDeclUsageType()
710 unsigned ResultBuilder::getBasePriority(const NamedDecl *ND) { in getBasePriority()
852 const NamedDecl *ND = I->first; in MaybeAddResult() local
1259 void FoundDecl(NamedDecl *ND, NamedDecl *Hiding, DeclContext *Ctx, in FoundDecl()
2057 const NamedDecl *ND, in AddResultTypeChunk()
2441 const NamedDecl *ND, in AddTypedNameChunk()
[all …]
DSema.cpp428 NamedDecl *ND = I->first; in getUndefinedButUsed() local
481 NamedDecl *ND = I->first; in checkUndefinedButUsed() local
/external/clang/examples/PrintFunctionNames/
DPrintFunctionNames.cpp29 if (const NamedDecl *ND = dyn_cast<NamedDecl>(D)) in HandleTopLevelDecl() local
/external/clang/lib/Analysis/
DCallGraph.cpp203 if (const NamedDecl *ND = dyn_cast_or_null<NamedDecl>(FD)) in print() local
224 if (const NamedDecl *ND = dyn_cast_or_null<NamedDecl>(Node->getDecl())) in getNodeLabel() local
/external/clang/lib/Frontend/
DASTMerge.cpp62 if (const auto *ND = dyn_cast<NamedDecl>(D)) in ExecuteAction() local
DFrontendAction.cpp87 if (const NamedDecl *ND = dyn_cast<NamedDecl>(D)) in DeclRead() local
110 if (const NamedDecl *ND = dyn_cast<NamedDecl>(D)) in DeclRead() local
DASTConsumers.cpp197 const NamespaceDecl* ND = cast<NamespaceDecl>(DC); in PrintDeclContext() local
/external/clang/lib/StaticAnalyzer/Checkers/
DAnalyzerStatsChecker.cpp98 const NamedDecl *ND = cast<NamedDecl>(D); in checkEndAnalysis() local
DObjCSelfInitChecker.cpp387 static bool shouldRunOnFunctionOrMethod(const NamedDecl *ND) { in shouldRunOnFunctionOrMethod()
DLLVMConventionsChecker.cpp42 const NamespaceDecl *ND = dyn_cast<NamespaceDecl>(D->getDeclContext()); in InNamespace() local
/external/clang/unittests/AST/
DNamedDeclPrinterTest.cpp41 const NamedDecl *ND = Result.Nodes.getNodeAs<NamedDecl>("id"); in run() local
/external/clang/include/clang/AST/
DDeclFriend.h137 if (NamedDecl *ND = getFriendDecl()) { in getSourceRange() local
DUnresolvedSet.h54 void setDecl(NamedDecl *ND) const { return ir->setDecl(ND); } in setDecl()
/external/clang/lib/StaticAnalyzer/Frontend/
DAnalysisConsumer.cpp271 const NamedDecl *ND = cast<NamedDecl>(D); in DisplayFunction() local
566 if (const FunctionDecl *ND = dyn_cast<FunctionDecl>(D)) { in getFunctionName() local

1234