/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
|
/external/clang/test/CodeGenCXX/ |
H A D | pr11797.cpp | 3 namespace std __attribute__ ((__visibility__ ("default"))) {} namespace
|
H A D | vtable-key-function-win-comdat.cpp | 3 namespace std { class type_info; } namespace 4 extern void use(const std::type_info &rtti);
|
/external/clang/test/Modules/Inputs/initializer_list/ |
H A D | direct.h | 1 namespace std { 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 | 32 namespace std { class type_info; } // WORKAROUND: http://llvm.org/bugs/show_bug.cgi?id=13364 namespace 52 U_IO_API std::ostream & U_EXPORT2 operator<<(std::ostream& stream, const UnicodeString& s); 60 U_IO_API std::istream & U_EXPORT2 operator>>(std::istream& stream, UnicodeString& s);
|
/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++14 %s -verify -fexceptions -fcxx-exceptions -pedantic-errors -DNOEXCEPT=noexcept -DBAD_ALLOC= 4 // RUN: %clang_cc1 -std=c++1z %s -verify -fexceptions -fcxx-exceptions -pedantic-errors -DNOEXCEPT=noexcept -DBAD_ALLOC= 12 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 | PR20334-std_initializer_list_diagnosis_assertion.cpp | 1 // RUN: %clang_cc1 -std=c++11 -verify -emit-llvm-only %s 2 // RUN: %clang_cc1 -std=c++98 -fsyntax-only -verify %s -DCPP98 4 namespace std { namespace 10 template<class E> int f(std::initializer_list<E> il);
|
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 | libstdcxx_explicit_init_list_hack.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}} 23 decltype(new std::__debug::vector<int>[1]{}) x; // expected-note{{used in initialization here}}
|
H A D | libstdcxx_pair_swap_hack.cpp | 2 // an issue with GCC's <utility> implementation. std::pair::swap 10 // RUN: %clang_cc1 -fsyntax-only %s -std=c++11 -verify -fexceptions -fcxx-exceptions -DCLASS=array 11 // RUN: %clang_cc1 -fsyntax-only %s -std=c++11 -verify -fexceptions -fcxx-exceptions -DCLASS=pair 12 // RUN: %clang_cc1 -fsyntax-only %s -std=c++11 -verify -fexceptions -fcxx-exceptions -DCLASS=priority_queue 13 // RUN: %clang_cc1 -fsyntax-only %s -std=c++11 -verify -fexceptions -fcxx-exceptions -DCLASS=stack 14 // RUN: %clang_cc1 -fsyntax-only %s -std=c++11 -verify -fexceptions -fcxx-exceptions -DCLASS=queue 19 // RUN: %clang_cc1 -fsyntax-only %s -std=c++11 -verify -fexceptions -fcxx-exceptions -DCLASS=array -DMSVC 24 namespace std { namespace 53 using PX = std::CLASS<X, X>; 54 using PI = std [all...] |
H A D | typeid-ref.cpp | 2 namespace std { namespace
|
/external/libcxx/test/std/experimental/string.view/string.view.cons/ |
H A D | from_string.pass.cpp | 21 struct dummy_char_traits : public std::char_traits<char> {}; 24 void test ( const std::basic_string<CharT, Traits> &str ) { argument 25 std::experimental::basic_string_view<CharT, Traits> sv1 ( str ); 32 test ( std::string("QBCDE") ); 33 test ( std::string("") ); 34 test ( std::string() ); 36 test ( std::wstring(L"QBCDE") ); 37 test ( std::wstring(L"") ); 38 test ( std::wstring() ); 41 test ( std [all...] |