Author: Julian Lettner Date: 2025-02-25T08:52:03-08:00 New Revision: 568106c2150f4442ad39d9c58493b962c87763bd
URL: https://github.com/llvm/llvm-project/commit/568106c2150f4442ad39d9c58493b962c87763bd DIFF: https://github.com/llvm/llvm-project/commit/568106c2150f4442ad39d9c58493b962c87763bd.diff LOG: [lldb][NFC] Fix comment in lldb/Core/ModuleList.h (#128602) Added: Modified: lldb/include/lldb/Core/ModuleList.h Removed: ################################################################################ diff --git a/lldb/include/lldb/Core/ModuleList.h b/lldb/include/lldb/Core/ModuleList.h index 29b87de88520d..909ee08f9ba62 100644 --- a/lldb/include/lldb/Core/ModuleList.h +++ b/lldb/include/lldb/Core/ModuleList.h @@ -326,11 +326,11 @@ class ModuleList { void FindGlobalVariables(const RegularExpression ®ex, size_t max_matches, VariableList &variable_list) const; - /// Finds the first module whose file specification matches \a file_spec. + /// Finds modules whose file specification matches \a module_spec. /// /// \param[in] module_spec /// A file specification object to match against the Module's - /// file specifications. If \a file_spec does not have + /// file specifications. If \a module_spec does not have /// directory information, matches will occur by matching only /// the basename of any modules in this list. If this value is /// NULL, then file specifications won't be compared when @@ -351,6 +351,7 @@ class ModuleList { // UUID values is very efficient and accurate. lldb::ModuleSP FindModule(const UUID &uuid) const; + /// Finds the first module whose file specification matches \a module_spec. lldb::ModuleSP FindFirstModule(const ModuleSpec &module_spec) const; void FindSymbolsWithNameAndType(ConstString name, _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits