[clang] [llvm] [RISCV][WIP] Add assembler support for Zvma (PR #132965)

2025-03-25 Thread Letu Ren via cfe-commits
https://github.com/FantasqueX created https://github.com/llvm/llvm-project/pull/132965 None >From b07a5cafd1a0f281012796fb23085828d8b64f68 Mon Sep 17 00:00:00 2001 From: Letu Ren Date: Wed, 26 Mar 2025 01:44:50 +0800 Subject: [PATCH] [RISCV] Add assembler support for Zvma --- .../Driver/prin

[clang] [clang][CodeComplete] Add code completion for if constexpr and consteval (PR #124315)

2025-03-13 Thread Letu Ren via cfe-commits
@@ -6749,6 +6749,55 @@ void SemaCodeCompletion::CodeCompleteInitializer(Scope *S, Decl *D) { CodeCompleteExpression(S, Data); } +void SemaCodeCompletion::CodeCompleteIfConst(Scope *S, + bool AfterExclaim) const { + ResultBuilder

[clang] [clang][CodeComplete] Add code completion for if constexpr and consteval (PR #124315)

2025-03-13 Thread Letu Ren via cfe-commits
https://github.com/FantasqueX updated https://github.com/llvm/llvm-project/pull/124315 >From e3f118c1435c0f87588c5c51ba01af1aa8136d1d Mon Sep 17 00:00:00 2001 From: Letu Ren Date: Sat, 25 Jan 2025 01:23:52 +0800 Subject: [PATCH 01/16] [Sema] Add code completion for if constexpr C++17 supports

[clang] [clang][CodeComplete] Add code completion for if constexpr and consteval (PR #124315)

2025-03-13 Thread Letu Ren via cfe-commits
FantasqueX wrote: @HighCommander4 @zyn0217 Really appreciate for your review. Thanks a lot. https://github.com/llvm/llvm-project/pull/124315 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-com

[clang] [clang][CodeComplete] Add code completion for if constexpr and consteval (PR #124315)

2025-03-13 Thread Letu Ren via cfe-commits
https://github.com/FantasqueX updated https://github.com/llvm/llvm-project/pull/124315 >From e3f118c1435c0f87588c5c51ba01af1aa8136d1d Mon Sep 17 00:00:00 2001 From: Letu Ren Date: Sat, 25 Jan 2025 01:23:52 +0800 Subject: [PATCH 01/15] [Sema] Add code completion for if constexpr C++17 supports

[clang] [clang][CodeComplete] Add code completion for if constexpr and consteval (PR #124315)

2025-03-13 Thread Letu Ren via cfe-commits
https://github.com/FantasqueX updated https://github.com/llvm/llvm-project/pull/124315 >From e3f118c1435c0f87588c5c51ba01af1aa8136d1d Mon Sep 17 00:00:00 2001 From: Letu Ren Date: Sat, 25 Jan 2025 01:23:52 +0800 Subject: [PATCH 01/14] [Sema] Add code completion for if constexpr C++17 supports

[clang] [clang][CodeComplete] Add code completion for if constexpr and consteval (PR #124315)

2025-03-13 Thread Letu Ren via cfe-commits
https://github.com/FantasqueX updated https://github.com/llvm/llvm-project/pull/124315 >From e3f118c1435c0f87588c5c51ba01af1aa8136d1d Mon Sep 17 00:00:00 2001 From: Letu Ren Date: Sat, 25 Jan 2025 01:23:52 +0800 Subject: [PATCH 01/12] [Sema] Add code completion for if constexpr C++17 supports

[clang] [clang][CodeComplete] Add code completion for if constexpr and consteval (PR #124315)

2025-03-13 Thread Letu Ren via cfe-commits
https://github.com/FantasqueX updated https://github.com/llvm/llvm-project/pull/124315 >From e3f118c1435c0f87588c5c51ba01af1aa8136d1d Mon Sep 17 00:00:00 2001 From: Letu Ren Date: Sat, 25 Jan 2025 01:23:52 +0800 Subject: [PATCH 01/13] [Sema] Add code completion for if constexpr C++17 supports

[clang] [clang][CodeComplete] Add code completion for if constexpr and consteval (PR #124315)

2025-03-13 Thread Letu Ren via cfe-commits
https://github.com/FantasqueX updated https://github.com/llvm/llvm-project/pull/124315 >From e3f118c1435c0f87588c5c51ba01af1aa8136d1d Mon Sep 17 00:00:00 2001 From: Letu Ren Date: Sat, 25 Jan 2025 01:23:52 +0800 Subject: [PATCH 01/11] [Sema] Add code completion for if constexpr C++17 supports

[clang] [clang][CodeComplete] Add code completion for if constexpr and consteval (PR #124315)

2025-03-07 Thread Letu Ren via cfe-commits
https://github.com/FantasqueX edited https://github.com/llvm/llvm-project/pull/124315 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Sema] Add code completion for if constexpr and consteval (PR #124315)

2025-03-07 Thread Letu Ren via cfe-commits
https://github.com/FantasqueX updated https://github.com/llvm/llvm-project/pull/124315 >From f186c52e78c26db93cc37d858d088259cd3029a1 Mon Sep 17 00:00:00 2001 From: Letu Ren Date: Sat, 25 Jan 2025 01:23:52 +0800 Subject: [PATCH 01/10] [Sema] Add code completion for if constexpr C++17 supports

[clang] [Sema] Add code completion for if constexpr and consteval (PR #124315)

2025-02-24 Thread Letu Ren via cfe-commits
https://github.com/FantasqueX updated https://github.com/llvm/llvm-project/pull/124315 >From ad4784ab47b65e478f669c6ef4b30008c76c5f0b Mon Sep 17 00:00:00 2001 From: Letu Ren Date: Sat, 25 Jan 2025 01:23:52 +0800 Subject: [PATCH 1/9] [Sema] Add code completion for if constexpr C++17 supports `i

[clang] [Sema] Add code completion for if constexpr and consteval (PR #124315)

2025-02-23 Thread Letu Ren via cfe-commits
https://github.com/FantasqueX updated https://github.com/llvm/llvm-project/pull/124315 >From 576dcfa4a403b95665e98f9ff225ab5353192e23 Mon Sep 17 00:00:00 2001 From: Letu Ren Date: Sat, 25 Jan 2025 01:23:52 +0800 Subject: [PATCH 1/7] [Sema] Add code completion for if constexpr C++17 supports `i

[clang] [Sema] Add code completion for if constexpr and consteval (PR #124315)

2025-02-23 Thread Letu Ren via cfe-commits
FantasqueX wrote: Hi @HighCommander4 thanks for your suggestions. I'm happy to add snippets support for `if constexpr` and `if consteval`. Since `if constexp` and `if !consteval` is valid, I decided to add code snippet completion in the specific code completion function instead of in

[clang] [Sema] Add code completion for if constexpr and consteval (PR #124315)

2025-02-23 Thread Letu Ren via cfe-commits
https://github.com/FantasqueX updated https://github.com/llvm/llvm-project/pull/124315 >From 576dcfa4a403b95665e98f9ff225ab5353192e23 Mon Sep 17 00:00:00 2001 From: Letu Ren Date: Sat, 25 Jan 2025 01:23:52 +0800 Subject: [PATCH 1/6] [Sema] Add code completion for if constexpr C++17 supports `i

[clang] [Sema] Add code completion for if constexpr and consteval (PR #124315)

2025-02-17 Thread Letu Ren via cfe-commits
https://github.com/FantasqueX edited https://github.com/llvm/llvm-project/pull/124315 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Sema] Add code completion for if constexpr and consteval (PR #124315)

2025-02-17 Thread Letu Ren via cfe-commits
https://github.com/FantasqueX edited https://github.com/llvm/llvm-project/pull/124315 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Sema] Add code completion for if constexpr (PR #124315)

2025-02-17 Thread Letu Ren via cfe-commits
https://github.com/FantasqueX updated https://github.com/llvm/llvm-project/pull/124315 >From 23e07a719b8262bd68950812bf47c5b9c0ecbeba Mon Sep 17 00:00:00 2001 From: Letu Ren Date: Sat, 25 Jan 2025 01:23:52 +0800 Subject: [PATCH 1/5] [Sema] Add code completion for if constexpr C++17 supports `i