[PATCH] D115715: [clang-tidy] Fix llvm-header-guard for Windows paths containing drive letter (e.g. C:).
Salman Javed via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Dec 14 02:55:53 PST 2021
salman-javed-nz added inline comments.
================
Comment at: clang-tools-extra/clang-tidy/llvm/HeaderGuardCheck.cpp:57
std::replace(Guard.begin(), Guard.end(), '-', '_');
+ std::replace(Guard.begin(), Guard.end(), ':', '_');
----------------
Are there other characters we should be sanitising here?
(Lest keep revisiting this code to add more characters to the list)
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D115715/new/
https://reviews.llvm.org/D115715
More information about the cfe-commits
mailing list