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

References

tools/clang/lib/Sema/SemaChecking.cpp
 6264   if (Result.isStrictlyPositive() && (Result & (Result - 1)) == 0)
tools/clang/lib/Sema/SemaExpr.cpp
 3381   bool ValueIsPositive = ValueAPS.isStrictlyPositive();
tools/clang/lib/Sema/SemaOpenMP.cpp
11100           (StrictlyPositive && Result.isStrictlyPositive()))) {
11159   if ((StrictlyPositive && !Result.isStrictlyPositive()) ||
11660         if (Result.isSigned() && !Result.isStrictlyPositive()) {
13911     if (IsConstant && !Result.isNegative() && !Result.isStrictlyPositive())
16101         if (Result.isSigned() && !Result.isStrictlyPositive()) {
unittests/ADT/APSIntTest.cpp
  174   EXPECT_FALSE(False.isStrictlyPositive());
  178   EXPECT_FALSE(True.isStrictlyPositive());
  182   EXPECT_FALSE(CharMin.isStrictlyPositive());
  186   EXPECT_TRUE(CharSmall.isStrictlyPositive());
  190   EXPECT_TRUE(CharBoundaryUnder.isStrictlyPositive());
  194   EXPECT_FALSE(CharBoundaryOver.isStrictlyPositive());
  198   EXPECT_FALSE(CharLarge.isStrictlyPositive());
  202   EXPECT_FALSE(CharMax.isStrictlyPositive());
  217   EXPECT_FALSE(False.isStrictlyPositive());
  221   EXPECT_TRUE(True.isStrictlyPositive());
  225   EXPECT_FALSE(CharMin.isStrictlyPositive());
  229   EXPECT_TRUE(CharSmall.isStrictlyPositive());
  233   EXPECT_TRUE(CharBoundaryUnder.isStrictlyPositive());
  237   EXPECT_TRUE(CharBoundaryOver.isStrictlyPositive());
  241   EXPECT_TRUE(CharLarge.isStrictlyPositive());
  245   EXPECT_TRUE(CharMax.isStrictlyPositive());