Home
last modified time | relevance | path

Searched refs:__null (Results 1 – 25 of 36) sorted by relevance

12

/llvm-project-15.0.7/clang/test/SemaCXX/
H A D__null.cpp5 int* i = __null; in f()
6 i = __null; in f()
7 int i2 = __null; in f()
10 int a[sizeof(typeof(__null)) == sizeof(void*)? 1 : -1]; in f()
13 int b[__null ? -1 : 1]; in f()
19 …(void)(0 ? __null : A()); // expected-error {{non-pointer operand type 'A' incompatible with NULL}} in g()
20 (void)(0 ? A(): __null); // expected-error {{non-pointer operand type 'A' incompatible with NULL}} in g()
H A Dwarn-zero-nullptr.cpp20 void* p2 = __null; // expected-warning{{zero as null pointer constant}}
21 void (*fp2)() = __null; // expected-warning{{zero as null pointer constant}}
22 int (S::*mp2) = __null; // expected-warning{{zero as null pointer constant}}
H A Dattr-sentinel.cpp6 f(1, 2, __null); in g()
20 S* s2 = new (1,2,3) S(1, __null); // expected-warning {{missing sentinel in function call}} in class_test()
H A Dnew-delete.cpp561 scoped_array(C* p = __null);
571 scoped_array2(C* p = __null, C* q = __null);
H A Dvararg-default-arg.cpp6 void f2(const char * = __null, ...);
H A Dnew-null.cpp12 return __null; in operator new[]()
H A Dconstructor-initializer.cpp252 : A(e), m_String(s) , m_ErrorStr(__null) {} // expected-error {{no matching constructor}} \ in B()
256 : A(e), m_String(e.m_String), m_ErrorStr(__null) { // expected-error 2{{does not name}} \ in B()
H A Dwarn-loop-analysis.cpp74 …for (; ptr == __null; ) {} // expected-warning {{variable 'ptr' used in loop condition not modifie… in test2()
75 for (; ptr == __null; ) { ptr = &i; } in test2()
H A Dformat-strings.cpp69 test_null_format(__null); // no-warning in rdar8269537()
/llvm-project-15.0.7/clang/test/CodeGenCXX/
H A D__null.cpp3 int* a = __null;
4 int b = __null;
7 int* c = __null; in f()
8 int d = __null; in f()
H A D2010-07-23-DeclLoc.cpp64 …_TEXT_text_section(0, 0, __null), _dsym_path(__null), _dylib_current_version(0), _dylib_compatibil… in TRawSymbolOwnerData()
80 …f_data_from_header(*header, *data, (TAddressRelocator<typename SIZE_AND_ENDIANNESS::SIZE>*)__null); in create_symbol_owner_data_arch_specific()
H A Dcxx0x-delegating-ctors.cpp98 Foo::Foo() : Foo(__null) { other(); } in Foo()
/llvm-project-15.0.7/clang/test/Headers/
H A Dms-null-ms-header-vs-stddef.cpp6 #define __null macro
13 void f(__null void* p) { } in f()
/llvm-project-15.0.7/clang/test/Misc/
H A Ddiagnostic-crash.cpp36 wstring* s = __null; in Foo()
37 util::Status* status = __null; in Foo()
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/misc/
H A Dstatic-assert.cpp110 #define NULL __null in main()
111 assert(__null == "Don't report me!"); in main()
/llvm-project-15.0.7/clang/test/Analysis/
H A Dnullptr.cpp48 x = __null; in pr10372()
50 return __null; in pr10372()
H A Dnull-deref-path-notes.cpp21 a.d == __null; // expected-note{{Assuming the condition is true}} in f()
/llvm-project-15.0.7/clang/test/SemaTemplate/
H A Dinstantiate-expr-basic.cpp13 __null; // GNUNullExpr in f()
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/bugprone/
H A Dterminating-continue.cpp26 } while(__null); in f()
/llvm-project-15.0.7/clang/test/Index/
H A Dcomplete-exprs.c17 #define NULL __null
/llvm-project-15.0.7/clang/test/Parser/
H A Dexpressions.cpp34 …static_assert(__null["foo"] == 'f'); // FIXME: Warn about converting __null to integer in array su…
/llvm-project-15.0.7/clang/test/SemaObjCXX/
H A Dnull_objc_pointer.mm2 #define NULL __null
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/readability/
H A Dredundant-smartptr-get-msvc.cpp3 #define NULL __null
/llvm-project-15.0.7/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangExpressionSourceCode.cpp47 #define NULL (__null)
50 #define Nil (__null)
53 #define nil (__null)
/llvm-project-15.0.7/clang/lib/Headers/
H A Dstddef.h84 # define NULL __null

12