]> granicus.if.org Git - clang/commit
Dedent code for -Wdynamic-class-memaccess warning. No behavior change.
authorNico Weber <nicolasweber@gmx.de>
Sat, 21 Mar 2015 17:37:46 +0000 (17:37 +0000)
committerNico Weber <nicolasweber@gmx.de>
Sat, 21 Mar 2015 17:37:46 +0000 (17:37 +0000)
commita09d43eebb9c84e604c4892f468d63e76ebd76c4
treee4d4ce2adbb590e7ee26b728de450e73a3d8a4a1
parentcd37895f8dff32f8dd1ab2bd5b0ee7053eee8bd9
Dedent code for -Wdynamic-class-memaccess warning. No behavior change.

The diff looks intimidating, but this just moves the -Wdynamic-class-memaccess
code out a scope, protected by a

    if (PointeeTy == QualType())
      continue;

check so that it still only runs when it should.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@232899 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaChecking.cpp