summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaFixItUtils.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
commit9cb7d9ba94769d77b077b813536d35f27a9918f1 (patch)
tree5926745e39981c2985515bf9361b43798a7c2b3a /clang/lib/Sema/SemaFixItUtils.cpp
parent0db88a7d7e96cc75c53ea04878b003453cfc9023 (diff)
downloadbcm5719-llvm-9cb7d9ba94769d77b077b813536d35f27a9918f1.tar.gz
bcm5719-llvm-9cb7d9ba94769d77b077b813536d35f27a9918f1.zip
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 llvm-svn: 190964
Diffstat (limited to 'clang/lib/Sema/SemaFixItUtils.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud