[clang] fb37929 - [clang] Remove duplicated 'FunctionType =' in assignment. NFC.
Jim Lin via cfe-commits
cfe-commits at lists.llvm.org
Thu Oct 9 00:01:58 PDT 2025
Author: Jim Lin
Date: 2025-10-09T14:54:11+08:00
New Revision: fb37929414abe02a5eefa040a0e24c0ea965ffdb
URL: https://github.com/llvm/llvm-project/commit/fb37929414abe02a5eefa040a0e24c0ea965ffdb
DIFF: https://github.com/llvm/llvm-project/commit/fb37929414abe02a5eefa040a0e24c0ea965ffdb.diff
LOG: [clang] Remove duplicated 'FunctionType =' in assignment. NFC.
Added:
Modified:
clang/lib/CodeGen/CGCall.cpp
Removed:
################################################################################
diff --git a/clang/lib/CodeGen/CGCall.cpp b/clang/lib/CodeGen/CGCall.cpp
index a931ce476b8ae..c5371e4c841cb 100644
--- a/clang/lib/CodeGen/CGCall.cpp
+++ b/clang/lib/CodeGen/CGCall.cpp
@@ -3018,8 +3018,7 @@ void CodeGenModule::ConstructAttributeList(StringRef Name,
ArgNo = 0;
if (AddedPotentialArgAccess && MemAttrForPtrArgs) {
- llvm::FunctionType *FunctionType = FunctionType =
- getTypes().GetFunctionType(FI);
+ llvm::FunctionType *FunctionType = getTypes().GetFunctionType(FI);
for (CGFunctionInfo::const_arg_iterator I = FI.arg_begin(),
E = FI.arg_end();
I != E; ++I, ++ArgNo) {
More information about the cfe-commits
mailing list