/external/libcxx/test/libcxx/utilities/tuple/tuple.tuple/tuple.cnstr/ |
disable_reduced_arity_initialization_extension.pass.cpp | 43 typedef NoDefault ND; 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;
|
enable_reduced_arity_initialization_extension.pass.cpp | 42 typedef NoDefault ND; 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;
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/libcxx/utilities/tuple/tuple.tuple/tuple.cnstr/ |
disable_reduced_arity_initialization_extension.pass.cpp | 43 typedef NoDefault ND; 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;
|
enable_reduced_arity_initialization_extension.pass.cpp | 42 typedef NoDefault ND; 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/clang/unittests/AST/ |
NamedDeclPrinterTest.cpp | 41 const NamedDecl *ND = Result.Nodes.getNodeAs<NamedDecl>("id"); 42 if (!ND) 51 ND->printQualifiedName(Out, Policy);
|
/prebuilts/clang/host/darwin-x86/clang-4579689/include/clang/Tooling/Refactoring/ |
RecursiveSymbolVisitor.h | 37 bool visitSymbolOccurrence(const NamedDecl *ND, 97 const NamespaceDecl *ND = NNS.getNestedNameSpecifier()->getAsNamespace(); 98 if (!visit(ND, NNS.getLocalBeginLoc(), NNS.getLocalEndLoc())) 108 bool visit(const NamedDecl *ND, SourceLocation BeginLoc, 111 ND, SourceRange(BeginLoc, EndLoc)); 113 bool visit(const NamedDecl *ND, SourceLocation Loc) { 114 return visit(ND, Loc, 115 Loc.getLocWithOffset(ND->getNameAsString().length() - 1));
|
/prebuilts/clang/host/darwin-x86/clang-4630689/include/clang/Tooling/Refactoring/ |
RecursiveSymbolVisitor.h | 37 bool visitSymbolOccurrence(const NamedDecl *ND, 97 const NamespaceDecl *ND = NNS.getNestedNameSpecifier()->getAsNamespace(); 98 if (!visit(ND, NNS.getLocalBeginLoc(), NNS.getLocalEndLoc())) 108 bool visit(const NamedDecl *ND, SourceLocation BeginLoc, 111 ND, SourceRange(BeginLoc, EndLoc)); 113 bool visit(const NamedDecl *ND, SourceLocation Loc) { 114 return visit(ND, Loc, 115 Loc.getLocWithOffset(ND->getNameAsString().length() - 1));
|
/prebuilts/clang/host/darwin-x86/clang-4639204/include/clang/Tooling/Refactoring/ |
RecursiveSymbolVisitor.h | 37 bool visitSymbolOccurrence(const NamedDecl *ND, 97 const NamespaceDecl *ND = NNS.getNestedNameSpecifier()->getAsNamespace(); 98 if (!visit(ND, NNS.getLocalBeginLoc(), NNS.getLocalEndLoc())) 108 bool visit(const NamedDecl *ND, SourceLocation BeginLoc, 111 ND, SourceRange(BeginLoc, EndLoc)); 113 bool visit(const NamedDecl *ND, SourceLocation Loc) { 114 return visit(ND, Loc, 115 Loc.getLocWithOffset(ND->getNameAsString().length() - 1));
|
/prebuilts/clang/host/darwin-x86/clang-4691093/include/clang/Tooling/Refactoring/ |
RecursiveSymbolVisitor.h | 37 bool visitSymbolOccurrence(const NamedDecl *ND, 97 const NamespaceDecl *ND = NNS.getNestedNameSpecifier()->getAsNamespace(); 98 if (!visit(ND, NNS.getLocalBeginLoc(), NNS.getLocalEndLoc())) 108 bool visit(const NamedDecl *ND, SourceLocation BeginLoc, 111 ND, SourceRange(BeginLoc, EndLoc)); 113 bool visit(const NamedDecl *ND, SourceLocation Loc) { 114 return visit(ND, Loc, 115 Loc.getLocWithOffset(ND->getNameAsString().length() - 1));
|
/prebuilts/clang/host/linux-x86/clang-4579689/include/clang/Tooling/Refactoring/ |
RecursiveSymbolVisitor.h | 37 bool visitSymbolOccurrence(const NamedDecl *ND, 97 const NamespaceDecl *ND = NNS.getNestedNameSpecifier()->getAsNamespace(); 98 if (!visit(ND, NNS.getLocalBeginLoc(), NNS.getLocalEndLoc())) 108 bool visit(const NamedDecl *ND, SourceLocation BeginLoc, 111 ND, SourceRange(BeginLoc, EndLoc)); 113 bool visit(const NamedDecl *ND, SourceLocation Loc) { 114 return visit(ND, Loc, 115 Loc.getLocWithOffset(ND->getNameAsString().length() - 1));
|
/prebuilts/clang/host/linux-x86/clang-4630689/include/clang/Tooling/Refactoring/ |
RecursiveSymbolVisitor.h | 37 bool visitSymbolOccurrence(const NamedDecl *ND, 97 const NamespaceDecl *ND = NNS.getNestedNameSpecifier()->getAsNamespace(); 98 if (!visit(ND, NNS.getLocalBeginLoc(), NNS.getLocalEndLoc())) 108 bool visit(const NamedDecl *ND, SourceLocation BeginLoc, 111 ND, SourceRange(BeginLoc, EndLoc)); 113 bool visit(const NamedDecl *ND, SourceLocation Loc) { 114 return visit(ND, Loc, 115 Loc.getLocWithOffset(ND->getNameAsString().length() - 1));
|
/prebuilts/clang/host/linux-x86/clang-4639204/include/clang/Tooling/Refactoring/ |
RecursiveSymbolVisitor.h | 37 bool visitSymbolOccurrence(const NamedDecl *ND, 97 const NamespaceDecl *ND = NNS.getNestedNameSpecifier()->getAsNamespace(); 98 if (!visit(ND, NNS.getLocalBeginLoc(), NNS.getLocalEndLoc())) 108 bool visit(const NamedDecl *ND, SourceLocation BeginLoc, 111 ND, SourceRange(BeginLoc, EndLoc)); 113 bool visit(const NamedDecl *ND, SourceLocation Loc) { 114 return visit(ND, Loc, 115 Loc.getLocWithOffset(ND->getNameAsString().length() - 1));
|
/prebuilts/clang/host/linux-x86/clang-4691093/include/clang/Tooling/Refactoring/ |
RecursiveSymbolVisitor.h | 37 bool visitSymbolOccurrence(const NamedDecl *ND, 97 const NamespaceDecl *ND = NNS.getNestedNameSpecifier()->getAsNamespace(); 98 if (!visit(ND, NNS.getLocalBeginLoc(), NNS.getLocalEndLoc())) 108 bool visit(const NamedDecl *ND, SourceLocation BeginLoc, 111 ND, SourceRange(BeginLoc, EndLoc)); 113 bool visit(const NamedDecl *ND, SourceLocation Loc) { 114 return visit(ND, Loc, 115 Loc.getLocWithOffset(ND->getNameAsString().length() - 1));
|
/external/clang/lib/Index/ |
CodegenNameGenerator.cpp | 75 const NamedDecl *ND = cast<NamedDecl>(D); 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) { 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/Serialization/ |
ASTCommon.h | 102 auto *ND = dyn_cast_or_null<NamedDecl>(LexicalD); 103 if (!ND || !needsAnonymousDeclarationNumber(ND)) 106 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());
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/meta/meta.trans/meta.trans.other/ |
result_of.pass.cpp | 68 typedef NotDerived ND; 120 test_no_result<PMS0(ND & )>(); 121 test_no_result<PMS0(const ND& )>(); 124 test_no_result<PMS0(std::reference_wrapper<ND> )>(); 125 test_no_result<PMS0(std::unique_ptr<ND> )>(); 140 test_no_result<PMS1(ND &, int)>(); 141 test_no_result<PMS1(const ND&, int)>(); 144 test_no_result<PMS1(std::reference_wrapper<ND>, int)>(); 145 test_no_result<PMS1(std::unique_ptr<ND>, int)>(); 162 test_no_result<PMS2(const ND&, int, int)>() [all...] |
/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;
|
/external/libcxx/test/std/utilities/meta/meta.trans/meta.trans.other/ |
result_of.pass.cpp | 98 typedef NotDerived ND; 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&, int, int)>() [all...] |
/frameworks/compile/slang/ |
slang_rs_context.cpp | 192 clang::NamedDecl *const ND = *I; 195 switch (ND->getKind()) { 198 ND)->getCanonicalDecl()->getUnderlyingType().getTypePtr(); 202 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)
|
/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)+
|