Author: martinboehme Date: 2023-09-13T15:07:44+02:00 New Revision: e65e94fddc92916c12ce82d0e2d2310bcdcce03d
URL: https://github.com/llvm/llvm-project/commit/e65e94fddc92916c12ce82d0e2d2310bcdcce03d DIFF: https://github.com/llvm/llvm-project/commit/e65e94fddc92916c12ce82d0e2d2310bcdcce03d.diff LOG: [clang][dataflow] Rename test target function to `target()`. (#66195) Otherwise, the test doesn't actually do anything. Added: Modified: clang/unittests/Analysis/FlowSensitive/TransferTest.cpp Removed: ################################################################################ diff --git a/clang/unittests/Analysis/FlowSensitive/TransferTest.cpp b/clang/unittests/Analysis/FlowSensitive/TransferTest.cpp index 05ee5df0e95a433..0abd171f1d0b7cb 100644 --- a/clang/unittests/Analysis/FlowSensitive/TransferTest.cpp +++ b/clang/unittests/Analysis/FlowSensitive/TransferTest.cpp @@ -5860,7 +5860,7 @@ TEST(TransferTest, EvaluateBlockWithUnreachablePreds) { // is marked unreachable). Trying to get the analysis state via // `getEnvironment` for the subexpression still should not crash. std::string Code = R"( - int cast(int i) { + int target(int i) { if ((i < 0 && true) || false) { return 0; } _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits