llvm-project/clang/lib/Sema
Reid Kleckner 39aa8954a4 Move EH spec mismatches under -fms-compatibility
-fms-extensions is intended to enable conforming language extensions and
-fms-compatibility is intended to language rule relaxations, so a user
could plausibly compile with -fno-ms-compatibility on Windows while
still using dllexport, for example.  This exception specification
validation behavior has been handled as a warning since before
-fms-compatibility was added in 2011. I think it's just an oversight
that it hasn't been moved yet.

This will help users find conformance issues in their code such as those
found in _com_ptr_t as described in https://llvm.org/PR42842.

Reviewers: hans

Subscribers: STL_MSFT, cfe-commits

Differential Revision: https://reviews.llvm.org/D66770

llvm-svn: 370087
2019-08-27 17:52:03 +00:00
..
AnalysisBasedWarnings.cpp [Attr] Support _attribute__ ((fallthrough)) 2019-08-20 17:16:49 +00:00
CMakeLists.txt Recommit [OpenCL] Move OpenCLBuiltins.td and remove unused include 2019-06-17 10:06:34 +00:00
CodeCompleteConsumer.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
CoroutineStmtBuilder.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
DeclSpec.cpp [OpenCL] Update comments/diagnostics to refer to C++ for OpenCL 2019-07-18 10:02:35 +00:00
DelayedDiagnostic.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
IdentifierResolver.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
JumpDiagnostics.cpp Re-check in clang support gun asm goto after fixing tests. 2019-06-03 15:57:25 +00:00
MultiplexExternalSemaSource.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
OpenCLBuiltins.td [OpenCL] Add const, volatile and pointer builtin handling 2019-08-20 12:21:03 +00:00
ParsedAttr.cpp Allow standards-based attributes to have leading and trailing underscores. 2019-08-15 18:35:44 +00:00
Scope.cpp Un-revert "[coroutines][PR40978] Emit error for co_yield within catch block" 2019-03-25 00:53:10 +00:00
ScopeInfo.cpp PR42104: Support instantiations of lambdas that implicitly capture 2019-06-04 17:17:20 +00:00
Sema.cpp PR42587: diagnose unexpanded uses of a pack parameter of a generic 2019-08-26 22:51:28 +00:00
SemaAccess.cpp Range-style std::find{,_if} -> llvm::find{,_if}. NFC 2019-03-31 08:48:19 +00:00
SemaAttr.cpp Revert "[LifetimeAnalysis] Support more STL idioms (template forward declaration and DependentNameType)" 2019-08-22 17:48:11 +00:00
SemaCUDA.cpp Split ActOnCallExpr into an ActOnCallExpr to be called by the parser, 2019-05-08 01:36:36 +00:00
SemaCXXScopeSpec.cpp [Clang] Migrate llvm::make_unique to std::make_unique 2019-08-14 23:04:18 +00:00
SemaCast.cpp [Sema] Check __builtin_bit_cast operand for completeness before materializing it. 2019-08-12 19:29:43 +00:00
SemaChecking.cpp [Sema] Don't warn on printf('%hd', [char]) (PR41467) 2019-08-23 18:01:57 +00:00
SemaCodeComplete.cpp [CodeComplete] Fix ASTUnit cached completion of macros from preamble, broken in r342528 2019-07-18 07:17:49 +00:00
SemaConsumer.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
SemaCoroutine.cpp Allow copy/move assignment operator to be coroutine as per N4775 2019-06-19 14:12:19 +00:00
SemaDecl.cpp PR42587: diagnose unexpanded uses of a pack parameter of a generic 2019-08-26 22:51:28 +00:00
SemaDeclAttr.cpp Revert "[LifetimeAnalysis] Support more STL idioms (template forward declaration and DependentNameType)" 2019-08-22 17:48:11 +00:00
SemaDeclCXX.cpp PR40674: fix assertion failure if a structured binding declaration has a 2019-08-24 01:23:57 +00:00
SemaDeclObjC.cpp [Clang] Migrate llvm::make_unique to std::make_unique 2019-08-14 23:04:18 +00:00
SemaExceptionSpec.cpp Move EH spec mismatches under -fms-compatibility 2019-08-27 17:52:03 +00:00
SemaExpr.cpp Improve behavior in the case of stack exhaustion. 2019-08-26 18:18:07 +00:00
SemaExprCXX.cpp [Sema][Typo] Fix assertion failure for expressions with multiple typos 2019-08-20 19:03:15 +00:00
SemaExprMember.cpp [Clang] Migrate llvm::make_unique to std::make_unique 2019-08-14 23:04:18 +00:00
SemaExprObjC.cpp [Clang] Migrate llvm::make_unique to std::make_unique 2019-08-14 23:04:18 +00:00
SemaFixItUtils.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
SemaInit.cpp Improve behavior in the case of stack exhaustion. 2019-08-26 18:18:07 +00:00
SemaLambda.cpp PR42587: diagnose unexpanded uses of a pack parameter of a generic 2019-08-26 22:51:28 +00:00
SemaLookup.cpp Improve behavior in the case of stack exhaustion. 2019-08-26 18:18:07 +00:00
SemaModule.cpp Fix parameter name comments using clang-tidy. NFC. 2019-07-16 04:46:31 +00:00
SemaObjCProperty.cpp clang: Fix typo in comment 2019-08-21 15:52:44 +00:00
SemaOpenMP.cpp [OPENMP5.0]Add support for device_type clause in declare target 2019-08-23 16:11:14 +00:00
SemaOverload.cpp clang: Fix typo in comment 2019-08-21 15:49:21 +00:00
SemaPseudoObject.cpp Split ActOnCallExpr into an ActOnCallExpr to be called by the parser, 2019-05-08 01:36:36 +00:00
SemaStmt.cpp [OpenMP] Permit map with DSA on combined directive 2019-08-22 03:34:30 +00:00
SemaStmtAsm.cpp Delay diagnosing asm constraints that require immediates until after inlining 2019-08-06 22:41:22 +00:00
SemaStmtAttr.cpp [Clang] New loop pragma vectorize_predicate 2019-07-25 07:33:13 +00:00
SemaTemplate.cpp PR42587: diagnose unexpanded uses of a pack parameter of a generic 2019-08-26 22:51:28 +00:00
SemaTemplateDeduction.cpp Improve behavior in the case of stack exhaustion. 2019-08-26 18:18:07 +00:00
SemaTemplateInstantiate.cpp Improve behavior in the case of stack exhaustion. 2019-08-26 18:18:07 +00:00
SemaTemplateInstantiateDecl.cpp Improve behavior in the case of stack exhaustion. 2019-08-26 18:18:07 +00:00
SemaTemplateVariadic.cpp PR42587: diagnose unexpanded uses of a pack parameter of a generic 2019-08-26 22:51:28 +00:00
SemaType.cpp Improve behavior in the case of stack exhaustion. 2019-08-26 18:18:07 +00:00
TreeTransform.h Don't lose the FoundDecl and template arguments for a DeclRefExpr in 2019-08-27 01:06:21 +00:00
TypeLocBuilder.cpp [NFC] avoid AlignedCharArray in clang 2019-07-29 23:12:48 +00:00
TypeLocBuilder.h [NFC] avoid AlignedCharArray in clang 2019-07-29 23:12:48 +00:00