Home
last modified time | relevance | path

Searched refs:zero_on_null (Results 1 – 2 of 2) sorted by relevance

/llvm-project-15.0.7/clang/test/SemaCXX/
H A Dwarn-undefined-bool-conversion.cpp101 #define zero_on_null(x) ((x) ? *(x) : 0) macro
105 zero_on_null(&x); in test()
106 assert(zero_on_null(&x)); in test()
H A Dwarn-bool-conversion.cpp164 #define zero_on_null(x) ((x) ? *(x) : 0) macro
181 zero_on_null(&x); in test()
182 assert(zero_on_null(&x)); in test()