Disable the uninitialized field warning in uninstantiated classes.
authorRichard Trieu <rtrieu@google.com>
Wed, 22 Oct 2014 02:52:00 +0000 (02:52 +0000)
committerRichard Trieu <rtrieu@google.com>
Wed, 22 Oct 2014 02:52:00 +0000 (02:52 +0000)
commit277ace025d5afe04ebf059017d0cae985ca3c34d
tree04e97e16e2e9bc3a3a3d0dca5e44134035eddd14
parent819f391dae1873a36a8483a4f485fb18c7cf80c7
Disable the uninitialized field warning in uninstantiated classes.

If a templated class is not instantiated, then the AST for it could be missing
some things that would throw the field checker off.  Wait until specialization
before emitting these warnings.

llvm-svn: 220363
clang/lib/Sema/SemaDeclCXX.cpp
clang/test/SemaCXX/uninitialized.cpp