[Lldb-commits] [lldb] r347084 - [SymbolFile] Remove unused function. NFCI.
Davide Italiano via lldb-commits
lldb-commits at lists.llvm.org
Fri Nov 16 11:48:23 PST 2018
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;
More information about the lldb-commits
mailing list