Lines Matching refs:Literal
992 StringLiteralParser Literal(StringToks, NumStringToks, PP); in ActOnStringLiteral() local
993 if (Literal.hadError) in ActOnStringLiteral()
1001 if (Literal.AnyWide) in ActOnStringLiteral()
1003 else if (Literal.Pascal) in ActOnStringLiteral()
1014 llvm::APInt(32, Literal.GetNumStringChars()+1), in ActOnStringLiteral()
1018 return Owned(StringLiteral::Create(Context, Literal.GetString(), in ActOnStringLiteral()
1019 Literal.AnyWide, Literal.Pascal, StrTy, in ActOnStringLiteral()
2415 CharLiteralParser Literal(ThisTok.begin(), ThisTok.end(), Tok.getLocation(), in ActOnCharacterConstant() local
2417 if (Literal.hadError()) in ActOnCharacterConstant()
2423 else if (Literal.isWide()) in ActOnCharacterConstant()
2425 else if (Literal.isMultiChar()) in ActOnCharacterConstant()
2430 return Owned(new (Context) CharacterLiteral(Literal.getValue(), in ActOnCharacterConstant()
2431 Literal.isWide(), in ActOnCharacterConstant()
2456 NumericLiteralParser Literal(ThisTokBegin, ThisTokBegin+ActualLength, in ActOnNumericConstant() local
2458 if (Literal.hadError) in ActOnNumericConstant()
2463 if (Literal.isFloatingLiteral()) { in ActOnNumericConstant()
2465 if (Literal.isFloat) in ActOnNumericConstant()
2467 else if (!Literal.isLong) in ActOnNumericConstant()
2477 APFloat::opStatus result = Literal.GetFloatValue(Val); in ActOnNumericConstant()
2509 } else if (!Literal.isIntegerLiteral()) { in ActOnNumericConstant()
2516 Literal.isLongLong) in ActOnNumericConstant()
2522 if (Literal.GetIntegerValue(ResultVal)) { in ActOnNumericConstant()
2534 bool AllowUnsigned = Literal.isUnsigned || Literal.getRadix() != 10; in ActOnNumericConstant()
2538 if (!Literal.isLong && !Literal.isLongLong) { in ActOnNumericConstant()
2545 if (!Literal.isUnsigned && ResultVal[IntSize-1] == 0) in ActOnNumericConstant()
2554 if (Ty.isNull() && !Literal.isLongLong) { in ActOnNumericConstant()
2560 if (!Literal.isUnsigned && ResultVal[LongSize-1] == 0) in ActOnNumericConstant()
2577 if (!Literal.isUnsigned && (ResultVal[LongLongSize-1] == 0 || in ActOnNumericConstant()
2578 (getLangOptions().Microsoft && Literal.isLongLong))) in ActOnNumericConstant()
2601 if (Literal.isImaginary) in ActOnNumericConstant()
4238 ExprResult Literal = Owned(exprs[0]); in BuildVectorLiteral() local
4239 Literal = ImpCastExprToType(Literal.take(), ElemTy, in BuildVectorLiteral()
4240 PrepareScalarCast(*this, Literal, ElemTy)); in BuildVectorLiteral()
4241 return BuildCStyleCastExpr(LParenLoc, TInfo, RParenLoc, Literal.take()); in BuildVectorLiteral()
4259 ExprResult Literal = Owned(exprs[0]); in BuildVectorLiteral() local
4260 Literal = ImpCastExprToType(Literal.take(), ElemTy, in BuildVectorLiteral()
4261 PrepareScalarCast(*this, Literal, ElemTy)); in BuildVectorLiteral()
4262 return BuildCStyleCastExpr(LParenLoc, TInfo, RParenLoc, Literal.take()); in BuildVectorLiteral()