[clang] [clang][Interp] Merge ByteCodeExprGen and ByteCodeStmtGen (PR #83683)

Timm Baeder via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 6 05:12:44 PST 2024


Timm =?utf-8?q?Bäder?= <tbaeder at redhat.com>,
Timm =?utf-8?q?Bäder?= <tbaeder at redhat.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/83683 at github.com>


tbaederr wrote:

> How ugly does CRTP get though?

Looks like this: https://github.com/tbaederr/llvm-project/commit/ae37a17e30978cbe8e42799d26308b2e4e7b0115

Not really a big fan.


But I'm now stuck with 
```
mold: error: undefined symbol: lib/libclangAST.a(ByteCodeExprGen.cpp.o): clang::interp::ByteCodeStmtGen<clang::interp::EvalEmitter>::visitStmt(clang::Stmt const*)
```

and need to investigate something else.

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


More information about the cfe-commits mailing list