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: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a895eb4ce77aee393189c52d643c9a39fc01871e;p=clang [libclang] Use same USR encoding for 'char' regardless of what the target considers the sign to be. Should fix the clang-hexagon-elf bot. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@223642 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Index/USRGeneration.cpp b/lib/Index/USRGeneration.cpp index d03d238e34..baa166ee28 100644 --- a/lib/Index/USRGeneration.cpp +++ b/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: