diff options
author | Douglas Gregor <dgregor@apple.com> | 2010-01-12 23:18:54 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2010-01-12 23:18:54 +0000 |
commit | 49862b8285b62d7222bd91e57f7ea953751d4c93 (patch) | |
tree | ee84083b229af94ca44f6f6772550b01d50befe2 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | 4b0e352061e10a50928154beccfc043ded9e6b84 (diff) | |
download | llvm-49862b8285b62d7222bd91e57f7ea953751d4c93.zip llvm-49862b8285b62d7222bd91e57f7ea953751d4c93.tar.gz llvm-49862b8285b62d7222bd91e57f7ea953751d4c93.tar.bz2 |
Don't emit string-comparison or self-comparison warnings in
unevaluated contexts, because they only matter for code that will
actually be evaluated at runtime.
As part of this, I had to extend PartialDiagnostic to support fix-it
hints.
llvm-svn: 93266
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions