Skip to content

Commit e65e94f

Browse files
authored
[clang][dataflow] Rename test target function to target(). (#66195)
Otherwise, the test doesn't actually do anything.
1 parent 6360d09 commit e65e94f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/unittests/Analysis/FlowSensitive/TransferTest.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5860,7 +5860,7 @@ TEST(TransferTest, EvaluateBlockWithUnreachablePreds) {
58605860
// is marked unreachable). Trying to get the analysis state via
58615861
// `getEnvironment` for the subexpression still should not crash.
58625862
std::string Code = R"(
5863-
int cast(int i) {
5863+
int target(int i) {
58645864
if ((i < 0 && true) || false) {
58655865
return 0;
58665866
}

0 commit comments

Comments
 (0)