[Lldb-commits] [lldb] d2b6b21 - Comment function

Adrian Prantl via lldb-commits lldb-commits at lists.llvm.org
Thu Nov 17 15:25:00 PST 2022


Author: Adrian Prantl
Date: 2022-11-17T15:24:48-08:00
New Revision: d2b6b2147b6123f7c470457ed3c06ffebcc9231d

URL: https://github.com/llvm/llvm-project/commit/d2b6b2147b6123f7c470457ed3c06ffebcc9231d
DIFF: https://github.com/llvm/llvm-project/commit/d2b6b2147b6123f7c470457ed3c06ffebcc9231d.diff

LOG: Comment function

Added: 
    

Modified: 
    lldb/include/lldb/Core/Module.h

Removed: 
    


################################################################################
diff  --git a/lldb/include/lldb/Core/Module.h b/lldb/include/lldb/Core/Module.h
index 87caf1cde0d36..f7c5971c2f1de 100644
--- a/lldb/include/lldb/Core/Module.h
+++ b/lldb/include/lldb/Core/Module.h
@@ -815,6 +815,8 @@ class Module : public std::enable_shared_from_this<Module>,
   llvm::Expected<lldb::TypeSystemSP>
   GetTypeSystemForLanguage(lldb::LanguageType language);
 
+  /// Call \p callback for each \p TypeSystem in this \p Module.
+  /// Return true from callback to keep iterating, false to stop iterating.
   void ForEachTypeSystem(llvm::function_ref<bool(lldb::TypeSystemSP)> callback);
 
   // Special error functions that can do printf style formatting that will


        


More information about the lldb-commits mailing list