[all-commits] [llvm/llvm-project] 253ff3: [clang-format] Stop crashing when formatting Veril...

sstwcw via All-commits all-commits at lists.llvm.org
Mon Oct 14 06:57:57 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 253ff327241be2b6d4f6321d0e917357d5f310df
      https://github.com/llvm/llvm-project/commit/253ff327241be2b6d4f6321d0e917357d5f310df
  Author: sstwcw <su3e8a96kzlver at posteo.net>
  Date:   2024-10-14 (Mon, 14 Oct 2024)

  Changed paths:
    M clang/lib/Format/TokenAnnotator.cpp
    M clang/unittests/Format/FormatTestVerilog.cpp

  Log Message:
  -----------
  [clang-format] Stop crashing when formatting Verilog (#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.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list