[all-commits] [llvm/llvm-project] af4f2e: [clang-tidy] remove duplicate fixes of alias checkers
Daniel599 via All-commits
all-commits at lists.llvm.org
Fri Jun 19 12:41:44 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: af4f2eb476361e6da42d6f66a68cada763625c32
https://github.com/llvm/llvm-project/commit/af4f2eb476361e6da42d6f66a68cada763625c32
Author: Daniel <daniel.cohen599 at gmail.com>
Date: 2020-06-19 (Fri, 19 Jun 2020)
Changed paths:
M clang-tools-extra/clang-tidy/ClangTidy.cpp
M clang-tools-extra/clang-tidy/ClangTidyDiagnosticConsumer.cpp
M clang-tools-extra/clang-tidy/ClangTidyDiagnosticConsumer.h
A clang-tools-extra/test/clang-tidy/infrastructure/duplicate-conflicted-fixes-of-alias-checkers.cpp
A clang-tools-extra/test/clang-tidy/infrastructure/duplicate-fixes-of-alias-checkers.cpp
M clang-tools-extra/test/clang-tidy/infrastructure/duplicate-reports.cpp
M llvm/include/llvm/ADT/StringMap.h
M llvm/unittests/ADT/StringMapTest.cpp
Log Message:
-----------
[clang-tidy] remove duplicate fixes of alias checkers
when both a check and its alias are enabled, we should only take the fixes of one of them and not both.
This patch fixes bug 45577
https://bugs.llvm.org/show_bug.cgi?id=45577
Reviewed By: aaron.ballman, njames93
Differential Revision: https://reviews.llvm.org/D80753
More information about the All-commits
mailing list