aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/FileCheck/FileCheck.cpp
diff options
context:
space:
mode:
authorPiotr Zegar <me@piotrzegar.pl>2025-02-13 17:51:28 +0100
committerGitHub <noreply@github.com>2025-02-13 17:51:28 +0100
commita663e78a6eb6bbd20c0c74b3e6a78e24ee423544 (patch)
tree781af941ddcdebd70c3c3b96ebf00cab5f8852ed /llvm/lib/FileCheck/FileCheck.cpp
parent1138a4964adf76cc4af82b3f43dbc8db0b91cd46 (diff)
downloadllvm-a663e78a6eb6bbd20c0c74b3e6a78e24ee423544.zip
llvm-a663e78a6eb6bbd20c0c74b3e6a78e24ee423544.tar.gz
llvm-a663e78a6eb6bbd20c0c74b3e6a78e24ee423544.tar.bz2
[clang-tidy] Add recursion protection in ExceptionSpecAnalyzer (#66810)
Normally endless recursion should not happen in ExceptionSpecAnalyzer, but if AST would be malformed (missing include), this could cause crash. I run into this issue when due to missing include constructor argument were parsed as FieldDecl. As checking for recursion cost nothing, why not to do this in check just in case. Fixes #111436
Diffstat (limited to 'llvm/lib/FileCheck/FileCheck.cpp')
0 files changed, 0 insertions, 0 deletions