aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Frontend/TextDiagnostic.h
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2012-12-01 20:58:01 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2012-12-01 20:58:01 +0000
commitc2b914fb6fed213a7e7d9847e543f1e7f94d852d (patch)
tree8235e899527bd9e4308b6b394a14b7a2f10d9265 /include/clang/Frontend/TextDiagnostic.h
parentbda07ace55e40bd1a620051156fa9b13ad3936aa (diff)
Make helper classes anonymous. Make helper functions static instead of private members so the anonymous class doesn't leak out.
No functionality change. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@169099 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Frontend/TextDiagnostic.h')
-rw-r--r--include/clang/Frontend/TextDiagnostic.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/include/clang/Frontend/TextDiagnostic.h b/include/clang/Frontend/TextDiagnostic.h
index bce4e05efc..656aa57e6e 100644
--- a/include/clang/Frontend/TextDiagnostic.h
+++ b/include/clang/Frontend/TextDiagnostic.h
@@ -18,8 +18,6 @@
#include "clang/Frontend/DiagnosticRenderer.h"
-struct SourceColumnMap;
-
namespace clang {
/// \brief Class to encapsulate the logic for formatting and printing a textual
@@ -119,16 +117,6 @@ private:
void emitSnippet(StringRef SourceLine);
- void highlightRange(const CharSourceRange &R,
- unsigned LineNo, FileID FID,
- const SourceColumnMap &map,
- std::string &CaretLine,
- const SourceManager &SM);
-
- std::string buildFixItInsertionLine(unsigned LineNo,
- const SourceColumnMap &map,
- ArrayRef<FixItHint> Hints,
- const SourceManager &SM);
void emitParseableFixits(ArrayRef<FixItHint> Hints, const SourceManager &SM);
};