llvmorg-github-actions[bot] wrote:
<!--LLVM PR SUMMARY COMMENT--> @llvm/pr-subscribers-clang-driver Author: Zeyi Xu (zeyi2) <details> <summary>Changes</summary> Remove the duplicate `SanitizerKind::KernelAddress` entry from the list of sanitizers incompatible with `TypeSanitizer`. Found using clang-tidy, with check `misc-redundant-expression` --- Full diff: https://github.com/llvm/llvm-project/pull/209079.diff 1 Files Affected: - (modified) clang/lib/Driver/SanitizerArgs.cpp (+1-1) ``````````diff diff --git a/clang/lib/Driver/SanitizerArgs.cpp b/clang/lib/Driver/SanitizerArgs.cpp index e813efc89073d..c77ba78122a81 100644 --- a/clang/lib/Driver/SanitizerArgs.cpp +++ b/clang/lib/Driver/SanitizerArgs.cpp @@ -705,7 +705,7 @@ SanitizerArgs::SanitizerArgs(const ToolChain &TC, std::make_pair(SanitizerKind::Type, SanitizerKind::Address | SanitizerKind::KernelAddress | SanitizerKind::Memory | SanitizerKind::Leak | - SanitizerKind::Thread | SanitizerKind::KernelAddress), + SanitizerKind::Thread), std::make_pair(SanitizerKind::Thread, SanitizerKind::Memory), std::make_pair(SanitizerKind::Leak, SanitizerKind::Thread | SanitizerKind::Memory), `````````` </details> https://github.com/llvm/llvm-project/pull/209079 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
