aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/SourceManager.cpp
diff options
context:
space:
mode:
authorReid Kleckner <reid@kleckner.net>2014-06-27 17:02:02 +0000
committerReid Kleckner <reid@kleckner.net>2014-06-27 17:02:02 +0000
commitc542d379958d1e44744aa9474f79c6732264121d (patch)
tree4c36fa226ce237afbb60828ae990a548b435f382 /clang/lib/Basic/SourceManager.cpp
parent4632e1eec1f2e5225a8ba37fe05d57e74c4a8001 (diff)
downloadllvm-c542d379958d1e44744aa9474f79c6732264121d.zip
llvm-c542d379958d1e44744aa9474f79c6732264121d.tar.gz
llvm-c542d379958d1e44744aa9474f79c6732264121d.tar.bz2
clang-cl: Map /EHs- to -fno-exceptions
This isn't 100% compatible with MSVC, but it's close enough. MSVC's /EH flag doesn't really control exceptions so much as how to clean up after an exception is thrown. The upshot is that cl.exe /EHs- will compile try, throw, and catch statements with a warning, but clang-cl will reject such constructs with a hard error. We can't compile such EH constructs anyway, but this may matter to consumers of the AST. Reviewers: hans Differential Revision: http://reviews.llvm.org/D4317 llvm-svn: 211909
Diffstat (limited to 'clang/lib/Basic/SourceManager.cpp')
0 files changed, 0 insertions, 0 deletions