Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DInterp.cpp914 if (ED->getNumNegativeBits() && in diagnoseEnumValue()
920 } else if (!ED->getNumNegativeBits() && Max.ult(Value.getZExtValue())) { in diagnoseEnumValue()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DDecl.h4037 unsigned getNumNegativeBits() const { return EnumDeclBits.NumNegativeBits; } in getNumNegativeBits() function
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriterDecl.cpp529 EnumDeclBits.addBits(D->getNumNegativeBits(), /*BitWidth=*/8); in VisitEnumDecl()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaChecking.cpp9309 unsigned NumNegative = Enum->getNumNegativeBits(); in forValueOfCanonicalType()
10245 BitfieldEnumDecl->getNumNegativeBits() == 0) { in AnalyzeBitFieldAssignment()
10274 bool SignedEnum = ED->getNumNegativeBits() > 0; in AnalyzeBitFieldAssignment()
10302 ED->getNumNegativeBits()) in AnalyzeBitFieldAssignment()
H A DSemaDecl.cpp19702 if (Enum->getNumPositiveBits() > 63 || Enum->getNumNegativeBits() > 64) in CheckForDuplicateEnumValues()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDecl.cpp4967 unsigned NumNegativeBits = getNumNegativeBits(); in getValueRange()
H A DExprConstant.cpp14400 if (ED->getNumNegativeBits() && ConstexprVar && in VisitCastExpr()
14407 else if (!ED->getNumNegativeBits() && ConstexprVar && in VisitCastExpr()
H A DASTImporter.cpp2389 From->getNumNegativeBits()); in ImportDefinition()