diff options
Diffstat (limited to 'clang-tools-extra/clangd/AST.h')
-rw-r--r-- | clang-tools-extra/clangd/AST.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clang-tools-extra/clangd/AST.h b/clang-tools-extra/clangd/AST.h index d5edba7209b..f4ca14ad01a 100644 --- a/clang-tools-extra/clangd/AST.h +++ b/clang-tools-extra/clangd/AST.h @@ -67,7 +67,8 @@ llvm::Optional<SymbolID> getSymbolID(const IdentifierInfo &II, const MacroInfo *MI, const SourceManager &SM); -/// Returns a QualType as string. +/// Returns a QualType as string. The result doesn't contain unwritten scopes +/// like annoymous/inline namespace. std::string printType(const QualType QT, const DeclContext & Context); /// Try to shorten the OriginalName by removing namespaces from the left of |