diff options
Diffstat (limited to 'lib/Format/TokenAnalyzer.h')
-rw-r--r-- | lib/Format/TokenAnalyzer.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/Format/TokenAnalyzer.h b/lib/Format/TokenAnalyzer.h index c1aa9c594fc3e..78a3d1bc8d9e5 100644 --- a/lib/Format/TokenAnalyzer.h +++ b/lib/Format/TokenAnalyzer.h @@ -31,8 +31,6 @@ #include "llvm/ADT/STLExtras.h" #include "llvm/Support/Debug.h" -#define DEBUG_TYPE "format-formatter" - namespace clang { namespace format { @@ -57,15 +55,12 @@ public: FileID getFileID() const { return ID; } - StringRef getFileName() const { return FileName; } - ArrayRef<CharSourceRange> getCharRanges() const { return CharRanges; } const SourceManager &getSourceManager() const { return SM; } private: FileID ID; - StringRef FileName; SmallVector<CharSourceRange, 8> CharRanges; SourceManager &SM; @@ -87,7 +82,7 @@ protected: virtual tooling::Replacements analyze(TokenAnnotator &Annotator, SmallVectorImpl<AnnotatedLine *> &AnnotatedLines, - FormatTokenLexer &Tokens, tooling::Replacements &Result) = 0; + FormatTokenLexer &Tokens) = 0; void consumeUnwrappedLine(const UnwrappedLine &TheLine) override; |