forked from OSchip/llvm-project
[LLDB] Address post-commit code review feedback.
This patch addresses Adrian McCarthy's code review feedback in https://reviews.llvm.org/D66447 llvm-svn: 369731
This commit is contained in:
parent
2a52583d67
commit
6c9dc12caa
|
@ -1,5 +1,3 @@
|
|||
#include <cstring>
|
||||
|
||||
char8_t a = u8'a';
|
||||
const char8_t* ab = u8"你好";
|
||||
char8_t abc[9] = u8"你好";
|
||||
|
|
|
@ -1390,9 +1390,9 @@ CompilerType ClangASTContext::GetBuiltinTypeForDWARFEncodingAndBitSize(
|
|||
if (type_name) {
|
||||
if (streq(type_name, "char16_t"))
|
||||
return CompilerType(this, ast->Char16Ty.getAsOpaquePtr());
|
||||
else if (streq(type_name, "char32_t"))
|
||||
if (streq(type_name, "char32_t"))
|
||||
return CompilerType(this, ast->Char32Ty.getAsOpaquePtr());
|
||||
else if (streq(type_name, "char8_t"))
|
||||
if (streq(type_name, "char8_t"))
|
||||
return CompilerType(this, ast->Char8Ty.getAsOpaquePtr());
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue