diff options
| author | Ted Kremenek <kremenek@apple.com> | 2008-11-12 22:48:57 +0000 |
|---|---|---|
| committer | Ted Kremenek <kremenek@apple.com> | 2008-11-12 22:48:57 +0000 |
| commit | 3060634fba7f073eeed757c4e09365c0ec7fd8b7 (patch) | |
| tree | 124070d910b8fb27e2695580995947f6ecaf14d1 | |
| parent | 9d39e377dfcf5a5f65c3ce72c978f6feaca7ba58 (diff) | |
| download | bcm5719-llvm-3060634fba7f073eeed757c4e09365c0ec7fd8b7.tar.gz bcm5719-llvm-3060634fba7f073eeed757c4e09365c0ec7fd8b7.zip | |
Add virtual dtor to PreprocessorLexer.
llvm-svn: 59188
| -rw-r--r-- | clang/include/clang/Lex/PreprocessorLexer.h | 1 | ||||
| -rw-r--r-- | clang/lib/Lex/PreprocessorLexer.cpp | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/clang/include/clang/Lex/PreprocessorLexer.h b/clang/include/clang/Lex/PreprocessorLexer.h index 12a0cef992e..bbe6dbeeac5 100644 --- a/clang/include/clang/Lex/PreprocessorLexer.h +++ b/clang/include/clang/Lex/PreprocessorLexer.h @@ -60,6 +60,7 @@ protected: friend class Preprocessor; PreprocessorLexer() {} + virtual ~PreprocessorLexer(); virtual void IndirectLex(Token& Result) = 0; diff --git a/clang/lib/Lex/PreprocessorLexer.cpp b/clang/lib/Lex/PreprocessorLexer.cpp index cbda79fd8bc..f3d91af4ed1 100644 --- a/clang/lib/Lex/PreprocessorLexer.cpp +++ b/clang/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) { |

