From e9149d19acaa08b5de55ecbd19348cbb60cdde72 Mon Sep 17 00:00:00 2001 From: Alexander Kornienko Date: Thu, 18 Apr 2019 00:36:51 +0000 Subject: [PATCH] [clang-format] Remove unused Environment constructor. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@358630 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Format/TokenAnalyzer.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/Format/TokenAnalyzer.h b/lib/Format/TokenAnalyzer.h index 7e6eb8d2ea..5ce44a0f3e 100644 --- a/lib/Format/TokenAnalyzer.h +++ b/lib/Format/TokenAnalyzer.h @@ -35,10 +35,6 @@ namespace format { class Environment { public: - Environment(SourceManager &SM, FileID ID, ArrayRef Ranges) - : SM(SM), ID(ID), CharRanges(Ranges.begin(), Ranges.end()), - FirstStartColumn(0), NextStartColumn(0), LastStartColumn(0) {} - // This sets up an virtual file system with file \p FileName containing the // fragment \p Code. Assumes that \p Code starts at \p FirstStartColumn, // that the next lines of \p Code should start at \p NextStartColumn, and -- 2.40.0