diff options
Diffstat (limited to 'clang/lib/Format/WhitespaceManager.h')
-rw-r--r-- | clang/lib/Format/WhitespaceManager.h | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/clang/lib/Format/WhitespaceManager.h b/clang/lib/Format/WhitespaceManager.h index 4075911cd77..f83971b4add 100644 --- a/clang/lib/Format/WhitespaceManager.h +++ b/clang/lib/Format/WhitespaceManager.h @@ -81,7 +81,6 @@ public: /// \brief Returns all the \c Replacements created during formatting. const tooling::Replacements &generateReplacements(); -private: /// \brief Represents a change before a token, a break inside a token, /// or the layout of an unchanged token (or whitespace within). struct Change { @@ -160,6 +159,7 @@ private: int IndentationOffset; }; +private: /// \brief Calculate \c IsTrailingComment, \c TokenLength for the last tokens /// or token parts in a line and \c PreviousEndOfTokenColumn and /// \c EscapedNewlineColumn for the first tokens or token parts in a line. @@ -168,20 +168,9 @@ private: /// \brief Align consecutive assignments over all \c Changes. void alignConsecutiveAssignments(); - /// \brief Align consecutive assignments from change \p Start to change \p End - /// at - /// the specified \p Column. - void alignConsecutiveAssignments(unsigned Start, unsigned End, - unsigned Column); - /// \brief Align consecutive declarations over all \c Changes. void alignConsecutiveDeclarations(); - /// \brief Align consecutive declarations from change \p Start to change \p - /// End at the specified \p Column. - void alignConsecutiveDeclarations(unsigned Start, unsigned End, - unsigned Column); - /// \brief Align trailing comments over all \c Changes. void alignTrailingComments(); |