[libclang] Use same USR encoding for 'char' regardless of what the target considers...
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Mon, 8 Dec 2014 09:09:05 +0000 (09:09 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Mon, 8 Dec 2014 09:09:05 +0000 (09:09 +0000)
Should fix the clang-hexagon-elf bot.

llvm-svn: 223642

clang/lib/Index/USRGeneration.cpp

index d03d238..baa166e 100644 (file)
@@ -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: