Home
last modified time | relevance | path

Searched refs:BestWidth (Results 1 – 1 of 1) sorted by relevance

/external/clang/lib/Sema/
DSemaDecl.cpp14378 unsigned BestWidth; in ActOnEnumBody() local
14404 BestWidth = Context.getIntWidth(BestType); in ActOnEnumBody()
14412 BestWidth = CharWidth; in ActOnEnumBody()
14416 BestWidth = ShortWidth; in ActOnEnumBody()
14419 BestWidth = IntWidth; in ActOnEnumBody()
14421 BestWidth = Context.getTargetInfo().getLongWidth(); in ActOnEnumBody()
14423 if (NumNegativeBits <= BestWidth && NumPositiveBits < BestWidth) { in ActOnEnumBody()
14426 BestWidth = Context.getTargetInfo().getLongLongWidth(); in ActOnEnumBody()
14428 if (NumNegativeBits > BestWidth || NumPositiveBits >= BestWidth) in ActOnEnumBody()
14433 BestPromotionType = (BestWidth <= IntWidth ? Context.IntTy : BestType); in ActOnEnumBody()
[all …]