Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaOpenACC.cpp856 std::optional<llvm::APSInt> LengthValue = GetBoundValue(Length); in ActOnArraySectionExpr() local
877 if (LengthValue.has_value()) { in ActOnArraySectionExpr()
878 if (LengthValue->isNegative()) { in ActOnArraySectionExpr()
880 << /*Length=*/1 << toString(*LengthValue, /*Radix=*/10); in ActOnArraySectionExpr()
881 LengthValue.reset(); in ActOnArraySectionExpr()
884 llvm::APSInt::compareValues(*LengthValue, *BaseSize) > 0) { in ActOnArraySectionExpr()
887 << /*Length=*/1 << toString(*LengthValue, /*Radix=*/10) in ActOnArraySectionExpr()
889 LengthValue.reset(); in ActOnArraySectionExpr()
906 LengthValue.has_value() && in ActOnArraySectionExpr()
907 llvm::APSInt::compareValues(AddAPSInt(*LowerBoundValue, *LengthValue), in ActOnArraySectionExpr()
[all …]
H A DSemaOpenMP.cpp24370 llvm::APSInt LengthValue = Result.Val.getInt(); in ActOnOMPArraySectionExpr() local
24371 if (LengthValue.isNegative()) { in ActOnOMPArraySectionExpr()
24373 << toString(LengthValue, /*Radix=*/10, /*Signed=*/true) in ActOnOMPArraySectionExpr()