aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp
diff options
context:
space:
mode:
authorDmitry Polukhin <dmitry.polukhin@gmail.com>2023-03-15 10:45:07 -0700
committerDmitry Polukhin <dmitry.polukhin@gmail.com>2023-03-16 02:19:11 -0700
commitb293c6280d06f49c5ca7290855911341ab0bdffa (patch)
tree77a56d1301e974cbe340701dbda529e402d1f6e4 /llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp
parent1990ce74dcbd5fbb5c71672b50730007be3dcd5e (diff)
downloadllvm-b293c6280d06f49c5ca7290855911341ab0bdffa.zip
llvm-b293c6280d06f49c5ca7290855911341ab0bdffa.tar.gz
llvm-b293c6280d06f49c5ca7290855911341ab0bdffa.tar.bz2
[clang][Lexer] Fix crash/assert clang::HeaderSearch::search_dir_nth
The issue was introduced in D135801. When there are only header maps in the SearchDirs, the out of bounds value is assigned to FirstNonHeaderMapSearchDirIdx. Test Plan: check-clang Differential Revision: https://reviews.llvm.org/D146156
Diffstat (limited to 'llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions