/external/clang/test/CodeGenCXX/ |
H A D | predefined-expr.cpp | 4 // CHECK: private unnamed_addr constant [26 x i8] c"void NS::externFunction()\00" 10 // CHECK: private unnamed_addr constant [122 x i8] c"static void ClassWithTemplateTemplateParam<char, NS::ClassTemplate>::staticMember() [T = char, Param = NS::ClassTemplate]\00" 23 // CHECK: private unnamed_addr constant [77 x i8] c"void NS::ClassTemplate<NS::Base *>::classTemplateFunction() [T = NS::Base *]\00" 24 // CHECK: private unnamed_addr constant [63 x i8] c"void NS::ClassTemplate<int>::classTemplateFunction() [T = int]\00" 27 // CHECK: private unnamed_addr constant [53 x i8] c"void NS::Base::functionTemplate1(T) [T = NS::Base *]\00" 28 // CHECK: private unnamed_addr constant [46 x i8] c"void NS 127 namespace NS { namespace [all...] |
H A D | visibility.cpp | 196 namespace NS HIDDEN { 197 // f is in NS which is hidden. 202 namespace NS { namespace in namespace:Test5 203 // g is in NS, but this NS decl is not hidden.
|
/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...] |
H A D | index-refs.cpp | 2 namespace NS { namespace 11 NS::MyInt NS::gx = EnumVal; 14 NS::MyInt x; 37 namespace NS { namespace 42 using namespace NS; 43 using namespace NS::Inn; 44 using NS::Foo; 73 // CHECK: [indexDeclaration]: kind: namespace | name: NS 79 // CHECK-NEXT: [indexEntityReference]: kind: namespace | name: NS [all...] |
/external/clang/test/Index/skip-parsed-bodies/ |
H A D | t.h | 6 namespace NS { namespace 14 inline int NS::C::method_def2() {
|
/external/clang/test/PCH/ |
H A D | chain-friend-instantiation.cpp | 9 namespace NS { namespace 21 class TClass: public NS::TBaseClass<T> 28 namespace NS { namespace
|
H A D | chain-staticvar-instantiation.cpp | 11 namespace NS { namespace 33 int g2 = NS::TS<int, 2>::value; 42 int g3 = NS::TS<int, 2>::value;
|
H A D | cxx-for-range.h | 12 namespace NS { namespace 17 using NS::U;
|
/external/clang/test/Parser/ |
H A D | recovery.cpp | 123 namespace NS { namespace in struct:MissingBrace::S 127 NS::Foo<int> missingSemiBeforeFunctionReturningTemplateId1(); 129 using NS::Foo;
|
/external/clang/test/SemaCXX/ |
H A D | constant-expression-cxx1y.cpp | 120 namespace NS { namespace 124 namespace N = NS;
|
H A D | elaborated-type-specifier.cpp | 19 namespace NS { namespace 22 void test_elab2(struct S4 *s4); // expected-note{{'NS::S4' declared here}} 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 38 S4 *s4; // expected-error{{unknown type name 'S4'; did you mean 'NS::S4'?}}
|
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 {{invalid range expression of type 'NS::NoADL'}}
|
H A D | nested-name-spec.cpp | 291 namespace NS { namespace in namespace:PR13033 292 int a; // expected-note {{'NS::a' declared here}} 293 int longer_b; //expected-note {{'NS::longer_b' declared here}} 298 int foobar = a + longer_b; // expected-error {{use of undeclared identifier 'a'; did you mean 'NS::a'?}} \ 299 // expected-error {{use of undeclared identifier 'longer_b'; did you mean 'NS::longer_b'?}}
|
H A D | warn-missing-prototypes.cpp | 5 namespace NS { namespace
|
/external/clang/tools/libclang/ |
H A D | CIndex.cpp | 3408 const NamedDecl *NS = getCursorNamespaceRef(C).first; local 3409 assert(NS && "Missing namespace decl"); 3411 return cxstring::createDup(NS->getNameAsString());
|
H A D | CXCursor.cpp | 632 CXCursor cxcursor::MakeCursorNamespaceRef(const NamedDecl *NS, argument 636 assert(NS && (isa<NamespaceDecl>(NS) || isa<NamespaceAliasDecl>(NS)) && TU && 639 CXCursor C = { CXCursor_NamespaceRef, 0, { NS, RawLoc, TU } };
|
/external/clang/utils/TableGen/ |
H A D | ClangAttrEmitter.cpp | 31 std::string V, N, NS; member in class:FlattenedSpelling 37 V(Variety), N(Name), NS(Namespace), K(KnownToGCC) {} 45 NS = Spelling.getValueAsString("Namespace"); 52 const std::string &nameSpace() const { return NS; }
|
/external/clang/include/clang/AST/ |
H A D | DeclBase.h | 646 bool isInIdentifierNamespace(unsigned NS) const { 647 return getIdentifierNamespace() & NS; 654 static bool isTagIdentifierNamespace(unsigned NS) { argument 656 return (NS & ~IDNS_TagFriend) == (IDNS_Tag | IDNS_Type); 1238 /// the context NS, as defined in C++0x [namespace.def]p9. If either context 1243 bool InEnclosingNamespaceSetOf(const DeclContext *NS) const;
|
/external/clang/lib/ARCMigrate/ |
H A D | ObjCMT.cpp | 352 const NSAPI &NS, edit::Commit &commit, 356 ASTContext &Context = NS.getASTContext(); 563 const NSAPI &NS, edit::Commit &commit) { 595 const NSAPI &NS, edit::Commit &commit, 612 NS.getASTContext(), /*IsDecl*/true); 622 NS.getASTContext(), /*IsDecl*/true); 630 EndOfEnumDclLoc = trans::findLocationAfterSemi(EnumDcl->getLocEnd(), NS.getASTContext(), 645 const NSAPI &NS, edit::Commit &commit, 350 rewriteToObjCProperty(const ObjCMethodDecl *Getter, const ObjCMethodDecl *Setter, const NSAPI &NS, edit::Commit &commit, unsigned LengthOfPrefix, bool Atomic, bool UseNsIosOnlyMacro, bool AvailabilityArgsMatch) argument 561 rewriteToObjCInterfaceDecl(const ObjCInterfaceDecl *IDecl, llvm::SmallVectorImpl<ObjCProtocolDecl*> &ConformingProtocols, const NSAPI &NS, edit::Commit &commit) argument 593 rewriteToNSEnumDecl(const EnumDecl *EnumDcl, const TypedefDecl *TypedefDcl, const NSAPI &NS, edit::Commit &commit, bool IsNSIntegerType, bool NSOptions) argument 643 rewriteToNSMacroDecl(const EnumDecl *EnumDcl, const TypedefDecl *TypedefDcl, const NSAPI &NS, edit::Commit &commit, bool IsNSIntegerType) argument
|
/external/clang/lib/AST/ |
H A D | ASTContext.cpp | 5800 NamespaceDecl *NS; local 5801 NS = NamespaceDecl::Create(const_cast<ASTContext &>(*Context), 5806 NS->setImplicit(); 5807 VaListTagDecl->setDeclContext(NS); 5996 NamespaceDecl *NS; local 5997 NS = NamespaceDecl::Create(const_cast<ASTContext &>(*Context), 6002 NS->setImplicit(); 6003 VaListDecl->setDeclContext(NS);
|
H A D | DeclBase.cpp | 1442 const NamespaceDecl *NS = dyn_cast<NamespaceDecl>(O); local 1443 if (!NS || !NS->isInline()) 1445 O = NS->getParent();
|
H A D | ItaniumMangle.cpp | 520 static bool isStd(const NamespaceDecl *NS) { argument 521 if (!IgnoreLinkageSpecDecls(getEffectiveParentContext(NS)) 525 const IdentifierInfo *II = NS->getOriginalNamespace()->getIdentifier(); 1093 if (const NamespaceDecl *NS = dyn_cast<NamespaceDecl>(ND)) { 1094 if (NS->isAnonymousNamespace()) { 3557 if (const NamespaceDecl *NS = dyn_cast<NamespaceDecl>(ND)) { 3558 if (isStd(NS)) {
|
H A D | NestedNameSpecifier.cpp | 61 const NamespaceDecl *NS) { 62 assert(NS && "Namespace cannot be NULL"); 70 Mockup.Specifier = const_cast<NamespaceDecl *>(NS); 59 Create(const ASTContext &Context, NestedNameSpecifier *Prefix, const NamespaceDecl *NS) argument
|
/external/clang/lib/Analysis/ |
H A D | Consumed.cpp | 481 void setInfo(const Expr *To, ConsumedState NS); 534 // If NS is not CS_None, sets the state of From to NS. 536 ConsumedState NS) { 543 if (NS != CS_None && PInfo.isPointerToValue()) 544 setStateForVarOrTmp(StateMap, PInfo, NS); 561 void ConsumedStmtVisitor::setInfo(const Expr *To, ConsumedState NS) { argument 566 setStateForVarOrTmp(StateMap, PInfo, NS); 567 } else if (NS != CS_None) { 568 insertInfo(To, PropagationInfo(NS)); 535 copyInfo(const Expr *From, const Expr *To, ConsumedState NS) argument 795 ConsumedState NS = local [all...] |
/external/clang/lib/CodeGen/ |
H A D | CGDebugInfo.cpp | 173 SmallString<128> NS; 174 llvm::raw_svector_ostream OS(NS); 730 SmallString<128> NS; local 731 llvm::raw_svector_ostream OS(NS); 3291 llvm::DINameSpace NS = local 3293 NameSpaceCache[NSDecl] = llvm::WeakVH(NS); 3294 return NS;
|