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

References

tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/APSIntType.h
   28     : BitWidth(Value.getBitWidth()), IsUnsigned(Value.isUnsigned()) {}
   49     llvm::APSInt Result(Value, Value.isUnsigned());
tools/clang/lib/AST/Expr.cpp
  326     ConstantExprBits.IsUnsigned = Value.getInt().isUnsigned();
tools/clang/lib/AST/ExprConstant.cpp
 1758   if (Int.isUnsigned() || Int.isMinSignedValue()) {
 2465   if (LHS.isUnsigned()) {
 2522                     RHS.isUnsigned());
 2555                     RHS.isUnsigned());
tools/clang/lib/AST/TemplateBase.cpp
   91   Integer.IsUnsigned = Value.isUnsigned();
tools/clang/lib/Analysis/CFG.cpp
 1088       llvm::APSInt::getMinValue(L1.getBitWidth(), L1.isUnsigned()),
 1093                               L1.isUnsigned()),
 1097       llvm::APSInt::getMaxValue(L1.getBitWidth(), L1.isUnsigned()),
tools/clang/lib/Basic/FixedPoint.cpp
  239     } else if (Result.isUnsigned() && DstSign) {
tools/clang/lib/Lex/PPExpressions.cpp
   59   bool isUnsigned() const { return Val.isUnsigned(); }
  638       if (ValueLive && Res.isUnsigned()) {
  650       LHS.Val.setIsUnsigned(Res.isUnsigned());
  651       RHS.Val.setIsUnsigned(Res.isUnsigned());
tools/clang/lib/Sema/SemaChecking.cpp
 6690   if (Addend.isUnsigned()) {
10568            Value.isUnsigned() == PromotedMin.isUnsigned());
10568            Value.isUnsigned() == PromotedMin.isUnsigned());
10570       assert(Value.isUnsigned() && "discontiguous range for signed compare");
10703                                    Value.isUnsigned());
11175     if (IntegerValue.isUnsigned()) {
13269   if (index.isUnsigned() || !index.isNegative()) {
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/SemaInit.cpp
 1867                            elementIndex.isUnsigned());
 1872     elementIndex.setIsUnsigned(maxElements.isUnsigned());
 1900       elementIndex.setIsUnsigned(maxElements.isUnsigned());
 1931     llvm::APSInt Zero(maxElements.getBitWidth(), maxElements.isUnsigned());
 2825     DesignatedStartIndex.setIsUnsigned(MaxElements.isUnsigned());
 2828     DesignatedEndIndex.setIsUnsigned(MaxElements.isUnsigned());
tools/clang/lib/Sema/SemaOverload.cpp
 2127         llvm::APSInt ToSize(BitWidth.getBitWidth(), BitWidth.isUnsigned());
tools/clang/lib/Sema/SemaTemplate.cpp
 3024     for (llvm::APSInt I(NumArgs.getBitWidth(), NumArgs.isUnsigned());
 6710       else if (OldValue.isUnsigned())
tools/clang/lib/Serialization/ASTWriter.cpp
 5444   Record->push_back(Value.isUnsigned());
tools/clang/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp
  365               (S->getRHS().isUnsigned() ? "U" : ""))
tools/clang/lib/StaticAnalyzer/Checkers/UndefResultChecker.cpp
  141         else if (I->isUnsigned())
tools/clang/lib/StaticAnalyzer/Core/RegionStore.cpp
  883     assert(ExtentInt.isNonNegative() || ExtentInt.isUnsigned());
tools/clang/lib/StaticAnalyzer/Core/SValBuilder.cpp
  504       makeIntVal(ToTypeMax.isUnsigned() ? ToTypeMax.getZExtValue()
tools/clang/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp
   98   assert(From.isUnsigned() == To.isUnsigned() &&
   98   assert(From.isUnsigned() == To.isUnsigned() &&
tools/clang/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp
 1140       assert(leftI.isUnsigned());
tools/clang/lib/StaticAnalyzer/Core/SymbolManager.cpp
   46   if (getRHS().isUnsigned())
   50   if (getRHS().isUnsigned())
   55   if (getLHS().isUnsigned())
   59   if (getLHS().isUnsigned())
tools/clang/tools/libclang/CIndex.cpp
 3818     if (val.isUnsigned()) {
tools/clang/unittests/Basic/FixedPointTest.cpp
  607   ASSERT_TRUE(UFixed.getValue().isUnsigned());
unittests/ADT/APSIntTest.cpp
   18   EXPECT_TRUE(A.isUnsigned());
   22   EXPECT_FALSE(A.isUnsigned());
   25   EXPECT_FALSE(C.isUnsigned());
   30   EXPECT_TRUE(D.isUnsigned());
   34   EXPECT_TRUE(A.isUnsigned());
   39   EXPECT_TRUE(A.isUnsigned());
   55   EXPECT_TRUE(APSInt::getUnsigned(7).isUnsigned());
   59   EXPECT_TRUE(APSInt::getUnsigned(-7).isUnsigned());
   66   EXPECT_TRUE(APSInt(APInt(3, 7), true).isUnsigned());
   68   EXPECT_TRUE(APSInt(APInt(4, 7), true).isUnsigned());
   70   EXPECT_TRUE(APSInt(APInt(4, -7), true).isUnsigned());