Searched defs:ND (Results 1 - 25 of 63) sorted by relevance

123

/external/llvm/include/llvm/MC/
H A DMCInstrInfo.h35 void InitMCInstrInfo(const MCInstrDesc *D, const unsigned *NI, const char *ND, argument
39 InstrNameData = ND;
/external/clang/lib/StaticAnalyzer/Checkers/
H A DAnalyzerStatsChecker.cpp98 const NamedDecl *ND = cast<NamedDecl>(D); local
99 output << *ND; local
H A DLLVMConventionsChecker.cpp42 const NamespaceDecl *ND = dyn_cast<NamespaceDecl>(D->getDeclContext()); local
43 if (!ND)
45 const IdentifierInfo *II = ND->getIdentifier();
48 return isa<TranslationUnitDecl>(ND->getDeclContext());
H A DObjCSelfInitChecker.cpp52 static bool shouldRunOnFunctionOrMethod(const NamedDecl *ND);
387 static bool shouldRunOnFunctionOrMethod(const NamedDecl *ND) { argument
388 if (!ND)
391 const ObjCMethodDecl *MD = dyn_cast<ObjCMethodDecl>(ND);
H A DCheckSecuritySyntaxOnly.cpp204 const NamedDecl *ND = DR->getDecl(); local
205 return ND == x || ND == y ? DR : nullptr;
/external/clang/unittests/AST/
H A DNamedDeclPrinterTest.cpp41 const NamedDecl *ND = Result.Nodes.getNodeAs<NamedDecl>("id"); local
42 if (!ND)
51 ND->printQualifiedName(Out, Policy);
/external/clang/include/clang/AST/
H A DDeclContextInternals.h96 void setOnlyValue(NamedDecl *ND) { argument
98 Data = ND;
101 assert(*(NamedDecl **)&Data == ND &&
H A DDecl.h295 inline raw_ostream &operator<<(raw_ostream &OS, const NamedDecl &ND) { argument
296 ND.printName(OS);
3578 const NamedDecl* ND) {
3579 DB.AddTaggedVal(reinterpret_cast<intptr_t>(ND),
3584 const NamedDecl* ND) {
3585 PD.AddTaggedVal(reinterpret_cast<intptr_t>(ND),
/external/clang/lib/AST/
H A DMangle.cpp58 static bool isExternC(const NamedDecl *ND) { argument
59 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(ND))
61 return cast<VarDecl>(ND)->isExternC();
65 const NamedDecl *ND) {
71 if (Context.getLangOpts().CPlusPlus && !isExternC(ND) &&
75 const FunctionDecl *FD = dyn_cast<FunctionDecl>(ND);
218 const NamedDecl *ND = cast<NamedDecl>(DC); local
219 if (!shouldMangleDeclName(ND) && ND->getIdentifier())
220 Stream << ND
64 getStdOrFastCallMangling(const ASTContext &Context, const NamedDecl *ND) argument
[all...]
H A DTemplateBase.cpp359 NamedDecl *ND = cast<NamedDecl>(getAsDecl()); local
361 if (ND->getDeclName()) {
363 ND->printQualifiedName(Out);
H A DDeclPrinter.cpp1192 NamedDecl *ND = cast<NamedDecl>(cast<DeclRefExpr>(*I)->getDecl()); local
1193 ND->printQualifiedName(Out);
H A DCommentSema.cpp970 void addDecl(const NamedDecl *ND);
985 void SimpleTypoCorrector::addDecl(const NamedDecl *ND) { argument
988 const IdentifierInfo *II = ND->getIdentifier();
1001 BestDecl = ND;
1077 if (const NamedDecl *ND = Corrector.getBestDecl()) {
1078 const IdentifierInfo *II = ND->getIdentifier();
H A DASTDiagnostic.cpp330 const NamedDecl *ND = reinterpret_cast<const NamedDecl*>(Val); local
331 ND->getNameForDiagnostic(OS, Context.getPrintingPolicy(), Qualified);
365 NamedDecl *ND = cast<NamedDecl>(DC); local
366 if (isa<NamespaceDecl>(ND))
368 else if (isa<ObjCMethodDecl>(ND))
370 else if (isa<FunctionDecl>(ND))
374 ND->getNameForDiagnostic(OS, Context.getPrintingPolicy(), true);
H A DASTDumper.cpp520 if (const NamedDecl *ND = dyn_cast<NamedDecl>(D)) {
522 OS << " '" << ND->getDeclName() << '\'';
539 void ASTDumper::dumpName(const NamedDecl *ND) { argument
540 if (ND->getDeclName()) {
542 OS << ' ' << ND->getNameAsString();
805 if (const NamedDecl *ND = dyn_cast<NamedDecl>(D))
806 if (ND->isHidden())
H A DDeclBase.cpp246 if (const NamespaceDecl *ND = dyn_cast<NamespaceDecl>(DC))
247 if (ND->isAnonymousNamespace())
806 const NamespaceDecl *ND = cast<NamespaceDecl>(this); local
807 if (ND->isInline()) {
808 return ND->getParent()->isStdNamespace();
814 const IdentifierInfo *II = ND->getIdentifier();
1147 NamedDecl *ND = cast<NamedDecl>(D); local
1150 if (!ND->getDeclName()) return;
1155 StoredDeclsMap::iterator Pos = Map->find(ND->getDeclName());
1157 if (Pos->second.getAsVector() || Pos->second.getAsDecl() == ND)
[all...]
/external/clang/lib/Frontend/
H A DASTConsumers.cpp197 const NamespaceDecl* ND = cast<NamespaceDecl>(DC); local
198 Out << *ND; local
/external/clang/lib/Sema/
H A DCodeCompleteConsumer.cpp270 const NamedDecl *ND = dyn_cast<NamedDecl>(DC); local
271 if (!ND)
287 if (const NamedDecl *ND = dyn_cast<NamedDecl>(DC)) {
288 if (ND->getIdentifier())
387 const NamedDecl *ND = dyn_cast<NamedDecl>(DC); local
388 if (!ND)
H A DSemaTemplateVariadic.cpp518 getDepthAndIndex(NamedDecl *ND) { argument
519 if (TemplateTypeParmDecl *TTP = dyn_cast<TemplateTypeParmDecl>(ND))
522 if (NonTypeTemplateParmDecl *NTTP = dyn_cast<NonTypeTemplateParmDecl>(ND))
525 TemplateTemplateParmDecl *TTP = cast<TemplateTemplateParmDecl>(ND);
553 NamedDecl *ND = i->first.get<NamedDecl *>(); local
554 if (isa<ParmVarDecl>(ND))
557 std::tie(Depth, Index) = getDepthAndIndex(ND);
559 Name = ND->getIdentifier();
654 NamedDecl *ND = Unexpanded[I].first.get<NamedDecl *>(); local
655 if (isa<ParmVarDecl>(ND)) {
771 NamedDecl *ND = candidate.getCorrectionDecl(); variable
[all...]
H A DSema.cpp428 NamedDecl *ND = I->first; local
431 if (ND->isInvalidDecl()) continue;
434 if (ND->hasAttr<WeakRefAttr>()) continue;
436 if (FunctionDecl *FD = dyn_cast<FunctionDecl>(ND)) {
443 if (cast<VarDecl>(ND)->hasDefinition() != VarDecl::DeclarationOnly)
445 if (ND->isExternallyVisible())
449 Undefined.push_back(std::make_pair(ND, I->second));
481 NamedDecl *ND = I->first; local
483 if (ND->hasAttr<DLLImportAttr>() || ND
[all...]
/external/llvm/include/llvm/Support/
H A DGenericDomTree.h253 typename InvTraits::NodeType *ND = *PI; local
254 if (ND != NewBB && !DT.dominates(NewBBSucc, ND) &&
255 DT.isReachableFromEntry(ND)) {
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DCallEvent.h294 const NamedDecl *ND = dyn_cast_or_null<NamedDecl>(getDecl()); local
295 if (!ND)
297 return ND->getIdentifier();
/external/clang/lib/Parse/
H A DParseExpr.cpp432 NamedDecl *ND = candidate.getCorrectionDecl(); variable
433 if (!ND)
436 if (isa<TypeDecl>(ND))
/external/clang/lib/StaticAnalyzer/Core/
H A DBugReporterVisitors.cpp1510 const NamespaceDecl *ND = dyn_cast<NamespaceDecl>(DC); local
1511 if (!ND)
1514 while (const NamespaceDecl *Parent = dyn_cast<NamespaceDecl>(ND->getParent()))
1515 ND = Parent;
1517 return ND->isStdNamespace();
H A DExprEngineCallAndReturn.cpp387 const NamespaceDecl *ND = dyn_cast<NamespaceDecl>(DC); local
388 if (!ND)
391 while (const DeclContext *Parent = ND->getParent()) {
394 ND = cast<NamespaceDecl>(Parent);
397 return ND->isStdNamespace();
/external/clang/lib/StaticAnalyzer/Frontend/
H A DAnalysisConsumer.cpp271 const NamedDecl *ND = cast<NamedDecl>(D); local
272 llvm::errs() << ' ' << *ND << '\n';
566 if (const FunctionDecl *ND = dyn_cast<FunctionDecl>(D)) {
567 IdentifierInfo *II = ND->getIdentifier();

Completed in 560 milliseconds

123