Aaron Ballman
bc7cc2074b
Fix an accepts-invalid issue with [[]] attributes in the type position in C
...
A user reported an issue to me via email that Clang was accepting some
code that GCC was rejecting. After investigation, it turned out to be a
general problem of us failing to properly reject attributes written in
the type position in C when they don't apply to types. The root cause
was a terminology issue -- we sometimes use "CXX11Attr" to mean [[]] in
C++11 mode and sometimes [[]] in general -- and this came back to bite
us because in this particular case, it really meant [[]] in C++ mode.
I fixed the issue by introducing a new function
AttributeCommonInfo::isStandardAttributeSyntax() to represent [[]] in
either C or C++ mode.
This fix pointed out that we've had the issue in some of our existing
tests, which have all been corrected. This resolves
https://bugs.llvm.org/show_bug.cgi?id=50954 .
2021-07-01 12:41:18 -04:00
..
2021-01-22 11:43:58 -05:00
2020-06-21 13:59:11 +01:00
2021-03-23 13:15:19 -04:00
2021-06-30 09:58:06 -04:00
2020-06-21 13:59:11 +01:00
2020-07-08 16:39:11 +01:00
2020-07-08 16:39:11 +01:00
2020-07-08 16:39:11 +01:00
2020-07-08 16:39:11 +01:00
2020-07-08 16:39:11 +01:00
2020-07-08 16:39:11 +01:00
2020-07-08 16:39:11 +01:00
2020-06-21 13:59:11 +01:00
2020-06-21 13:59:11 +01:00
2020-11-09 16:39:59 +01:00
2020-06-21 13:59:11 +01:00
2021-07-01 12:41:18 -04:00
2020-07-06 22:03:08 +01:00
2020-07-03 13:59:23 +01:00
2020-08-12 09:20:23 +02:00
2020-07-06 22:03:08 +01:00
2021-05-20 17:04:29 -04:00
2020-06-05 16:05:32 -07:00
2021-06-09 12:27:10 +02:00
2021-06-09 12:27:10 +02:00
2020-06-21 13:59:11 +01:00
2021-02-11 10:18:16 -05:00
2020-07-06 22:03:08 +01:00
2020-06-21 13:59:11 +01:00
2020-06-21 13:59:11 +01:00
2021-06-10 14:51:08 +02:00
2021-02-22 14:16:43 -08:00
2021-06-09 12:27:10 +02:00
2021-06-09 12:27:10 +02:00
2021-06-09 12:27:10 +02:00
2020-06-21 13:59:11 +01:00
2020-08-06 16:56:39 -07:00
2020-09-18 14:16:43 +07:00
2021-06-09 12:27:10 +02:00
2020-06-21 13:59:11 +01:00
2021-06-09 12:27:10 +02:00
2021-06-10 10:18:52 +01:00
2020-05-29 09:54:28 +02:00
2020-07-02 14:13:35 +01:00
2021-03-03 10:05:39 -05:00
2021-01-22 11:43:58 -05:00
2020-06-21 13:59:11 +01:00
2021-06-09 12:27:10 +02:00
2020-08-07 09:58:23 -04:00
2020-09-16 13:37:08 -05:00
2020-06-12 15:21:38 +02:00
2020-09-16 13:37:09 -05:00
2020-06-23 14:43:04 -07:00
2020-09-16 13:37:10 -05:00
2020-10-07 00:06:51 -05:00
2020-09-16 13:37:09 -05:00
2021-02-22 14:16:43 -08:00
2021-02-22 14:16:43 -08:00
2020-08-07 09:58:23 -04:00
2020-09-16 13:37:09 -05:00
2021-02-22 14:16:43 -08:00
2021-02-22 14:16:43 -08:00
2021-02-22 14:16:43 -08:00
2021-02-22 14:16:43 -08:00
2021-02-22 14:16:43 -08:00
2021-02-22 14:16:43 -08:00
2020-08-07 09:58:23 -04:00
2021-02-22 14:16:43 -08:00
2021-02-22 14:16:43 -08:00
2021-02-22 14:16:43 -08:00
2021-02-22 14:16:43 -08:00
2021-02-22 14:16:43 -08:00
2021-02-22 14:16:43 -08:00
2021-02-22 14:16:43 -08:00
2021-02-22 14:16:43 -08:00
2021-02-22 14:16:43 -08:00
2021-02-22 14:16:43 -08:00
2021-02-22 14:16:43 -08:00
2021-02-22 14:16:43 -08:00
2021-02-22 14:16:43 -08:00
2021-02-22 14:16:43 -08:00
2021-02-22 14:16:43 -08:00
2021-02-22 14:16:43 -08:00
2021-02-22 14:16:43 -08:00
2021-02-22 14:16:43 -08:00
2021-02-22 14:16:43 -08:00
2021-02-22 14:16:43 -08:00
2021-02-22 14:16:43 -08:00
2021-02-22 14:16:43 -08:00
2021-02-22 14:16:43 -08:00
2021-02-22 14:16:43 -08:00
2021-02-22 14:16:43 -08:00
2021-02-22 14:16:43 -08:00
2021-02-22 14:16:43 -08:00
2021-02-22 14:16:43 -08:00
2021-02-22 14:16:43 -08:00
2021-02-22 14:16:43 -08:00
2021-02-22 14:16:43 -08:00
2021-02-22 14:16:43 -08:00
2020-06-19 13:40:20 +01:00
2020-06-19 13:40:20 +01:00
2020-12-15 15:14:11 -06:00
2021-06-09 12:27:10 +02:00
2020-06-19 13:40:20 +01:00
2021-06-09 12:27:10 +02:00
2021-02-22 14:16:43 -08:00
2021-02-22 14:16:43 -08:00
2020-10-12 11:24:45 +02:00
2021-01-22 13:04:37 +01:00
2020-10-27 09:42:19 +01:00
2020-06-19 13:40:20 +01:00
2021-06-09 12:27:10 +02:00
2021-06-09 12:27:10 +02:00
2021-06-09 12:27:10 +02:00
2020-06-19 13:40:20 +01:00
2020-07-06 22:03:08 +01:00
2020-06-19 13:40:20 +01:00
2021-06-09 12:27:10 +02:00
2020-06-23 00:07:00 -07:00
2021-06-09 12:27:10 +02:00
2020-06-19 13:40:20 +01:00
2021-06-09 12:27:10 +02:00
2020-06-19 08:45:46 +02:00
2021-06-08 11:11:46 -07:00
2020-06-19 13:40:20 +01:00
2020-06-19 13:40:20 +01:00
2020-06-19 13:40:20 +01:00
2021-02-03 11:41:38 -08:00
2020-05-05 15:30:39 -04:00
2021-03-25 17:05:36 -07:00
2021-01-08 11:37:27 +00:00
2020-10-31 21:46:45 -07:00
2021-05-27 07:12:20 -07:00
2020-07-16 12:50:25 +02:00
2020-06-21 13:59:11 +01:00
2020-12-04 15:53:24 -08:00
2020-09-16 17:54:57 +00:00
2020-09-15 20:15:34 +00:00
2020-09-15 20:15:34 +00:00
2020-09-24 15:17:35 +00:00
2020-09-25 22:33:53 +00:00
2020-06-21 13:59:11 +01:00
2020-06-21 13:59:11 +01:00
2020-10-30 07:30:06 -07:00
2020-09-26 17:59:39 +07:00
2020-11-10 13:27:42 -08:00
2020-06-22 15:01:42 -07:00
2020-12-07 11:29:57 -08:00
2020-08-24 09:58:37 -04:00
2020-06-21 13:59:11 +01:00
2020-06-21 13:59:11 +01:00
2020-06-23 00:07:00 -07:00
2020-06-21 13:59:11 +01:00
2020-07-29 17:24:53 +03:00
2021-06-09 12:27:10 +02:00
2021-06-09 12:27:10 +02:00
2020-06-21 13:59:11 +01:00
2020-06-21 13:59:11 +01:00
2020-07-06 22:03:08 +01:00
2021-01-06 07:17:12 -08:00
2020-06-21 13:59:11 +01:00
2020-07-16 12:07:18 -07:00
2021-04-04 07:59:22 +02:00
2020-06-21 13:59:11 +01:00
2020-06-21 13:59:11 +01:00