diff options
author | Krasimir Georgiev <krasimir@google.com> | 2017-06-13 14:58:55 +0000 |
---|---|---|
committer | Krasimir Georgiev <krasimir@google.com> | 2017-06-13 14:58:55 +0000 |
commit | 34f988d1538365595366eed30457369a2b3caa64 (patch) | |
tree | f8373143c162c94bebf9b9f53408d7aff725bdef /lib/Format | |
parent | 68584d4a736edfbb1e7203ba4e7da051765f383a (diff) |
[clang-format] Document the StartOfTokenColumn parameter, NFC
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@305293 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Format')
-rw-r--r-- | lib/Format/WhitespaceManager.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Format/WhitespaceManager.h b/lib/Format/WhitespaceManager.h index 6be4af2622..50df59d096 100644 --- a/lib/Format/WhitespaceManager.h +++ b/lib/Format/WhitespaceManager.h @@ -43,6 +43,10 @@ public: /// \brief Replaces the whitespace in front of \p Tok. Only call once for /// each \c AnnotatedToken. + /// + /// \p StartOfTokenColumn is the column at which the token will start after + /// this replacement. It is needed for determining how \p Spaces is turned + /// into tabs and spaces for some format styles. void replaceWhitespace(FormatToken &Tok, unsigned Newlines, unsigned Spaces, unsigned StartOfTokenColumn, bool InPPDirective = false); |