зеркало из https://github.com/microsoft/clang.git
Make clang preprocessed output a bit more like gcc output.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56636 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
38a67c9dfb
Коммит
fd96684034
|
@ -120,7 +120,7 @@ bool PrintPPOutputPPCallbacks::MoveToLine(SourceLocation Loc) {
|
|||
|
||||
// If this line is "close enough" to the original line, just print newlines,
|
||||
// otherwise print a #line directive.
|
||||
if (LineNo-CurLine < 8) {
|
||||
if (LineNo-CurLine <= 8) {
|
||||
if (LineNo-CurLine == 1)
|
||||
OS << '\n';
|
||||
else if (LineNo == CurLine)
|
||||
|
|
Загрузка…
Ссылка в новой задаче