Skip to content

Conversation

martinboehme
Copy link
Contributor

Otherwise, the test doesn't actually do anything.

Otherwise, the test doesn't actually do anything.
@martinboehme martinboehme requested a review from a team as a code owner September 13, 2023 11:52
@llvmbot llvmbot added clang Clang issues not falling into any other category clang:dataflow Clang Dataflow Analysis framework - https://clang.llvm.org/docs/DataFlowAnalysisIntro.html labels Sep 13, 2023
@llvmbot
Copy link
Member

llvmbot commented Sep 13, 2023

@llvm/pr-subscribers-clang

Changes Otherwise, the test doesn't actually do anything.

--
Full diff: https://github.com/llvm/llvm-project/pull/66195.diff

1 Files Affected:

  • (modified) clang/unittests/Analysis/FlowSensitive/TransferTest.cpp (+1-1)
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;
       }

@martinboehme martinboehme requested a review from ymand September 13, 2023 12:02
@martinboehme martinboehme merged commit e65e94f into llvm:main Sep 13, 2023
martinboehme added a commit to martinboehme/llvm-project that referenced this pull request Sep 13, 2023
…target functions.

Before, we were silently letting the test pass, which masks test bugs; for an
example, see llvm#66195.
martinboehme added a commit that referenced this pull request Sep 14, 2023
…target functions. (#66197)

Before, we were silently letting the test pass, which masks test bugs;
for an
example, see #66195.
kstoimenov pushed a commit to kstoimenov/llvm-project that referenced this pull request Sep 14, 2023
…target functions. (llvm#66197)

Before, we were silently letting the test pass, which masks test bugs;
for an
example, see llvm#66195.
ZijunZhaoCCK pushed a commit to ZijunZhaoCCK/llvm-project that referenced this pull request Sep 19, 2023
)

Otherwise, the test doesn't actually do anything.
ZijunZhaoCCK pushed a commit to ZijunZhaoCCK/llvm-project that referenced this pull request Sep 19, 2023
…target functions. (llvm#66197)

Before, we were silently letting the test pass, which masks test bugs;
for an
example, see llvm#66195.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
clang:dataflow Clang Dataflow Analysis framework - https://clang.llvm.org/docs/DataFlowAnalysisIntro.html clang Clang issues not falling into any other category
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants