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

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

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

2025-01-24 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: FantasqueX (FantasqueX) Changes C++17 supports `if constexpr` statement. This patch implements this in code completion. --- Full diff: https://github.com/llvm/llvm-project/pull/124315.diff 3 Files Affected: - (modified) clang/include/c

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

2025-01-24 Thread via cfe-commits
https://github.com/FantasqueX created https://github.com/llvm/llvm-project/pull/124315 C++17 supports `if constexpr` statement. This patch implements this in code completion. >From 47f97a5ca5964d4b970be2ee13e3dc4ffc95d3b6 Mon Sep 17 00:00:00 2001 From: Letu Ren Date: Sat, 25 Jan 2025 01:23:52