reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

include/llvm/ADT/APSInt.h
   61   bool isStrictlyPositive() const { return isNonNegative() && !isNullValue(); }
tools/clang/lib/Sema/SemaChecking.cpp
10335           shift.isNonNegative()) {
tools/clang/lib/Sema/SemaDecl.cpp
16860   if (Value.isUnsigned() || Value.isNonNegative()) {
16969               << (EnumVal.isUnsigned() || EnumVal.isNonNegative());
17391     if (InitVal.isUnsigned() || InitVal.isNonNegative())
tools/clang/lib/Sema/SemaOpenMP.cpp
11099         !((!StrictlyPositive && Result.isNonNegative()) ||
11160       (!StrictlyPositive && !Result.isNonNegative())) {
tools/clang/lib/StaticAnalyzer/Core/RegionStore.cpp
  883     assert(ExtentInt.isNonNegative() || ExtentInt.isUnsigned());
unittests/ADT/APSIntTest.cpp
  173   EXPECT_TRUE(False.isNonNegative());
  177   EXPECT_FALSE(True.isNonNegative());
  181   EXPECT_TRUE(CharMin.isNonNegative());
  185   EXPECT_TRUE(CharSmall.isNonNegative());
  189   EXPECT_TRUE(CharBoundaryUnder.isNonNegative());
  193   EXPECT_FALSE(CharBoundaryOver.isNonNegative());
  197   EXPECT_FALSE(CharLarge.isNonNegative());
  201   EXPECT_FALSE(CharMax.isNonNegative());
  216   EXPECT_TRUE(False.isNonNegative());
  220   EXPECT_TRUE(True.isNonNegative());
  224   EXPECT_TRUE(CharMin.isNonNegative());
  228   EXPECT_TRUE(CharSmall.isNonNegative());
  232   EXPECT_TRUE(CharBoundaryUnder.isNonNegative());
  236   EXPECT_TRUE(CharBoundaryOver.isNonNegative());
  240   EXPECT_TRUE(CharLarge.isNonNegative());
  244   EXPECT_TRUE(CharMax.isNonNegative());