llvm-project/clang/lib
Reid Kleckner c542d37995 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
2014-06-27 17:02:02 +00:00
..
ARCMigrate Replace llvm::error_code with std::error_code. 2014-06-12 14:02:15 +00:00
AST [OPENMP] Parsing and sema analysis for 'copyprivate' clause. 2014-06-27 10:37:06 +00:00
ASTMatchers Add hasLocalStorage/hasGlobalStorage matchers. 2014-06-05 18:22:14 +00:00
Analysis Fix a crash in Retain Count checker error reporting 2014-06-13 23:47:38 +00:00
Basic [OPENMP] Parsing and sema analysis for 'copyprivate' clause. 2014-06-27 10:37:06 +00:00
CodeGen CodeGen: Fix a typo in getThreadLocalWrapperLinkage 2014-06-27 16:56:27 +00:00
Driver clang-cl: Map /EHs- to -fno-exceptions 2014-06-27 17:02:02 +00:00
Edit [C++11] Use 'nullptr'. 2014-05-09 08:15:10 +00:00
Format clang-format: Understand that breaking before lambdas is fine. 2014-06-24 09:15:49 +00:00
Frontend Implement predefined stdint macros 2014-06-25 01:31:33 +00:00
FrontendTool [C++11] Use 'nullptr'. 2014-05-26 06:21:51 +00:00
Headers Headers: be a bit more careful about inline asm 2014-06-25 16:48:40 +00:00
Index Avoid dubious IdentifierInfo::getNameStart() uses 2014-06-07 23:30:53 +00:00
Lex Convert StringLiteralParser constructor to use ArrayRef instead of a pointer and count. 2014-06-26 04:58:39 +00:00
Parse [OPENMP] Parsing and sema analysis for 'copyprivate' clause. 2014-06-27 10:37:06 +00:00
Rewrite Replace llvm::error_code with std::error_code. 2014-06-12 14:02:15 +00:00
Sema [OPENMP] Parsing and sema analysis for 'copyprivate' clause. 2014-06-27 10:37:06 +00:00
Serialization [OPENMP] Parsing and sema analysis for 'copyprivate' clause. 2014-06-27 10:37:06 +00:00
StaticAnalyzer Do not inline methods of C++ containers (coming from headers). 2014-06-27 01:03:05 +00:00
Tooling Include system_error directly. 2014-06-12 17:19:42 +00:00
CMakeLists.txt Fix dependencies now that the ARC migrator depends on the static analyzer. 2013-08-22 15:50:02 +00:00
Makefile Fix dependencies now that the ARC migrator depends on the static analyzer. 2013-08-22 15:50:02 +00:00