aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorsstwcw <su3e8a96kzlver@posteo.net>2024-10-14 13:57:35 +0000
committerGitHub <noreply@github.com>2024-10-14 13:57:35 +0000
commit253ff327241be2b6d4f6321d0e917357d5f310df (patch)
treeb6e282f9bfc722432ed7ac2bf8302dbe7a28e2c9 /flang/lib/Frontend/CompilerInvocation.cpp
parent9c64b5e7591dd7f6f3dd3175a5e686f324c22978 (diff)
downloadllvm-253ff327241be2b6d4f6321d0e917357d5f310df.zip
llvm-253ff327241be2b6d4f6321d0e917357d5f310df.tar.gz
llvm-253ff327241be2b6d4f6321d0e917357d5f310df.tar.bz2
[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.
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions