[Lldb-commits] [lldb] 3cd8ba0 - [lldb][NFC] Remove unused CompilerDecl::IsClang
Raphael Isemann via lldb-commits
lldb-commits at lists.llvm.org
Thu Nov 28 06:12:25 PST 2019
Author: Raphael Isemann
Date: 2019-11-28T15:11:37+01:00
New Revision: 3cd8ba0e37a035a134dc01ce260040f1d57f4d40
URL: https://github.com/llvm/llvm-project/commit/3cd8ba0e37a035a134dc01ce260040f1d57f4d40
DIFF: https://github.com/llvm/llvm-project/commit/3cd8ba0e37a035a134dc01ce260040f1d57f4d40.diff
LOG: [lldb][NFC] Remove unused CompilerDecl::IsClang
Added:
Modified:
lldb/include/lldb/Symbol/CompilerDecl.h
lldb/source/Symbol/CompilerDecl.cpp
Removed:
################################################################################
diff --git a/lldb/include/lldb/Symbol/CompilerDecl.h b/lldb/include/lldb/Symbol/CompilerDecl.h
index 4817ec4b2267..7e4755a58c59 100644
--- a/lldb/include/lldb/Symbol/CompilerDecl.h
+++ b/lldb/include/lldb/Symbol/CompilerDecl.h
@@ -39,8 +39,6 @@ class CompilerDecl {
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 3d17d802dd04..017e541bd203 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<ClangASTContext>(m_type_system);
-}
-
ConstString CompilerDecl::GetName() const {
return m_type_system->DeclGetName(m_opaque_decl);
}
More information about the lldb-commits
mailing list