aboutsummaryrefslogtreecommitdiff
path: root/lib/Lex/PPDirectives.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Lex/PPDirectives.cpp')
-rw-r--r--lib/Lex/PPDirectives.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/lib/Lex/PPDirectives.cpp b/lib/Lex/PPDirectives.cpp
index 1ff469b825..fa57ab3c81 100644
--- a/lib/Lex/PPDirectives.cpp
+++ b/lib/Lex/PPDirectives.cpp
@@ -651,7 +651,7 @@ void Preprocessor::HandleLineDirective(Token &Tok) {
CheckEndOfDirective("#line");
}
- // FIXME: do something with the #line info.
+ SourceMgr.AddLineNote(DigitTok.getLocation(), LineNo, FilenameID);
}
/// ReadLineMarkerFlags - Parse and validate any flags at the end of a GNU line
@@ -762,10 +762,8 @@ void Preprocessor::HandleDigitDirective(Token &DigitTok) {
return;
}
- // FIXME: do something with the #line info.
-
-
-
+ // FIXME: do something with the #line flag info.
+ SourceMgr.AddLineNote(DigitTok.getLocation(), LineNo, FilenameID);
}