================ @@ -21,7 +24,9 @@ using namespace lldb; using namespace lldb_private; -static DWORD ToTimeout(std::optional<MainLoopWindows::TimePoint> point) { +namespace { ---------------- labath wrote:
according to the [coding standards](https://llvm.org/docs/CodingStandards.html#restrict-visibility) anonymous namespaces should be as small as possible. That means the function should stay static and (large) methods should be defined out of line (and out of the namespace) https://github.com/llvm/llvm-project/pull/145621 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits