Home
last modified time | relevance | path

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

/src/contrib/llvm-project/clang/lib/Sema/
H A DSemaOpenACC.cpp1550 std::optional<llvm::APSInt> LengthValue = GetBoundValue(Length); in ActOnArraySectionExpr() local
1571 if (LengthValue.has_value()) { in ActOnArraySectionExpr()
1572 if (LengthValue->isNegative()) { in ActOnArraySectionExpr()
1574 << /*Length=*/1 << toString(*LengthValue, /*Radix=*/10); in ActOnArraySectionExpr()
1575 LengthValue.reset(); in ActOnArraySectionExpr()
1578 llvm::APSInt::compareValues(*LengthValue, *BaseSize) > 0) { in ActOnArraySectionExpr()
1581 << /*Length=*/1 << toString(*LengthValue, /*Radix=*/10) in ActOnArraySectionExpr()
1583 LengthValue.reset(); in ActOnArraySectionExpr()
1600 LengthValue.has_value() && in ActOnArraySectionExpr()
1601 llvm::APSInt::compareValues(AddAPSInt(*LowerBoundValue, *LengthValue), in ActOnArraySectionExpr()
[all …]
H A DSemaOpenMP.cpp23387 llvm::APSInt LengthValue = Result.Val.getInt(); in ActOnOMPArraySectionExpr() local
23388 if (LengthValue.isNegative()) { in ActOnOMPArraySectionExpr()
23390 << toString(LengthValue, /*Radix=*/10, /*Signed=*/true) in ActOnOMPArraySectionExpr()