[PATCH] D151430: [clang][dataflow][NFC] Remove unused variable.

Martin Böhme via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu May 25 05:10:11 PDT 2023


This revision was not accepted when it landed; it landed in state "Needs Review".
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG49946df8211e: [clang][dataflow][NFC] Remove unused variable. (authored by mboehme).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D151430/new/

https://reviews.llvm.org/D151430

Files:
  clang/unittests/Analysis/FlowSensitive/TypeErasedDataflowAnalysisTest.cpp


Index: clang/unittests/Analysis/FlowSensitive/TypeErasedDataflowAnalysisTest.cpp
===================================================================
--- clang/unittests/Analysis/FlowSensitive/TypeErasedDataflowAnalysisTest.cpp
+++ clang/unittests/Analysis/FlowSensitive/TypeErasedDataflowAnalysisTest.cpp
@@ -64,9 +64,6 @@
                     AST->getASTContext()));
   assert(Func != nullptr);
 
-  Stmt *Body = Func->getBody();
-  assert(Body != nullptr);
-
   auto CFCtx =
       llvm::cantFail(ControlFlowContext::build(*Func, AST->getASTContext()));
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D151430.525551.patch
Type: text/x-patch
Size: 558 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230525/2f2ca65f/attachment.bin>


More information about the cfe-commits mailing list