summaryrefslogtreecommitdiff
path: root/lib/Lex/PreprocessorLexer.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2011-12-20 02:48:34 +0000
committerDavid Blaikie <dblaikie@gmail.com>2011-12-20 02:48:34 +0000
commit99ba9e3bd70671f3441fb974895f226a83ce0e66 (patch)
tree8345d41be8d8a7c5b452dcb423f9251c435e0025 /lib/Lex/PreprocessorLexer.cpp
parentf6702a3927147655206ae729a84339c4fda4c651 (diff)
downloadclang-99ba9e3bd70671f3441fb974895f226a83ce0e66.tar.gz
clang-99ba9e3bd70671f3441fb974895f226a83ce0e66.tar.bz2
clang-99ba9e3bd70671f3441fb974895f226a83ce0e66.tar.xz
Unweaken vtables as per http://llvm.org/docs/CodingStandards.html#ll_virtual_anch
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@146959 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Lex/PreprocessorLexer.cpp')
-rw-r--r--lib/Lex/PreprocessorLexer.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Lex/PreprocessorLexer.cpp b/lib/Lex/PreprocessorLexer.cpp
index 0da9ef5531..a72bbca6bc 100644
--- a/lib/Lex/PreprocessorLexer.cpp
+++ b/lib/Lex/PreprocessorLexer.cpp
@@ -17,6 +17,8 @@
#include "clang/Basic/SourceManager.h"
using namespace clang;
+void PreprocessorLexer::anchor() { }
+
PreprocessorLexer::PreprocessorLexer(Preprocessor *pp, FileID fid)
: PP(pp), FID(fid), InitialNumSLocEntries(0),
ParsingPreprocessorDirective(false),