[clang] 7de9fe9 - [NFC][clang][Sema] Move three tests to SemaCXX (#240864)
via cfe-commits
cfe-commits at lists.llvm.org
Thu Nov 12 01:24:03 PST 2026
Author: DonĂ¡t Nagy
Date: 2026-11-12T10:23:58+01:00
New Revision: 7de9fe9afe1abe002f7076068ff6deb6a82262cb
URL: https://github.com/llvm/llvm-project/commit/7de9fe9afe1abe002f7076068ff6deb6a82262cb
DIFF: https://github.com/llvm/llvm-project/commit/7de9fe9afe1abe002f7076068ff6deb6a82262cb.diff
LOG: [NFC][clang][Sema] Move three tests to SemaCXX (#240864)
Move three C++ lit test files from `clang/test/Analysis` to
`clang/test/SemaCXX` because that is where the bulk of the tests for
these compiler warnings (`-Wthread-safety`, `-Wuninitialized`,
`-Wconsumed` and `-Wunreachable-code-aggressive`) are located.
For background information, see
https://discourse.llvm.org/t/untangle-static-analyzer-and-ssaf-tests/91835/13
Added:
clang/test/SemaCXX/pragma-diag-control.cpp
clang/test/SemaCXX/thread-safety-handle-parenthesis.cpp
clang/test/SemaCXX/uninitialized-PR9741.cpp
Modified:
Removed:
clang/test/Analysis/PR9741.cpp
clang/test/Analysis/pragma-diag-control.cpp
clang/test/Analysis/thread-safety-handle-parenthesis.cpp
################################################################################
diff --git a/clang/test/Analysis/pragma-diag-control.cpp b/clang/test/SemaCXX/pragma-diag-control.cpp
similarity index 100%
rename from clang/test/Analysis/pragma-diag-control.cpp
rename to clang/test/SemaCXX/pragma-diag-control.cpp
diff --git a/clang/test/Analysis/thread-safety-handle-parenthesis.cpp b/clang/test/SemaCXX/thread-safety-handle-parenthesis.cpp
similarity index 100%
rename from clang/test/Analysis/thread-safety-handle-parenthesis.cpp
rename to clang/test/SemaCXX/thread-safety-handle-parenthesis.cpp
diff --git a/clang/test/Analysis/PR9741.cpp b/clang/test/SemaCXX/uninitialized-PR9741.cpp
similarity index 100%
rename from clang/test/Analysis/PR9741.cpp
rename to clang/test/SemaCXX/uninitialized-PR9741.cpp
More information about the cfe-commits
mailing list