[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
diff --git a/lldb/source/Symbol/ClangASTContext.cpp b/lldb/source/Symbol/ClangASTContext.cpp
index d1d9a73..faeaf78 100644
--- a/lldb/source/Symbol/ClangASTContext.cpp
+++ b/lldb/source/Symbol/ClangASTContext.cpp
@@ -1390,9 +1390,9 @@
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;