[clang] [clang][Diagnostic] Don't warn about binary literals when using C23. (PR #80244)

2024-02-24 Thread Collin Funk via cfe-commits
collinfunk wrote: > Thank you for this PR. This change should have some tests to verify the > behavior is correct. I am a little surprised that this does not change any > existing tests but maybe we don't have good test coverage. Hi, thanks for the review. Sorry for the lack of tests. I'm not

[clang] [scan-build] Use python3 instead of python in scripts. (PR #80977)

2024-02-07 Thread Collin Funk via cfe-commits
https://github.com/collinfunk created https://github.com/llvm/llvm-project/pull/80977 This was done in some other python files in the following commit: 4c1e487c413810655757ea19d0cf3d4f5c40898e Without this change these scripts do not run on Debian or Ubuntu systems. See the referenced patch fo

[clang] [clang][Diagnostic] Don't warn about binary literals when using C23. (PR #80244)

2024-01-31 Thread Collin Funk via cfe-commits
https://github.com/collinfunk created https://github.com/llvm/llvm-project/pull/80244 The C23 standard brought binary literals which were previously GNU extensions. Silence warnings from -Wgnu-binary-literal when using C23. This warning is implied by -Wpedantic. >From ef443507e06adcbc604ad8e0