[all-commits] [llvm/llvm-project] b0de36: [clang] Remove uses of ::testing::Matcher<const Op...
Fangrui Song via All-commits
all-commits at lists.llvm.org
Tue Dec 13 22:42:50 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b0de3630249aedb6910b4ec287ba152b32fd7f19
https://github.com/llvm/llvm-project/commit/b0de3630249aedb6910b4ec287ba152b32fd7f19
Author: Fangrui Song <i at maskray.me>
Date: 2022-12-14 (Wed, 14 Dec 2022)
Changed paths:
M clang-tools-extra/clang-tidy/bugprone/InaccurateEraseCheck.h
M clang-tools-extra/clang-tidy/bugprone/RedundantBranchConditionCheck.h
M clang-tools-extra/clang-tidy/bugprone/SuspiciousEnumUsageCheck.h
M clang-tools-extra/clang-tidy/bugprone/SuspiciousMemsetUsageCheck.h
M clang-tools-extra/clang-tidy/bugprone/ThrowKeywordMissingCheck.h
M clang-tools-extra/clang-tidy/bugprone/UnusedRaiiCheck.h
M clang-tools-extra/clang-tidy/cppcoreguidelines/SpecialMemberFunctionsCheck.h
M clang-tools-extra/clang-tidy/modernize/ReturnBracedInitListCheck.h
M clang-tools-extra/clang-tidy/modernize/ShrinkToFitCheck.h
M clang-tools-extra/clang-tidy/modernize/UseDefaultMemberInitCheck.h
M clang-tools-extra/clang-tidy/performance/InefficientAlgorithmCheck.h
M clang-tools-extra/clang-tidy/readability/AvoidConstParamsInDecls.h
M clang-tools-extra/clang-tidy/readability/BracesAroundStatementsCheck.h
M clang-tools-extra/clang-tidy/readability/ContainerDataPointerCheck.h
M clang-tools-extra/clang-tidy/readability/ContainerSizeEmptyCheck.h
M clang-tools-extra/clang-tidy/readability/DeleteNullPointerCheck.h
M clang-tools-extra/clang-tidy/readability/ElseAfterReturnCheck.h
M clang-tools-extra/clang-tidy/readability/FunctionCognitiveComplexityCheck.h
M clang-tools-extra/clang-tidy/readability/InconsistentDeclarationParameterNameCheck.h
M clang-tools-extra/clang-tidy/readability/MisleadingIndentationCheck.h
M clang-tools-extra/clang-tidy/readability/NamedParameterCheck.h
M clang-tools-extra/clang-tidy/readability/NonConstParameterCheck.h
M clang-tools-extra/clang-tidy/readability/RedundantControlFlowCheck.h
M clang-tools-extra/clang-tidy/readability/RedundantMemberInitCheck.h
M clang-tools-extra/clang-tidy/readability/RedundantSmartptrGetCheck.h
M clang-tools-extra/clang-tidy/readability/SimplifyBooleanExprCheck.h
M clang-tools-extra/clang-tidy/readability/SimplifySubscriptExprCheck.h
M clang-tools-extra/clang-tidy/readability/StaticAccessedThroughInstanceCheck.h
M clang-tools-extra/clang-tidy/readability/UniqueptrDeleteReleaseCheck.h
M clang-tools-extra/clang-tidy/readability/UppercaseLiteralSuffixCheck.h
M clang-tools-extra/clangd/FindSymbols.cpp
M clang-tools-extra/pseudo/include/clang-pseudo/grammar/LRTable.h
M clang/include/clang/AST/ParentMapContext.h
M clang/include/clang/ASTMatchers/ASTMatchFinder.h
M clang/include/clang/ASTMatchers/ASTMatchersInternal.h
M clang/include/clang/Tooling/Syntax/Tokens.h
M clang/include/clang/Tooling/Transformer/SourceCode.h
M clang/include/clang/Tooling/Transformer/SourceCodeBuilders.h
M clang/lib/ASTMatchers/ASTMatchFinder.cpp
M clang/lib/ASTMatchers/ASTMatchersInternal.cpp
M clang/lib/Tooling/DumpTool/ASTSrcLocProcessor.h
M clang/lib/Tooling/Syntax/Tokens.cpp
M clang/lib/Tooling/Transformer/RewriteRule.cpp
M clang/lib/Tooling/Transformer/SourceCode.cpp
M clang/lib/Tooling/Transformer/SourceCodeBuilders.cpp
M clang/lib/Tooling/Transformer/Stencil.cpp
M clang/unittests/ASTMatchers/ASTMatchersInternalTest.cpp
M clang/unittests/Tooling/SourceCodeBuildersTest.cpp
Log Message:
-----------
[clang] Remove uses of ::testing::Matcher<const Optional<T> &>
Change a few functions (getCheckTraversalKind, some clang/Tooling/ API, etc)
from llvm::Optional to std::optional.
More information about the All-commits
mailing list