[clang-tools-extra] 881d151 - [clang-doc] Removed unused method in the Info class

Paul Kirth via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 25 15:56:07 PST 2023


Author: Paul Kirth
Date: 2023-01-25T23:55:59Z
New Revision: 881d151c527c0eaae89af5842f4167f7a2439a13

URL: https://github.com/llvm/llvm-project/commit/881d151c527c0eaae89af5842f4167f7a2439a13
DIFF: https://github.com/llvm/llvm-project/commit/881d151c527c0eaae89af5842f4167f7a2439a13.diff

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

Reviewed By: brettw

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

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/clang-tools-extra/clang-doc/Representation.h b/clang-tools-extra/clang-doc/Representation.h
index 15e1abf858aaa..aa5fa7f07083e 100644
--- a/clang-tools-extra/clang-doc/Representation.h
+++ b/clang-tools-extra/clang-doc/Representation.h
@@ -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.


        


More information about the cfe-commits mailing list