diff options
| author | Jordan Rose <jordan_rose@apple.com> | 2013-07-11 23:56:12 +0000 |
|---|---|---|
| committer | Jordan Rose <jordan_rose@apple.com> | 2013-07-11 23:56:12 +0000 |
| commit | 4aaedf03f5828c6fec07b28e723871ec7ef3ff5a (patch) | |
| tree | 35e619d651f6d9e1ed4d93a49a001c0d968c9e3f /lib/CodeGen/ModuleBuilder.cpp | |
| parent | fcb5a251e9c0c8c2d54323677d4f2ba5219301d0 (diff) | |
| download | clang-4aaedf03f5828c6fec07b28e723871ec7ef3ff5a.tar.gz clang-4aaedf03f5828c6fec07b28e723871ec7ef3ff5a.tar.bz2 clang-4aaedf03f5828c6fec07b28e723871ec7ef3ff5a.tar.xz | |
[scan-build] Pass through all -f and -O flags, along with -Wwrite-strings.
These flags control language options and user-visible macros, so it's
important to preserve them when analyzing. Rather than try to keep up
with all the -f flags, we'll pass them all through and then ban the ones
we don't want (like -fsyntax-only).
-Wwrite-strings is really an f-flag in disguise: it implies -fconst-strings.
Patch by Keaton Mowry, modified by me.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@186138 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/ModuleBuilder.cpp')
0 files changed, 0 insertions, 0 deletions
