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 h,cpp -- 
lldb/test/API/commands/frame/var-dil/expr/Arithmetic/main.cpp 
lldb/test/API/commands/frame/var-dil/expr/PointerArithmetic/main.cpp 
lldb/include/lldb/Symbol/TypeSystem.h lldb/include/lldb/ValueObject/DILAST.h 
lldb/include/lldb/ValueObject/DILEval.h 
lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp 
lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.h 
lldb/source/Symbol/CompilerType.cpp lldb/source/Symbol/TypeSystem.cpp 
lldb/source/ValueObject/DILEval.cpp lldb/source/ValueObject/DILLexer.cpp 
lldb/source/ValueObject/DILParser.cpp
``````````

: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/commands/frame/var-dil/expr/PointerArithmetic/main.cpp 
b/lldb/test/API/commands/frame/var-dil/expr/PointerArithmetic/main.cpp
index ec1fad6c1..7518e4036 100644
--- a/lldb/test/API/commands/frame/var-dil/expr/PointerArithmetic/main.cpp
+++ b/lldb/test/API/commands/frame/var-dil/expr/PointerArithmetic/main.cpp
@@ -1,7 +1,7 @@
 int main(int argc, char **argv) {
   int array[10];
   array[0] = 0;
-  int(&array_ref)[10] = array;
+  int (&array_ref)[10] = array;
   int *p_int0 = &array[0];
 
   return 0; // Set a breakpoint here

``````````

</details>


https://github.com/llvm/llvm-project/pull/155617
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to