aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorArtem Dergachev <adergachev@apple.com>2023-03-28 14:20:33 -0700
committerArtem Dergachev <adergachev@apple.com>2023-03-28 14:34:28 -0700
commit9f15f1f0f3f58da8600c78c60032299f5ee4d6c5 (patch)
treec84c0594ef0648e554d6fcf12db086a42da89815 /clang/lib/CodeGen/CodeGenModule.cpp
parent90b4d1bcb20180c591385131b12fa90d2e4860b1 (diff)
downloadllvm-9f15f1f0f3f58da8600c78c60032299f5ee4d6c5.zip
llvm-9f15f1f0f3f58da8600c78c60032299f5ee4d6c5.tar.gz
llvm-9f15f1f0f3f58da8600c78c60032299f5ee4d6c5.tar.bz2
[analyzer] Teach scan-build how to pass -analyzer-config to xcodebuild.
The scan-build tool assists various build systems with applying the Clang static analyzer alongside compilation. It offers explicit integration with Xcode's native build system aka `xcodebuild`; in this case it doesn't substitute the compiler, but instead kindly asks xcodebuild to enable the static analyzer, something that it already knows how to do. Make sure scan-build's `-analyzer-config` flag (which translates to a similar `clang -cc1 -analyzer-config` flag) is properly translated to Xcode build system. This unbreaks a few related features such as checker silencing. No LIT tests because they'd require an Xcode installation on your system.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions