diff options
author | Ben Langmuir <blangmuir@apple.com> | 2015-01-26 19:04:10 +0000 |
---|---|---|
committer | Ben Langmuir <blangmuir@apple.com> | 2015-01-26 19:04:10 +0000 |
commit | 577b39349e20a5ca39bd4aa04793aa1bdfd6216a (patch) | |
tree | 18139a9c032db8fd2896c843617384e801bda988 /llvm/lib/Support/CommandLine.cpp | |
parent | 611dfed99fc60ce6eb9542b78e80dc8398eb9828 (diff) | |
download | llvm-577b39349e20a5ca39bd4aa04793aa1bdfd6216a.zip llvm-577b39349e20a5ca39bd4aa04793aa1bdfd6216a.tar.gz llvm-577b39349e20a5ca39bd4aa04793aa1bdfd6216a.tar.bz2 |
Fix assert instantiating string init of static variable
... when the variable's type is a typedef of a ConstantArrayType. Just
look through the typedef (and any other sugar). We only use the
constant array type here to get the element count.
llvm-svn: 227115
Diffstat (limited to 'llvm/lib/Support/CommandLine.cpp')
0 files changed, 0 insertions, 0 deletions