================
@@ -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);
----------------
erichkeane wrote:
This is a shame... an-inverse-string-switch here would be nice.
https://github.com/llvm/llvm-project/pull/131003
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits