[clang] [clang-format] Stop crashing when formatting Verilog (PR #112043)

2024-10-14 Thread via cfe-commits
https://github.com/sstwcw closed https://github.com/llvm/llvm-project/pull/112043 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang-format] Stop crashing when formatting Verilog (PR #112043)

2024-10-14 Thread via cfe-commits
https://github.com/sstwcw updated https://github.com/llvm/llvm-project/pull/112043 >From 4bac5516b251f75ea105fcf79afbc1ca7b9e7d04 Mon Sep 17 00:00:00 2001 From: sstwcw Date: Fri, 11 Oct 2024 18:03:00 + Subject: [PATCH] [clang-format] Stop crashing when formatting Verilog The part of the co

[clang] [clang-format] Stop crashing when formatting Verilog (PR #112043)

2024-10-11 Thread Owen Pan via cfe-commits
https://github.com/owenca approved this pull request. https://github.com/llvm/llvm-project/pull/112043 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang-format] Stop crashing when formatting Verilog (PR #112043)

2024-10-11 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-format Author: None (sstwcw) Changes The part of the code for parsing Verilog module instantiations dereferenced a pointer without checking for null pointer. The pointer may be null if the input is not complete and a line starts with a comma. -

[clang] [clang-format] Stop crashing when formatting Verilog (PR #112043)

2024-10-11 Thread via cfe-commits
https://github.com/sstwcw created https://github.com/llvm/llvm-project/pull/112043 The part of the code for parsing Verilog module instantiations dereferenced a pointer without checking for null pointer. The pointer may be null if the input is not complete and a line starts with a comma. >Fr