[clang-doc] Removed unused method in the Info class
authorPaul Kirth <paulkirth@google.com>
Wed, 25 Jan 2023 23:55:02 +0000 (23:55 +0000)
committerPaul Kirth <paulkirth@google.com>
Wed, 25 Jan 2023 23:55:59 +0000 (23:55 +0000)
Reviewed By: brettw

Differential Revision: https://reviews.llvm.org/D142577

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

index 15e1abf..aa5fa7f 100644 (file)
@@ -290,10 +290,6 @@ struct Info {
 
   /// 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.