commit | 957be41c9ab2dd2e6689ea15f84a5849c67b7bec | [log] [tgz] |
---|---|---|
author | Ted Kremenek <kremenek@apple.com> | Wed Nov 12 22:48:57 2008 +0000 |
committer | Ted Kremenek <kremenek@apple.com> | Wed Nov 12 22:48:57 2008 +0000 |
tree | 2bd4518f12adaf1b7a50c0fe35528fa137032f97 | |
parent | ea4a72de863487cb54c4d36647df24e9338f58a0 [diff] |
Add virtual dtor to PreprocessorLexer. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@59188 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/include/clang/Lex/PreprocessorLexer.h b/include/clang/Lex/PreprocessorLexer.h index 12a0cef..bbe6dbe 100644 --- a/include/clang/Lex/PreprocessorLexer.h +++ b/include/clang/Lex/PreprocessorLexer.h
@@ -60,6 +60,7 @@ friend class Preprocessor; PreprocessorLexer() {} + virtual ~PreprocessorLexer(); virtual void IndirectLex(Token& Result) = 0;
diff --git a/lib/Lex/PreprocessorLexer.cpp b/lib/Lex/PreprocessorLexer.cpp index cbda79f..f3d91af 100644 --- a/lib/Lex/PreprocessorLexer.cpp +++ b/lib/Lex/PreprocessorLexer.cpp
@@ -18,6 +18,8 @@ using namespace clang; +PreprocessorLexer::~PreprocessorLexer() {} + /// LexIncludeFilename - After the preprocessor has parsed a #include, lex and /// (potentially) macro expand the filename. void PreprocessorLexer::LexIncludeFilename(Token &FilenameTok) {