diff options
| author | Richard Smith <richard-llvm@metafoo.co.uk> | 2014-02-06 23:35:16 +0000 |
|---|---|---|
| committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2014-02-06 23:35:16 +0000 |
| commit | 65dd6234cb748bd3a8cfd1e3aa84fffc2226d7e4 (patch) | |
| tree | c1ef637d6a30e40f8a11da89a04a06bb76e3f204 /lib/CodeGen/CGExprComplex.cpp | |
| parent | 0fe43fbee967539a2dce28caa94c8cefc7abab7c (diff) | |
| download | clang-65dd6234cb748bd3a8cfd1e3aa84fffc2226d7e4.tar.gz clang-65dd6234cb748bd3a8cfd1e3aa84fffc2226d7e4.tar.bz2 clang-65dd6234cb748bd3a8cfd1e3aa84fffc2226d7e4.tar.xz | |
Temporary fix for PR18473: Don't try to evaluate the initializer for a
type-dependent variable, even if the initializer isn't value-dependent. This
happens for ParenListExprs composed of non-value-dependent subexpressions, for
instance.
We should really give ParenListExprs (and InitListExprs) the type of the
initialized entity if they're used to represent a dependent initialization (and
if so, set them to be type-, value- and instantiation-dependent).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@200954 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprComplex.cpp')
0 files changed, 0 insertions, 0 deletions
