diff options
author | Davide Italiano <davide@freebsd.org> | 2018-11-16 19:48:23 +0000 |
---|---|---|
committer | Davide Italiano <davide@freebsd.org> | 2018-11-16 19:48:23 +0000 |
commit | 529184ddc747fc88c1c2761b0d96469e42c712f1 (patch) | |
tree | ee8031d11ca29f1785c9d4861497620bba3846d2 /source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.cpp | |
parent | 1a0ceeaf08261c0f6c2bac5ed74555dfedae069d (diff) |
[SymbolFile] Remove unused function. NFCI.
git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@347084 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.cpp')
-rw-r--r-- | source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.cpp | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.cpp b/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.cpp index 790562f03..9310e7c2d 100644 --- a/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.cpp +++ b/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; |