summaryrefslogtreecommitdiffstats
path: root/clang/lib/Lex/PPDirectives.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/lib/Lex/PPDirectives.cpp')
-rw-r--r--clang/lib/Lex/PPDirectives.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/clang/lib/Lex/PPDirectives.cpp b/clang/lib/Lex/PPDirectives.cpp
index 1ff469b8258..fa57ab3c81b 100644
--- a/clang/lib/Lex/PPDirectives.cpp
+++ b/clang/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);
}
OpenPOWER on IntegriCloud