[lldb] [llvm] [llvm]Added lib/Telemetry (PR #98528)

Pavel Labath via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 24 01:35:10 PDT 2024


================
@@ -34,6 +34,7 @@
 #include "lldb/API/SBTypeNameSpecifier.h"
 #include "lldb/API/SBTypeSummary.h"
 #include "lldb/API/SBTypeSynthetic.h"
+#include <iostream>
----------------
labath wrote:

`<iostream>` is [banned](https://llvm.org/docs/CodingStandards.html#include-iostream-is-forbidden) in llvm, but we also don't generally use stderr as a reporting channel. If you think it's useful, you can have the SB method return some kind of a error indicator (bool, SBError).

https://github.com/llvm/llvm-project/pull/98528


More information about the llvm-commits mailing list