diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2011-11-01 21:06:14 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2011-11-01 21:06:14 +0000 |
commit | cecf184e64befbd160d7d0b42b2a10c7853f19f0 (patch) | |
tree | 929ea863dfba7166d4c9107c5082849ff64e163c /clang/lib/Frontend/CreateInvocationFromCommandLine.cpp | |
parent | 1f1f2d8ca39f038e6f6d52771efe62b319efcdb2 (diff) | |
download | llvm-cecf184e64befbd160d7d0b42b2a10c7853f19f0.zip llvm-cecf184e64befbd160d7d0b42b2a10c7853f19f0.tar.gz llvm-cecf184e64befbd160d7d0b42b2a10c7853f19f0.tar.bz2 |
When constant-folding, don't look at the initializer of a global const variable
if it's marked as weak: that definition may not end up being used.
llvm-svn: 143496
Diffstat (limited to 'clang/lib/Frontend/CreateInvocationFromCommandLine.cpp')
0 files changed, 0 insertions, 0 deletions