Skip to content

Commit fb37929

Browse files
committed
[clang] Remove duplicated 'FunctionType =' in assignment. NFC.
1 parent 7f8d9b0 commit fb37929

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

clang/lib/CodeGen/CGCall.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3018,8 +3018,7 @@ void CodeGenModule::ConstructAttributeList(StringRef Name,
30183018

30193019
ArgNo = 0;
30203020
if (AddedPotentialArgAccess && MemAttrForPtrArgs) {
3021-
llvm::FunctionType *FunctionType = FunctionType =
3022-
getTypes().GetFunctionType(FI);
3021+
llvm::FunctionType *FunctionType = getTypes().GetFunctionType(FI);
30233022
for (CGFunctionInfo::const_arg_iterator I = FI.arg_begin(),
30243023
E = FI.arg_end();
30253024
I != E; ++I, ++ArgNo) {

0 commit comments

Comments
 (0)