[PATCH] D142577: [clang-doc] Removed unused method in the Info class

Paul Kirth via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 25 12:25:41 PST 2023


paulkirth created this revision.
Herald added a project: All.
paulkirth requested review of this revision.
Herald added a project: clang-tools-extra.
Herald added a subscriber: cfe-commits.

Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D142577

Files:
  clang-tools-extra/clang-doc/Representation.h


Index: clang-tools-extra/clang-doc/Representation.h
===================================================================
--- clang-tools-extra/clang-doc/Representation.h
+++ clang-tools-extra/clang-doc/Representation.h
@@ -290,10 +290,6 @@
 
   /// Returns the basename that should be used for this Info.
   llvm::SmallString<16> getFileBaseName() const;
-
-  // Returns a reference to the parent scope (that is, the immediate parent
-  // namespace or class in which this decl resides).
-  llvm::Expected<Reference> getEnclosingScope();
 };
 
 // Info for namespaces.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D142577.492229.patch
Type: text/x-patch
Size: 568 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230125/a0786b89/attachment.bin>


More information about the cfe-commits mailing list