Searched defs:NS (Results 1 - 25 of 33) sorted by relevance

12

/external/clang/test/CXX/basic/basic.stc/basic.stc.dynamic/basic.stc.dynamic.deallocation/
H A Dp1.cpp7 namespace NS { namespace
/external/clang/test/CXX/basic/basic.scope/basic.scope.pdecl/
H A Dp3.cpp5 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 Dwarn-missing-prototypes.cpp5 namespace NS { namespace
H A Dfor-range-no-std.cpp16 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 Delaborated-type-specifier.cpp19 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 Dp1.cpp8 namespace NS { namespace
/external/clang/test/Index/
H A Dfile-refs.cpp1 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 Dchain-friend-instantiation.cpp8 namespace NS { namespace
20 class TClass: public NS::TBaseClass<T>
27 namespace NS { namespace
/external/clang/test/CodeGenCXX/
H A Dmangle-subst.cpp50 namespace NS { namespace
62 namespace NS { namespace
66 namespace NS { namespace
H A Dpredefined-expr.cpp4 // 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 Dvisibility.cpp79 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 Dmangle.cpp100 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 Dp2.cpp90 namespace NS { namespace in namespace:test5
94 void bar(NS::A& a);
/external/clang/test/CXX/stmt.stmt/stmt.iter/stmt.ranged/
H A Dp1.cpp56 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 DLLVMConventionsChecker.cpp41 static bool InNamespace(const Decl *D, StringRef NS) { argument
46 if (!II || !II->getName().equals(NS))
/external/clang/lib/AST/
H A DNestedNameSpecifier.cpp58 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 DDeclBase.cpp1141 const NamespaceDecl *NS = dyn_cast<NamespaceDecl>(O); local
1142 if (!NS || !NS->isInline())
1144 O = NS->getParent();
H A DItaniumMangle.cpp468 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 Dp1.cpp292 namespace NS { namespace in namespace:test10
301 NS::bar->foo();
305 NS::bar->foo(); // expected-error {{private member}}
/external/clang/lib/Lex/
H A DPragma.cpp700 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 DASTWriterDecl.cpp812 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 DCXCursor.cpp541 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 DDeclBase.h524 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 Dxmltok.c1619 #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 DDwarfCompileUnit.cpp182 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...]

Completed in 421 milliseconds

12