Skip to content

Commit 0ab6a71

Browse files
committed
[ClangImporter] Fix dangling documentation
getClangOwningModule() no longer takes a parameter named `MI` nor does it return an optional (it just returns a poitner).
1 parent f995144 commit 0ab6a71

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

lib/ClangImporter/ImporterImpl.h

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -970,11 +970,8 @@ class LLVM_LIBRARY_VISIBILITY ClangImporter::Implementation
970970
ClangModuleUnit *getClangModuleForDecl(const clang::Decl *D,
971971
bool allowForwardDeclaration = false);
972972

973-
/// Returns the module \p MI comes from, or \c None if \p MI does not have
974-
/// a valid associated module.
975-
///
976-
/// The returned module may be null (but not \c None) if \p MI comes from
977-
/// an imported header.
973+
/// Returns the module \p Node comes from, or \c nullptr if \p Node does not
974+
/// have a valid owning module.
978975
const clang::Module *getClangOwningModule(ClangNode Node) const;
979976

980977
/// Whether NSUInteger can be imported as Int in certain contexts. If false,

0 commit comments

Comments
 (0)