[IDE] Search all comments for 'FIXME:', 'TODO:', 'MARK:' and report them in the syntax model.

Swift SVN r19423
This commit is contained in:
Argyrios Kyrtzidis
2014-07-01 19:21:16 +00:00
parent 40e6416448
commit e64821d268
6 changed files with 152 additions and 39 deletions

View File

@@ -213,7 +213,8 @@ public:
return LLVMSourceMgr.FindLineNumber(Loc.Value, BufferID);
}
StringRef extractText(CharSourceRange Range) const;
StringRef extractText(CharSourceRange Range,
Optional<unsigned> BufferID = {}) const;
llvm::SMDiagnostic GetMessage(SourceLoc Loc, llvm::SourceMgr::DiagKind Kind,
const Twine &Msg,