Add virtual dtor to PreprocessorLexer.

llvm-svn: 59188
This commit is contained in:
Ted Kremenek 2008-11-12 22:48:57 +00:00
parent 9d39e377df
commit 3060634fba
2 changed files with 3 additions and 0 deletions

View File

@ -60,6 +60,7 @@ protected:
friend class Preprocessor;
PreprocessorLexer() {}
virtual ~PreprocessorLexer();
virtual void IndirectLex(Token& Result) = 0;

View File

@ -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) {