Aaron Puchert
16975a638d
Set InvalidDecl directly when deserializing a Decl
...
When parsing a C++17 binding declaration, we first create the
BindingDecls in Sema::ActOnDecompositionDeclarator, and then build the
DecompositionDecl in Sema::ActOnVariableDeclarator, so the contained
BindingDecls are never null. But when deserializing, we read the
DecompositionDecl with all properties before filling in the Bindings.
Among other things, reading a declaration reads whether it's invalid,
then calling setInvalidDecl which assumes that all bindings of the
DecompositionDecl are available, but that isn't the case.
Deserialization should just set all properties directly without invoking
subsequent functions, so we just set the flag without using the setter.
Fixes PR34960.
Reviewed By: rsmith
Differential Revision: https://reviews.llvm.org/D86207
2020-09-05 14:26:43 +02:00
..
2020-08-20 14:19:52 +02:00
2020-06-29 16:48:53 +00:00
2019-02-27 18:59:52 +00:00
2019-06-03 15:57:25 +00:00
2020-06-11 13:37:01 -04:00
2020-03-09 19:57:03 +00:00
2020-05-07 10:11:06 -04:00
2020-02-03 10:09:39 -08:00
2019-04-08 19:52:45 +00:00
2020-04-27 21:26:13 +02:00
2020-07-22 10:21:23 +02:00
2020-06-21 17:05:52 +02:00
2020-06-21 17:05:52 +02:00
2020-06-21 17:05:52 +02:00
2020-06-21 17:05:52 +02:00
2020-06-21 17:05:52 +02:00
2020-06-21 17:05:52 +02:00
2020-07-31 17:19:44 -07:00
2020-06-21 17:05:52 +02:00
2020-06-21 17:05:52 +02:00
2020-09-05 14:26:43 +02:00
2020-06-21 17:05:52 +02:00
2020-06-21 17:05:52 +02:00
2019-10-19 00:04:43 +00:00
2020-06-21 17:05:52 +02:00
2020-07-30 09:25:15 +02:00
2020-07-31 17:19:44 -07:00
2020-06-22 20:19:20 -07:00
2020-06-21 17:05:52 +02:00
2020-06-21 17:05:52 +02:00
2020-06-21 17:05:52 +02:00
2020-06-21 17:05:52 +02:00
2020-06-21 17:05:52 +02:00
2020-06-21 17:05:52 +02:00
2019-05-04 10:49:46 +00:00
2020-06-21 17:05:52 +02:00
2019-06-11 17:50:32 +00:00
2020-06-21 17:05:52 +02:00
2020-04-05 23:32:03 -04:00
2020-08-19 15:45:51 -07:00
2020-06-21 17:05:52 +02:00
2020-06-21 17:05:52 +02:00
2020-06-21 17:05:52 +02:00
2020-06-21 17:05:52 +02:00
2020-08-26 19:29:30 +02:00
2020-08-26 19:29:30 +02:00
2020-06-21 17:05:52 +02:00
2020-06-21 17:05:52 +02:00
2020-04-16 12:35:45 +02:00
2020-06-21 17:05:52 +02:00
2020-06-21 17:05:52 +02:00
2019-12-16 16:08:09 -05:00
2020-06-21 17:05:52 +02:00
2020-07-31 17:19:44 -07:00
2020-07-31 17:19:44 -07:00
2019-10-21 16:44:37 +00:00
2020-03-20 15:15:56 -07:00
2020-06-21 19:00:42 +02:00
2020-06-12 16:09:38 +02:00
2020-08-16 15:44:51 -07:00
2020-03-09 19:57:03 +00:00
2020-06-08 11:54:01 -04:00
2020-04-14 13:20:49 -05:00
2020-06-21 17:05:52 +02:00
2020-06-21 17:05:52 +02:00
2020-06-21 17:05:52 +02:00
2019-08-09 17:13:56 +00:00
2020-06-21 17:05:52 +02:00
2020-06-21 17:05:52 +02:00
2020-06-21 17:05:52 +02:00
2019-09-10 20:15:45 +00:00
2020-06-21 17:05:52 +02:00
2020-01-14 22:19:30 -08:00
2019-11-26 20:28:52 -08:00
2020-03-10 14:08:28 -07:00
2019-09-07 00:34:43 +00:00
2020-06-21 17:05:52 +02:00
2020-06-21 17:05:52 +02:00
2019-04-29 21:21:17 +00:00
2019-04-29 21:21:17 +00:00
2020-06-21 17:05:52 +02:00
2020-06-21 17:05:52 +02:00
2020-06-27 01:34:57 -07:00
2020-08-20 14:19:52 +02:00
2020-06-21 17:05:52 +02:00
2020-06-21 17:05:52 +02:00
2020-03-12 14:48:57 +03:00
2020-03-09 19:57:03 +00:00
2019-08-26 19:44:07 +00:00
2019-01-30 00:18:24 +00:00
2020-06-21 17:05:52 +02:00
2019-10-15 14:23:55 +00:00