llvm-project/clang-tools-extra/clang-tidy/utils
Salman Javed c7aa358798 [clang-tidy] Fix pr48613: "llvm-header-guard uses a reserved identifier"
Fixes https://bugs.llvm.org/show_bug.cgi?id=48613.

llvm-header-guard is suggesting header guards with leading underscores
if the header file path begins with a '/' or similar special character.
Only reserved identifiers should begin with an underscore.

Differential Revision: https://reviews.llvm.org/D114149
2021-11-30 12:43:35 +13:00
..
ASTUtils.cpp [clang-tidy] Fix lint warnings in clang-tidy source code (NFC) 2021-11-02 20:14:25 +13:00
ASTUtils.h [clang-tidy] Fix lint warnings in clang-tidy source code (NFC) 2021-11-02 20:14:25 +13:00
Aliasing.cpp [clang-tidy] bugprone-infinite-loop: forFunction() -> forCallable(). 2021-05-13 11:25:01 -07:00
Aliasing.h [clang-tidy] bugprone-infinite-loop: forFunction() -> forCallable(). 2021-05-13 11:25:01 -07:00
CMakeLists.txt [clang-tidy] New util `Aliasing` factored out from `bugprone-infinite-loop` 2020-07-01 09:04:27 +02:00
DeclRefExprUtils.cpp [clang-tidy] Fix lint warnings in clang-tidy source code (NFC) 2021-11-02 20:14:25 +13:00
DeclRefExprUtils.h [clang-tidy] Prune dead code. NFC. 2020-06-17 21:16:59 +02:00
ExceptionAnalyzer.cpp [clang-tidy] Applied clang-tidy fixes. NFC 2021-01-29 01:01:19 +01:00
ExceptionAnalyzer.h
ExprSequence.cpp [clang-tidy] Applied clang-tidy fixes. NFC 2021-01-29 01:01:19 +01:00
ExprSequence.h
FileExtensionsUtils.cpp [clang-tidy] New check: bugprone-suspicious-include 2020-03-12 09:59:28 -06:00
FileExtensionsUtils.h [clang-tools-extra] NFC: Fix trivial typo in documents and comments 2020-04-05 15:28:40 +09:00
FixItHintUtils.cpp Fix MSVC "not all control paths return a value" warning. NFCI. 2020-01-06 10:20:20 +00:00
FixItHintUtils.h [clang-tidy] Prune dead code. NFC. 2020-06-17 21:16:59 +02:00
HeaderGuard.cpp [clang-tidy] Fix pr48613: "llvm-header-guard uses a reserved identifier" 2021-11-30 12:43:35 +13:00
HeaderGuard.h [clang-tidy] Fix pr48613: "llvm-header-guard uses a reserved identifier" 2021-11-30 12:43:35 +13:00
IncludeInserter.cpp [clang-tidy] Fix lint warnings in clang-tidy source code (NFC) 2021-11-02 20:14:25 +13:00
IncludeInserter.h [clang-tidy] Fix IncludeInserter usage example in a comment. 2020-10-12 15:05:42 +02:00
IncludeSorter.cpp [clang-tidy] Fix lint warnings in clang-tidy source code (NFC) 2021-11-02 20:14:25 +13:00
IncludeSorter.h [clang-tidy] Fix lint warnings in clang-tidy source code (NFC) 2021-11-02 20:14:25 +13:00
LexerUtils.cpp [clang-tidy] Fix lint warnings in clang-tidy source code (NFC) 2021-11-02 20:14:25 +13:00
LexerUtils.h fix readability-braces-around-statements Stmt type dependency 2021-03-25 09:44:41 -04:00
Matchers.h [clang-tidy] performance-* checks: Match AllowedTypes against qualified type names when they contain "::". 2021-04-06 15:41:35 -04:00
NamespaceAliaser.cpp Make llvm::StringRef to std::string conversions explicit. 2020-01-28 23:25:25 +01:00
NamespaceAliaser.h
OptionsUtils.cpp [NFC] Tweak OptionsUtils 2020-03-10 12:50:58 +00:00
OptionsUtils.h
RenamerClangTidyCheck.cpp [clang-tidy] Fix lint warnings in clang-tidy source code (NFC) 2021-11-02 20:14:25 +13:00
RenamerClangTidyCheck.h [clang-tidy] Fix lint warnings in clang-tidy source code (NFC) 2021-11-02 20:14:25 +13:00
TransformerClangTidyCheck.cpp [clang-tidy] Fix `TransformerClangTidyCheck`'s handling of include insertions. 2021-02-12 16:23:53 +00:00
TransformerClangTidyCheck.h [clang-tidy] Allow `TransformerClangTidyCheck` clients to set the rule directly. 2020-11-18 18:25:21 +00:00
TypeTraits.cpp
TypeTraits.h [clang-tidy] Fix lint warnings in clang-tidy source code (NFC) 2021-11-02 20:14:25 +13:00
UsingInserter.cpp [ASTMatchers] StringRef'ify hasName 2020-01-29 10:53:08 +01:00
UsingInserter.h