]> granicus.if.org Git - clang/commit
For global record types, the self reference checker was called twice, resulting
authorRichard Trieu <rtrieu@google.com>
Mon, 6 Aug 2012 21:09:23 +0000 (21:09 +0000)
committerRichard Trieu <rtrieu@google.com>
Mon, 6 Aug 2012 21:09:23 +0000 (21:09 +0000)
commite27a08aa814cb2fe9367163edd612c90aad57789
tree12b69984d38e052f88542c250f6a0f84a3ca6b75
parentcbea860417eea485be5bc34e6a61f267cf180a56
For global record types, the self reference checker was called twice, resulting
in duplicate -Wuninitialized warnings.  Change so that only the check in
TryConstructorInitialization() will be used and a single warning be emitted.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@161345 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaDecl.cpp
test/SemaCXX/uninitialized.cpp