summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/clangd/AST.h
diff options
context:
space:
mode:
Diffstat (limited to 'clang-tools-extra/clangd/AST.h')
-rw-r--r--clang-tools-extra/clangd/AST.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/clang-tools-extra/clangd/AST.h b/clang-tools-extra/clangd/AST.h
index 88244f3e947..32cab4c08cb 100644
--- a/clang-tools-extra/clangd/AST.h
+++ b/clang-tools-extra/clangd/AST.h
@@ -34,6 +34,9 @@ SourceLocation findNameLoc(const clang::Decl *D);
/// like inline namespaces.
std::string printQualifiedName(const NamedDecl &ND);
+/// Returns the first enclosing namespace scope starting from \p DC.
+std::string printNamespaceScope(const DeclContext &DC);
+
/// Gets the symbol ID for a declaration, if possible.
llvm::Optional<SymbolID> getSymbolID(const Decl *D);
OpenPOWER on IntegriCloud