HomeSort by relevance Sort by last modified time
    Searched defs:ND (Results 1 - 25 of 59) sorted by null

1 2 3

  /external/clang/unittests/AST/
NamedDeclPrinterTest.cpp 41 const NamedDecl *ND = Result.Nodes.getNodeAs<NamedDecl>("id");
42 if (!ND)
51 ND->printQualifiedName(Out, Policy);
  /external/clang/lib/Serialization/
ASTCommon.h 100 auto *ND = dyn_cast_or_null<NamedDecl>(LexicalD);
101 if (!ND || !needsAnonymousDeclarationNumber(ND))
104 Visit(ND, Index++);
  /external/clang/lib/StaticAnalyzer/Checkers/
AnalyzerStatsChecker.cpp 98 const NamedDecl *ND = cast<NamedDecl>(D);
99 output << *ND;
LLVMConventionsChecker.cpp 42 const NamespaceDecl *ND = dyn_cast<NamespaceDecl>(D->getDeclContext());
43 if (!ND)
45 const IdentifierInfo *II = ND->getIdentifier();
48 return isa<TranslationUnitDecl>(ND->getDeclContext());
CheckSecuritySyntaxOnly.cpp 204 const NamedDecl *ND = DR->getDecl();
205 return ND == x || ND == y ? DR : nullptr;
  /external/clang/lib/AST/
TemplateBase.cpp 369 NamedDecl *ND = cast<NamedDecl>(getAsDecl());
371 if (ND->getDeclName()) {
373 ND->printQualifiedName(Out);
NestedNameSpecifier.cpp 140 NamedDecl *ND = static_cast<NamedDecl *>(Specifier);
141 if (isa<CXXRecordDecl>(ND))
143 return isa<NamespaceDecl>(ND) ? Namespace : NamespaceAlias;
DeclPrinter.cpp     [all...]
DeclBase.cpp 284 if (const NamespaceDecl *ND = dyn_cast<NamespaceDecl>(DC))
285 if (ND->isAnonymousNamespace())
867 const NamespaceDecl *ND = cast<NamespaceDecl>(this);
868 if (ND->isInline()) {
869 return ND->getParent()->isStdNamespace();
875 const IdentifierInfo *II = ND->getIdentifier();
    [all...]
Type.cpp 49 NamedDecl *ND = nullptr;
53 ND = ty->getAs<RecordType>()->getDecl();
55 ND = ty->getAs<EnumType>()->getDecl();
57 ND = ty->getAs<TypedefType>()->getDecl();
62 if (ND)
63 return ND->getIdentifier();
    [all...]
  /frameworks/compile/slang/
slang_rs_context.cpp 191 clang::NamedDecl *const ND = *I;
194 switch (ND->getKind()) {
197 ND)->getCanonicalDecl()->getUnderlyingType().getTypePtr();
201 T = static_cast<const clang::RecordDecl*>(ND)->getTypeForDecl();
  /external/clang/lib/Frontend/
ASTConsumers.cpp 206 const NamespaceDecl* ND = cast<NamespaceDecl>(DC);
207 Out << *ND;
  /external/clang/lib/Sema/
CodeCompleteConsumer.cpp 267 const NamedDecl *ND = dyn_cast<NamedDecl>(DC);
268 if (!ND)
284 if (const NamedDecl *ND = dyn_cast<NamedDecl>(DC)) {
285 if (ND->getIdentifier())
384 const NamedDecl *ND = dyn_cast<NamedDecl>(DC);
385 if (!ND)
SemaTemplateVariadic.cpp 527 getDepthAndIndex(NamedDecl *ND) {
528 if (TemplateTypeParmDecl *TTP = dyn_cast<TemplateTypeParmDecl>(ND))
531 if (NonTypeTemplateParmDecl *NTTP = dyn_cast<NonTypeTemplateParmDecl>(ND))
534 TemplateTemplateParmDecl *TTP = cast<TemplateTemplateParmDecl>(ND);
562 NamedDecl *ND = i->first.get<NamedDecl *>();
563 if (isa<ParmVarDecl>(ND))
566 std::tie(Depth, Index) = getDepthAndIndex(ND);
568 Name = ND->getIdentifier();
663 NamedDecl *ND = Unexpanded[I].first.get<NamedDecl *>();
664 if (isa<ParmVarDecl>(ND)) {
    [all...]
Sema.cpp 479 NamedDecl *ND = I->first;
482 if (ND->isInvalidDecl()) continue;
485 if (ND->hasAttr<WeakRefAttr>()) continue;
487 if (FunctionDecl *FD = dyn_cast<FunctionDecl>(ND)) {
494 if (cast<VarDecl>(ND)->hasDefinition() != VarDecl::DeclarationOnly)
496 if (ND->isExternallyVisible())
500 Undefined.push_back(std::make_pair(ND, I->second));
532 NamedDecl *ND = I->first;
534 if (ND->hasAttr<DLLImportAttr>() || ND->hasAttr<DLLExportAttr>())
    [all...]
SemaExprMember.cpp 570 NamedDecl *ND = candidate.getCorrectionDecl();
573 if (!ND || !(isa<ValueDecl>(ND) || isa<FunctionTemplateDecl>(ND)))
577 if (Record->containsDecl(ND))
585 if (BSTy->getDecl()->containsDecl(ND))
684 for (NamedDecl *ND : TC)
685 R.addDecl(ND);
    [all...]
  /external/clang/test/Layout/
ms-x86-pack-and-align.cpp 532 struct ND : NC {};
550 // CHECK-NEXT: 0 | struct ND
573 // CHECK-X64-NEXT: 0 | struct ND
800 sizeof(ND)+
  /external/llvm/lib/ProfileData/
InstrProf.cpp 370 uint32_t ND = getValueProfRecordNumValueData(this);
374 for (uint32_t I = 0; I < ND; I++) {
InstrProfWriter.cpp 211 uint32_t ND = Func.getNumValueDataForSite(VK, S);
212 OS << ND << "\n";
214 for (uint32_t I = 0; I < ND; I++) {
  /external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
CallEvent.h 302 const NamedDecl *ND = dyn_cast_or_null<NamedDecl>(getDecl());
303 if (!ND)
305 return ND->getIdentifier();
    [all...]
  /external/clang/lib/StaticAnalyzer/Core/
ExprEngineCallAndReturn.cpp 387 const NamespaceDecl *ND = dyn_cast<NamespaceDecl>(DC);
388 if (!ND)
391 while (const DeclContext *Parent = ND->getParent()) {
394 ND = cast<NamespaceDecl>(Parent);
397 return ND->isStdNamespace();
    [all...]
BugReporterVisitors.cpp     [all...]
  /external/clang/lib/StaticAnalyzer/Frontend/
AnalysisConsumer.cpp 276 const NamedDecl *ND = cast<NamedDecl>(D);
277 llvm::errs() << ' ' << *ND << '\n';
575 if (const FunctionDecl *ND = dyn_cast<FunctionDecl>(D)) {
576 IdentifierInfo *II = ND->getIdentifier();
  /external/llvm/include/llvm/Support/
GenericDomTree.h 113 const NodeT *Nd = (*I)->getBlock();
114 OtherChildren.insert(Nd);
275 typename InvTraits::NodeType *ND = *PI;
276 if (ND != NewBB && !DT.dominates(NewBBSucc, ND) &&
277 DT.isReachableFromEntry(ND)) {
  /external/clang/lib/Parse/
ParseExpr.cpp 483 NamedDecl *ND = candidate.getCorrectionDecl();
484 if (!ND)
487 if (isa<TypeDecl>(ND))
497 NamedDecl *ND = C->getUnderlyingDecl();
498 if (isa<ValueDecl>(ND) && !isa<FunctionDecl>(ND))
    [all...]

Completed in 902 milliseconds

1 2 3