|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
gen/tools/clang/include/clang/AST/StmtDataCollectors.inc 139 addData(llvm::hash_value(S->getValue()));
tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h 1511 return Node.getValue() == ExpectedValue;
tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SValBuilder.h 280 BasicVals.getValue(integer->getValue(),
tools/clang/lib/AST/ASTImporter.cpp 6350 Importer.getToContext(), E->getValue(), *ToTypeOrErr, *ToLocationOrErr);
tools/clang/lib/AST/Expr.cpp 961 S, llvm::APSInt::getUnsigned(getValue().getZExtValue()), Scale);
2317 return Lit && Lit->getValue() == 0;
2458 if (IE->getValue() == 0)
3782 if (Lit && !Lit->getValue())
3988 if (!llvm::APInt::isSameValue(Integer1->getValue(),
3989 Integer2->getValue()))
tools/clang/lib/AST/ExprConstant.cpp 9710 return Success(E->getValue(), E);
9821 return Success(E->getValue(), E);
13422 Result.Val = APValue(APSInt(L->getValue(),
tools/clang/lib/AST/Interp/ByteCodeExprGen.cpp 133 auto Val = LE->getValue();
136 return emitConst(*T, getIntWidth(LitTy), LE->getValue(), LE);
tools/clang/lib/AST/ItaniumMangle.cpp 4259 llvm::APSInt Value(cast<IntegerLiteral>(E)->getValue());
4280 llvm::APSInt Value(cast<IntegerLiteral>(IE->getSubExpr())->getValue());
tools/clang/lib/AST/JSONNodeDumper.cpp 1388 IL->getValue().toString(
tools/clang/lib/AST/StmtPrinter.cpp 1120 OS << Node->getValue().toString(10, isSigned);
1808 OS << Int->getValue().toString(10, /*isSigned*/false);
tools/clang/lib/AST/StmtProfile.cpp 1056 S->getValue().Profile(ID);
1062 S->getValue().Profile(ID);
tools/clang/lib/AST/TextNodeDumper.cpp 769 OS << " " << Node->getValue().toString(10, isSigned);
tools/clang/lib/Analysis/CFG.cpp 937 llvm::APInt IntValue = IntLiteral->getValue();
989 llvm::APInt L1 = IntLiteral->getValue();
990 llvm::APInt L2 = IntLiteral2->getValue();
999 llvm::APInt IntValue = IntLiteral->getValue();
tools/clang/lib/Analysis/ThreadSafety.cpp 1391 branch = ILE->getValue().getBoolValue();
1414 TCond = ILE->getValue().getBoolValue();
tools/clang/lib/Analysis/ThreadSafetyCommon.cpp 43 return cast<IntegerLiteral>(CE)->getValue().toString(10, true);
tools/clang/lib/CodeGen/CGExprAgg.cpp 1366 return IL->getValue() == 0;
tools/clang/lib/CodeGen/CGExprScalar.cpp 456 return Builder.getInt(E->getValue());
459 return Builder.getInt(E->getValue());
tools/clang/lib/Edit/RewriteObjCFoundationAPI.cpp 856 isIntZero = !IntE->getValue().getBoolValue();
tools/clang/lib/Sema/SemaChecking.cpp 8385 const llvm::APInt &V = IL->getValue();
9272 if (Num->getValue() != 0) return false;
9532 return isa<IntegerLiteral>(E) && cast<IntegerLiteral>(E)->getValue() == 0;
10316 if (I->getValue() == 1) {
11516 if (LHS && LHS->getValue() == 0)
11519 RHS->getValue().isNonNegative() &&
11533 if ((LHS->getValue() == 0 || LHS->getValue() == 1) &&
11533 if ((LHS->getValue() == 0 || LHS->getValue() == 1) &&
11534 (RHS->getValue() == 0 || RHS->getValue() == 1))
11534 (RHS->getValue() == 0 || RHS->getValue() == 1))
11537 if (LHS->getValue() != 0 && RHS->getValue() != 0)
11537 if (LHS->getValue() != 0 && RHS->getValue() != 0)
14406 llvm::APInt MagicValueAPInt = IL->getValue();
tools/clang/lib/Sema/SemaDecl.cpp17186 if (IL->getValue() != 1)
tools/clang/lib/Sema/SemaDeclAttr.cpp 697 llvm::APInt ArgValue = IL->getValue();
tools/clang/lib/Sema/SemaExpr.cpp11194 const llvm::APInt &LeftSideValue = LHSInt->getValue();
11195 llvm::APInt RightSideValue = RHSInt->getValue();
tools/clang/lib/Serialization/ASTWriterStmt.cpp 522 Record.AddAPInt(E->getValue());
524 if (E->getValue().getBitWidth() == 32) {
534 Record.AddAPInt(E->getValue());
tools/clang/lib/StaticAnalyzer/Checkers/CStringSyntaxChecker.cpp 68 return (IL->getValue().isIntN(1));
182 uint64_t ILRawVal = IL->getValue().getZExtValue();
193 DstOff = IL->getValue().getZExtValue();
tools/clang/lib/StaticAnalyzer/Checkers/IdenticalExprChecker.cpp 468 llvm::APInt I1 = IntLit1->getValue();
469 llvm::APInt I2 = IntLit2->getValue();
tools/clang/lib/StaticAnalyzer/Checkers/LocalizationChecker.cpp 1268 llvm::APInt Value = IL->getValue();
tools/clang/lib/StaticAnalyzer/Checkers/TestAfterDivZeroChecker.cpp 223 if (!IntLiteral || IntLiteral->getValue() != 0)
tools/clang/lib/StaticAnalyzer/Checkers/UnreachableCodeChecker.cpp 154 if (I->getValue() == 0ULL)
tools/clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp 2374 if (IL->getValue() == 0) {
2380 if (IL->getValue() == 0) {
2386 Out << IL->getValue();
tools/clang/lib/StaticAnalyzer/Core/LoopUnrolling.cpp 213 Matches[0].getNodeAs<IntegerLiteral>("boundNum")->getValue();
215 Matches[0].getNodeAs<IntegerLiteral>("initNum")->getValue();
tools/clang/lib/Tooling/ASTDiff/ASTDiff.cpp 455 I->getValue().toString(Str, /*Radix=*/10, /*Signed=*/false);
tools/clang/tools/extra/clang-tidy/abseil/DurationFactoryScaleCheck.cpp 46 return IntLit->getValue().getLimitedValue();
tools/clang/tools/extra/clang-tidy/bugprone/MisplacedWideningCastCheck.cpp 90 return I->getValue().getActiveBits();
tools/clang/tools/extra/clang-tidy/bugprone/NotNullTerminatedResultCheck.cpp 78 return LengthIL->getValue().getZExtValue();
310 size_t NewLength = LengthIL->getValue().getZExtValue() +
331 if (LhsIL->getValue().getZExtValue() == 1) {
340 if (RhsIL->getValue().getZExtValue() == 1) {
tools/clang/tools/extra/clang-tidy/bugprone/SizeofExpressionCheck.cpp 23 return Node.getValue().getZExtValue() > N;
tools/clang/tools/extra/clang-tidy/bugprone/StringConstructorCheck.cpp 22 return Node.getValue().getZExtValue() > N;
136 if (Lit->getValue().ugt(Str->getLength())) {
tools/clang/tools/extra/clang-tidy/bugprone/StringIntegerAssignmentCheck.cpp 159 IsOneDigit = Literal->getValue().getLimitedValue() < 10;
tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProTypeVarargCheck.cpp 45 if (IntLit->getValue() != I)
tools/clang/tools/extra/clang-tidy/misc/RedundantExpressionCheck.cpp 91 llvm::APInt LeftLit = cast<IntegerLiteral>(Left)->getValue();
92 llvm::APInt RightLit = cast<IntegerLiteral>(Right)->getValue();
tools/clang/tools/extra/clang-tidy/modernize/UseBoolLiteralsCheck.cpp 52 bool LiteralBooleanValue = Literal->getValue().getBoolValue();
tools/clang/tools/extra/clang-tidy/modernize/UseDefaultMemberInitCheck.cpp 120 return !cast<IntegerLiteral>(E)->getValue();
165 return cast<IntegerLiteral>(E1)->getValue() ==
166 cast<IntegerLiteral>(E2)->getValue();
tools/clang/tools/extra/clang-tidy/readability/ContainerSizeEmptyCheck.cpp 141 Value = Literal->getValue().getLimitedValue();
147 ->getValue()
tools/clang/tools/extra/clang-tidy/readability/ImplicitBoolConversionCheck.cpp 158 return (IntLit->getValue() == 0) ? "false" : "true";
tools/clang/tools/extra/clang-tidy/readability/MagicNumbersCheck.cpp 123 const llvm::APInt IntValue = Literal->getValue();
tools/clang/unittests/Tooling/RecursiveASTVisitorTestPostOrderVisitor.cpp 44 VisitedNodes.push_back(Lit->getValue().toString(10, false));