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
..
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
2013-09-24 14:52:43 +00:00
2014-01-09 23:51:47 +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
2013-12-28 00:03:15 +00:00
2013-09-21 14:23:20 +00:00
2013-09-22 20:30:55 +00:00
2014-01-04 17:22:53 +00:00
2014-02-10 20:25:40 +00:00
2013-05-30 08:02:00 +00:00
2014-02-12 07:51:14 +00:00
2013-11-26 16:12:40 +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-01-03 07:25:30 +00:00
2013-08-02 19:21:46 +00:00
2013-11-14 09:25:29 +00:00
2013-10-28 22:49:11 +00:00
2013-12-13 19:32:02 +00:00
2013-12-19 23:29:34 +00:00
2013-09-24 09:56:58 +00:00
2012-12-22 21:32:12 +00:00