[Lldb-commits] [PATCH] D43215: Supply missing break in case statement.

Adrian McCarthy via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Feb 14 15:19:01 PST 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rL325188: Supply missing break in case statement. (authored by amccarth, committed by ).
Herald added a subscriber: llvm-commits.

Changed prior to commit:
  https://reviews.llvm.org/D43215?vs=134252&id=134330#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D43215

Files:
  lldb/trunk/source/Plugins/SymbolFile/PDB/PDBASTParser.cpp


Index: lldb/trunk/source/Plugins/SymbolFile/PDB/PDBASTParser.cpp
===================================================================
--- lldb/trunk/source/Plugins/SymbolFile/PDB/PDBASTParser.cpp
+++ lldb/trunk/source/Plugins/SymbolFile/PDB/PDBASTParser.cpp
@@ -107,9 +107,7 @@
   case PDB_BuiltinType::None:
     return CompilerType();
   case PDB_BuiltinType::Void:
-    // FIXME: where is non-zero size of `void` from?
-    if (width == 0)
-      return clang_ast->GetBasicType(eBasicTypeVoid);
+    return clang_ast->GetBasicType(eBasicTypeVoid);
   case PDB_BuiltinType::Bool:
     return clang_ast->GetBasicType(eBasicTypeBool);
   case PDB_BuiltinType::Long:


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43215.134330.patch
Type: text/x-patch
Size: 665 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20180214/8665e59a/attachment.bin>


More information about the lldb-commits mailing list