]> granicus.if.org Git - clang/commitdiff
Fixes a warning when compiling Clang (Sema has virtual methods but a non-virtual...
authorZhanyong Wan <wan@google.com>
Thu, 2 Sep 2010 00:43:20 +0000 (00:43 +0000)
committerZhanyong Wan <wan@google.com>
Thu, 2 Sep 2010 00:43:20 +0000 (00:43 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@112786 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Sema/Sema.h

index 5558eae4da604323d6d6f57334ac39cbb3a9b1a2..90f7f9834871bd6c4c2b42d3b3c2093a5cd7c701 100644 (file)
@@ -490,7 +490,7 @@ public:
   Sema(Preprocessor &pp, ASTContext &ctxt, ASTConsumer &consumer,
        bool CompleteTranslationUnit = true,
        CodeCompleteConsumer *CompletionConsumer = 0);
-  ~Sema();
+  virtual ~Sema();
   
   /// \brief Perform initialization that occurs after the parser has been
   /// initialized but before it parses anything.