Lines Matching defs:Constant
73 /// Returns true on constant values based around a single IntegerLiteral.
97 /// constant expression or EnumConstantDecl from the given Expr. If it fails,
109 /// NumExpr is an integer literal or an enum constant.
118 const Expr *Constant = tryTransformToIntOrEnumConstant(B->getRHS());
120 if (Constant == nullptr) {
132 Constant = tryTransformToIntOrEnumConstant(B->getLHS());
135 return std::make_tuple(MaybeDecl, Op, Constant);
918 /// boolean and a constant other than 0 and 1.
956 /// evaluating to a boolean and a constant other than 0 and 1.
1141 /// A bitwise-or with a non-zero constant always evaluates to true.
1151 const Expr *Constant = LHSConstant ? LHSConstant : RHSConstant;
1154 if (!Constant->EvaluateAsInt(Result, *Context))
1166 /// Try and evaluate an expression to an integer constant.
1908 // Check for constant size array. Set type to array element type.
2000 // Check for constant size array. Set type to array element type.
2495 // See if this is a known constant.
2699 // See if this is a known constant.
2784 // See if this is a known constant.
3056 // See if this is a known constant.
3447 // See if this is a known constant.
3808 // See if this is a known constant.
3923 // See if this is a known constant.
4443 // See if this is a known constant.
4824 // If lifetime of temporary is not prolonged (by assigning to constant