mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-05 13:11:05 +01:00
Document the null return from the mapping function
This commit is contained in:
@@ -348,7 +348,8 @@ class CarbonExternalASTSource : public clang::ExternalASTSource {
|
||||
auto StartTranslationUnit(clang::ASTConsumer* consumer) -> void override;
|
||||
|
||||
private:
|
||||
// Map a Carbon entity to a Clang NamedDecl.
|
||||
// Map a Carbon entity to a Clang NamedDecl. Returns null if the entity cannot
|
||||
// currently be represented in C++.
|
||||
auto MapInstIdToClangDecl(clang::DeclContext& decl_context,
|
||||
LookupResult lookup) -> clang::NamedDecl*;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user