Home
last modified time | relevance | path

Searched refs:nullptr (Results 1 – 25 of 79) sorted by relevance

1234

/external/clang/test/SemaCXX/
Dnullptr_in_arithmetic_ops.cpp7 a = 0 ? nullptr + a : a + nullptr; // expected-error 2{{invalid operands to binary expression}} in foo()
8 a = 0 ? nullptr - a : a - nullptr; // expected-error 2{{invalid operands to binary expression}} in foo()
9 a = 0 ? nullptr / a : a / nullptr; // expected-error 2{{invalid operands to binary expression}} in foo()
10 a = 0 ? nullptr * a : a * nullptr; // expected-error 2{{invalid operands to binary expression}} in foo()
11 a = 0 ? nullptr >> a : a >> nullptr; // expected-error 2{{invalid operands to binary expression}} in foo()
12 a = 0 ? nullptr << a : a << nullptr; // expected-error 2{{invalid operands to binary expression}} in foo()
13 a = 0 ? nullptr % a : a % nullptr; // expected-error 2{{invalid operands to binary expression}} in foo()
14 a = 0 ? nullptr & a : a & nullptr; // expected-error 2{{invalid operands to binary expression}} in foo()
15 a = 0 ? nullptr | a : a | nullptr; // expected-error 2{{invalid operands to binary expression}} in foo()
16 a = 0 ? nullptr ^ a : a ^ nullptr; // expected-error 2{{invalid operands to binary expression}} in foo()
[all …]
Dnullptr.cpp4 typedef decltype(nullptr) nullptr_t;
16 null = nullptr; in f()
17 void *p = nullptr; in f()
19 int *pi = nullptr; in f()
22 int A::*pm = nullptr; in f()
24 void (*pf)() = nullptr; in f()
26 void (A::*pmf)() = nullptr; in f()
28 bool b = nullptr; in f()
31 uintptr_t i = nullptr; // expected-error {{cannot initialize}} in f()
34 (void)(null == nullptr); in f()
[all …]
Dcxx0x-initializer-constructor.cpp30 initializer_list() : __begin_(nullptr), __size_(0) {} in initializer_list()
180 H h2({1, nullptr}); in edge_cases()
181 (void) new H({1, nullptr}); in edge_cases()
182 (void) H({1, nullptr}); in edge_cases()
191 H h1{1, nullptr};
192 H h2 = {1, nullptr};
280 …c->foo({ nullptr, 1 }); // expected-error{{initialization of incomplete type 'const PR12498::Array… in bar()
Ddecltype-pr4448.cpp8 Convoluted< int *, test_array, nullptr > tarray;
Dformat-strings-0x.cpp13 printf(nullptr); in f()
/external/clang/test/CXX/temp/temp.arg/temp.arg.nontype/
Dp1-11.cpp4 typedef decltype(nullptr) nullptr_t;
11 constexpr std::nullptr_t get_nullptr() { return nullptr; } in get_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/clang/test/SemaObjCXX/
Dnullptr.mm7 (void)(a == nullptr);
8 (void)(nullptr == a);
12 a = nullptr;
15 int PR10145a = (void(^)())0 == nullptr;
16 int PR10145b = nullptr == (void(^)())0; function
/external/clang/test/Analysis/
Dnullptr.cpp5 char *np = nullptr; in foo1()
11 char *np1 = nullptr; in foo2()
24 char *np = nullptr; in foo3()
34 char *np = nullptr; in foo4()
/external/clang/test/CodeGenCXX/
Dnullptr.cpp6 int* a = nullptr;
9 int* a = nullptr; in f()
12 typedef decltype(nullptr) nullptr_t;
Dmangle-nullptr-arg.cpp6 void test1(IP<nullptr>) {} in test1() argument
12 void test2(PM<nullptr>) { } in test2() argument
Dcxx0x-initializer-stdinitializerlist-startend.cpp27 initializer_list() : __begin_(nullptr), __end_(nullptr) {} in initializer_list()
Ddebug-info-nullptr.cpp4 decltype(nullptr) t = 0; in foo()
Dreinterpret-cast.cpp7 return reinterpret_cast<unsigned long>(nullptr); in f2()
/external/clang/test/Preprocessor/
Dcxx_oper_keyword_ms_compat.cpp58 #define nullptr macro
143 nullptr
/external/clang/test/Lexer/
Dcxx0x_keyword_as_cxx98.cpp9 typedef nullptr_t nullptr; // expected-warning {{'nullptr' is a keyword in C++11}}
34 int nullptr; // already diagnosed in this TU
/external/webkit/Source/WebKit2/UIProcess/
DDrawingAreaProxyImpl.cpp208 m_backingStore = nullptr; in didUpdateBackingStoreState()
318 m_backingStore = nullptr; in enterAcceleratedCompositingMode()
346 m_backingStore = nullptr; in discardBackingStore()
/external/webkit/Source/WebKit2/WebProcess/Plugins/
DPluginProcessConnection.cpp90 m_npRemoteObjectMap = nullptr; in removePluginProxy()
95 m_connection = nullptr; in removePluginProxy()
/external/webkit/Source/JavaScriptCore/wtf/
DNullPtr.cpp33 std::nullptr_t nullptr;
DNullPtr.h48 extern std::nullptr_t nullptr;
DDateMath.h164 timeZone = nullptr; in GregorianDateTime()
210 timeZone = nullptr; in copyFrom()
/external/clang/test/SemaTemplate/
Dinstantiate-expr-basic.cpp12 nullptr; // CXXNullPtrLiteralExpr in f()
/external/clang/test/CXX/expr/expr.const/
Dp2-0x.cpp121 constexpr S *operator&() { return nullptr; } in operator &()
198 constexpr A *na = nullptr;
199 constexpr B *nb = nullptr;
205 …constexpr const int &np = (*(int(*)[4])nullptr)[2]; // expected-error {{constant expression}} expe…
211 …constexpr int k2 = ((C*)nullptr)->f(); // expected-error {{constant expression}} expected-note {{c…
/external/webkit/Source/WebKit2/WebProcess/WebPage/ca/
DLayerTreeHostCA.cpp110 m_rootLayer = nullptr; in invalidate()
250 m_pageOverlayLayer = nullptr; in destroyPageOverlayLayer()
/external/webkit/Source/WebKit2/PluginProcess/
DWebProcessConnection.cpp90 m_npRemoteObjectMap = nullptr; in removePluginControllerProxy()
94 m_connection = nullptr; in removePluginControllerProxy()
/external/clang/test/PCH/
Dcxx_exprs.cpp35 cxx_null_ptr_result null_ptr = nullptr;

1234