Home
last modified time | relevance | path

Searched refs:FloatingLiteral (Results 1 – 25 of 40) sorted by relevance

12

/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DIdenticalExprChecker.cpp227 const FloatingLiteral *FloatLit1 = dyn_cast<FloatingLiteral>(LHS); in checkComparisonOp()
228 const FloatingLiteral *FloatLit2 = dyn_cast<FloatingLiteral>(RHS); in checkComparisonOp()
477 const FloatingLiteral *FloatLit1 = cast<FloatingLiteral>(Stmt1); in isIdenticalStmt()
478 const FloatingLiteral *FloatLit2 = cast<FloatingLiteral>(Stmt2); in isIdenticalStmt()
/freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchersInternal.h1729 std::is_base_of<FloatingLiteral, T>::value ||
1748 inline bool ValueEqualsMatcher<FloatingLiteral, double>::matchesNode(
1749 const FloatingLiteral &Node) const {
1757 inline bool ValueEqualsMatcher<FloatingLiteral, float>::matchesNode(
1758 const FloatingLiteral &Node) const {
1766 inline bool ValueEqualsMatcher<FloatingLiteral, llvm::APFloat>::matchesNode(
1767 const FloatingLiteral &Node) const {
H A DASTMatchers.h2464 extern const internal::VariadicDynCastAllOfMatcher<Stmt, FloatingLiteral>
5875 FloatingLiteral,
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DStmtDataCollectors.td85 class FloatingLiteral {
H A DTextNodeDumper.h279 void VisitFloatingLiteral(const FloatingLiteral *Node);
H A DJSONNodeDumper.h329 void VisitFloatingLiteral(const FloatingLiteral *FL);
H A DExpr.h1638 class FloatingLiteral : public Expr, private APFloatStorage {
1641 FloatingLiteral(const ASTContext &C, const llvm::APFloat &V, bool isexact,
1645 explicit FloatingLiteral(const ASTContext &C, EmptyShell Empty);
1648 static FloatingLiteral *Create(const ASTContext &C, const llvm::APFloat &V,
1650 static FloatingLiteral *Create(const ASTContext &C, EmptyShell Empty);
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DExpr.cpp1062 FloatingLiteral::FloatingLiteral(const ASTContext &C, const llvm::APFloat &V, in FloatingLiteral() function in FloatingLiteral
1071 FloatingLiteral::FloatingLiteral(const ASTContext &C, EmptyShell Empty) in FloatingLiteral() function in FloatingLiteral
1077 FloatingLiteral *
1078 FloatingLiteral::Create(const ASTContext &C, const llvm::APFloat &V, in Create()
1080 return new (C) FloatingLiteral(C, V, isexact, Type, L); in Create()
1083 FloatingLiteral *
1084 FloatingLiteral::Create(const ASTContext &C, EmptyShell Empty) { in Create()
1085 return new (C) FloatingLiteral(C, Empty); in Create()
1091 double FloatingLiteral::getValueAsApproximateDouble() const { in getValueAsApproximateDouble()
H A DStmtPrinter.cpp1386 static void PrintFloatingLiteral(raw_ostream &OS, FloatingLiteral *Node, in PrintFloatingLiteral()
1410 void StmtPrinter::VisitFloatingLiteral(FloatingLiteral *Node) { in VisitFloatingLiteral()
2093 auto *Float = cast<FloatingLiteral>(Node->getCookedLiteral()); in VisitUserDefinedLiteral()
H A DASTStructuralEquivalence.cpp247 bool IsStmtEquivalent(const FloatingLiteral *E1, const FloatingLiteral *E2) { in IsStmtEquivalent()
H A DItaniumMangle.cpp5515 const FloatingLiteral *FL = cast<FloatingLiteral>(E); in mangleExpression()
5564 if (const FloatingLiteral *Imag = in mangleExpression()
5565 dyn_cast<FloatingLiteral>(IE->getSubExpr())) { in mangleExpression()
H A DJSONNodeDumper.cpp1627 void JSONNodeDumper::VisitFloatingLiteral(const FloatingLiteral *FL) { in VisitFloatingLiteral()
H A DStmtProfile.cpp1373 void StmtProfiler::VisitFloatingLiteral(const FloatingLiteral *S) { in VisitFloatingLiteral()
H A DTextNodeDumper.cpp1447 void TextNodeDumper::VisitFloatingLiteral(const FloatingLiteral *Node) { in VisitFloatingLiteral()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DPtrTypesSemantics.cpp540 bool VisitFloatingLiteral(const FloatingLiteral *E) { return true; } in VisitFloatingLiteral()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DCloneDetection.cpp216 SKIP(FloatingLiteral)
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DStmtNodes.td64 def FloatingLiteral : StmtNode<Expr>;
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DCompiler.h120 bool VisitFloatingLiteral(const FloatingLiteral *E);
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/
H A DRetainCountDiagnostics.cpp77 return isa<IntegerLiteral, CharacterLiteral, FloatingLiteral, in isNumericLiteralExpression()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprAgg.cpp1532 if (const FloatingLiteral *FL = dyn_cast<FloatingLiteral>(E)) in isSimpleZero()
/freebsd/contrib/llvm-project/clang/lib/Edit/
H A DRewriteObjCFoundationAPI.cpp770 if (!isa<IntegerLiteral>(literalE) && !isa<FloatingLiteral>(literalE)) in rewriteToNumberLiteral()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaChecking.cpp9181 FloatingLiteral *FPLiteral; in CheckFloatComparison()
9184 FPLiteral = dyn_cast<FloatingLiteral>(L->IgnoreParens()); in CheckFloatComparison()
9225 if (FloatingLiteral* FLL = dyn_cast<FloatingLiteral>(LeftExprSansParen)) { in CheckFloatComparison()
9229 if (FloatingLiteral* FLR = dyn_cast<FloatingLiteral>(RightExprSansParen)) in CheckFloatComparison()
10422 isa<FloatingLiteral>(E) || isa<FloatingLiteral>(InnerE); in DiagnoseFloatingImpCast()
H A DSemaExprObjC.cpp434 isa<FloatingLiteral>(OrigElement) || in CheckObjCCollectionLiteralElement()
5114 isa<FloatingLiteral>(SrcExpr) || isa<ObjCBoolLiteralExpr>(SrcExpr) || in CheckConversionToObjCLiteral()
/freebsd/contrib/llvm-project/clang/lib/Tooling/Syntax/
H A DBuildTree.cpp1143 bool WalkUpFromFloatingLiteral(FloatingLiteral *S) { in WalkUpFromFloatingLiteral()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderStmt.cpp648 void ASTStmtReader::VisitFloatingLiteral(FloatingLiteral *E) { in VisitFloatingLiteral()
3069 S = FloatingLiteral::Create(Context, Empty); in ReadStmtFromStream()

12