[cfe-commits] r59188 - in /cfe/trunk: include/clang/Lex/PreprocessorLexer.h lib/Lex/PreprocessorLexer.cpp
Ted Kremenek
kremenek at apple.com
Wed Nov 12 14:49:01 PST 2008
Author: kremenek
Date: Wed Nov 12 16:48:57 2008
New Revision: 59188
URL: http://llvm.org/viewvc/llvm-project?rev=59188&view=rev
Log:
Add virtual dtor to PreprocessorLexer.
Modified:
cfe/trunk/include/clang/Lex/PreprocessorLexer.h
cfe/trunk/lib/Lex/PreprocessorLexer.cpp
Modified: cfe/trunk/include/clang/Lex/PreprocessorLexer.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Lex/PreprocessorLexer.h?rev=59188&r1=59187&r2=59188&view=diff
==============================================================================
--- cfe/trunk/include/clang/Lex/PreprocessorLexer.h (original)
+++ cfe/trunk/include/clang/Lex/PreprocessorLexer.h Wed Nov 12 16:48:57 2008
@@ -60,6 +60,7 @@
friend class Preprocessor;
PreprocessorLexer() {}
+ virtual ~PreprocessorLexer();
virtual void IndirectLex(Token& Result) = 0;
Modified: cfe/trunk/lib/Lex/PreprocessorLexer.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Lex/PreprocessorLexer.cpp?rev=59188&r1=59187&r2=59188&view=diff
==============================================================================
--- cfe/trunk/lib/Lex/PreprocessorLexer.cpp (original)
+++ cfe/trunk/lib/Lex/PreprocessorLexer.cpp Wed Nov 12 16:48:57 2008
@@ -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) {
More information about the cfe-commits
mailing list