]> granicus.if.org Git - clang/commit
Fix missing braces around two statements that were intended to be part
authorChandler Carruth <chandlerc@gmail.com>
Mon, 27 Jun 2011 08:31:58 +0000 (08:31 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Mon, 27 Jun 2011 08:31:58 +0000 (08:31 +0000)
commitae19806d2cae48b3ba8160fe5914b6436e51cf62
treed48cd0e9b9babac33628dac770db7b44ec158696
parent13b21be065e9feb0759303bd51b8e8653130f0fb
Fix missing braces around two statements that were intended to be part
of a single if block. This is really annoying to track down and test.
Silly changes to the test case caused it to stop showing up. I wish
there were a more concrete way of asserting that a note attaches to the
intended diagnostic.

This fixes PR10195.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@133907 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaOverload.cpp
test/SemaCXX/warn-pure-virtual-call-from-ctor-dtor.cpp