[cfe-dev] No virtual destructor in ExternalSemaSource

Vassil Vassilev vasil.georgiev.vasilev at cern.ch
Tue Feb 1 03:35:42 PST 2011


Hi all,
   I found out that there is no virtual destructor for ExternalSemaSource:
     include/clang/Sema/ExternalSemaSource.h:33:  ~ExternalSemaSource();
     include/clang/AST/ExternalASTSource.h:56:  virtual 
~ExternalASTSource();

   Is that bug or I am misunderstanding something? Shall we (Axel 
Naumann and me) check in patch.
Cheers,
Vassil



More information about the cfe-dev mailing list