Author: Orlando Cazalet-Hyams Date: 2024-03-18T10:13:12Z New Revision: 3e4170a587adb789b77ede799d09139b50ebe5bc
URL: https://github.com/llvm/llvm-project/commit/3e4170a587adb789b77ede799d09139b50ebe5bc DIFF: https://github.com/llvm/llvm-project/commit/3e4170a587adb789b77ede799d09139b50ebe5bc.diff LOG: Revert "Fix formatting in #84756" This reverts commit b097b3dc2ba2517621a5e3da3237a77ed0e7586f. Buildbots: https://lab.llvm.org/buildbot/#/builders/196/builds/47206 Added: Modified: clang/lib/CodeGen/CGBlocks.cpp Removed: ################################################################################ diff --git a/clang/lib/CodeGen/CGBlocks.cpp b/clang/lib/CodeGen/CGBlocks.cpp index ad0b50d799618e..768b786c6426df 100644 --- a/clang/lib/CodeGen/CGBlocks.cpp +++ b/clang/lib/CodeGen/CGBlocks.cpp @@ -1542,7 +1542,7 @@ llvm::Function *CodeGenFunction::GenerateBlockFunction( // Go back to the entry. if (entry_ptr->getNextNonDebugInstruction()) entry_ptr = entry_ptr->getNextNonDebugInstruction()->getIterator(); - else + else entry_ptr = entry->end(); Builder.SetInsertPoint(entry, entry_ptr); _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits