summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorDavid Majnemer <david.majnemer@gmail.com>2013-06-22 06:43:58 +0000
committerDavid Majnemer <david.majnemer@gmail.com>2013-06-22 06:43:58 +0000
commit2f686697187e8834346b7924797d44c978252ec6 (patch)
tree797ef1aa6c3ba39de0a25a60d6990b851ca7fdcb /lib/CodeGen/CodeGenFunction.cpp
parente2a90b8bb054fc8de6c115a31bfadf7868bcf0c3 (diff)
downloadclang-2f686697187e8834346b7924797d44c978252ec6.tar.gz
clang-2f686697187e8834346b7924797d44c978252ec6.tar.bz2
clang-2f686697187e8834346b7924797d44c978252ec6.tar.xz
Revert r184401 which reverted r183462.
The problem with r183462 was that we assumed that a diagnostic id of zero would be silent. This small correction to CheckDerivedToBaseConversion changes it's behavior to omit the diagnostic when given a diagnostic id of zero. This fix passes the test case added in r184402. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@184631 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions