summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavide Italiano <davide@freebsd.org>2018-11-16 19:48:23 +0000
committerDavide Italiano <davide@freebsd.org>2018-11-16 19:48:23 +0000
commit9974417203fce562e6c73704dcfb43316530e657 (patch)
tree6ac228b75c025e5af79fd851a79582f4716f5cc8
parent47fb42e6c343652c9e35d094091a753b5e87cdb5 (diff)
downloadbcm5719-llvm-9974417203fce562e6c73704dcfb43316530e657.tar.gz
bcm5719-llvm-9974417203fce562e6c73704dcfb43316530e657.zip
[SymbolFile] Remove unused function. NFCI.
llvm-svn: 347084
-rw-r--r--lldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.cpp18
1 files changed, 0 insertions, 18 deletions
diff --git a/lldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.cpp b/lldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.cpp
index 790562f0316..9310e7c2dfd 100644
--- a/lldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.cpp
+++ b/lldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.cpp
@@ -433,24 +433,6 @@ static bool IsClassRecord(TypeLeafKind kind) {
}
}
-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;
OpenPOWER on IntegriCloud