aboutsummaryrefslogtreecommitdiff
path: root/clang-tools-extra/clang-tidy/linuxkernel/LinuxKernelTidyModule.cpp
diff options
context:
space:
mode:
authormacurtis-amd <macurtis@amd.com>2025-06-10 11:54:50 -0500
committerGitHub <noreply@github.com>2025-06-10 11:54:50 -0500
commit2ddf0caaed192495cac99e703cef2fe50191cf49 (patch)
tree933e5de00f72883f506eda87e436bc72164851e9 /clang-tools-extra/clang-tidy/linuxkernel/LinuxKernelTidyModule.cpp
parent88f041f3e05e26617856cc096d2e2864dfaa1c7b (diff)
downloadllvm-2ddf0caaed192495cac99e703cef2fe50191cf49.zip
llvm-2ddf0caaed192495cac99e703cef2fe50191cf49.tar.gz
llvm-2ddf0caaed192495cac99e703cef2fe50191cf49.tar.bz2
[clang][driver] Suppress gnu-line-marker when saving temps (#134621)
When passing `-save-temps` to clang, the generated preprocessed output uses gnu line markers. This unexpectedly triggers gnu-line-marker warnings when used with `-Weverything` or `-pedantic`. Even worse, compilation fails if `-Werror` is used. This change suppresses gnu-line-marker warnings when invoking clang with input from a preprocessor job and the user has not otherwise explictly specified `-Wgnu-line-marker` somewhere on the command line. Note that this does apply to user provided preprocessed files. fixes #63802
Diffstat (limited to 'clang-tools-extra/clang-tidy/linuxkernel/LinuxKernelTidyModule.cpp')
0 files changed, 0 insertions, 0 deletions