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.

llvm-svn: 73382
This commit is contained in:
Eli Friedman 2009-06-15 09:57:52 +00:00
parent 1283c6a066
commit b188455eb2
1 changed files with 1 additions and 5 deletions

View File

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