summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGExprConstant.cpp
diff options
context:
space:
mode:
authorHans Wennborg <hans@hanshq.net>2013-09-18 22:26:39 +0000
committerHans Wennborg <hans@hanshq.net>2013-09-18 22:26:39 +0000
commit76da17821632cf7d8f1b8faf4e011c2fd384a9e9 (patch)
tree9e0b2f4de46e892c9a7f577a02a4df7fd3c46453 /lib/CodeGen/CGExprConstant.cpp
parent1fe5ccfaebef277418b0ae44c52d7acf8dea0b0a (diff)
downloadclang-76da17821632cf7d8f1b8faf4e011c2fd384a9e9.tar.gz
clang-76da17821632cf7d8f1b8faf4e011c2fd384a9e9.tar.bz2
clang-76da17821632cf7d8f1b8faf4e011c2fd384a9e9.tar.xz
clang-cl: Don't warn about overriding /MD with /MT, /Fo with another /Fo, etc.
I put in the warnings because MSVC has them, but I don't think they're very useful. Clang does not warn about overriding flags in general, e.g. it's perfectly fine to have -fomit-frame-pointer followed by -fno-omit-frame-pointer. We should focus on warning where things get confusing, such as with the /TP and /TC options. In "clang-cl /TC a.c /TP b.cc", the user might not realize that the /TP flag will apply to both files, and we warn about that. Differential Revision: http://llvm-reviews.chandlerc.com/D1718 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@190964 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprConstant.cpp')
0 files changed, 0 insertions, 0 deletions