Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaOpenACC.cpp855 std::optional<llvm::APSInt> LowerBoundValue = GetBoundValue(LowerBound); in ActOnArraySectionExpr() local
859 if (LowerBoundValue.has_value()) { in ActOnArraySectionExpr()
860 if (LowerBoundValue->isNegative()) { in ActOnArraySectionExpr()
862 << /*LowerBound=*/0 << toString(*LowerBoundValue, /*Radix=*/10); in ActOnArraySectionExpr()
863 LowerBoundValue.reset(); in ActOnArraySectionExpr()
866 llvm::APSInt::compareValues(*LowerBoundValue, *BaseSize) >= 0) { in ActOnArraySectionExpr()
869 << /*LowerBound=*/0 << toString(*LowerBoundValue, /*Radix=*/10) in ActOnArraySectionExpr()
871 LowerBoundValue.reset(); in ActOnArraySectionExpr()
905 if (BaseSize.has_value() && LowerBoundValue.has_value() && in ActOnArraySectionExpr()
907 llvm::APSInt::compareValues(AddAPSInt(*LowerBoundValue, *LengthValue), in ActOnArraySectionExpr()
[all …]
H A DSemaOpenMP.cpp24355 llvm::APSInt LowerBoundValue = Result.Val.getInt(); in ActOnOMPArraySectionExpr() local
24356 if (LowerBoundValue.isNegative()) { in ActOnOMPArraySectionExpr()