aboutsummaryrefslogtreecommitdiff
path: root/lib/Format/TokenAnnotator.h
diff options
context:
space:
mode:
authorKrasimir Georgiev <krasimir@google.com>2018-04-23 10:02:59 +0000
committerKrasimir Georgiev <krasimir@google.com>2018-04-23 10:02:59 +0000
commit5456d852f4e0114761aa4eefa0f65a05fdd65683 (patch)
tree704b734c963151447b00558f29b7368680a77b8a /lib/Format/TokenAnnotator.h
parent3a450c607490719048d7e52bb50e18c54066e884 (diff)
[clang-format] Fix clang-tidy readability problems, NFCI
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@330574 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Format/TokenAnnotator.h')
-rw-r--r--lib/Format/TokenAnnotator.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Format/TokenAnnotator.h b/lib/Format/TokenAnnotator.h
index 7be0753c20..15b9ae6462 100644
--- a/lib/Format/TokenAnnotator.h
+++ b/lib/Format/TokenAnnotator.h
@@ -161,7 +161,7 @@ private:
bool spaceRequiredBetween(const AnnotatedLine &Line, const FormatToken &Left,
const FormatToken &Right);
- bool spaceRequiredBefore(const AnnotatedLine &Line, const FormatToken &Tok);
+ bool spaceRequiredBefore(const AnnotatedLine &Line, const FormatToken &Right);
bool mustBreakBefore(const AnnotatedLine &Line, const FormatToken &Right);