Files
clang-p2996/clang/test/Preprocessor/Inputs/header-search-crash/foo.hmap.json
Dmitry Polukhin b293c6280d [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
2023-03-16 02:19:11 -07:00

7 lines
58 B
JSON

{
"mappings" :
{
"Foo.h" : "Foo/Foo.h"
}
}