From 1dbc2105dca5612096d47b10e4cfe3711ac23cec Mon Sep 17 00:00:00 2001 From: Daniel Jasper Date: Fri, 31 Mar 2017 13:30:24 +0000 Subject: 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 --- clang/lib/Format/FormatTokenLexer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clang/lib/Format/FormatTokenLexer.cpp') 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) && -- cgit v1.2.3