/external/clang/test/CXX/over/over.oper/over.literal/ |
H A D | p8.cpp | 1 // RUN: %clang_cc1 -std=c++11 %s -verify 4 namespace std { namespace 9 string operator "" _i18n(const char*, std::size_t); // ok 13 string operator "" 5X(const char *, std::size_t); // expected-error {{expected identifier}}
|
/external/clang/test/Index/ |
H A D | complete-preamble.h | 1 namespace std { namespace 5 namespace std { namespace
|
H A D | load-namespaces.cpp | 3 namespace std { namespace 9 namespace std { namespace 13 namespace std98 = std; 18 namespace std { namespace 22 using std::g; 24 void std::g() { 27 namespace my_rel_ops = std::rel_ops; 30 // CHECK: load-namespaces.cpp:3:11: Namespace=std:3:11 (Definition) Extent=[3:1 - 7:2] 33 // CHECK: load-namespaces.cpp:9:11: Namespace=std:9:11 (Definition) Extent=[9:1 - 11:2] 36 // CHECK: load-namespaces.cpp:13:19: NamespaceRef=std [all...] |
/external/clang/test/Modules/ |
H A D | submodules-preprocess.cpp | 5 @import std.vector; 19 @import std.typetraits; // expected-error{{no submodule named 'typetraits' in module 'std'; did you mean 'type_traits'?}} 33 @import std.vector.compare; // expected-error{{no submodule named 'compare' in module 'std.vector'}} 35 @import std; // import everything in 'std' variable 49 @import std.hash_map;
|
/external/libcxxabi/src/ |
H A D | exception.cpp | 14 namespace std namespace 25 return "std::exception"; 36 return "std::bad_exception"; 39 } // std
|
H A D | stdexcept.cpp | 18 static_assert(sizeof(std::__libcpp_refstring) == sizeof(const char *), ""); 20 namespace std // purposefully not using versioning namespace namespace 48 } // std
|
H A D | cxa_handlers.hpp | 18 namespace std namespace 29 } // std 43 extern std::atomic<std::terminate_handler> __cxa_terminate_handler; 44 extern std::atomic<std::unexpected_handler> __cxa_unexpected_handler; 45 extern std::atomic<std::new_handler> __cxa_new_handler;
|
H A D | typeinfo.cpp | 12 namespace std namespace 34 return "std::bad_cast"; 50 return "std::bad_typeid"; 53 } // std
|
/external/clang/test/CodeGenCXX/ |
H A D | pr11797.cpp | 3 namespace std __attribute__ ((__visibility__ ("default"))) {} namespace
|
/external/clang/test/Parser/ |
H A D | cxx-typeid.cpp | 4 namespace std { namespace
|
/external/icu/icu4c/source/common/unicode/ |
H A D | std_string.h | 31 namespace std { class type_info; } // WORKAROUND: http://llvm.org/bugs/show_bug.cgi?id=13364 namespace
|
/external/icu/icu4c/source/common/ |
H A D | utypeinfo.h | 13 // Windows header <typeinfo> does not define 'exception' in 'std' namespace. 23 using std::exception; 26 namespace std { class type_info; } // WORKAROUND: http://llvm.org/bugs/show_bug.cgi?id=13364 namespace
|
/external/icu/icu4c/source/io/unicode/ |
H A D | ustream.h | 30 namespace std { class type_info; } // WORKAROUND: http://llvm.org/bugs/show_bug.cgi?id=13364 namespace 50 U_IO_API std::ostream & U_EXPORT2 operator<<(std::ostream& stream, const UnicodeString& s); 58 U_IO_API std::istream & U_EXPORT2 operator>>(std::istream& stream, UnicodeString& s);
|
/external/libcxx/src/ |
H A D | optional.cpp | 12 namespace std // purposefully not using versioning namespace namespace 25 }} // std::experimental
|
/external/stlport/stlport/stl/ |
H A D | _cprolog.h | 7 #ifdef std 8 # undef std /* We undef "std" on entry , as STLport headers may include native ones. */ macro
|
H A D | _epilog.h | 25 /* We redefine "std" to STLPORT, so that user code may use std:: transparently 26 * The STLPORT macro contains the STLport namespace name containing all the std 29 # if defined (std) 31 * Looks like the compiler native library on which STLport rely defined the std macro. 36 # endif /* std */ 37 # define std STLPORT macro
|
/external/clang/test/CXX/basic/basic.stc/basic.stc.dynamic/ |
H A D | p2-nodef.cpp | 8 int std = 17; variable
|
H A D | p2-noexceptions.cpp | 3 namespace std { namespace 11 void* operator new(std::size_t); 12 void* operator new[](std::size_t);
|
/external/clang/test/CXX/drs/ |
H A D | dr412.cpp | 1 // RUN: %clang_cc1 -std=c++98 %s -verify -fexceptions -fcxx-exceptions -pedantic-errors -DNOEXCEPT="throw()" -DBAD_ALLOC="throw(std::bad_alloc)" 2 // RUN: %clang_cc1 -std=c++11 %s -verify -fexceptions -fcxx-exceptions -pedantic-errors -DNOEXCEPT=noexcept -DBAD_ALLOC= 3 // RUN: %clang_cc1 -std=c++1y %s -verify -fexceptions -fcxx-exceptions -pedantic-errors -DNOEXCEPT=noexcept -DBAD_ALLOC= 11 namespace std { struct bad_alloc {}; } namespace
|
/external/clang/test/CodeCompletion/ |
H A D | function-templates.cpp | 1 namespace std { namespace 15 std::sort(1, 2);
|
/external/clang/test/SemaCXX/ |
H A D | MicrosoftCompatibilityNoExceptions.cpp | 5 namespace std {} namespace
|
H A D | cxx0x-initializer-stdinitializerlist-system-header.cpp | 1 // RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify -Wsystem-headers %s 7 namespace std { namespace 21 struct { int a, b; std::__debug::vector<int> c; } e[] = { {1, 1} }; // expected-note{{used in initialization here}}
|
H A D | libstdcxx_atomic_ns_hack.cpp | 1 // RUN: %clang_cc1 -fsyntax-only -std=c++11 -verify %s 3 // libstdc++ 4.6.x contains a bug where it defines std::__atomic[0,1,2] as a 14 namespace std { namespace 30 std::foobar fb; 33 using T = std::foobar; // expected-error {{different types ('std::foobar' (aka 'int') vs 'void')}}
|
H A D | libstdcxx_common_type_hack.cpp | 1 // RUN: %clang_cc1 -fsyntax-only %s -std=c++11 -verify 4 // an issue with GCC's <type_traits> implementation. std::common_type 11 namespace std { namespace 28 using T = std::common_type<int, int>::type; 31 using U = decltype(true ? std::declval<int>() : std::declval<int>()); // expected-error {{different types}}
|
H A D | typeid-ref.cpp | 2 namespace std { namespace
|