diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2015-07-27 23:16:53 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2015-07-27 23:16:53 +0000 |
commit | 4746c2fcdb2e19dc62811c6e2e5782697b5f7c4d (patch) | |
tree | eb7ea9fae974d8833e66c0fbd80ac97de4201d6e /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | a90d0992b7eeca503d02dd119b3e949df83b79d0 (diff) | |
download | llvm-4746c2fcdb2e19dc62811c6e2e5782697b5f7c4d.zip llvm-4746c2fcdb2e19dc62811c6e2e5782697b5f7c4d.tar.gz llvm-4746c2fcdb2e19dc62811c6e2e5782697b5f7c4d.tar.bz2 |
[sema] Fix infinite loop when using a boolean value as designated initializer.
For designated indices use the max array size type bitwidth, not the bitwidth of the index value itself.
rdar://21942503
llvm-svn: 243343
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions