[PATCH] D150843: [clang][Diagnostics] Refactor printableTextForNextCharacter

Timm Bäder via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed May 17 22:55:19 PDT 2023


tbaeder created this revision.
tbaeder added reviewers: aaron.ballman, tahonermann.
Herald added a project: All.
tbaeder requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

Rename parameters and local variables to start with an uppercase characters.

This is not 100% NFC, since it adds an easy/fast path for 1 byte printable characters and changes how much text is converted to UTF32.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D150843

Files:
  clang/lib/Frontend/TextDiagnostic.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D150843.523274.patch
Type: text/x-patch
Size: 5016 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230518/28116584/attachment.bin>


More information about the cfe-commits mailing list