summaryrefslogtreecommitdiffstats
path: root/clang/lib/Format/WhitespaceManager.h
diff options
context:
space:
mode:
Diffstat (limited to 'clang/lib/Format/WhitespaceManager.h')
-rw-r--r--clang/lib/Format/WhitespaceManager.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/clang/lib/Format/WhitespaceManager.h b/clang/lib/Format/WhitespaceManager.h
index 11167fa4c3c..9ca34806374 100644
--- a/clang/lib/Format/WhitespaceManager.h
+++ b/clang/lib/Format/WhitespaceManager.h
@@ -75,11 +75,11 @@ private:
struct Change {
/// \brief Functor to sort changes in original source order.
class IsBeforeInFile {
- public:
+ public:
IsBeforeInFile(const SourceManager &SourceMgr) : SourceMgr(SourceMgr) {}
bool operator()(const Change &C1, const Change &C2) const;
- private:
+ private:
const SourceManager &SourceMgr;
};
@@ -126,7 +126,6 @@ private:
unsigned TokenLength;
unsigned PreviousEndOfTokenColumn;
unsigned EscapedNewlineColumn;
-
};
/// \brief Calculate \c IsTrailingComment, \c TokenLength for the last tokens
OpenPOWER on IntegriCloud