Home
last modified time | relevance | path

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

1234

/external/llvm-project/clang-tools-extra/clang-tidy/readability/
DMagicNumbersCheck.h37 bool isIgnoredValue(const FloatingLiteral *Literal) const;
40 const FloatingLiteral *) const { in isSyntheticValue() argument
47 const FloatingLiteral &) const { in isBitFieldWidth() argument
DMagicNumbersCheck.cpp133 checkBoundMatch<FloatingLiteral>(Result, "float"); in check()
184 bool MagicNumbersCheck::isIgnoredValue(const FloatingLiteral *Literal) const { in isIgnoredValue()
DUppercaseLiteralSuffixCheck.cpp40 using type = clang::FloatingLiteral;
DImplicitBoolConversionCheck.cpp161 if (const auto *FloatLit = dyn_cast<FloatingLiteral>(Expression)) { in getEquivalentBoolLiteralForExpr()
/external/clang/lib/StaticAnalyzer/Checkers/
DIdenticalExprChecker.cpp228 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/
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()
/external/llvm-project/clang-tools-extra/clang-tidy/abseil/
DDurationFactoryScaleCheck.cpp39 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()
DDurationRewriter.cpp28 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/
DUseDefaultMemberInitCheck.cpp128 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/
DIncorrectRoundingsCheck.cpp23 AST_MATCHER(FloatingLiteral, floatHalf) { in AST_MATCHER() argument
DArgumentCommentCheck.cpp252 (CommentFloatLiterals && isa<FloatingLiteral>(Arg)) || in shouldAddComment()
/external/clang/include/clang/ASTMatchers/
DASTMatchersInternal.h1395 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/
DASTMatchersInternal.h1585 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/
DExpr.cpp730 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 …]
DStmtPrinter.cpp1357 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/
DPreferMemberInitializerCheck.cpp38 return isa<StringLiteral, CharacterLiteral, IntegerLiteral, FloatingLiteral, in isLiteral()
/external/llvm-project/clang/include/clang/AST/
DStmtDataCollectors.td85 class FloatingLiteral {
DTextNodeDumper.h258 void VisitFloatingLiteral(const FloatingLiteral *Node);
DJSONNodeDumper.h305 void VisitFloatingLiteral(const FloatingLiteral *FL);
/external/llvm-project/clang/lib/AST/
DExpr.cpp867 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/
DStmtNodes.td60 def FloatingLiteral : DStmt<Expr>;
/external/llvm-project/clang/lib/AST/Interp/
DOpcodes.td51 def ArgFloatingLiteral : ArgType { let Name = "const FloatingLiteral *"; }
/external/llvm-project/clang-tools-extra/clangd/
DDumpAST.cpp245 if (isa<IntegerLiteral>(S) || isa<FloatingLiteral>(S) || in getDetail()
/external/llvm-project/clang/lib/Analysis/
DCloneDetection.cpp217 SKIP(FloatingLiteral)
/external/llvm-project/clang/include/clang/Basic/
DStmtNodes.td63 def FloatingLiteral : StmtNode<Expr>;

1234