]> granicus.if.org Git - clang/commit
Refactor InitListChecker to make it a bit clearer that hasError is only
authorRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 29 Aug 2019 22:49:32 +0000 (22:49 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 29 Aug 2019 22:49:32 +0000 (22:49 +0000)
commit5de0d302f1834e1ef200a3c567f83bcf2439fa60
treefbbfea429d19627b5ebe8aeb8cf67d1fe07a90a0
parentf30b6a252e05f473757d26d4072dfd099686db29
Refactor InitListChecker to make it a bit clearer that hasError is only
set to true in VerifyOnly mode in cases where it's also set to true when
actually building the initializer list.

Add FIXMEs for the two cases where that's not true. No functionality
change intended.

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