From 37f6c480c696a4a72c1701ee54624cc807aa80ba Mon Sep 17 00:00:00 2001 From: Ed Schouten Date: Sat, 6 Jun 2009 08:21:31 +0000 Subject: Import clang, at r72995. --- lib/Lex/LiteralSupport.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Lex/LiteralSupport.cpp') diff --git a/lib/Lex/LiteralSupport.cpp b/lib/Lex/LiteralSupport.cpp index 0324c0b01289e..4d10974df2c67 100644 --- a/lib/Lex/LiteralSupport.cpp +++ b/lib/Lex/LiteralSupport.cpp @@ -691,7 +691,7 @@ CharLiteralParser::CharLiteralParser(const char *begin, const char *end, // character constants are not sign extended in the this implementation: // '\xFF\xFF' = 65536 and '\x0\xFF' = 255, which matches GCC. if (!IsWide && NumCharsSoFar == 1 && (Value & 128) && - PP.getTargetInfo().isCharSigned()) + PP.getLangOptions().CharIsSigned) Value = (signed char)Value; } -- cgit v1.2.3