aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorOleksandr T. <oleksandr.tarasiuk@outlook.com>2025-10-15 19:00:26 +0300
committerGitHub <noreply@github.com>2025-10-15 19:00:26 +0300
commit71ad307d231c8048327c7a74c1bb38f0b86fde15 (patch)
tree4bcfe33e62432d52bf2f6ec41315c47c5f3bd0db /clang/lib/Frontend/CompilerInvocation.cpp
parent0ded75c2d1bc9816e5e90289fa746caef6a0bc38 (diff)
downloadllvm-71ad307d231c8048327c7a74c1bb38f0b86fde15.zip
llvm-71ad307d231c8048327c7a74c1bb38f0b86fde15.tar.gz
llvm-71ad307d231c8048327c7a74c1bb38f0b86fde15.tar.bz2
[Clang] prevent crash on unterminated __has_embed (#163107)
Fixes #162953 --- This PR addresses the issue of Clang crashing on unterminated `__has_embed` by guarding all `DiscardUntilEndOfDirective` paths with the contextual end token and diagnosing the missing `)` before reporting _unknown_ parameters.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions