diff options
Diffstat (limited to 'clang/lib/Format')
| -rw-r--r-- | clang/lib/Format/Format.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/clang/lib/Format/Format.cpp b/clang/lib/Format/Format.cpp index b41528ee567..e7ebd685152 100644 --- a/clang/lib/Format/Format.cpp +++ b/clang/lib/Format/Format.cpp @@ -1487,15 +1487,6 @@ private: } // end anonymous namespace -tooling::Replacements reformat(const FormatStyle &Style, Lexer &Lex, - SourceManager &SourceMgr, - ArrayRef<CharSourceRange> Ranges) { - if (Style.DisableFormat) - return tooling::Replacements(); - return reformat(Style, SourceMgr, - SourceMgr.getFileID(Lex.getSourceLocation()), Ranges); -} - tooling::Replacements reformat(const FormatStyle &Style, SourceManager &SourceMgr, FileID ID, ArrayRef<CharSourceRange> Ranges) { |

