[all-commits] [llvm/llvm-project] b5a3e9: [Clang][Parser] Fix crash of clang when using C++ ...
ChipsSpectre via All-commits
all-commits at lists.llvm.org
Thu Jan 4 12:05:08 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b5a3e9639291359d5c9e16f0610393d92bc7d4c2
https://github.com/llvm/llvm-project/commit/b5a3e9639291359d5c9e16f0610393d92bc7d4c2
Author: ChipsSpectre <maxi.hornung at t-online.de>
Date: 2024-01-04 (Thu, 04 Jan 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/Parse/ParseDecl.cpp
M clang/lib/Parse/ParseDeclCXX.cpp
M clang/test/Parser/cxx-in-c.c
Log Message:
-----------
[Clang][Parser] Fix crash of clang when using C++ constructs like :: in C code (#74926)
Ensure we do not try to parse a nested-name-specifier when parsing an ill-formed file in C mode.
Fixes #73559
More information about the All-commits
mailing list