Searched refs:RhsExpr (Results 1 – 3 of 3) sorted by relevance
/external/llvm-project/clang-tools-extra/clang-tidy/misc/ |
D | RedundantExpressionCheck.cpp | 781 const Expr *RhsExpr, in areExprsFromDifferentMacros() argument 783 if (!LhsExpr || !RhsExpr) in areExprsFromDifferentMacros() 786 SourceRange Rsr = RhsExpr->getSourceRange(); in areExprsFromDifferentMacros() 820 const Expr *&RhsExpr) { in areExprsMacroAndNonMacro() argument 821 if (!LhsExpr || !RhsExpr) in areExprsMacroAndNonMacro() 825 SourceLocation RhsLoc = RhsExpr->getExprLoc(); in areExprsMacroAndNonMacro() 1143 const Expr *LhsExpr = nullptr, *RhsExpr = nullptr; in checkRelationalExpr() local 1152 Result, "rhs", RhsExpr, RhsOpcode, RhsSymbol, RhsValue, RhsConst) || in checkRelationalExpr() 1158 std::swap(LhsExpr, RhsExpr); in checkRelationalExpr() 1183 diag(RhsExpr->getExprLoc(), "expression is redundant"); in checkRelationalExpr() [all …]
|
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/ |
D | SuspiciousEnumUsageCheck.cpp | 211 const auto *RhsExpr = Result.Nodes.getNodeAs<Expr>("rhsExpr"); in check() local 212 checkSuspiciousBitmaskUsage(RhsExpr, EnumDec); in check()
|
D | NotNullTerminatedResultCheck.cpp | 329 const Expr *RhsExpr = BO->getRHS()->IgnoreImpCasts(); in lengthExprHandle() local 335 RhsExpr->getBeginLoc().getLocWithOffset(-1)}); in lengthExprHandle() 340 if (const auto *RhsIL = dyn_cast<IntegerLiteral>(RhsExpr)) { in lengthExprHandle()
|