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

1234

/external/libcxx/test/libcxx/utilities/tuple/tuple.tuple/tuple.cnstr/
H A Ddisable_reduced_arity_initialization_extension.pass.cpp43 typedef NoDefault ND; typedef
45 typedef std::tuple<MO, ND> Tuple;
47 static_assert(std::is_constructible<Tuple, MO, ND>::value, "");
48 static_assert(test_convertible<Tuple, MO, ND>(), "");
51 typedef std::tuple<MO, MO, ND> Tuple;
53 static_assert(std::is_constructible<Tuple, MO, MO, ND>::value, "");
54 static_assert(test_convertible<Tuple, MO, MO, ND>(), "");
58 typedef std::tuple<MO, ND> Tuple;
H A Denable_reduced_arity_initialization_extension.pass.cpp42 typedef NoDefault ND; typedef
44 typedef std::tuple<MO, ND> Tuple;
46 static_assert(std::is_constructible<Tuple, MO, ND>::value, "");
47 static_assert(test_convertible<Tuple, MO, ND>(), "");
50 typedef std::tuple<MO, MO, ND> Tuple;
52 static_assert(std::is_constructible<Tuple, MO, MO, ND>::value, "");
53 static_assert(test_convertible<Tuple, MO, MO, ND>(), "");
57 typedef std::tuple<MO, ND> Tuple;
/external/llvm/include/llvm/MC/
H A DMCInstrInfo.h33 void InitMCInstrInfo(const MCInstrDesc *D, const unsigned *NI, const char *ND, argument
37 InstrNameData = ND;
/external/clang/lib/Index/
H A DCodegenNameGenerator.cpp75 const NamedDecl *ND = cast<NamedDecl>(D); local
77 ASTContext &Ctx = ND->getASTContext();
89 if (const auto *CD = dyn_cast_or_null<CXXConstructorDecl>(ND)) {
100 } else if (const auto *DD = dyn_cast_or_null<CXXDestructorDecl>(ND)) {
107 } else if (const auto *MD = dyn_cast_or_null<CXXMethodDecl>(ND)) {
108 Manglings.emplace_back(getName(ND));
146 std::string getMangledStructor(const NamedDecl *ND, unsigned StructorType) { argument
150 if (const auto *CD = dyn_cast_or_null<CXXConstructorDecl>(ND))
152 else if (const auto *DD = dyn_cast_or_null<CXXDestructorDecl>(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);
386 static bool shouldRunOnFunctionOrMethod(const NamedDecl *ND) { argument
387 if (!ND)
390 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"); variable
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 &&
148 if (NamedDecl *ND = getAsDecl()) {
152 return DeclContext::lookup_result(ND);
H A DDecl.h414 inline raw_ostream &operator<<(raw_ostream &OS, const NamedDecl &ND) { argument
415 ND.printName(OS);
3805 const NamedDecl* ND) {
3806 DB.AddTaggedVal(reinterpret_cast<intptr_t>(ND),
3811 const NamedDecl* ND) {
3812 PD.AddTaggedVal(reinterpret_cast<intptr_t>(ND),
/external/clang/lib/Serialization/
H A DASTCommon.h102 auto *ND = dyn_cast_or_null<NamedDecl>(LexicalD); local
103 if (!ND || !needsAnonymousDeclarationNumber(ND))
106 Visit(ND, Index++);
/external/libcxx/test/std/utilities/meta/meta.trans/meta.trans.other/
H A Dresult_of.pass.cpp98 typedef NotDerived ND; typedef
150 test_no_result<PMS0(ND & )>();
151 test_no_result<PMS0(const ND& )>();
154 test_no_result<PMS0(std::reference_wrapper<ND> )>();
155 test_no_result<PMS0(std::unique_ptr<ND> )>();
170 test_no_result<PMS1(ND &, int)>();
171 test_no_result<PMS1(const ND&, int)>();
174 test_no_result<PMS1(std::reference_wrapper<ND>, int)>();
175 test_no_result<PMS1(std::unique_ptr<ND>, int)>();
192 test_no_result<PMS2(const ND
[all...]
/external/clang/lib/AST/
H A DMangle.cpp59 static bool isExternC(const NamedDecl *ND) { argument
60 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(ND))
62 return cast<VarDecl>(ND)->isExternC();
66 const NamedDecl *ND) {
74 if (Context.getLangOpts().CPlusPlus && !isExternC(ND) &&
78 const FunctionDecl *FD = dyn_cast<FunctionDecl>(ND);
241 else if (auto ND = dyn_cast<NamedDecl>(DC)) {
242 if (!shouldMangleDeclName(ND) && ND->getIdentifier())
243 Stream << ND
65 getCallingConvMangling(const ASTContext &Context, const NamedDecl *ND) argument
[all...]
H A DTemplateBase.cpp369 NamedDecl *ND = cast<NamedDecl>(getAsDecl()); local
371 if (ND->getDeclName()) {
373 ND->printQualifiedName(Out);
H A DNestedNameSpecifier.cpp140 NamedDecl *ND = static_cast<NamedDecl *>(Specifier); local
141 if (isa<CXXRecordDecl>(ND))
143 return isa<NamespaceDecl>(ND) ? Namespace : NamespaceAlias;
H A DCommentSema.cpp968 void addDecl(const NamedDecl *ND);
983 void SimpleTypoCorrector::addDecl(const NamedDecl *ND) { argument
986 const IdentifierInfo *II = ND->getIdentifier();
999 BestDecl = ND;
1075 if (const NamedDecl *ND = Corrector.getBestDecl()) {
1076 const IdentifierInfo *II = ND->getIdentifier();
H A DDeclPrinter.cpp1377 NamedDecl *ND = cast<NamedDecl>(cast<DeclRefExpr>(*I)->getDecl()); local
1378 ND->printQualifiedName(Out);
H A DType.cpp49 NamedDecl *ND = nullptr; local
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();
/external/clang/lib/Frontend/
H A DASTConsumers.cpp206 const NamespaceDecl* ND = cast<NamespaceDecl>(DC); local
207 Out << *ND; local
/external/clang/test/Layout/
H A Dms-x86-pack-and-align.cpp532 struct ND : NC {}; struct in inherits:NC
550 // CHECK-NEXT: 0 | struct ND
573 // CHECK-X64-NEXT: 0 | struct ND
800 sizeof(ND)+
/external/llvm/lib/ProfileData/
H A DInstrProfWriter.cpp321 uint32_t ND = Func.getNumValueDataForSite(VK, S); local
322 OS << ND << "\n"; local
324 for (uint32_t I = 0; I < ND; I++) {
/external/clang/lib/Sema/
H A DCodeCompleteConsumer.cpp267 const NamedDecl *ND = dyn_cast<NamedDecl>(DC); local
268 if (!ND)
284 if (const NamedDecl *ND = dyn_cast<NamedDecl>(DC)) {
285 if (ND->getIdentifier())
384 const NamedDecl *ND = dyn_cast<NamedDecl>(DC); local
385 if (!ND)
H A DSemaTemplateVariadic.cpp527 getDepthAndIndex(NamedDecl *ND) { argument
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 *>(); local
563 if (isa<ParmVarDecl>(ND))
566 std::tie(Depth, Index) = getDepthAndIndex(ND);
568 Name = ND->getIdentifier();
663 NamedDecl *ND = Unexpanded[I].first.get<NamedDecl *>(); local
664 if (isa<ParmVarDecl>(ND)) {
809 NamedDecl *ND = candidate.getCorrectionDecl(); variable
[all...]
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DCallEvent.h334 const NamedDecl *ND = dyn_cast_or_null<NamedDecl>(getDecl()); local
335 if (!ND)
337 return ND->getIdentifier();

Completed in 1313 milliseconds

1234