]> granicus.if.org Git - clang/commit
Rework how virtual member functions are marked. If a class has no key function, we...
authorAnders Carlsson <andersca@mac.com>
Mon, 7 Dec 2009 08:24:59 +0000 (08:24 +0000)
committerAnders Carlsson <andersca@mac.com>
Mon, 7 Dec 2009 08:24:59 +0000 (08:24 +0000)
commitd6a637f8c8a93863509fc1bc555513ff6504957d
tree05345cbf414d8ca2ff156b5d8b69f2a1cdeb234a
parentd58987c67d0fa02a71af98a9fa66ffd73c1501ed
Rework how virtual member functions are marked. If a class has no key function, we now wait until the end of the translation unit to mark its virtual member functions as references. This lays the groundwork for fixing PR5557.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@90752 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/Sema.cpp
lib/Sema/Sema.h
lib/Sema/SemaDecl.cpp
lib/Sema/SemaDeclCXX.cpp
lib/Sema/SemaExpr.cpp
test/SemaCXX/virtual-member-functions-key-function.cpp [new file with mode: 0644]