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 origin/main HEAD --extensions cpp --
lldb/test/API/lang/cpp/enum-limits/main.cpp
lldb/source/Plugins/SymbolFile/NativePDB/UdtRecordCompleter.cpp
--diff_from_common_commit
``````````
:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/lldb/test/API/lang/cpp/enum-limits/main.cpp
b/lldb/test/API/lang/cpp/enum-limits/main.cpp
index 3aeef3fd0..b8855b592 100644
--- a/lldb/test/API/lang/cpp/enum-limits/main.cpp
+++ b/lldb/test/API/lang/cpp/enum-limits/main.cpp
@@ -35,14 +35,14 @@ enum class I64Enum : long long {
Max = 9223372036854775807LL,
};
-int main(){
- auto u8 = U8Enum::Max;
- auto i8 = I8Enum::Max;
- auto u16 = U16Enum::Max;
- auto i16 = I16Enum::Max;
- auto u32 = U32Enum::Max;
- auto i32 = I32Enum::Max;
- auto u64 = U64Enum::Max;
- auto i64 = I64Enum::Max;
- return 0;
+int main() {
+ auto u8 = U8Enum::Max;
+ auto i8 = I8Enum::Max;
+ auto u16 = U16Enum::Max;
+ auto i16 = I16Enum::Max;
+ auto u32 = U32Enum::Max;
+ auto i32 = I32Enum::Max;
+ auto u64 = U64Enum::Max;
+ auto i64 = I64Enum::Max;
+ return 0;
}
``````````
</details>
https://github.com/llvm/llvm-project/pull/210338
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits