Author: davide
Date: Fri Nov 16 11:48:23 2018
New Revision: 347084

URL: http://llvm.org/viewvc/llvm-project?rev=347084&view=rev
Log:
[SymbolFile] Remove unused function. NFCI.

Modified:
    lldb/trunk/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.cpp

Modified: lldb/trunk/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.cpp
URL: 
http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.cpp?rev=347084&r1=347083&r2=347084&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.cpp 
(original)
+++ lldb/trunk/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.cpp Fri 
Nov 16 11:48:23 2018
@@ -433,24 +433,6 @@ static bool IsClassRecord(TypeLeafKind k
   }
 }
 
-static PDB_SymType GetPdbSymType(TpiStream &tpi, TypeIndex ti) {
-  if (ti.isSimple()) {
-    if (ti.getSimpleMode() == SimpleTypeMode::Direct)
-      return PDB_SymType::BuiltinType;
-    return PDB_SymType::PointerType;
-  }
-
-  CVType cvt = tpi.getType(ti);
-  TypeLeafKind kind = cvt.kind();
-  if (kind != LF_MODIFIER)
-    return CVTypeToPDBType(kind);
-
-  // If this is an LF_MODIFIER, look through it to get the kind that it
-  // modifies.  Note that it's not possible to have an LF_MODIFIER that
-  // modifies another LF_MODIFIER, although this would handle that anyway.
-  return GetPdbSymType(tpi, LookThroughModifierRecord(cvt));
-}
-
 static bool IsCVarArgsFunction(llvm::ArrayRef<TypeIndex> args) {
   if (args.empty())
     return false;


_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to