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)
commitc44b35e3be15ac952bffeac491aff4b7e483a6b2
tree6cac13525d87c2d3f740adfff4b503d5edc7972d
parent7f58c41dbad3584c8dc50cd2d1e82632b7943fd9
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.

llvm-svn: 232899
clang/lib/Sema/SemaChecking.cpp