[Lldb-commits] [lldb] [lldb][Windows] Fixed LibcxxChronoTimePointSecondsSummaryProvider() (PR #92701)
via lldb-commits
lldb-commits at lists.llvm.org
Sun May 19 10:54:31 PDT 2024
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {clang-format}-->
:warning: C/C++ code formatter, clang-format found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
git-clang-format --diff 3c3f6d877623d0d821f59f4ec6038b27f27ee01d 2dfbb8663a4661255cd90269b9f527dfac8fb21b -- lldb/source/Plugins/Language/CPlusPlus/LibCxx.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/lldb/source/Plugins/Language/CPlusPlus/LibCxx.cpp b/lldb/source/Plugins/Language/CPlusPlus/LibCxx.cpp
index da05ba7b40..b0e6fb7d6f 100644
--- a/lldb/source/Plugins/Language/CPlusPlus/LibCxx.cpp
+++ b/lldb/source/Plugins/Language/CPlusPlus/LibCxx.cpp
@@ -1162,7 +1162,7 @@ LibcxxChronoTimepointDaysSummaryProvider(ValueObject &valobj, Stream &stream,
const int chrono_timestamp_min = -12'687'428; // -32767-01-01Z
const int chrono_timestamp_max = 11'248'737; // 32767-12-31Z
#else
- const int chrono_timestamp_min = 0; // 1970-01-01Z
+ const int chrono_timestamp_min = 0; // 1970-01-01Z
const int chrono_timestamp_max = 376'583; // 3001-01-19Z
#endif
``````````
</details>
https://github.com/llvm/llvm-project/pull/92701
More information about the lldb-commits
mailing list