Searched defs:std (Results 1 - 25 of 431) sorted by relevance

1234567891011>>

/external/clang/test/CXX/over/over.oper/over.literal/
H A Dp8.cpp1 // 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 Dcomplete-preamble.h1 namespace std { namespace
5 namespace std { namespace
H A Dload-namespaces.cpp3 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 Dsubmodules-preprocess.cpp5 @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 Dexception.cpp14 namespace std namespace
25 return "std::exception";
36 return "std::bad_exception";
39 } // std
H A Dstdexcept.cpp18 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 Dpr11797.cpp3 namespace std __attribute__ ((__visibility__ ("default"))) {} namespace
H A Dvtable-key-function-win-comdat.cpp3 namespace std { class type_info; } namespace
4 extern void use(const std::type_info &rtti);
/external/clang/test/Modules/Inputs/initializer_list/
H A Ddirect.h1 namespace std { namespace
/external/clang/test/Parser/
H A Dcxx-typeid.cpp4 namespace std { namespace
/external/icu/icu4c/source/common/unicode/
H A Dstd_string.h31 namespace std { class type_info; } // WORKAROUND: http://llvm.org/bugs/show_bug.cgi?id=13364 namespace
/external/icu/icu4c/source/common/
H A Dutypeinfo.h13 // 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 Dustream.h32 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 Dp2-nodef.cpp8 int std = 17; variable
H A Dp2-noexceptions.cpp3 namespace std { namespace
11 void* operator new(std::size_t);
12 void* operator new[](std::size_t);
/external/clang/test/CXX/drs/
H A Ddr412.cpp1 // 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 Dfunction-templates.cpp1 namespace std { namespace
15 std::sort(1, 2);
/external/clang/test/SemaCXX/
H A DMicrosoftCompatibilityNoExceptions.cpp5 namespace std {} namespace
H A DPR20334-std_initializer_list_diagnosis_assertion.cpp1 // 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 Dlibstdcxx_atomic_ns_hack.cpp1 // 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 Dlibstdcxx_common_type_hack.cpp1 // 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 Dlibstdcxx_explicit_init_list_hack.cpp1 // 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 Dlibstdcxx_pair_swap_hack.cpp2 // 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 Dtypeid-ref.cpp2 namespace std { namespace
/external/libcxx/test/std/experimental/string.view/string.view.cons/
H A Dfrom_string.pass.cpp21 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...]

Completed in 868 milliseconds

1234567891011>>