r358630 - [clang-format] Remove unused Environment constructor.
Alexander Kornienko via cfe-commits
cfe-commits at lists.llvm.org
Wed Apr 17 17:36:51 PDT 2019
Author: alexfh
Date: Wed Apr 17 17:36:51 2019
New Revision: 358630
URL: http://llvm.org/viewvc/llvm-project?rev=358630&view=rev
Log:
[clang-format] Remove unused Environment constructor.
Modified:
cfe/trunk/lib/Format/TokenAnalyzer.h
Modified: cfe/trunk/lib/Format/TokenAnalyzer.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Format/TokenAnalyzer.h?rev=358630&r1=358629&r2=358630&view=diff
==============================================================================
--- cfe/trunk/lib/Format/TokenAnalyzer.h (original)
+++ cfe/trunk/lib/Format/TokenAnalyzer.h Wed Apr 17 17:36:51 2019
@@ -35,10 +35,6 @@ namespace format {
class Environment {
public:
- Environment(SourceManager &SM, FileID ID, ArrayRef<CharSourceRange> 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
More information about the cfe-commits
mailing list