Lines Matching refs:Literal
207 NumericLiteralParser Literal(Spelling.begin(), Spelling.end(),
209 if (Literal.hadError)
212 if (Literal.isFloatingLiteral() || Literal.isImaginary) {
216 assert(Literal.isIntegerLiteral() && "Unknown ppnumber");
219 if (!PP.getLangOptions().C99 && Literal.isLongLong)
223 // Parse the integer literal into Result.
224 if (Literal.GetIntegerValue(Result.Val)) {
225 // Overflow parsing integer literal.
231 Result.Val.setIsUnsigned(Literal.isUnsigned);
237 if (!Literal.isUnsigned && Result.Val.isNegative()) {
238 // Don't warn for a hex literal: 0x8000..0 shouldn't warn.
239 if (ValueLive && Literal.getRadix() != 16)
260 CharLiteralParser Literal(ThisTok.begin(), ThisTok.end(),
262 if (Literal.hadError())
268 if (Literal.isMultiChar())
270 else if (Literal.isWide())
272 else if (Literal.isUTF16())
274 else if (Literal.isUTF32())
282 Val = Literal.getValue();
284 if (!Literal.isUTF16() && !Literal.isUTF32())