/external/clang/test/SemaCXX/ |
nullptr_in_arithmetic_ops.cpp | 7 a = 0 ? nullptr + a : a + nullptr; // expected-error 2{{invalid operands to binary expression}} 8 a = 0 ? nullptr - a : a - nullptr; // expected-error 2{{invalid operands to binary expression}} 9 a = 0 ? nullptr / a : a / nullptr; // expected-error 2{{invalid operands to binary expression}} 10 a = 0 ? nullptr * a : a * nullptr; // expected-error 2{{invalid operands to binary expression}} 11 a = 0 ? nullptr >> a : a >> nullptr; // expected-error 2{{invalid operands to binary expression} 34 a >>= nullptr; \/\/ expected-error{{invalid operands to binary expression}} local 35 a <<= nullptr; \/\/ expected-error{{invalid operands to binary expression}} local [all...] |
nullptr.cpp | 4 typedef decltype(nullptr) nullptr_t; 16 null = nullptr; 17 void *p = nullptr; 19 int *pi = nullptr; 22 int A::*pm = nullptr; 24 void (*pf)() = nullptr; 26 void (A::*pmf)() = nullptr; 28 bool b = nullptr; 30 // Can't convert nullptr to integral implicitly. 31 uintptr_t i = nullptr; // expected-error {{cannot initialize} [all...] |
decltype-pr4448.cpp | 8 Convoluted< int *, test_array, nullptr > tarray;
|
format-strings-0x.cpp | 13 printf(nullptr);
|
decltype.cpp | 21 A(decltype(nullptr) param);
|
cxx11-ast-print.cpp | 4 // CHECK: decltype(nullptr) operator "" _foo(const char *p, decltype(sizeof(int))); 5 auto operator"" _foo(const char *p, decltype(sizeof(int))) -> decltype(nullptr); variable
|
cxx0x-initializer-constructor.cpp | 30 initializer_list() : __begin_(nullptr), __size_(0) {} 180 H h2({1, nullptr}); 181 (void) new H({1, nullptr}); 182 (void) H({1, nullptr}); 191 H h1{1, nullptr}; 192 H h2 = {1, nullptr}; 280 c->foo({ nullptr, 1 }); // expected-error{{initialization of incomplete type 'const PR12498::ArrayRef'}}
|
/external/clang/test/SemaObjCXX/ |
nullptr.mm | 7 (void)(a == nullptr); 8 (void)(nullptr == a); 12 a = nullptr; 15 int PR10145a = (void(^)())0 == nullptr; 16 int PR10145b = nullptr == (void(^)())0;
|
/external/clang/test/CodeGenCXX/ |
mangle-nullptr-arg.cpp | 6 void test1(IP<nullptr>) {} 12 void test2(PM<nullptr>) { }
|
nullptr.cpp | 6 int* a = nullptr; 9 int* a = nullptr; 12 typedef decltype(nullptr) nullptr_t;
|
debug-info-nullptr.cpp | 4 decltype(nullptr) t = 0;
|
reinterpret-cast.cpp | 7 return reinterpret_cast<unsigned long>(nullptr);
|
cxx0x-initializer-stdinitializerlist-pr12086.cpp | 27 initializer_list() : __begin_(nullptr), __size_(0) {}
|
cxx0x-initializer-stdinitializerlist-startend.cpp | 27 initializer_list() : __begin_(nullptr), __end_(nullptr) {}
|
/external/clang/test/Analysis/ |
nullptr.cpp | 3 // test to see if nullptr is detected as a null pointer 5 char *np = nullptr; 9 // check if comparing nullptr to nullptr is detected properly 11 char *np1 = nullptr; 19 // invoving a nullptr in a more complex operation should be cause a warning 24 char *np = nullptr; 25 // casting a nullptr to anything should be caught eventually 32 // nullptr is implemented as a zero integer value, so should be able to compare 34 char *np = nullptr; [all...] |
/external/clang/test/SemaTemplate/ |
instantiate-expr-basic.cpp | 12 nullptr; // CXXNullPtrLiteralExpr
|
/external/clang/test/CXX/temp/temp.arg/temp.arg.nontype/ |
p1-11.cpp | 4 typedef decltype(nullptr) nullptr_t; 11 constexpr std::nullptr_t get_nullptr() { return nullptr; } 13 constexpr std::nullptr_t np = nullptr; 19 IP<nullptr> ip2; 34 PM<nullptr> pm2; 45 PMF<nullptr> pmf2; 55 NP<nullptr> np1;
|
/external/webkit/Source/JavaScriptCore/wtf/ |
CMakeListsWinCE.txt | 9 NullPtr.cpp
|
NullPtr.cpp | 27 #include "NullPtr.h" 31 #if !HAVE(NULLPTR) 33 std::nullptr_t nullptr; variable
|
NullPtr.h | 31 // nullptr_t type and nullptr object. They are defined in the same namespaces they 48 extern std::nullptr_t nullptr;
|
/external/clang/test/Lexer/ |
cxx0x_keyword_as_cxx98.cpp | 9 typedef nullptr_t nullptr; // expected-warning {{'nullptr' is a keyword in C++11}} typedef in namespace:lib 34 int nullptr; // already diagnosed in this TU variable
|
/external/clang/test/Preprocessor/ |
cxx_oper_keyword_ms_compat.cpp | 58 #define nullptr macro 143 nullptr
|
/external/clang/test/FixIt/ |
fixit-vexing-parse-cxx0x.cpp | 13 // CHECK: fix-it:"{{.*}}":{14:8-14:10}:" = nullptr"
|
/external/clang/test/PCH/ |
cxx_exprs.cpp | 35 cxx_null_ptr_result null_ptr = nullptr;
|
cxx_exprs.h | 30 typedef __typeof__(nullptr) cxx_null_ptr_result;
|