From: Argyrios Kyrtzidis Date: Mon, 8 Dec 2014 09:09:05 +0000 (+0000) Subject: [libclang] Use same USR encoding for 'char' regardless of what the target considers... X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=56af7e6ab42d95536063032a9abe77a6c7904fe2;p=platform%2Fupstream%2Fllvm.git [libclang] Use same USR encoding for 'char' regardless of what the target considers the sign to be. Should fix the clang-hexagon-elf bot. llvm-svn: 223642 --- diff --git a/clang/lib/Index/USRGeneration.cpp b/clang/lib/Index/USRGeneration.cpp index d03d238..baa166e 100644 --- a/clang/lib/Index/USRGeneration.cpp +++ b/clang/lib/Index/USRGeneration.cpp @@ -560,7 +560,6 @@ void USRGenerator::VisitType(QualType T) { c = 'v'; break; case BuiltinType::Bool: c = 'b'; break; - case BuiltinType::Char_U: case BuiltinType::UChar: c = 'c'; break; case BuiltinType::Char16: @@ -577,6 +576,7 @@ void USRGenerator::VisitType(QualType T) { c = 'k'; break; case BuiltinType::UInt128: c = 'j'; break; + case BuiltinType::Char_U: case BuiltinType::Char_S: c = 'C'; break; case BuiltinType::SChar: