| /llvm-project-15.0.7/clang/test/AST/HLSL/ |
| H A D | vector-constructors.hlsl | 18 // CHECK-NEXT: FloatingLiteral 0x{{[0-9a-fA-F]+}} <col:24> 'double' 1.000000e+00 20 // CHECK-NEXT: FloatingLiteral 0x{{[0-9a-fA-F]+}} <col:29> 'double' 2.000000e+00 38 // CHECK-NEXT: FloatingLiteral 0x{{[0-9a-fA-F]+}} <col:30> 'double' 3.000000e+00 44 // CHECK-NEXT: FloatingLiteral 0x{{[0-9a-fA-F]+}} <col:25> 'double' 1.000000e+00 46 // CHECK-NEXT: FloatingLiteral 0x{{[0-9a-fA-F]+}} <col:30> 'double' 2.000000e+00 48 // CHECK-NEXT: FloatingLiteral 0x{{[0-9a-fA-F]+}} <col:35> 'double' 3.000000e+00 131 // CHECK-NEXT: FloatingLiteral 0x{{[0-9a-fA-F]+}} <col:42> 'float' 1.000000e+00 132 // CHECK-NEXT: FloatingLiteral 0x{{[0-9a-fA-F]+}} <col:48> 'float' 2.000000e+00 140 // CHECK-NEXT: FloatingLiteral 0x{{[0-9a-fA-F]+}} <col:42> 'float' 1.000000e+00 141 // CHECK-NEXT: FloatingLiteral 0x{{[0-9a-fA-F]+}} <col:48> 'float' 2.000000e+00
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/ |
| H A D | MagicNumbersCheck.h | 37 bool isIgnoredValue(const FloatingLiteral *Literal) const; 40 const FloatingLiteral *) const { in isSyntheticValue() argument 47 const FloatingLiteral &) const { in isBitFieldWidth() argument
|
| H A D | MagicNumbersCheck.cpp | 134 checkBoundMatch<FloatingLiteral>(Result, "float"); in check() 185 bool MagicNumbersCheck::isIgnoredValue(const FloatingLiteral *Literal) const { in isIgnoredValue()
|
| H A D | UppercaseLiteralSuffixCheck.cpp | 41 using type = clang::FloatingLiteral;
|
| H A D | ImplicitBoolConversionCheck.cpp | 161 if (const auto *FloatLit = dyn_cast<FloatingLiteral>(Expression)) { in getEquivalentBoolLiteralForExpr()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | IdenticalExprChecker.cpp | 227 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()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/abseil/ |
| H A D | DurationFactoryScaleCheck.cpp | 39 const FloatingLiteral *FloatLit) { in getValue() 174 const auto *FloatLit = llvm::dyn_cast<FloatingLiteral>(MultBinOp->getLHS()); in check() 184 FloatLit = llvm::dyn_cast<FloatingLiteral>(MultBinOp->getRHS()); in check() 195 const auto *FloatLit = llvm::cast<FloatingLiteral>(DivBinOp->getRHS()); in check()
|
| H A D | DurationRewriter.cpp | 28 truncateIfIntegral(const FloatingLiteral &FloatLiteral) { in truncateIfIntegral() 208 if (const auto *LitFloat = llvm::dyn_cast<FloatingLiteral>(&Node)) in stripFloatLiteralFraction()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/ |
| H A D | UseDefaultMemberInitCheck.cpp | 128 llvm::APFloat Value = cast<FloatingLiteral>(E)->getValue(); in isZero() 174 return cast<FloatingLiteral>(E1)->getValue().bitwiseIsEqual( in sameValue() 175 cast<FloatingLiteral>(E2)->getValue()); in sameValue()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/ |
| H A D | IncorrectRoundingsCheck.cpp | 23 AST_MATCHER(FloatingLiteral, floatHalf) { in AST_MATCHER() argument
|
| H A D | ArgumentCommentCheck.cpp | 256 (CommentFloatLiterals && isa<FloatingLiteral>(Arg)) || in shouldAddComment()
|
| /llvm-project-15.0.7/clang/include/clang/ASTMatchers/ |
| H A D | ASTMatchersInternal.h | 1749 std::is_base_of<FloatingLiteral, T>::value || 1768 inline bool ValueEqualsMatcher<FloatingLiteral, double>::matchesNode( 1769 const FloatingLiteral &Node) const { 1777 inline bool ValueEqualsMatcher<FloatingLiteral, float>::matchesNode( 1778 const FloatingLiteral &Node) const { 1786 inline bool ValueEqualsMatcher<FloatingLiteral, llvm::APFloat>::matchesNode( 1787 const FloatingLiteral &Node) const {
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | StmtDataCollectors.td | 85 class FloatingLiteral {
|
| H A D | TextNodeDumper.h | 261 void VisitFloatingLiteral(const FloatingLiteral *Node);
|
| H A D | JSONNodeDumper.h | 310 void VisitFloatingLiteral(const FloatingLiteral *FL);
|
| H A D | Expr.h | 1639 class FloatingLiteral : public Expr, private APFloatStorage { 1642 FloatingLiteral(const ASTContext &C, const llvm::APFloat &V, bool isexact, 1646 explicit FloatingLiteral(const ASTContext &C, EmptyShell Empty); 1649 static FloatingLiteral *Create(const ASTContext &C, const llvm::APFloat &V, 1651 static FloatingLiteral *Create(const ASTContext &C, EmptyShell Empty);
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/cppcoreguidelines/ |
| H A D | PreferMemberInitializerCheck.cpp | 38 return isa<StringLiteral, CharacterLiteral, IntegerLiteral, FloatingLiteral, in isLiteral()
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | Expr.cpp | 985 FloatingLiteral::FloatingLiteral(const ASTContext &C, const llvm::APFloat &V, in FloatingLiteral() function in FloatingLiteral 994 FloatingLiteral::FloatingLiteral(const ASTContext &C, EmptyShell Empty) in FloatingLiteral() function in FloatingLiteral 1000 FloatingLiteral * 1001 FloatingLiteral::Create(const ASTContext &C, const llvm::APFloat &V, in Create() 1003 return new (C) FloatingLiteral(C, V, isexact, Type, L); in Create() 1006 FloatingLiteral * 1007 FloatingLiteral::Create(const ASTContext &C, EmptyShell Empty) { in Create() 1008 return new (C) FloatingLiteral(C, Empty); in Create() 1014 double FloatingLiteral::getValueAsApproximateDouble() const { in getValueAsApproximateDouble()
|
| H A D | StmtPrinter.cpp | 1320 static void PrintFloatingLiteral(raw_ostream &OS, FloatingLiteral *Node, in PrintFloatingLiteral() 1344 void StmtPrinter::VisitFloatingLiteral(FloatingLiteral *Node) { in VisitFloatingLiteral() 2022 auto *Float = cast<FloatingLiteral>(Node->getCookedLiteral()); in VisitUserDefinedLiteral()
|
| /llvm-project-15.0.7/clang/lib/Analysis/ |
| H A D | CloneDetection.cpp | 216 SKIP(FloatingLiteral)
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | DumpAST.cpp | 245 if (isa<IntegerLiteral, FloatingLiteral, FixedPointLiteral, in getDetail()
|
| /llvm-project-15.0.7/clang/lib/AST/Interp/ |
| H A D | Opcodes.td | 51 def ArgFloatingLiteral : ArgType { let Name = "const FloatingLiteral *"; }
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/misc/ |
| H A D | RedundantExpressionCheck.cpp | 99 return cast<FloatingLiteral>(Left)->getValue().bitwiseIsEqual( in areEquivalentExpr() 100 cast<FloatingLiteral>(Right)->getValue()); in areEquivalentExpr()
|
| /llvm-project-15.0.7/clang/include/clang/Basic/ |
| H A D | StmtNodes.td | 64 def FloatingLiteral : StmtNode<Expr>;
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/ |
| H A D | RetainCountDiagnostics.cpp | 76 return isa<IntegerLiteral, CharacterLiteral, FloatingLiteral, in isNumericLiteralExpression()
|