llvm-project/clang-tools-extra/clang-tidy/llvm
Salman Javed b4f6f1c936 [clang-tidy] Fix llvm-header-guard so that it works with Windows paths
Fixes pr40372 (https://bugs.llvm.org/show_bug.cgi?id=40372).

The llvm-header-guard check does not take into account that the path
separator on Windows is `\`, not `/`.

This means that instead of suggesting a header guard in the form of:
LLVM_CLANG_TOOLS_EXTRA_CLANG_TIDY_FOO_H

it incorrectly suggests:
C:\LLVM_PROJECT\CLANG_TOOLS_EXTRA\CLANG_TIDY\FOO_H

Differential Revision: https://reviews.llvm.org/D113450
2021-11-10 18:35:57 +13:00
..
CMakeLists.txt [openmp] Add missing dependencies for OMP.h.inc after d90443b 2020-06-23 11:48:04 -04:00
HeaderGuardCheck.cpp [clang-tidy] Fix llvm-header-guard so that it works with Windows paths 2021-11-10 18:35:57 +13:00
HeaderGuardCheck.h [clang-tidy] Use ; as separator for HeaderFileExtensions 2020-03-09 11:32:44 -06:00
IncludeOrderCheck.cpp [clang-tidy] Make clang-format and include-order-check coherent 2020-11-17 14:54:10 +01:00
IncludeOrderCheck.h
LLVMTidyModule.cpp [clang-tidy][NFC] Update tests and Default options to use boolean value 2021-05-04 18:17:56 +01:00
PreferIsaOrDynCastInConditionalsCheck.cpp [clang-tidy] Use new mapping matchers 2021-02-03 23:21:17 +00:00
PreferIsaOrDynCastInConditionalsCheck.h [clang-tidy] Change checks to use new isLanguageVersionSupported restriction 2020-03-03 16:43:45 +00:00
PreferRegisterOverUnsignedCheck.cpp [clang-tidy][NFC] Tweak some generation of diag messages 2021-02-26 19:10:25 +00:00
PreferRegisterOverUnsignedCheck.h
TwineLocalCheck.cpp [clang-tidy] llvm-twine-local ignores parameters 2020-06-22 18:25:45 +01:00
TwineLocalCheck.h