diff options
author | Daniel Jasper <djasper@google.com> | 2017-03-31 13:30:24 +0000 |
---|---|---|
committer | Daniel Jasper <djasper@google.com> | 2017-03-31 13:30:24 +0000 |
commit | 1dbc2105dca5612096d47b10e4cfe3711ac23cec (patch) | |
tree | 5d82a5261b699e950ee49ba95b1bdbbaa8e93b6f /clang/lib/Format/FormatTokenLexer.cpp | |
parent | 56bb0857e92c9f578916e83adf692e85f04ee428 (diff) | |
download | bcm5719-llvm-1dbc2105dca5612096d47b10e4cfe3711ac23cec.tar.gz bcm5719-llvm-1dbc2105dca5612096d47b10e4cfe3711ac23cec.zip |
clang-format: Fix post-commit review comment of r299204, use Style.isCpp().
Also, while at it, s/IsCpp/isCpp/ so that it follows LLVM style.
llvm-svn: 299214
Diffstat (limited to 'clang/lib/Format/FormatTokenLexer.cpp')
-rw-r--r-- | clang/lib/Format/FormatTokenLexer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Format/FormatTokenLexer.cpp b/clang/lib/Format/FormatTokenLexer.cpp index 90b80a45449..91c9af005a2 100644 --- a/clang/lib/Format/FormatTokenLexer.cpp +++ b/clang/lib/Format/FormatTokenLexer.cpp @@ -560,7 +560,7 @@ FormatToken *FormatTokenLexer::getNextToken() { Column = FormatTok->LastLineColumnWidth; } - if (Style.IsCpp()) { + if (Style.isCpp()) { if (!(Tokens.size() > 0 && Tokens.back()->Tok.getIdentifierInfo() && Tokens.back()->Tok.getIdentifierInfo()->getPPKeywordID() == tok::pp_define) && |