[PATCH] D114149: [clang-tidy] Fix pr48613: "llvm-header-guard uses a reserved identifier"

Salman Javed via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Nov 20 05:34:20 PST 2021


salman-javed-nz marked 4 inline comments as done.
salman-javed-nz added a comment.

I reverted my changes to do with the invalid character substitution. Doing something akin to `isAllowedInitiallyIDChar()` and `isAllowedIDChar()` in Lexer.cpp will require converting from `char*` to `UTF32*`. Windows complicates things by using its own code page (typically Windows-1252). Will require a lot of careful consideration to implement correctly.

Changing this was never part of the PR's scope, so I have reverted it for now.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D114149



More information about the cfe-commits mailing list