[clang] [NFC] Delete useless call (PR #126874)

Balazs Benics via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 12 01:13:08 PST 2025


================
@@ -440,7 +440,6 @@ static SVal castArgToParamTypeIfNeeded(const CallEvent &Call, unsigned ArgIdx,
     return ArgVal;
 
   const FunctionDecl *Definition = CallExprDecl;
-  Definition->hasBody(Definition);
----------------
steakhal wrote:

These tests can be run using `check-clang-analysis`, or using `check-clang`.

https://github.com/llvm/llvm-project/pull/126874


More information about the cfe-commits mailing list