Deleted Added
full compact
TextDiagnosticPrinter.h (198893) TextDiagnosticPrinter.h (198954)
1//===--- TextDiagnosticPrinter.h - Text Diagnostic Client -------*- C++ -*-===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//

--- 25 unchanged lines hidden (view full) ---

34
35 SourceLocation LastWarningLoc;
36 FullSourceLoc LastLoc;
37 bool LastCaretDiagnosticWasNote;
38
39public:
40 TextDiagnosticPrinter(llvm::raw_ostream &os, const DiagnosticOptions &diags);
41
1//===--- TextDiagnosticPrinter.h - Text Diagnostic Client -------*- C++ -*-===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//

--- 25 unchanged lines hidden (view full) ---

34
35 SourceLocation LastWarningLoc;
36 FullSourceLoc LastLoc;
37 bool LastCaretDiagnosticWasNote;
38
39public:
40 TextDiagnosticPrinter(llvm::raw_ostream &os, const DiagnosticOptions &diags);
41
42 void setLangOptions(const LangOptions *LO) {
43 LangOpts = LO;
42 void BeginSourceFile(const LangOptions &LO) {
43 LangOpts = &LO;
44 }
45
44 }
45
46 void EndSourceFile() {
47 LangOpts = 0;
48 }
49
46 void PrintIncludeStack(SourceLocation Loc, const SourceManager &SM);
47
48 void HighlightRange(const SourceRange &R,
49 const SourceManager &SrcMgr,
50 unsigned LineNo, FileID FID,
51 std::string &CaretLine,
52 const std::string &SourceLine);
53

--- 14 unchanged lines hidden ---
50 void PrintIncludeStack(SourceLocation Loc, const SourceManager &SM);
51
52 void HighlightRange(const SourceRange &R,
53 const SourceManager &SrcMgr,
54 unsigned LineNo, FileID FID,
55 std::string &CaretLine,
56 const std::string &SourceLine);
57

--- 14 unchanged lines hidden ---