Author: NAKAMURA Takumi Date: 2026-08-15T19:11:32+09:00 New Revision: e45f256d0389ca5f9536dcd949680c1097ef9728
URL: https://github.com/llvm/llvm-project/commit/e45f256d0389ca5f9536dcd949680c1097ef9728 DIFF: https://github.com/llvm/llvm-project/commit/e45f256d0389ca5f9536dcd949680c1097ef9728.diff LOG: IntervalPartitionTest.cpp: Suppress a warning. [-Wunused-template] (#215564) I think it'd be fair just to suppress since this is just a test. Added: Modified: clang/unittests/Analysis/IntervalPartitionTest.cpp Removed: ################################################################################ diff --git a/clang/unittests/Analysis/IntervalPartitionTest.cpp b/clang/unittests/Analysis/IntervalPartitionTest.cpp index 845608504a3d0..e2391ac56e69c 100644 --- a/clang/unittests/Analysis/IntervalPartitionTest.cpp +++ b/clang/unittests/Analysis/IntervalPartitionTest.cpp @@ -90,7 +90,7 @@ using ::testing::UnorderedElementsAre; MATCHER_P(intervalID, ID, "") { return arg->ID == ID; } -template <typename... T> auto blockIDs(T... IDs) { +template <typename... T> [[maybe_unused]] auto blockIDs(T... IDs) { return UnorderedElementsAre(Property(&CFGBlock::getBlockID, IDs)...); } _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
