Home
last modified time | relevance | path

Searched refs:TheExpr (Results 1 – 3 of 3) sorted by relevance

/llvm-project-15.0.7/clang/include/clang/AST/
H A DOSLog.h73 const Expr *TheExpr = nullptr; variable
82 : TheKind(kind), TheExpr(expr), Size(size), Flags(flags), in TheKind()
104 const Expr *getExpr() const { return TheExpr; } in getExpr()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/misc/
H A DRedundantExpressionCheck.cpp337 static const TExpr *checkOpKind(const Expr *TheExpr, in checkOpKind() argument
339 const auto *AsTExpr = dyn_cast_or_null<TExpr>(TheExpr); in checkOpKind()
365 static bool hasSameOperatorParent(const Expr *TheExpr, in hasSameOperatorParent() argument
369 const DynTypedNodeList Parents = Context.getParents(*TheExpr); in hasSameOperatorParent()
387 markDuplicateOperands(const TExpr *TheExpr, in markDuplicateOperands() argument
390 const OverloadedOperatorKind OpKind = getOp(TheExpr); in markDuplicateOperands()
395 const std::pair<const Expr *, const Expr *> Operands = getOperands(TheExpr); in markDuplicateOperands()
402 if (hasSameOperatorParent<TExpr>(TheExpr, OpKind, Context)) in markDuplicateOperands()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGBuiltin.cpp1843 } else if (const Expr *TheExpr = Item.getExpr()) { in emitBuiltinOSLogFormat() local
1844 ArgVal = EmitScalarExpr(TheExpr, /*Ignore*/ false); in emitBuiltinOSLogFormat()
1862 if (TheExpr->getType()->isObjCRetainableType() && in emitBuiltinOSLogFormat()
1863 getLangOpts().ObjCAutoRefCount && LifetimeExtendObject(TheExpr)) { in emitBuiltinOSLogFormat()
1864 assert(getEvaluationKind(TheExpr->getType()) == TEK_Scalar && in emitBuiltinOSLogFormat()
1868 QualType Ty = TheExpr->getType(); in emitBuiltinOSLogFormat()