[clang] 59048a3 - [AST] Remove unused declaration makeDeclVisibleInContextInternal

Kazu Hirata via cfe-commits cfe-commits at lists.llvm.org
Sat Jun 3 23:37:06 PDT 2023


Author: Kazu Hirata
Date: 2023-06-03T23:36:50-07:00
New Revision: 59048a3aa3f4b2326ea4dc1abf4b9530cda50b2a

URL: https://github.com/llvm/llvm-project/commit/59048a3aa3f4b2326ea4dc1abf4b9530cda50b2a
DIFF: https://github.com/llvm/llvm-project/commit/59048a3aa3f4b2326ea4dc1abf4b9530cda50b2a.diff

LOG: [AST] Remove unused declaration makeDeclVisibleInContextInternal

The corresponding function definition was removed by:

  commit f634c9006977fcbed5f55eaee831852e453fdf76
  Author: Richard Smith <richard-llvm at metafoo.co.uk>
  Date:   Fri Mar 16 06:12:59 2012 +0000

Added: 
    

Modified: 
    clang/include/clang/AST/DeclBase.h

Removed: 
    


################################################################################
diff  --git a/clang/include/clang/AST/DeclBase.h b/clang/include/clang/AST/DeclBase.h
index f7d5b3a83141a..511afb1db5606 100644
--- a/clang/include/clang/AST/DeclBase.h
+++ b/clang/include/clang/AST/DeclBase.h
@@ -2602,14 +2602,6 @@ class DeclContext {
   void reconcileExternalVisibleStorage() const;
   bool LoadLexicalDeclsFromExternalStorage() const;
 
-  /// Makes a declaration visible within this context, but
-  /// suppresses searches for external declarations with the same
-  /// name.
-  ///
-  /// Analogous to makeDeclVisibleInContext, but for the exclusive
-  /// use of addDeclInternal().
-  void makeDeclVisibleInContextInternal(NamedDecl *D);
-
   StoredDeclsMap *CreateStoredDeclsMap(ASTContext &C) const;
 
   void loadLazyLocalLexicalLookups();


        


More information about the cfe-commits mailing list