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