[clang] 7e52ad3 - Fix a warning for #91455 [-Wc++20-extensions]

NAKAMURA Takumi via cfe-commits cfe-commits at lists.llvm.org
Fri May 10 00:00:35 PDT 2024


Author: NAKAMURA Takumi
Date: 2024-05-10T16:00:16+09:00
New Revision: 7e52ad3b5b9509d0873965e8492ab01141342822

URL: https://github.com/llvm/llvm-project/commit/7e52ad3b5b9509d0873965e8492ab01141342822
DIFF: https://github.com/llvm/llvm-project/commit/7e52ad3b5b9509d0873965e8492ab01141342822.diff

LOG: Fix a warning for #91455 [-Wc++20-extensions]

Added: 
    

Modified: 
    clang/unittests/Analysis/FlowSensitive/WatchedLiteralsSolverTest.cpp

Removed: 
    


################################################################################
diff  --git a/clang/unittests/Analysis/FlowSensitive/WatchedLiteralsSolverTest.cpp b/clang/unittests/Analysis/FlowSensitive/WatchedLiteralsSolverTest.cpp
index 0a2514a2d7c12..d194742dbea7d 100644
--- a/clang/unittests/Analysis/FlowSensitive/WatchedLiteralsSolverTest.cpp
+++ b/clang/unittests/Analysis/FlowSensitive/WatchedLiteralsSolverTest.cpp
@@ -20,7 +20,7 @@ SolverTest<WatchedLiteralsSolver>::createSolverWithLowTimeout() {
 namespace {
 
 INSTANTIATE_TYPED_TEST_SUITE_P(WatchedLiteralsSolverTest, SolverTest,
-                               WatchedLiteralsSolver);
+                               WatchedLiteralsSolver, );
 
 } // namespace
 } // namespace clang::dataflow::test


        


More information about the cfe-commits mailing list