mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 20:42:21 +02:00
Comptime GetCustomAttribute for type/field/method
This commit is contained in:
parent
434a7406de
commit
4c5c89bab5
8 changed files with 110 additions and 13 deletions
|
@ -1422,6 +1422,7 @@ BfLocalVariable* BfModule::HandleVariableDeclaration(BfVariableDeclaration* varD
|
|||
auto eqVal = mBfIRBuilder->CreateCmpEQ(dscVal, GetConstValue(tagId, dscType));
|
||||
exprEvaluator->mResult = BfTypedValue(eqVal, boolType);
|
||||
|
||||
PopulateType(outType);
|
||||
if (!outType->IsValuelessType())
|
||||
{
|
||||
auto outPtrType = CreatePointerType(outType);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue