From 3cd8ba0e37a035a134dc01ce260040f1d57f4d40 Mon Sep 17 00:00:00 2001 From: Raphael Isemann Date: Thu, 28 Nov 2019 15:05:10 +0100 Subject: [PATCH] [lldb][NFC] Remove unused CompilerDecl::IsClang --- lldb/include/lldb/Symbol/CompilerDecl.h | 2 -- lldb/source/Symbol/CompilerDecl.cpp | 4 ---- 2 files changed, 6 deletions(-) diff --git a/lldb/include/lldb/Symbol/CompilerDecl.h b/lldb/include/lldb/Symbol/CompilerDecl.h index 4817ec4..7e4755a 100644 --- a/lldb/include/lldb/Symbol/CompilerDecl.h +++ b/lldb/include/lldb/Symbol/CompilerDecl.h @@ -39,8 +39,6 @@ public: return m_type_system != nullptr && m_opaque_decl != nullptr; } - bool IsClang() const; - // Accessors TypeSystem *GetTypeSystem() const { return m_type_system; } diff --git a/lldb/source/Symbol/CompilerDecl.cpp b/lldb/source/Symbol/CompilerDecl.cpp index 3d17d80..017e541 100644 --- a/lldb/source/Symbol/CompilerDecl.cpp +++ b/lldb/source/Symbol/CompilerDecl.cpp @@ -13,10 +13,6 @@ using namespace lldb_private; -bool CompilerDecl::IsClang() const { - return IsValid() && llvm::isa(m_type_system); -} - ConstString CompilerDecl::GetName() const { return m_type_system->DeclGetName(m_opaque_decl); } -- 2.7.4