Home
last modified time | relevance | path

Searched refs:assert2 (Results 1 – 4 of 4) sorted by relevance

/llvm-project-15.0.7/clang/test/Sema/
H A Dwarn-string-conversion.c12 #define assert2(expr) \ macro
22 assert2(0 && "foo"); in test1()
23 assert2("foo" && 0); in test1()
24 assert2(0 || "foo"); // expected-warning {{string literal}} in test1()
25 assert2("foo"); // expected-warning {{string literal}} in test1()
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/modernize/
H A Duse-nullptr.cpp187 #define assert2 assert1 in test_macro_args() macro
189 assert2(p == 0); in test_macro_args()
192 assert2(p == NULL); in test_macro_args()
195 #undef assert2 in test_macro_args()
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/bugprone/
H A Dassert-side-effect.cpp15 #define assert2(e) (__builtin_expect(!(e), 0) ? \ macro
124 assert2(1 == 2 - 1); in main()
/llvm-project-15.0.7/clang/test/SemaCXX/
H A Dmember-pointer-size.cpp14 typedef int assert2[sizeof(memberFunction) == sizeof(ptrdiff_t) * 2 ? 1 : -1]; in f() typedef