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)
commit8823dbc552ec6946027c59ac53510404b98671b6
tree9d61df47bc62db4ae00efeca57510cbb66c58aaa
parent7cb9c8a506f3490755db20c0a9298e9caa6fb89d
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.

llvm-svn: 370417
clang/lib/Sema/SemaInit.cpp