[all-commits] [llvm/llvm-project] 1c5090: Revert "Pedantically warn about // comments in gnu...
Aaron Ballman via All-commits
all-commits at lists.llvm.org
Thu May 5 15:43:05 PDT 2022
Author: Aaron Ballman <aaron at aaronballman.com>
Date: 2022-05-05 (Thu, 05 May 2022)
Revert "Pedantically warn about // comments in gnu89 mode"
This reverts commit f6dff93641b2259623e686eb13a1884b8b9f4a00.
This diagnostic is also in the -Wcomment group, which is in the -Wall
group, so the diagnostic is enabled in a wider context than GCC does.
That turns out to be disruptive for the Linux kernel builds still using
-std=gnu89 because the kernel requires C source files to start with //
More information about the All-commits