aboutsummaryrefslogtreecommitdiff
path: root/lib/Lex/PPLexerChange.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-03-18 21:00:25 +0000
committerChris Lattner <sabre@nondot.org>2009-03-18 21:00:25 +0000
commit42aa16cccb3d6cd4195ccff9c32d8cb50a25a094 (patch)
treebc5db4b28d460e299b94c7593181e31404d20fad /lib/Lex/PPLexerChange.cpp
parente91e93225db2e66906878513c6ef4dd6a7ee2b6a (diff)
when preprocessing a .S file, unknown directives should just be passed through,
and the token after the # should be expanded if it is not a valid directive. This allows us to transform things like: #define FOO BAR # FOO into # BAR, even though FOO is not normally expanded for directives. This should fix PR3833 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67236 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Lex/PPLexerChange.cpp')
-rw-r--r--lib/Lex/PPLexerChange.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/Lex/PPLexerChange.cpp b/lib/Lex/PPLexerChange.cpp
index 7c1a089998..6f61c6516b 100644
--- a/lib/Lex/PPLexerChange.cpp
+++ b/lib/Lex/PPLexerChange.cpp
@@ -18,7 +18,6 @@
#include "clang/Lex/LexDiagnostic.h"
#include "clang/Basic/SourceManager.h"
#include "llvm/Support/MemoryBuffer.h"
-
using namespace clang;
PPCallbacks::~PPCallbacks() {}