[clang] [Clang][WIP] Constant Expressions inside of gcc'asm strings (PR #131003)
via cfe-commits
cfe-commits at lists.llvm.org
Thu Mar 13 09:17:40 PDT 2025
================
@@ -15328,6 +15338,15 @@ void Sema::PragmaStack<Sema::AlignPackInfo>::Act(SourceLocation PragmaLocation,
PragmaMsStackAction Action,
llvm::StringRef StackSlotLabel,
AlignPackInfo Value);
+
+inline
+const StreamingDiagnostic &operator<<(const StreamingDiagnostic &DB,
+ Sema::StringEvaluationContext Ctx) {
+ DB << llvm::to_underlying(Ctx);
----------------
cor3ntin wrote:
As discussed offline, this is just to pass a number for `%select{}`
https://github.com/llvm/llvm-project/pull/131003
More information about the cfe-commits
mailing list