[clang] Remove unused declaration IgnoreLinkageSpecDecls
authorKazu Hirata <kazu@google.com>
Fri, 26 May 2023 06:31:17 +0000 (23:31 -0700)
committerKazu Hirata <kazu@google.com>
Fri, 26 May 2023 06:31:17 +0000 (23:31 -0700)
The declaration and its corresponding function definition were removed
once by:

  commit 02093906fa0fd5bacc61b2189ea643c78cd02509
  Author: Nathan Sidwell <nathan@acm.org>
  Date:   Mon Feb 14 10:19:04 2022 -0800

However, the declaration was added back without a corresponding
function definition a few days later by:

  commit 18ead23385a4e0e6421d658591b1ee6a1c592b53
  Author: Peter Collingbourne <peter@pcc.me.uk>
  Date:   Thu Feb 17 11:23:33 2022 -0800

This is most likely a rebasing error.

clang/lib/AST/ItaniumMangle.cpp

index 806bd30..fb5bdfa 100644 (file)
@@ -208,7 +208,6 @@ public:
   }
 
   bool isInternalLinkageDecl(const NamedDecl *ND);
-  const DeclContext *IgnoreLinkageSpecDecls(const DeclContext *DC);
 
   /// @}
 };
@@ -396,7 +395,6 @@ class CXXNameMangler {
   bool isStdNamespace(const DeclContext *DC);
 
   const RecordDecl *GetLocalClassDecl(const Decl *D);
-  const DeclContext *IgnoreLinkageSpecDecls(const DeclContext *DC);
   bool isSpecializedAs(QualType S, llvm::StringRef Name, QualType A);
   bool isStdCharSpecialization(const ClassTemplateSpecializationDecl *SD,
                                llvm::StringRef Name, bool HasAllocator);