diff --git a/clang-tools-extra/clang-doc/Representation.h b/clang-tools-extra/clang-doc/Representation.h index 15e1abf858aa..aa5fa7f07083 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 getEnclosingScope(); }; // Info for namespaces.