/freebsd/contrib/llvm-project/clang/lib/Format/ |
H A D | IntegerLiteralSeparatorFixer.cpp | 22 static Base getBase(const StringRef IntegerLiteral) { in getBase() argument 23 assert(IntegerLiteral.size() > 1); in getBase() 25 if (IntegerLiteral[0] > '0') { in getBase() 26 assert(IntegerLiteral[0] <= '9'); in getBase() 30 assert(IntegerLiteral[0] == '0'); in getBase() 32 switch (IntegerLiteral[1]) { in getBase() 168 const StringRef IntegerLiteral, int DigitsPerGroup) const { in checkSeparator() argument 172 for (auto C : llvm::reverse(IntegerLiteral)) { in checkSeparator() 187 std::string IntegerLiteralSeparatorFixer::format(const StringRef IntegerLiteral, in format() argument 196 for (auto C : IntegerLiteral) in format() [all …]
|
H A D | IntegerLiteralSeparatorFixer.h | 29 bool checkSeparator(const StringRef IntegerLiteral, int DigitsPerGroup) const; 30 std::string format(const StringRef IntegerLiteral, int DigitsPerGroup,
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | CStringSyntaxChecker.cpp | 67 if (const auto *IL = dyn_cast<IntegerLiteral>(E)) in isOne() 181 if (const auto *IL = dyn_cast<IntegerLiteral>(LenArg->IgnoreParenImpCasts())) { in containsBadStrlcpyStrlcatPattern() 192 if ((IL = dyn_cast<IntegerLiteral>(BE->getRHS()->IgnoreParenImpCasts()))) { in containsBadStrlcpyStrlcatPattern()
|
H A D | IdenticalExprChecker.cpp | 467 const IntegerLiteral *IntLit1 = cast<IntegerLiteral>(Stmt1); in isIdenticalStmt() 468 const IntegerLiteral *IntLit2 = cast<IntegerLiteral>(Stmt2); in isIdenticalStmt()
|
H A D | UnreachableCodeChecker.cpp | 152 if (const auto *I = dyn_cast<IntegerLiteral>(S)) in checkEndAnalysis()
|
/freebsd/contrib/llvm-project/clang/lib/Interpreter/ |
H A D | InterpreterUtils.cpp | 17 IntegerLiteral *IntegerLiteralExpr(ASTContext &C, uint64_t Val) { in IntegerLiteralExpr() 18 return IntegerLiteral::Create(C, llvm::APSInt::getUnsigned(Val), in IntegerLiteralExpr()
|
H A D | InterpreterUtils.h | 37 IntegerLiteral *IntegerLiteralExpr(ASTContext &C, uint64_t Val);
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/MIRParser/ |
H A D | MIParser.cpp | 651 if (Token.is(MIToken::IntegerLiteral)) { in parseSectionID() 678 if (Token.is(MIToken::IntegerLiteral)) { in parseBBID() 874 if (Token.isNot(MIToken::IntegerLiteral) && in parseBasicBlockLiveins() 906 if (Token.isNot(MIToken::IntegerLiteral) && in parseBasicBlockSuccessors() 1111 if (Token.isNot(MIToken::IntegerLiteral)) in parse() 1125 if (Token.isNot(MIToken::IntegerLiteral)) in parse() 1291 if (Token.isNot(MIToken::IntegerLiteral) || Token.integerValue().isSigned()) in parseMachineMetadata() 1378 if (Token.isNot(MIToken::IntegerLiteral) || Token.integerValue().isSigned()) in parseMetadata() 1690 if (Token.isNot(MIToken::IntegerLiteral)) in parseRegisterTiedDefIndex() 1832 assert(Token.is(MIToken::IntegerLiteral)); in parseImmediateOperand() [all …]
|
H A D | MILexer.h | 170 IntegerLiteral, enumerator 243 return Kind == IntegerLiteral || Kind == MachineBasicBlock || in hasIntegerValue()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Demangle/ |
H A D | MicrosoftDemangleNodes.h | 249 IntegerLiteral, enumerator 553 IntegerLiteralNode() : Node(NodeKind::IntegerLiteral) {} in IntegerLiteralNode() 555 : Node(NodeKind::IntegerLiteral), Value(Value), IsNegative(IsNegative) {} in IntegerLiteralNode()
|
H A D | ItaniumNodes.def | 92 NODE(IntegerLiteral)
|
/freebsd/contrib/llvm-project/clang/lib/Parse/ |
H A D | ParseHLSL.cpp | 271 ArgExprs.push_back(IntegerLiteral::Create( in ParseHLSLAnnotations() 273 ArgExprs.push_back(IntegerLiteral::Create( in ParseHLSLAnnotations()
|
H A D | ParseInit.cpp | 439 Res = IntegerLiteral::Create(Context, in createEmbedExpr()
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
H A D | LoopUnrolling.cpp | 282 Matches[0].getNodeAs<IntegerLiteral>("boundNum")->getValue(); in shouldCompletelyUnroll() 284 Matches[0].getNodeAs<IntegerLiteral>("initNum")->getValue(); in shouldCompletelyUnroll()
|
/freebsd/contrib/llvm-project/clang/lib/Edit/ |
H A D | RewriteObjCFoundationAPI.cpp | 770 if (!isa<IntegerLiteral>(literalE) && !isa<FloatingLiteral>(literalE)) in rewriteToNumberLiteral() 852 if (const IntegerLiteral *IntE = dyn_cast<IntegerLiteral>(literalE)) in rewriteToNumberLiteral() 1114 if (isa<ParenExpr>(OrigArg) || isa<IntegerLiteral>(OrigArg)) in rewriteToNumericBoxedExpression() 1153 if (isa<ParenExpr>(OrigArg) || isa<IntegerLiteral>(OrigArg)) in doRewriteToUTF8StringBoxedExpressionHelper()
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | Expr.cpp | 966 IntegerLiteral::IntegerLiteral(const ASTContext &C, const llvm::APInt &V, in IntegerLiteral() function in IntegerLiteral 976 IntegerLiteral * 977 IntegerLiteral::Create(const ASTContext &C, const llvm::APInt &V, in Create() 979 return new (C) IntegerLiteral(C, V, type, l); in Create() 982 IntegerLiteral * 983 IntegerLiteral::Create(const ASTContext &C, EmptyShell Empty) { in Create() 984 return new (C) IntegerLiteral(Empty); in Create() 2383 FakeChildNode = IntegerLiteral::Create( in EmbedExpr() 2473 const IntegerLiteral *Lit = dyn_cast<IntegerLiteral>(getInit(0)->IgnoreImplicit()); in isIdiomaticZeroInitializer() 2673 if (IntegerLiteral *IE = in isUnusedResultAWarning() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/ |
H A D | UncountedLocalVarsChecker.cpp | 211 if (isa<IntegerLiteral>(InitArgOrigin)) in visitVarDecl()
|
H A D | UncountedCallArgsChecker.cpp | 137 if (isa<IntegerLiteral>(ArgOrigin)) { in isPtrOriginSafe()
|
H A D | PtrTypesSemantics.cpp | 539 bool VisitIntegerLiteral(const IntegerLiteral *E) { return true; } in VisitIntegerLiteral()
|
/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | StmtDataCollectors.td | 80 class IntegerLiteral {
|
H A D | Expr.h | 1499 class IntegerLiteral : public Expr, public APIntStorage { 1503 explicit IntegerLiteral(EmptyShell Empty) in IntegerLiteral() function 1509 IntegerLiteral(const ASTContext &C, const llvm::APInt &V, QualType type, 1516 static IntegerLiteral *Create(const ASTContext &C, const llvm::APInt &V, 1519 static IntegerLiteral *Create(const ASTContext &C, EmptyShell Empty); 4859 IntegerLiteral *FakeChildNode = nullptr; 4890 std::conditional_t<Const, const IntegerLiteral *, 4891 IntegerLiteral *>> { 4908 IntegerLiteral *N = EExpr->FakeChildNode; 4972 if (!std::invoke(std::forward<Call>(C), const_cast<IntegerLiteral *>(It), in doForEachDataElement()
|
H A D | TextNodeDumper.h | 277 void VisitIntegerLiteral(const IntegerLiteral *Node);
|
/freebsd/contrib/llvm-project/clang/lib/Lex/ |
H A D | ModuleMap.cpp | 1472 IntegerLiteral, enumerator 1504 return Kind == IntegerLiteral ? IntegerValue : 0; in getInteger() 1508 return Kind == IntegerLiteral ? StringRef() in getString() 1721 Tok.Kind = MMToken::IntegerLiteral; in consumeToken() 2468 if (!Tok.is(MMToken::IntegerLiteral)) { in parseHeaderDecl() 2481 if (!Tok.is(MMToken::IntegerLiteral)) { in parseHeaderDecl() 3107 case MMToken::IntegerLiteral: in parseModuleMapFile()
|
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
H A D | SValBuilder.h | 290 nonloc::ConcreteInt makeIntVal(const IntegerLiteral* integer) { in makeIntVal()
|
/freebsd/contrib/llvm-project/clang/lib/Analysis/ |
H A D | CloneDetection.cpp | 215 SKIP(IntegerLiteral)
|