]> granicus.if.org Git - clang/commit
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)
commitbcfd8ea6e72cf5f685c1a682bd29464e3fb47762
treed7e5abfd7b9ef82d286a28a3e49bdb8f14cd9c84
parentdd478afe4c5a4f486cc2bcdb0974f4ac001532b1
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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@317073 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaDeclCXX.cpp
test/SemaCXX/missing-members.cpp