Author: Jie Fu Date: 2024-06-25T21:30:02+08:00 New Revision: c69ea04fb9738db283263eb350669e00b77ee4fd
URL: https://github.com/llvm/llvm-project/commit/c69ea04fb9738db283263eb350669e00b77ee4fd DIFF: https://github.com/llvm/llvm-project/commit/c69ea04fb9738db283263eb350669e00b77ee4fd.diff LOG: Revert "[clangd] Fix the build broken (NFC)" This reverts commit 4c91b49bab0728d4bc136aa33c4aeb4e8ea37d01 after 70cfece24d6cbb57e35dd961cc97eb2a6bf1e387. Added: Modified: clang-tools-extra/clangd/Format.cpp Removed: ################################################################################ diff --git a/clang-tools-extra/clangd/Format.cpp b/clang-tools-extra/clangd/Format.cpp index fc56a1c8c5030..272a34d4ed797 100644 --- a/clang-tools-extra/clangd/Format.cpp +++ b/clang-tools-extra/clangd/Format.cpp @@ -281,7 +281,7 @@ formatIncremental(llvm::StringRef OriginalCode, unsigned OriginalCursor, // Never *remove* lines in response to pressing enter! This annoys users. if (InsertedText == "\n") { Style.MaxEmptyLinesToKeep = 1000; - Style.KeepEmptyLines.AtStartOfBlock = true; + Style.KeepEmptyLinesAtTheStartOfBlocks = true; } // Compute the code we want to format: _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits