diff options
author | Eli Friedman <eli.friedman@gmail.com> | 2009-06-15 09:57:52 +0000 |
---|---|---|
committer | Eli Friedman <eli.friedman@gmail.com> | 2009-06-15 09:57:52 +0000 |
commit | ae96a9637af7beea89a66d43bf3595b5a7d2756d (patch) | |
tree | bcc549c0425f4e944c71a3699339df098fad12a2 | |
parent | 81ebe9bf80b9a4eb1e5a30b0de39b2d638044ae4 (diff) |
PR4388: get rid of an extra # line directive; in addition to being
unnecessary, this was causing issues for assembler-with-cpp mode, which
doesn't process the directive.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@73382 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Frontend/InitPreprocessor.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/Frontend/InitPreprocessor.cpp b/lib/Frontend/InitPreprocessor.cpp index 6cff75daf3..41908ad00e 100644 --- a/lib/Frontend/InitPreprocessor.cpp +++ b/lib/Frontend/InitPreprocessor.cpp @@ -472,11 +472,7 @@ bool InitializePreprocessor(Preprocessor &PP, AddImplicitIncludePTH(PredefineBuffer, PP, I->first); else AddImplicitInclude(PredefineBuffer, I->first); - } - - LineDirective = "# 2 \"<built-in>\" 2 3\n"; - PredefineBuffer.insert(PredefineBuffer.end(), - LineDirective, LineDirective+strlen(LineDirective)); + } // Null terminate PredefinedBuffer and add it. PredefineBuffer.push_back(0); |