/external/clang/test/CXX/basic/basic.stc/basic.stc.dynamic/basic.stc.dynamic.deallocation/ |
H A D | p1.cpp | 7 namespace NS { namespace
|
/external/clang/test/CXX/basic/basic.scope/basic.scope.pdecl/ |
H A D | p3.cpp | 5 namespace NS { namespace in namespace:Class 8 using namespace NS; 20 namespace NS { namespace in namespace:Alias 23 using namespace NS; 25 using C = NS::C; // ok, same type
|
/external/clang/test/SemaCXX/ |
H A D | warn-missing-prototypes.cpp | 5 namespace NS { namespace
|
H A D | for-range-no-std.cpp | 16 namespace NS { namespace 28 NS::iter begin(NS::NoADL); // expected-note {{not viable}} 29 NS::iter end(NS::NoADL); 36 for (int b : NS::ADL()) {} // ok 37 for (int b : NS::NoADL()) {} // expected-error {{no matching function for call to 'begin'}} expected-note {{range has type}}
|
H A D | elaborated-type-specifier.cpp | 19 namespace NS { namespace 28 void test_X_elab(NS::X x) { 30 x.test_elab2(s4); // expected-error{{cannot initialize a parameter of type 'NS::S4 *' with an lvalue of type 'struct S4 *'}} 33 namespace NS { namespace
|
/external/clang/test/CXX/basic/basic.stc/basic.stc.dynamic/basic.stc.dynamic.allocation/ |
H A D | p1.cpp | 8 namespace NS { namespace
|
/external/clang/test/Index/ |
H A D | file-refs.cpp | 1 namespace NS { namespace 9 void NS::C::m() { 15 NS::C c1(); 16 NS::C c2 = NS::C(); 52 // CHECK: NamespaceRef=NS:1:11 53 // CHECK-NEXT: Namespace=NS:1:11 (Definition) =[1:11 - 1:13] 54 // CHECK-NEXT: NamespaceRef=NS:1:11 =[9:6 - 9:8] 55 // CHECK-NEXT: NamespaceRef=NS:1:11 =[15:3 - 15:5] 56 // CHECK-NEXT: NamespaceRef=NS [all...] |
/external/clang/test/PCH/ |
H A D | chain-friend-instantiation.cpp | 8 namespace NS { namespace 20 class TClass: public NS::TBaseClass<T> 27 namespace NS { namespace
|
/external/clang/test/CodeGenCXX/ |
H A D | mangle-subst.cpp | 50 namespace NS { namespace 62 namespace NS { namespace 66 namespace NS { namespace
|
H A D | predefined-expr.cpp | 4 // CHECK: private unnamed_addr constant [26 x i8] c"void NS::externFunction()\00" 7 // CHECK: private unnamed_addr constant [60 x i8] c"void NS::ClassTemplate<NS::Base *>::classTemplateFunction()\00" 8 // CHECK: private unnamed_addr constant [53 x i8] c"void NS::ClassTemplate<int>::classTemplateFunction()\00" 11 // CHECK: private unnamed_addr constant [45 x i8] c"void NS::Base::functionTemplate1(NS::Base *)\00" 12 // CHECK: private unnamed_addr constant [38 x i8] c"void NS::Base::functionTemplate1(int)\00" 15 // CHECK: private unnamed_addr constant [83 x i8] c"void NS::ContainerForAnonymousRecords::<anonymous union>::anonymousUnionFunction()\00" 18 // CHECK: private unnamed_addr constant [85 x i8] c"void NS::ContainerForAnonymousRecords::<anonymous struct>::anonymousStructFunction()\00" 21 // CHECK: private unnamed_addr constant [83 x i8] c"void NS 105 namespace NS { namespace [all...] |
H A D | visibility.cpp | 79 namespace NS HIDDEN { 80 // f is in NS which is hidden. 85 namespace NS { namespace in namespace:Test5 86 // g is in NS, but this NS decl is not hidden.
|
H A D | mangle.cpp | 100 namespace NS { namespace 115 NS::ft1<int>(1); 163 namespace NS { namespace 168 template bool NS::operator==(const ::A<char>&, const ::A<char>&);
|
/external/clang/test/CXX/basic/basic.lookup/basic.lookup.argdep/ |
H A D | p2.cpp | 90 namespace NS { namespace in namespace:test5 94 void bar(NS::A& a);
|
/external/clang/test/CXX/stmt.stmt/stmt.iter/stmt.ranged/ |
H A D | p1.cpp | 56 for (A NS:A()) { // expected-error {{no viable conversion from 'int' to 'A'}} 182 namespace NS { namespace 184 int *begin(ADL); // expected-note {{no known conversion from 'NS::NoADL' to 'NS::ADL'}} 189 int *begin(NS::NoADL); 190 int *end(NS::NoADL); 197 for (auto u : NS::ADL()) { 199 for (auto u : NS::NoADL()) { // expected-error {{no matching function for call to 'begin'}} expected-note {{range has type}}
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
H A D | LLVMConventionsChecker.cpp | 41 static bool InNamespace(const Decl *D, StringRef NS) { argument 46 if (!II || !II->getName().equals(NS))
|
/external/clang/lib/AST/ |
H A D | NestedNameSpecifier.cpp | 58 NestedNameSpecifier *Prefix, NamespaceDecl *NS) { 59 assert(NS && "Namespace cannot be NULL"); 66 Mockup.Specifier = NS; 57 Create(const ASTContext &Context, NestedNameSpecifier *Prefix, NamespaceDecl *NS) argument
|
H A D | DeclBase.cpp | 1141 const NamespaceDecl *NS = dyn_cast<NamespaceDecl>(O); local 1142 if (!NS || !NS->isInline()) 1144 O = NS->getParent();
|
H A D | ItaniumMangle.cpp | 468 static bool isStd(const NamespaceDecl *NS) { argument 469 if (!IgnoreLinkageSpecDecls(NS->getParent())->isTranslationUnit()) 472 const IdentifierInfo *II = NS->getOriginalNamespace()->getIdentifier(); 1010 if (const NamespaceDecl *NS = dyn_cast<NamespaceDecl>(ND)) { 1011 if (NS->isAnonymousNamespace()) { 3097 if (const NamespaceDecl *NS = dyn_cast<NamespaceDecl>(ND)) { 3098 if (isStd(NS)) {
|
/external/clang/test/CXX/class.access/class.friend/ |
H A D | p1.cpp | 292 namespace NS { namespace in namespace:test10 301 NS::bar->foo(); 305 NS::bar->foo(); // expected-error {{private member}}
|
/external/clang/lib/Lex/ |
H A D | Pragma.cpp | 700 PragmaNamespace *NS = PragmaHandlers; local 707 NS = Existing->getIfNamespace(); 708 assert(NS && "Invalid namespace, registered as a regular pragma handler!"); 711 NS->RemovePragmaHandler(Handler); 715 if (NS != PragmaHandlers && NS->IsEmpty()) 716 PragmaHandlers->RemovePragmaHandler(NS); 844 explicit PragmaDiagnosticHandler(const char *NS) : argument 845 PragmaHandler("diagnostic"), Namespace(NS) {}
|
/external/clang/lib/Serialization/ |
H A D | ASTWriterDecl.cpp | 812 NamespaceDecl *NS = D->getOriginalNamespace(); local 813 Writer.AddUpdatedDeclContext(NS); 816 NS->lookup(DeclarationName()); 817 StoredDeclsMap *Map = static_cast<StoredDeclsMap*>(NS->getLookupPtr());
|
/external/clang/tools/libclang/ |
H A D | CXCursor.cpp | 541 CXCursor cxcursor::MakeCursorNamespaceRef(NamedDecl *NS, SourceLocation Loc, argument 544 assert(NS && (isa<NamespaceDecl>(NS) || isa<NamespaceAliasDecl>(NS)) && TU && 547 CXCursor C = { CXCursor_NamespaceRef, 0, { NS, RawLoc, TU } };
|
/external/clang/include/clang/AST/ |
H A D | DeclBase.h | 524 bool isInIdentifierNamespace(unsigned NS) const { 525 return getIdentifierNamespace() & NS; 532 static bool isTagIdentifierNamespace(unsigned NS) { argument 534 return (NS & ~IDNS_TagFriend) == (IDNS_Tag | IDNS_Type); 1003 /// the context NS, as defined in C++0x [namespace.def]p9. If either context 1008 bool InEnclosingNamespaceSetOf(const DeclContext *NS) const;
|
/external/expat/lib/ |
H A D | xmltok.c | 1619 #define NS(x) x macro 1624 #undef NS macro 1629 #define NS(x) x ## NS macro 1636 #undef NS macro
|
/external/llvm/lib/CodeGen/AsmPrinter/ |
H A D | DwarfCompileUnit.cpp | 182 void CompileUnit::addSourceLine(DIE *Die, DINameSpace NS) { argument 184 if (!NS.Verify()) 187 unsigned Line = NS.getLineNumber(); 190 StringRef FN = NS.getFilename(); 192 unsigned FileID = DD->GetOrCreateSourceID(FN, NS.getDirectory()); 893 DIE *CompileUnit::getOrCreateNameSpace(DINameSpace NS) { argument 894 DIE *NDie = getDIE(NS); 898 insertDIE(NS, NDie); 899 if (!NS.getName().empty()) 900 addString(NDie, dwarf::DW_AT_name, dwarf::DW_FORM_string, NS [all...] |