1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-09 20:12:21 +02:00

Working on wrapping for formatter

This commit is contained in:
Brian Fiete 2020-03-28 14:26:14 -07:00
parent edcdb3bbb1
commit 076931cf3b
8 changed files with 315 additions and 66 deletions

View file

@ -1784,6 +1784,13 @@ BfBinaryOp Beefy::BfGetFlippedBinaryOp(BfBinaryOp origOp)
return BfBinaryOp_None;
}
bool Beefy::BfIsCommentBlock(BfCommentKind commentKind)
{
return
(commentKind == BfCommentKind_Block) ||
(commentKind == BfCommentKind_Documentation_Block_Pre) ||
(commentKind == BfCommentKind_Documentation_Block_Post);
}
BfInlineAsmInstruction::AsmArg::AsmArg()
: mType(ARGTYPE_Immediate)