| /llvm-project-15.0.7/clang/test/SemaCXX/ |
| H A D | __null.cpp | 5 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 D | warn-zero-nullptr.cpp | 20 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 D | attr-sentinel.cpp | 6 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 D | new-delete.cpp | 561 scoped_array(C* p = __null); 571 scoped_array2(C* p = __null, C* q = __null);
|
| H A D | vararg-default-arg.cpp | 6 void f2(const char * = __null, ...);
|
| H A D | new-null.cpp | 12 return __null; in operator new[]()
|
| H A D | constructor-initializer.cpp | 252 : 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 D | warn-loop-analysis.cpp | 74 …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 D | format-strings.cpp | 69 test_null_format(__null); // no-warning in rdar8269537()
|
| /llvm-project-15.0.7/clang/test/CodeGenCXX/ |
| H A D | __null.cpp | 3 int* a = __null; 4 int b = __null; 7 int* c = __null; in f() 8 int d = __null; in f()
|
| H A D | 2010-07-23-DeclLoc.cpp | 64 …_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 D | cxx0x-delegating-ctors.cpp | 98 Foo::Foo() : Foo(__null) { other(); } in Foo()
|
| /llvm-project-15.0.7/clang/test/Headers/ |
| H A D | ms-null-ms-header-vs-stddef.cpp | 6 #define __null macro 13 void f(__null void* p) { } in f()
|
| /llvm-project-15.0.7/clang/test/Misc/ |
| H A D | diagnostic-crash.cpp | 36 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 D | static-assert.cpp | 110 #define NULL __null in main() 111 assert(__null == "Don't report me!"); in main()
|
| /llvm-project-15.0.7/clang/test/Analysis/ |
| H A D | nullptr.cpp | 48 x = __null; in pr10372() 50 return __null; in pr10372()
|
| H A D | null-deref-path-notes.cpp | 21 a.d == __null; // expected-note{{Assuming the condition is true}} in f()
|
| /llvm-project-15.0.7/clang/test/SemaTemplate/ |
| H A D | instantiate-expr-basic.cpp | 13 __null; // GNUNullExpr in f()
|
| /llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/bugprone/ |
| H A D | terminating-continue.cpp | 26 } while(__null); in f()
|
| /llvm-project-15.0.7/clang/test/Index/ |
| H A D | complete-exprs.c | 17 #define NULL __null
|
| /llvm-project-15.0.7/clang/test/Parser/ |
| H A D | expressions.cpp | 34 …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 D | null_objc_pointer.mm | 2 #define NULL __null
|
| /llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/readability/ |
| H A D | redundant-smartptr-get-msvc.cpp | 3 #define NULL __null
|
| /llvm-project-15.0.7/lldb/source/Plugins/ExpressionParser/Clang/ |
| H A D | ClangExpressionSourceCode.cpp | 47 #define NULL (__null) 50 #define Nil (__null) 53 #define nil (__null)
|
| /llvm-project-15.0.7/clang/lib/Headers/ |
| H A D | stddef.h | 84 # define NULL __null
|