[clang] [clang-fuzzer][cmake] replace deprecated protobuf_generate_cpp (PR #161239)

2025-11-02 Thread Ruoyu Zhong via cfe-commits
ZhongRuoyu wrote: Gentle ping. https://github.com/llvm/llvm-project/pull/161239 ___ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang-format] Fix repeated backslash insertion in macro line comments (PR #164300)

2025-10-20 Thread Ruoyu Zhong via cfe-commits
ZhongRuoyu wrote: > You may also want to update the commit message, because line comments **can** > be continued with `\`. https://godbolt.org/z/GP8YnoTqb Thanks -- didn't think about that! I updated the PR description as well. https://github.com/llvm/llvm-project/pull/164300

[clang] [clang-format] Fix repeated backslash insertion in macro line comments (PR #164300)

2025-10-20 Thread Ruoyu Zhong via cfe-commits
https://github.com/ZhongRuoyu edited https://github.com/llvm/llvm-project/pull/164300 ___ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang-format] Fix repeated backslash insertion in macro line comments (PR #164300)

2025-10-20 Thread Ruoyu Zhong via cfe-commits
https://github.com/ZhongRuoyu updated https://github.com/llvm/llvm-project/pull/164300 >From f06121a3c16e68cb6fee9b77c24c400e7ff8b111 Mon Sep 17 00:00:00 2001 From: Ruoyu Zhong Date: Tue, 21 Oct 2025 02:44:16 +0800 Subject: [PATCH] [clang-format] Fix repeated backslash insertion in macro line

[clang] [clang-format] Fix repeated backslash insertion in macro line comments (PR #164300)

2025-10-20 Thread Ruoyu Zhong via cfe-commits
https://github.com/ZhongRuoyu created https://github.com/llvm/llvm-project/pull/164300 Line comments in preprocessor directives were incorrectly marked as continuing the directive, causing clang-format to add backslashes after them on repeated runs. Line comments cannot span multiple lines wit

[clang] [Clang] only convert dependency filename to native form when MS-compatible (PR #160903)

2025-10-19 Thread Ruoyu Zhong via cfe-commits
https://github.com/ZhongRuoyu updated https://github.com/llvm/llvm-project/pull/160903 >From 181c4d65060405cdba484c18ae09b3fe1255414d Mon Sep 17 00:00:00 2001 From: Ruoyu Zhong Date: Fri, 26 Sep 2025 23:17:32 +0800 Subject: [PATCH] [Clang] only convert dependency filename to native form when M

[clang-tools-extra] [clangd] Fix code action kind for readability-identifier-naming fixes (PR #162808)

2025-10-18 Thread Ruoyu Zhong via cfe-commits
https://github.com/ZhongRuoyu created https://github.com/llvm/llvm-project/pull/162808 Commit a45df47375e50914900dcc07abd2fa67bfa0dd3b (https://github.com/llvm/llvm-project/pull/78454) converted readability-identifier-naming fixes to use rename mechanism to leverage the index for better resul

[clang] [Clang] only convert dependency filename to native form when MS-compatible (PR #160903)

2025-10-18 Thread Ruoyu Zhong via cfe-commits
https://github.com/ZhongRuoyu edited https://github.com/llvm/llvm-project/pull/160903 ___ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang-fuzzer][cmake] replace deprecated protobuf_generate_cpp (PR #161239)

2025-10-17 Thread Ruoyu Zhong via cfe-commits
https://github.com/ZhongRuoyu created https://github.com/llvm/llvm-project/pull/161239 Replace deprecated `protobuf_generate_cpp` with `protobuf_generate`, which is available in CMake since version 3.13 [^1]. This CMake version is already higher than the minimum required version (3.20), so no

[clang] [Clang] only convert dependency filename to native form when MS-compatible (PR #160903)

2025-09-28 Thread Ruoyu Zhong via cfe-commits
https://github.com/ZhongRuoyu updated https://github.com/llvm/llvm-project/pull/160903 >From a9e571852a11ca7812bbb243462d060061779598 Mon Sep 17 00:00:00 2001 From: Ruoyu Zhong Date: Fri, 26 Sep 2025 23:17:32 +0800 Subject: [PATCH 1/2] [Clang] only convert dependency filename to native form wh

[clang] [Clang] only convert dependency filename to native form when MS-compatible (PR #160903)

2025-09-26 Thread Ruoyu Zhong via cfe-commits
https://github.com/ZhongRuoyu edited https://github.com/llvm/llvm-project/pull/160903 ___ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang] only convert dependency filename to native form when MS-compatible (PR #160903)

2025-09-26 Thread Ruoyu Zhong via cfe-commits
https://github.com/ZhongRuoyu edited https://github.com/llvm/llvm-project/pull/160903 ___ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang] only convert dependency filename to native form when MS-compatible (PR #160903)

2025-09-26 Thread Ruoyu Zhong via cfe-commits
https://github.com/ZhongRuoyu created https://github.com/llvm/llvm-project/pull/160903 Currently, `llvm::sys::path::native` is called unconditionally when generating dependency filenames. This is correct on Windows, where backslashes are valid path separators, but can be incorrect on non-Windo

[clang] [clang-format] Fix qualifier ordering for lines after PP directives (PR #160731)

2025-09-25 Thread Ruoyu Zhong via cfe-commits
https://github.com/ZhongRuoyu updated https://github.com/llvm/llvm-project/pull/160731 >From 2c8e4b75a4711940f0fd49c23b5208a678689d04 Mon Sep 17 00:00:00 2001 From: Ruoyu Zhong Date: Fri, 26 Sep 2025 00:19:53 +0800 Subject: [PATCH 1/2] [clang-format] Fix qualifier ordering for lines after PP d

[clang] [clang-format] Fix qualifier ordering for lines after PP directives (PR #160731)

2025-09-25 Thread Ruoyu Zhong via cfe-commits
https://github.com/ZhongRuoyu created https://github.com/llvm/llvm-project/pull/160731 Lines appearing after preprocessor conditional blocks (like `#endif`) were not having their qualifiers reordered by `QualifierOrder`, while lines inside the conditional blocks were processed correctly. The