[PATCH] D117416: [clang-format] Handle C variables with name that matches c++ access specifier

psigillito via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 21 17:13:41 PST 2022


psigillito updated this revision to Diff 402142.
psigillito added a comment.

- revert to corner case handling with private


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D117416/new/

https://reviews.llvm.org/D117416

Files:
  .arclint
  clang/include/clang/Format/Format.h
  clang/lib/Format/BreakableToken.cpp
  clang/lib/Format/ContinuationIndenter.cpp
  clang/lib/Format/Format.cpp
  clang/lib/Format/FormatToken.h
  clang/lib/Format/FormatTokenLexer.cpp
  clang/lib/Format/TokenAnnotator.cpp
  clang/lib/Format/UnwrappedLineFormatter.cpp
  clang/lib/Format/UnwrappedLineParser.cpp
  clang/tools/clang-format/ClangFormat.cpp
  clang/unittests/Format/FormatTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D117416.402142.patch
Type: text/x-patch
Size: 18417 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220122/6041890e/attachment.bin>


More information about the llvm-commits mailing list