[all-commits] [llvm/llvm-project] b6c67c: [clang] Track how headers get included generally d...
Cyndy Ishida via All-commits
all-commits at lists.llvm.org
Wed May 4 09:58:30 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b6c67c3c67893d532fe741c508dfa2ac40fae1ad
https://github.com/llvm/llvm-project/commit/b6c67c3c67893d532fe741c508dfa2ac40fae1ad
Author: Cyndy Ishida <cyndy_ishida at apple.com>
Date: 2022-05-04 (Wed, 04 May 2022)
Changed paths:
M clang/include/clang/Lex/HeaderSearch.h
M clang/lib/Lex/HeaderSearch.cpp
M clang/unittests/Lex/HeaderSearchTest.cpp
Log Message:
-----------
[clang] Track how headers get included generally during lookup time
tapi & clang-extractapi both attempt to construct then check against
how a header was included to determine api information when working
against multiple search paths, headermap, and vfsoverlay mechanisms.
Validating this against what the preprocessor sees during lookup time
makes this check more reliable.
Reviewed By: zixuw, jansvoboda11
Differential Revision: https://reviews.llvm.org/D124638
More information about the All-commits
mailing list