https://github.com/PiotrZSL commented:
1. Wrong category, maybe better would be 'portability' 2. To short check name, maybe better would be portability-undefined-bool-literal or something similar. 3. What about 'false' ? 4. This issue is detected by -Wundef compiler warning in both clang and gcc. Consider: 1. Not adding check if -Wundef is sufficient 2. Create check that forbids usage of true/false in processor as an non-portable thing (could be in portability category) 3. Extracting 'true' case from -Wundef into separate warning like -Wundef-true https://github.com/llvm/llvm-project/pull/128265 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits