Skip to content

Commit 7f70661

Browse files
committed
fixup!
Created using spr 1.3.8-beta.1
1 parent 14c7544 commit 7f70661

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/CodeGen/CGExpr.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1339,7 +1339,7 @@ void CodeGenFunction::EmitAllocTokenHint(llvm::CallBase *CB,
13391339
};
13401340
const bool ContainsPtr = TypeContainsPtr(TypeContainsPtr, AllocType);
13411341
if (!ContainsPtr && IncompleteType)
1342-
return nullptr;
1342+
return;
13431343
auto *ContainsPtrC = Builder.getInt1(ContainsPtr);
13441344
auto *ContainsPtrMD = MDB.createConstant(ContainsPtrC);
13451345

0 commit comments

Comments
 (0)