llvm-project/clang/lib/Sema
Richard Smith 6eb9b9e593 Fix crash when trying to pack-expand a GNU statement expression.
We could in principle support such pack expansion, using techniques similar to
what we do for pack expansion of lambdas, but it's not clear it's worthwhile.
For now at least, cleanly reject these cases rather than crashing.

llvm-svn: 324160
2018-02-03 00:44:57 +00:00
..
AnalysisBasedWarnings.cpp DR126: partially implement the const-correct rules for exception handler matching. 2018-01-13 05:05:45 +00:00
AttributeList.cpp Add -f[no-]double-square-bracket-attributes as new driver options to control use of [[]] attributes in all language modes. This is the initial implementation of WG14 N2165, which is a proposal to add [[]] attributes to C2x, but also allows you to enable these attributes in C++98, or disable them in C++11 or later. 2017-10-15 15:01:42 +00:00
CMakeLists.txt Enabling the /bigobj flag for SemaDeclAttr.cpp. 2017-05-12 14:30:49 +00:00
CodeCompleteConsumer.cpp Silence a bunch of implicit fallthrough warnings 2017-12-19 22:06:11 +00:00
CoroutineStmtBuilder.h [coroutines] Pass coro func args to promise ctor 2018-01-24 22:15:42 +00:00
DeclSpec.cpp Again reverting an attempt to convert the DeclSpec enums into scoped enums. 2018-01-01 18:23:28 +00:00
DelayedDiagnostic.cpp [Sema] Don't allow -Wunguarded-availability to be silenced with redecls 2017-07-05 17:08:56 +00:00
IdentifierResolver.cpp [modules] Separately track whether an identifier's preprocessor information and 2016-02-05 19:03:40 +00:00
JumpDiagnostics.cpp Silence a bunch of implicit fallthrough warnings 2017-12-19 22:06:11 +00:00
MultiplexExternalSemaSource.cpp [modules] Correctly overload getModule in the MultiplexExternalSemaSource 2018-01-22 15:27:25 +00:00
Scope.cpp Fix Scope::dump() 2018-01-18 04:28:56 +00:00
ScopeInfo.cpp [coroutines] Pass coro func args to promise ctor 2018-01-24 22:15:42 +00:00
Sema.cpp Fix crash when trying to pack-expand a GNU statement expression. 2018-02-03 00:44:57 +00:00
SemaAccess.cpp P0136R1, DR1573, DR1645, DR1715, DR1736, DR1903, DR1941, DR1959, DR1991: 2016-06-28 19:03:57 +00:00
SemaAttr.cpp -Wpragma-pack: add an additional note and fixit when warning 2017-07-31 13:37:50 +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 Allow the target field of a CK_ToUnion to be more easily recovered. 2017-08-15 21:42:47 +00:00
SemaChecking.cpp [AArch64] Add ARMv8.2-A FP16 scalar intrinsics 2018-01-19 23:11:18 +00:00
SemaCodeComplete.cpp [CodeComplete] Omit templated constructors from member list too. 2018-01-22 20:44:47 +00:00
SemaConsumer.cpp
SemaCoroutine.cpp [coroutines] Fix application of NRVO to Coroutine "Gro" or return object. 2018-02-01 23:47:54 +00:00
SemaDecl.cpp [Sema] Add implicit members even for invalid CXXRecordDecls 2018-02-02 08:40:08 +00:00
SemaDeclAttr.cpp [Refactor] Use enum instead of magic number in handleX86ForceAlignArgPointerAttr, NFC 2018-01-19 03:07:00 +00:00
SemaDeclCXX.cpp [Parse] Forward brace locations to TypeConstructExpr 2018-01-17 18:53:51 +00:00
SemaDeclObjC.cpp PR35815: Separate out the ns-consumed diagnostic into an error and 2018-01-03 23:52:42 +00:00
SemaExceptionSpec.cpp DR126: partially implement the const-correct rules for exception handler matching. 2018-01-13 05:05:45 +00:00
SemaExpr.cpp [Sema] Allow conversion between long double and __float128. 2018-01-17 22:56:57 +00:00
SemaExprCXX.cpp [Parse] Forward brace locations to TypeConstructExpr 2018-01-17 18:53:51 +00:00
SemaExprMember.cpp [NFC] Modernize enum 'UnqualifiedId::IdKind' into a scoped enum UnqualifiedIdKind. 2017-12-30 04:15:27 +00:00
SemaExprObjC.cpp Track in the AST whether the operand to a UnaryOperator can overflow and then use that logic when evaluating constant expressions and emitting codegen. 2018-01-09 13:07:03 +00:00
SemaFixItUtils.cpp Wire a SourceLocation into IsDerivedFrom and move the RequireCompleteType call 2015-12-18 21:45:41 +00:00
SemaInit.cpp [Parse] Forward brace locations to TypeConstructExpr 2018-01-17 18:53:51 +00:00
SemaLambda.cpp Fix and simplify handling of return type for (generic) lambda conversion function to function pointer. 2018-01-02 23:52:42 +00:00
SemaLookup.cpp [CodeComplete] only respect LoadExternal hint at namespace/tu scope 2018-01-24 17:50:20 +00:00
SemaObjCProperty.cpp [Sema] Add support for flexible array members in Obj-C. 2017-10-23 22:01:41 +00:00
SemaOpenMP.cpp [OPENMP] Remove more empty SourceLocations() from the code. 2018-01-23 18:12:38 +00:00
SemaOverload.cpp [NFC] Fixup comment with function name, actually incorrect name! 2018-01-29 19:33:20 +00:00
SemaPseudoObject.cpp Track in the AST whether the operand to a UnaryOperator can overflow and then use that logic when evaluating constant expressions and emitting codegen. 2018-01-09 13:07:03 +00:00
SemaStmt.cpp Fix crash when trying to pack-expand a GNU statement expression. 2018-02-03 00:44:57 +00:00
SemaStmtAsm.cpp [X86][MS-InlineAsm] Extended support for variables / identifiers on memory / immediate expressions 2017-09-29 07:02:49 +00:00
SemaStmtAttr.cpp Now that C++17 is official (https://www.iso.org/standard/68564.html), start changing the C++1z terminology over to C++17. NFC intended, these are all mechanical changes. 2017-12-04 20:27:34 +00:00
SemaTemplate.cpp Again reverting an attempt to convert the DeclSpec enums into scoped enums. 2018-01-01 18:23:28 +00:00
SemaTemplateDeduction.cpp PR35045: Convert injected-class-name to its corresponding simple-template-id 2018-01-04 01:24:17 +00:00
SemaTemplateInstantiate.cpp Generalize "static data member instantiated" notification to cover variable templates too. 2017-12-05 01:31:47 +00:00
SemaTemplateInstantiateDecl.cpp In C++17, when instantiating an out-of-line definition of an inline static data 2018-01-10 23:08:26 +00:00
SemaTemplateVariadic.cpp Fix crash when trying to pack-expand a GNU statement expression. 2018-02-03 00:44:57 +00:00
SemaType.cpp Add missing direct-init / parameter-declaration-clause disambiguation when 2018-02-02 22:24:54 +00:00
TreeTransform.h [coroutines] Pass coro func args to promise ctor 2018-01-24 22:15:42 +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