Change assertion to quick exit from checking function.
authorRichard Trieu <rtrieu@google.com>
Wed, 1 Nov 2017 03:57:27 +0000 (03:57 +0000)
committerRichard Trieu <rtrieu@google.com>
Wed, 1 Nov 2017 03:57:27 +0000 (03:57 +0000)
commit7f932dd063c54c6dab67d2e4319b60a95c10a22a
tree8067821340ac23a1d0450db347ee0de750ebf2fa
parentc51aac675d5439135830c34e03a09ec3f225a227
Change assertion to quick exit from checking function.

Remove the assertion that could be triggered by invalid code.  Replace it with
an early exit from the checking function.

llvm-svn: 317073
clang/lib/Sema/SemaDeclCXX.cpp
clang/test/SemaCXX/missing-members.cpp