dim
11ec5c94e7
MFC r261680:
...
Pull in r200899 from upstream clang trunk:
Allow transformation of VariableArray to ConstantArray.
In the following code:
struct A { static const int sz; };
template<class T> void f() { T arr[A::sz]; }
the array 'arr' is represented as a variable size array in the template.
If 'A::sz' gets value below in the translation unit, the array in
instantiation can turn into constant size array.
This change fixes PR18633.
Differential Revision: http://llvm-reviews.chandlerc.com/D2688
This fixes "Assertion failed: (T::isKind(*this)), function castAs"
errors, which can occur when building the security/quantis port.
Reported by: ale
2014-02-12 07:51:14 +00:00
..
2013-07-28 06:02:40 +00:00
2013-07-28 06:02:40 +00:00
2014-01-12 22:17:56 +00:00
2014-01-31 03:38:22 +00:00
2013-09-27 17:42:23 +00:00
2014-01-14 19:02:14 +00:00
2013-05-30 16:16:28 +00:00
2012-09-11 21:16:22 +00:00
2012-05-21 04:29:11 +00:00
2013-01-19 02:24:14 +00:00
2013-09-24 14:52:43 +00:00
2014-01-09 23:51:47 +00:00
2012-12-06 01:31:25 +00:00
2013-01-26 22:08:21 +00:00
2013-02-26 00:58:44 +00:00
2013-12-25 00:48:08 +00:00
2013-05-21 19:23:49 +00:00
2014-01-31 03:30:09 +00:00
2014-01-26 19:49:54 +00:00
2013-12-03 19:42:46 +00:00
2012-12-06 01:31:25 +00:00
2013-12-28 00:03:15 +00:00
2012-09-22 17:47:37 +00:00
2013-09-21 14:23:20 +00:00
2013-12-19 21:03:08 +00:00
2013-09-22 20:30:55 +00:00
2013-09-08 19:40:32 +00:00
2013-05-31 00:31:45 +00:00
2013-04-02 05:30:41 +00:00
2012-10-19 12:44:22 +00:00
2014-02-01 10:41:26 +00:00
2014-01-04 17:22:53 +00:00
2014-02-10 20:25:40 +00:00
2013-11-25 15:54:18 +00:00
2013-06-05 21:28:33 +00:00
2013-05-30 08:02:00 +00:00
2013-12-21 18:47:00 +00:00
2013-03-04 11:27:41 +00:00
2014-02-12 07:51:14 +00:00
2012-10-20 10:16:55 +00:00
2012-12-21 21:00:00 +00:00
2013-11-26 16:12:40 +00:00
2012-05-22 06:28:53 +00:00
2013-04-15 18:35:09 +00:00
2014-01-14 19:04:33 +00:00
2013-11-16 19:22:13 +00:00
2013-08-09 03:29:46 +00:00
2013-01-03 07:25:30 +00:00
2013-07-22 08:46:15 +00:00
2013-09-08 16:56:17 +00:00
2012-08-21 06:14:08 +00:00
2013-02-16 12:45:57 +00:00
2013-08-27 15:50:26 +00:00
2012-09-14 11:51:49 +00:00
2014-02-01 22:33:58 +00:00
2013-08-02 19:21:46 +00:00
2013-11-14 09:25:29 +00:00
2013-06-18 02:53:45 +00:00
2013-10-28 22:49:11 +00:00
2012-12-06 01:31:25 +00:00
2013-12-13 19:32:02 +00:00
2013-05-31 17:30:12 +00:00
2012-12-13 06:45:45 +00:00
2012-06-27 07:41:21 +00:00
2013-12-19 23:29:34 +00:00
2013-09-24 09:56:58 +00:00
2013-03-15 00:05:50 +00:00
2013-03-15 00:05:50 +00:00
2013-08-07 15:55:12 +00:00
2012-12-22 21:32:12 +00:00