]> granicus.if.org Git - clang/commit
PR13499: Don't try to check whether 'override' has been validly applied until
authorRichard Smith <richard-llvm@metafoo.co.uk>
Mon, 6 Aug 2012 03:25:17 +0000 (03:25 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Mon, 6 Aug 2012 03:25:17 +0000 (03:25 +0000)
commita4b39658673954fb9f75673594b50028685fc665
tree13821d87c6cc9ca70b5f0802f12007038fee80fd
parenteef00293897a73cc47f4d42e2653ff47c59d6030
PR13499: Don't try to check whether 'override' has been validly applied until
we know whether the function is virtual. But check it as soon as we do know;
in some cases we don't need to wait for an instantiation.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@161316 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Sema/Sema.h
lib/Sema/SemaDeclCXX.cpp
test/CXX/class.derived/class.virtual/p3-0x.cpp