[clang] [clang-format] Handle doxygen commands starting with \ (PR #80381)

2024-02-06 Thread Fernando Tagawa via cfe-commits
https://github.com/XDeme closed https://github.com/llvm/llvm-project/pull/80381 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang-format] Handle doxygen commands starting with \ (PR #80381)

2024-02-06 Thread Björn Schäpers via cfe-commits
https://github.com/HazardyKnusperkeks approved this pull request. https://github.com/llvm/llvm-project/pull/80381 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang-format] Handle doxygen commands starting with \ (PR #80381)

2024-02-04 Thread Owen Pan via cfe-commits
https://github.com/owenca approved this pull request. https://github.com/llvm/llvm-project/pull/80381 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang-format] Handle doxygen commands starting with \ (PR #80381)

2024-02-04 Thread Fernando Tagawa via cfe-commits
https://github.com/XDeme updated https://github.com/llvm/llvm-project/pull/80381 >From efd816282e5f5b71d6f88038a2121fa698becf7a Mon Sep 17 00:00:00 2001 From: XDeme Date: Fri, 2 Feb 2024 00:27:57 -0300 Subject: [PATCH 1/2] [clang-format] Handle doxygen comments starting with \ --- clang/lib/Fo

[clang] [clang-format] Handle doxygen commands starting with \ (PR #80381)

2024-02-04 Thread Owen Pan via cfe-commits
https://github.com/owenca edited https://github.com/llvm/llvm-project/pull/80381 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang-format] Handle doxygen commands starting with \ (PR #80381)

2024-02-04 Thread Owen Pan via cfe-commits
https://github.com/owenca deleted https://github.com/llvm/llvm-project/pull/80381 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang-format] Handle doxygen commands starting with \ (PR #80381)

2024-02-04 Thread Owen Pan via cfe-commits
@@ -1909,6 +1909,14 @@ TEST_F(FormatTestComments, ReflowsComments) { "// @param arg", getLLVMStyleWithColumns(20))); + // Don't reflow lines starting with '\'. + EXPECT_EQ("// long long long\n" owenca wrote: Can you use

[clang] [clang-format] Handle doxygen commands starting with \ (PR #80381)

2024-02-04 Thread Owen Pan via cfe-commits
@@ -1909,6 +1909,14 @@ TEST_F(FormatTestComments, ReflowsComments) { "// @param arg", getLLVMStyleWithColumns(20))); + // Don't reflow lines starting with '\'. + EXPECT_EQ("// long long long\n" +"// long\n" +"// \

[clang] [clang-format] Handle doxygen commands starting with \ (PR #80381)

2024-02-01 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-format Author: Fernando Tagawa (XDeme) Changes Fixes llvm/llvm-project#63241 Doxygen commands can start with `@` or `\`. --- Full diff: https://github.com/llvm/llvm-project/pull/80381.diff 2 Files Affected: - (modified) clang/lib/Format/Breaka

[clang] [clang-format] Handle doxygen commands starting with \ (PR #80381)

2024-02-01 Thread Fernando Tagawa via cfe-commits
https://github.com/XDeme created https://github.com/llvm/llvm-project/pull/80381 Fixes llvm/llvm-project#63241 Doxygen commands can start with `@` or `\`. >From efd816282e5f5b71d6f88038a2121fa698becf7a Mon Sep 17 00:00:00 2001 From: XDeme Date: Fri, 2 Feb 2024 00:27:57 -0300 Subject: [PATCH] [