Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/include/clang/AST/
H A DDecl.h3700 void setNumNegativeBits(unsigned Num) { EnumDeclBits.NumNegativeBits = Num; } in setNumNegativeBits()
3772 unsigned NumNegativeBits);
3843 unsigned getNumNegativeBits() const { return EnumDeclBits.NumNegativeBits; } in getNumNegativeBits()
H A DDeclBase.h1494 uint64_t NumNegativeBits : 8;
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaDecl.cpp18965 unsigned NumNegativeBits = 0; in ActOnEnumBody() local
18982 NumNegativeBits = std::max(NumNegativeBits, in ActOnEnumBody()
18991 if (!NumPositiveBits && !NumNegativeBits) in ActOnEnumBody()
19026 else if (NumNegativeBits) { in ActOnEnumBody()
19030 if (Packed && NumNegativeBits <= CharWidth && NumPositiveBits < CharWidth) { in ActOnEnumBody()
19033 } else if (Packed && NumNegativeBits <= ShortWidth && in ActOnEnumBody()
19037 } else if (NumNegativeBits <= IntWidth && NumPositiveBits < IntWidth) { in ActOnEnumBody()
19043 if (NumNegativeBits <= BestWidth && NumPositiveBits < BestWidth) { in ActOnEnumBody()
19048 if (NumNegativeBits > BestWidth || NumPositiveBits >= BestWidth) in ActOnEnumBody()
19150 NumPositiveBits, NumNegativeBits); in ActOnEnumBody()
/llvm-project-15.0.7/clang/lib/AST/
H A DDecl.cpp4532 unsigned NumNegativeBits) { in completeDefinition() argument
4538 setNumNegativeBits(NumNegativeBits); in completeDefinition()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGExpr.cpp1666 unsigned NumNegativeBits = ED->getNumNegativeBits(); in getRangeForType() local
1669 if (NumNegativeBits) { in getRangeForType()
1670 unsigned NumBits = std::max(NumNegativeBits, NumPositiveBits + 1); in getRangeForType()
/llvm-project-15.0.7/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.cpp8352 unsigned NumNegativeBits = 0; in CompleteTagDeclarationDefinition() local
8368 NumNegativeBits); in CompleteTagDeclarationDefinition()