Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/AST/
H A DASTContext.cpp5379 unsigned BestWidth; in computeBestEnumTypes() local
5387 BestWidth = CharWidth; in computeBestEnumTypes()
5391 BestWidth = ShortWidth; in computeBestEnumTypes()
5394 BestWidth = IntWidth; in computeBestEnumTypes()
5396 BestWidth = Target->getLongWidth(); in computeBestEnumTypes()
5398 if (NumNegativeBits <= BestWidth && NumPositiveBits < BestWidth) { in computeBestEnumTypes()
5401 BestWidth = Target->getLongLongWidth(); in computeBestEnumTypes()
5403 if (NumNegativeBits > BestWidth || NumPositiveBits >= BestWidth) in computeBestEnumTypes()
5408 BestPromotionType = (BestWidth <= IntWidth ? IntTy : BestType); in computeBestEnumTypes()
5416 BestWidth = CharWidth; in computeBestEnumTypes()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaDecl.cpp20437 unsigned BestWidth; in ActOnEnumBody() local
20465 BestWidth = Context.getIntWidth(BestType); in ActOnEnumBody()
20469 BestWidth = Context.getIntWidth(BestType); in ActOnEnumBody()
20515 NewWidth = BestWidth; in ActOnEnumBody()