From 610a6d6e86347a3ab4ff270d7dfd279d4c24c296 Mon Sep 17 00:00:00 2001 From: Yineng Zhang Date: Fri, 19 Sep 2025 12:05:39 -0700 Subject: [PATCH] fix: resolve sync issue (#10668) --- .../srt/speculative/cpp_lookahead/.clang-format | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) mode change 120000 => 100644 python/sglang/srt/speculative/cpp_lookahead/.clang-format diff --git a/python/sglang/srt/speculative/cpp_lookahead/.clang-format b/python/sglang/srt/speculative/cpp_lookahead/.clang-format deleted file mode 120000 index 5a7a8cea7..000000000 --- a/python/sglang/srt/speculative/cpp_lookahead/.clang-format +++ /dev/null @@ -1 +0,0 @@ -../../../../../sgl-kernel/.clang-format \ No newline at end of file diff --git a/python/sglang/srt/speculative/cpp_lookahead/.clang-format b/python/sglang/srt/speculative/cpp_lookahead/.clang-format new file mode 100644 index 000000000..afbd654a7 --- /dev/null +++ b/python/sglang/srt/speculative/cpp_lookahead/.clang-format @@ -0,0 +1,15 @@ +BasedOnStyle: Google +IndentWidth: 2 +ColumnLimit: 120 +AllowShortFunctionsOnASingleLine: Empty +DerivePointerAlignment: false +PointerAlignment: Left +NamespaceIndentation: None +SortIncludes: true +AllowShortLoopsOnASingleLine: false +BinPackParameters: false # Prevents packing parameters in declarations +BinPackArguments: false # Prevents packing arguments in function calls +AlignAfterOpenBracket: AlwaysBreak # Forces a break after the opening parenthesis +AlignOperands: Align # Aligns arguments vertically +PenaltyBreakBeforeFirstCallParameter: 1 # Encourages breaking before the first argument +PenaltyReturnTypeOnItsOwnLine: 100 # Keeps return type with function name