[clang] [clang][bytecode] Fix reporting non-constant variables in C (PR #109516)

2024-09-21 Thread Timm Baeder via cfe-commits
https://github.com/tbaederr closed https://github.com/llvm/llvm-project/pull/109516 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang][bytecode] Fix reporting non-constant variables in C (PR #109516)

2024-09-21 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Timm Baeder (tbaederr) Changes We need to call FFDiag() to get the usual "invalid subexpression" diagnostic. --- Full diff: https://github.com/llvm/llvm-project/pull/109516.diff 2 Files Affected: - (modified) clang/lib/AST/ByteCode/Inte

[clang] [clang][bytecode] Fix reporting non-constant variables in C (PR #109516)

2024-09-21 Thread Timm Baeder via cfe-commits
https://github.com/tbaederr created https://github.com/llvm/llvm-project/pull/109516 We need to call FFDiag() to get the usual "invalid subexpression" diagnostic. >From 568f6ecc3540fca57d2a7abaae99c9f07c737714 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timm=20B=C3=A4der?= Date: Sat, 21 Sep 2024