summaryrefslogtreecommitdiffstats
path: root/lldb
diff options
context:
space:
mode:
authorRaphael Isemann <teemperor@gmail.com>2019-11-28 15:05:10 +0100
committerRaphael Isemann <teemperor@gmail.com>2019-11-28 15:11:37 +0100
commit3cd8ba0e37a035a134dc01ce260040f1d57f4d40 (patch)
treef2b619b86ef29d56c8e86ad0916f960e6816167b /lldb
parentb18e190b7ca90c09566382a039887f6eafe63d0d (diff)
downloadbcm5719-llvm-3cd8ba0e37a035a134dc01ce260040f1d57f4d40.tar.gz
bcm5719-llvm-3cd8ba0e37a035a134dc01ce260040f1d57f4d40.zip
[lldb][NFC] Remove unused CompilerDecl::IsClang
Diffstat (limited to 'lldb')
-rw-r--r--lldb/include/lldb/Symbol/CompilerDecl.h2
-rw-r--r--lldb/source/Symbol/CompilerDecl.cpp4
2 files changed, 0 insertions, 6 deletions
diff --git a/lldb/include/lldb/Symbol/CompilerDecl.h b/lldb/include/lldb/Symbol/CompilerDecl.h
index 4817ec4b226..7e4755a58c5 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 3d17d802dd0..017e541bd20 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);
}
OpenPOWER on IntegriCloud