mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[NFC] Improve some lookup-related doc comments
This commit is contained in:
@@ -44,14 +44,14 @@ enum class ResolutionKind {
|
||||
|
||||
void simple_display(llvm::raw_ostream &out, ResolutionKind kind);
|
||||
|
||||
/// Performs a lookup into the given module and it's imports.
|
||||
/// Performs a lookup into the given module and its imports.
|
||||
///
|
||||
/// If 'moduleOrFile' is a ModuleDecl, we search the module and it's
|
||||
/// If 'moduleOrFile' is a ModuleDecl, we search the module and its
|
||||
/// public imports. If 'moduleOrFile' is a SourceFile, we search the
|
||||
/// file's parent module, the module's public imports, and the source
|
||||
/// file's private imports.
|
||||
///
|
||||
/// \param moduleOrFile The module or file unit whose imports to search.
|
||||
/// \param moduleOrFile The module or file unit to search, including imports.
|
||||
/// \param name The name to look up.
|
||||
/// \param[out] decls Any found decls will be added to this vector.
|
||||
/// \param lookupKind Whether this lookup is qualified or unqualified.
|
||||
@@ -59,8 +59,10 @@ void simple_display(llvm::raw_ostream &out, ResolutionKind kind);
|
||||
/// \param moduleScopeContext The top-level context from which the lookup is
|
||||
/// being performed, for checking access. This must be either a
|
||||
/// FileUnit or a Module.
|
||||
/// \param loc Source location of the lookup. Used to add contextual options,
|
||||
/// such as disabling macro expansions inside macro arguments.
|
||||
/// \param options name lookup options. Currently only used to communicate the
|
||||
/// NL_IncludeUsableFromInline option.
|
||||
/// NL_IncludeUsableFromInline option.
|
||||
void lookupInModule(const DeclContext *moduleOrFile,
|
||||
DeclName name, SmallVectorImpl<ValueDecl *> &decls,
|
||||
NLKind lookupKind, ResolutionKind resolutionKind,
|
||||
|
||||
Reference in New Issue
Block a user