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

via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 12 01:35:41 PST 2025


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

Yes, that makes sense. 
This change is wrong, and that's why I quickly closed the PRs associated with this. 
Thank you for your review. 

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


More information about the cfe-commits mailing list