dim 890577ec23 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
MFC after:	3 days
2014-02-09 20:52:47 +00:00
..
2014-01-27 17:47:21 +00:00
2014-01-21 20:48:02 +00:00
2013-09-24 14:52:43 +00:00
2014-01-05 23:28:03 +00:00
2013-05-21 19:23:49 +00:00
2013-09-22 20:30:55 +00:00
2014-02-01 09:27:57 +00:00
2013-11-15 22:45:14 +00:00
2013-01-03 07:25:30 +00:00
2014-01-29 19:28:52 +00:00
2013-08-02 19:21:46 +00:00
2013-12-21 12:45:35 +00:00
2013-11-07 00:36:39 +00:00
2013-12-16 01:58:12 +00:00
2013-12-19 20:19:57 +00:00
2013-09-24 09:56:58 +00:00
2012-12-22 21:32:12 +00:00