================ @@ -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:
I'm sitting in core, which is a good time to mention https://wg21.link/cwg2763 - `[[assume]]` is not the only UB standard attribute - but it requires a specific handling so it is also orthogonal to this patch https://github.com/llvm/llvm-project/pull/66495 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits