llvm-project/clang/lib/Sema
Richard Smith 9f7df0c068 Revert r301742, which caused us to try to evaluate all full-expressions.
Also add testcases for a bunch of expression forms that cause our evaluator to
crash. See PR33140 and PR32864 for crashes that this was causing.

This reverts r305287, which reverted r305239, which reverted r301742. The
previous revert claimed that buildbots were broken, but did not add any
testcases and the buildbots have lost all memory of what was wrong here.

Changes to test/OpenMP are not reverted; another change has triggered those
tests to change their output in the same way that r301742 did.

llvm-svn: 306346
2017-06-26 23:19:32 +00:00
..
AnalysisBasedWarnings.cpp Emit warning when throw exception in destruct or dealloc functions which has a 2017-06-23 20:22:19 +00:00
AttributeList.cpp Add #pragma clang attribute 2017-04-18 14:33:39 +00:00
CMakeLists.txt Enabling the /bigobj flag for SemaDeclAttr.cpp. 2017-05-12 14:30:49 +00:00
CodeCompleteConsumer.cpp Retire llvm::alignOf in favor of C++11 alignof. 2016-10-20 14:27:22 +00:00
CoroutineStmtBuilder.h [coroutines] Fix rebuilding of dependent coroutine parameters 2017-06-03 00:22:18 +00:00
DeclSpec.cpp Recommit r289979 [OpenCL] Allow disabling types and declarations associated with extensions 2016-12-18 05:18:55 +00:00
DelayedDiagnostic.cpp [Sema] Delay partial availability diagnostics, just like deprecated 2016-10-28 21:39:27 +00:00
IdentifierResolver.cpp [modules] Separately track whether an identifier's preprocessor information and 2016-02-05 19:03:40 +00:00
JumpDiagnostics.cpp [Sema][ObjC] Disallow jumping into ObjC fast enumeration loops. 2017-04-19 17:54:08 +00:00
MultiplexExternalSemaSource.cpp Modular Codegen: Support homing debug info for types in modular objects 2017-04-11 21:13:37 +00:00
Scope.cpp [Parser] Clear the TemplateParamScope bit of the current scope's flag 2016-04-29 02:24:14 +00:00
ScopeInfo.cpp [coroutines] Fix diagnostics depending on the first coroutine statement. 2017-03-11 02:35:37 +00:00
Sema.cpp Prevent devirtualization of calls to un-instantiated functions. 2017-06-20 22:08:44 +00:00
SemaAccess.cpp P0136R1, DR1573, DR1645, DR1715, DR1736, DR1903, DR1941, DR1959, DR1991: 2016-06-28 19:03:57 +00:00
SemaAttr.cpp Add support for #pragma clang section 2017-06-05 10:11:57 +00:00
SemaCUDA.cpp Function with unparsed body is a definition 2017-06-21 12:46:57 +00:00
SemaCXXScopeSpec.cpp Add support for editor placeholders to Clang 2017-04-19 08:58:56 +00:00
SemaCast.cpp Revert "[clang] Implement -Wcast-qual for C++" 2017-06-10 17:49:23 +00:00
SemaChecking.cpp Revert r301742, which caused us to try to evaluate all full-expressions. 2017-06-26 23:19:32 +00:00
SemaCodeComplete.cpp [Completion] Code complete the members for a dependent type after a '::' 2017-06-15 21:40:54 +00:00
SemaConsumer.cpp
SemaCoroutine.cpp [coroutines] Fix co_await for range statement 2017-06-14 03:24:55 +00:00
SemaDecl.cpp Check that the initializer of a non-dependent constexpr variable is constant even within templates. 2017-06-26 20:33:42 +00:00
SemaDeclAttr.cpp [Sema] Add -Wunguarded-availability-new 2017-06-22 17:02:24 +00:00
SemaDeclCXX.cpp [Sema] Fix a crash-on-invalid when a template parameter list has a class 2017-06-26 18:46:12 +00:00
SemaDeclObjC.cpp [Sema][ObjC] Don't emit availability diags for category @implementations 2017-05-31 15:45:57 +00:00
SemaExceptionSpec.cpp [coroutines] Add DependentCoawaitExpr and fix re-building CoroutineBodyStmt. 2017-03-06 23:38:15 +00:00
SemaExpr.cpp Prevent devirtualization of calls to un-instantiated functions. 2017-06-20 22:08:44 +00:00
SemaExprCXX.cpp PR33552: Distinguish between declarations that are owned by no module and 2017-06-23 01:04:34 +00:00
SemaExprMember.cpp [NFC, Scoped Enum] Convert Sema::ExpressionEvaluationContext into a scoped Enum 2017-04-01 21:30:49 +00:00
SemaExprObjC.cpp [Sema][ObjC] Clean up possible null dereference. 2017-05-09 01:54:51 +00:00
SemaFixItUtils.cpp Wire a SourceLocation into IsDerivedFrom and move the RequireCompleteType call 2015-12-18 21:45:41 +00:00
SemaInit.cpp Fix PR 10758: Infinite recursion when dealing with copy-initialization 2017-05-16 10:23:58 +00:00
SemaLambda.cpp Fix spurious Wunused-lambda-capture warning 2017-06-13 18:38:31 +00:00
SemaLookup.cpp PR33552: Distinguish between declarations that are owned by no module and 2017-06-23 01:04:34 +00:00
SemaObjCProperty.cpp [Sema][ObjC] Avoid the "type of property does not match type of accessor" 2017-03-30 13:33:51 +00:00
SemaOpenMP.cpp [OPENMP] Allow 'use_device_ptr' clause in 'target data' alone. 2017-05-30 16:00:04 +00:00
SemaOverload.cpp [Sema] Refactor OverloadCandidate::BuiltinTypes. NFC. 2017-06-08 20:55:21 +00:00
SemaPseudoObject.cpp [Objective-C] Fix "weak-unavailable" warning with -fobjc-weak 2017-03-29 18:09:02 +00:00
SemaStmt.cpp [coroutines] Fix co_await for range statement 2017-06-14 03:24:55 +00:00
SemaStmtAsm.cpp Added LLVM_FALLTHROUGH to address warning: this statement may fall through. NFC. 2017-06-03 06:35:06 +00:00
SemaStmtAttr.cpp Add [[clang::suppress(rule, ...)]] attribute 2017-03-27 19:45:24 +00:00
SemaTemplate.cpp [Sema] Fix a crash-on-invalid when a template parameter list has a class 2017-06-26 18:46:12 +00:00
SemaTemplateDeduction.cpp [c++1z] Support deducing B in noexcept(B). 2017-06-07 21:46:22 +00:00
SemaTemplateInstantiate.cpp PR33552: Distinguish between declarations that are owned by no module and 2017-06-23 01:04:34 +00:00
SemaTemplateInstantiateDecl.cpp PR33552: Distinguish between declarations that are owned by no module and 2017-06-23 01:04:34 +00:00
SemaTemplateVariadic.cpp PR24440: Do not silently discard a fold-expression appearing as the operand of a cast-expression. 2017-02-15 19:57:10 +00:00
SemaType.cpp [clang] Remove double semicolons. NFC. 2017-06-06 19:47:56 +00:00
TreeTransform.h [coroutines] Fix rebuilding of dependent coroutine parameters 2017-06-03 00:22:18 +00:00
TypeLocBuilder.cpp [Sema] Fix bug in TypeLocBuilder::pushImpl 2016-02-18 21:05:09 +00:00
TypeLocBuilder.h Retire llvm::alignOf in favor of C++11 alignof. 2016-10-20 14:27:22 +00:00