[cfe-commits] r67594 - in /cfe/trunk: include/clang/AST/DeclVisitor.h lib/Sema/Sema.h lib/Sema/SemaDecl.cpp lib/Sema/SemaDeclCXX.cpp lib/Sema/SemaExprCXX.cpp lib/Sema/SemaTemplateInstantiateDecl.cpp test/SemaCXX/abstract.cpp

Eli Friedman eli.friedman at gmail.com
Mon Mar 23 18:27:56 PDT 2009


On Mon, Mar 23, 2009 at 6:19 PM, Anders Carlsson <andersca at mac.com> wrote:
> This is done by recursively traversing the abstract class and checking the types of member functions.

I'm not sure this is the right approach... consider the following:

class C;
void g(C c);
class C {
  virtual void f() = 0;
};

-Eli



More information about the cfe-commits mailing list