summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGExpr.cpp
diff options
context:
space:
mode:
authorRichard Trieu <rtrieu@google.com>2013-10-25 00:56:00 +0000
committerRichard Trieu <rtrieu@google.com>2013-10-25 00:56:00 +0000
commit858d2ba136c8dcdc051fe20b3190c40bc25de189 (patch)
treebd9f93dd47005e3b0afce3c6f08dcbdcf9b5f433 /lib/CodeGen/CGExpr.cpp
parent9bd1c1332f7b2a82ed7b328b216a35a299a5945a (diff)
downloadclang-858d2ba136c8dcdc051fe20b3190c40bc25de189.tar.gz
clang-858d2ba136c8dcdc051fe20b3190c40bc25de189.tar.bz2
clang-858d2ba136c8dcdc051fe20b3190c40bc25de189.tar.xz
Simplify and refactor the uninitialized field warning.
Change the uninitialized field warnings so that field initializers are checked inside the constructor. Previously, in class initializers were checked separately. Running one set of checks also simplifies the logic for preventing duplicate warnings. Added new checks to warn when an uninitialized field is used in base class initialization. Also fixed misspelling of uninitialized and moved all code for this warning together. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@193386 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExpr.cpp')
0 files changed, 0 insertions, 0 deletions