diff options
| author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2014-12-08 09:09:05 +0000 |
|---|---|---|
| committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2014-12-08 09:09:05 +0000 |
| commit | 56af7e6ab42d95536063032a9abe77a6c7904fe2 (patch) | |
| tree | e89770f229c068cd3e358afb85016fee0c3c0296 /clang/lib/Index | |
| parent | 68e04b86135b0ae4b6c6190375e713938349f574 (diff) | |
| download | bcm5719-llvm-56af7e6ab42d95536063032a9abe77a6c7904fe2.tar.gz bcm5719-llvm-56af7e6ab42d95536063032a9abe77a6c7904fe2.zip | |
[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
Diffstat (limited to 'clang/lib/Index')
| -rw-r--r-- | clang/lib/Index/USRGeneration.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Index/USRGeneration.cpp b/clang/lib/Index/USRGeneration.cpp index d03d238e34d..baa166ee280 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: |

