/external/llvm-project/clang-tools-extra/clang-tidy/readability/ |
D | MagicNumbersCheck.h | 37 bool isIgnoredValue(const FloatingLiteral *Literal) const; 40 const FloatingLiteral *) const { in isSyntheticValue() argument 47 const FloatingLiteral &) const { in isBitFieldWidth() argument
|
D | MagicNumbersCheck.cpp | 133 checkBoundMatch<FloatingLiteral>(Result, "float"); in check() 184 bool MagicNumbersCheck::isIgnoredValue(const FloatingLiteral *Literal) const { in isIgnoredValue()
|
D | UppercaseLiteralSuffixCheck.cpp | 40 using type = clang::FloatingLiteral;
|
D | ImplicitBoolConversionCheck.cpp | 161 if (const auto *FloatLit = dyn_cast<FloatingLiteral>(Expression)) { in getEquivalentBoolLiteralForExpr()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | IdenticalExprChecker.cpp | 228 const FloatingLiteral *FloatLit1 = dyn_cast<FloatingLiteral>(LHS); in checkComparisonOp() 229 const FloatingLiteral *FloatLit2 = dyn_cast<FloatingLiteral>(RHS); in checkComparisonOp() 473 const FloatingLiteral *FloatLit1 = cast<FloatingLiteral>(Stmt1); in isIdenticalStmt() 474 const FloatingLiteral *FloatLit2 = cast<FloatingLiteral>(Stmt2); in isIdenticalStmt()
|
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
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()
|
/external/llvm-project/clang-tools-extra/clang-tidy/abseil/ |
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::dyn_cast<FloatingLiteral>(DivBinOp->getRHS()); in check()
|
D | DurationRewriter.cpp | 28 truncateIfIntegral(const FloatingLiteral &FloatLiteral) { in truncateIfIntegral() 208 if (const auto *LitFloat = llvm::dyn_cast<FloatingLiteral>(&Node)) in stripFloatLiteralFraction()
|
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/ |
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()
|
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/ |
D | IncorrectRoundingsCheck.cpp | 23 AST_MATCHER(FloatingLiteral, floatHalf) { in AST_MATCHER() argument
|
D | ArgumentCommentCheck.cpp | 252 (CommentFloatLiterals && isa<FloatingLiteral>(Arg)) || in shouldAddComment()
|
/external/clang/include/clang/ASTMatchers/ |
D | ASTMatchersInternal.h | 1395 std::is_base_of<FloatingLiteral, T>::value || 1414 inline bool ValueEqualsMatcher<FloatingLiteral, double>::matchesNode( 1415 const FloatingLiteral &Node) const { 1423 inline bool ValueEqualsMatcher<FloatingLiteral, float>::matchesNode( 1424 const FloatingLiteral &Node) const { 1432 inline bool ValueEqualsMatcher<FloatingLiteral, llvm::APFloat>::matchesNode( 1433 const FloatingLiteral &Node) const {
|
/external/llvm-project/clang/include/clang/ASTMatchers/ |
D | ASTMatchersInternal.h | 1585 std::is_base_of<FloatingLiteral, T>::value || 1604 inline bool ValueEqualsMatcher<FloatingLiteral, double>::matchesNode( 1605 const FloatingLiteral &Node) const { 1613 inline bool ValueEqualsMatcher<FloatingLiteral, float>::matchesNode( 1614 const FloatingLiteral &Node) const { 1622 inline bool ValueEqualsMatcher<FloatingLiteral, llvm::APFloat>::matchesNode( 1623 const FloatingLiteral &Node) const {
|
/external/clang/lib/AST/ |
D | Expr.cpp | 730 FloatingLiteral::FloatingLiteral(const ASTContext &C, const llvm::APFloat &V, in FloatingLiteral() function in FloatingLiteral 739 FloatingLiteral::FloatingLiteral(const ASTContext &C, EmptyShell Empty) in FloatingLiteral() function in FloatingLiteral 745 FloatingLiteral * 746 FloatingLiteral::Create(const ASTContext &C, const llvm::APFloat &V, in Create() 748 return new (C) FloatingLiteral(C, V, isexact, Type, L); in Create() 751 FloatingLiteral * 752 FloatingLiteral::Create(const ASTContext &C, EmptyShell Empty) { in Create() 753 return new (C) FloatingLiteral(C, Empty); in Create() 756 const llvm::fltSemantics &FloatingLiteral::getSemantics() const { in getSemantics() 774 void FloatingLiteral::setSemantics(const llvm::fltSemantics &Sem) { in setSemantics() [all …]
|
D | StmtPrinter.cpp | 1357 static void PrintFloatingLiteral(raw_ostream &OS, FloatingLiteral *Node, in PrintFloatingLiteral() 1379 void StmtPrinter::VisitFloatingLiteral(FloatingLiteral *Node) { in VisitFloatingLiteral() 1962 FloatingLiteral *Float = cast<FloatingLiteral>(Node->getCookedLiteral()); in VisitUserDefinedLiteral()
|
/external/llvm-project/clang-tools-extra/clang-tidy/cppcoreguidelines/ |
D | PreferMemberInitializerCheck.cpp | 38 return isa<StringLiteral, CharacterLiteral, IntegerLiteral, FloatingLiteral, in isLiteral()
|
/external/llvm-project/clang/include/clang/AST/ |
D | StmtDataCollectors.td | 85 class FloatingLiteral {
|
D | TextNodeDumper.h | 258 void VisitFloatingLiteral(const FloatingLiteral *Node);
|
D | JSONNodeDumper.h | 305 void VisitFloatingLiteral(const FloatingLiteral *FL);
|
/external/llvm-project/clang/lib/AST/ |
D | Expr.cpp | 867 FloatingLiteral::FloatingLiteral(const ASTContext &C, const llvm::APFloat &V, in FloatingLiteral() function in FloatingLiteral 876 FloatingLiteral::FloatingLiteral(const ASTContext &C, EmptyShell Empty) in FloatingLiteral() function in FloatingLiteral 882 FloatingLiteral * 883 FloatingLiteral::Create(const ASTContext &C, const llvm::APFloat &V, in Create() 885 return new (C) FloatingLiteral(C, V, isexact, Type, L); in Create() 888 FloatingLiteral * 889 FloatingLiteral::Create(const ASTContext &C, EmptyShell Empty) { in Create() 890 return new (C) FloatingLiteral(C, Empty); in Create() 896 double FloatingLiteral::getValueAsApproximateDouble() const { in getValueAsApproximateDouble()
|
/external/clang/include/clang/Basic/ |
D | StmtNodes.td | 60 def FloatingLiteral : DStmt<Expr>;
|
/external/llvm-project/clang/lib/AST/Interp/ |
D | Opcodes.td | 51 def ArgFloatingLiteral : ArgType { let Name = "const FloatingLiteral *"; }
|
/external/llvm-project/clang-tools-extra/clangd/ |
D | DumpAST.cpp | 245 if (isa<IntegerLiteral>(S) || isa<FloatingLiteral>(S) || in getDetail()
|
/external/llvm-project/clang/lib/Analysis/ |
D | CloneDetection.cpp | 217 SKIP(FloatingLiteral)
|
/external/llvm-project/clang/include/clang/Basic/ |
D | StmtNodes.td | 63 def FloatingLiteral : StmtNode<Expr>;
|