[clang] [clang][Interp] Handle AttributedStmts (PR #66495)

via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 15 09:23:35 PDT 2023


================
@@ -628,6 +630,12 @@ bool ByteCodeStmtGen<Emitter>::visitAsmStmt(const AsmStmt *S) {
   return this->emitInvalid(S);
 }
 
+template <class Emitter>
+bool ByteCodeStmtGen<Emitter>::visitAttributedStmt(const AttributedStmt *S) {
+  // Ignore all attributes.
----------------
cor3ntin wrote:

At compile time, i suppose so!

https://github.com/llvm/llvm-project/pull/66495


More information about the cfe-commits mailing list