[all-commits] [llvm/llvm-project] 395e1f: [clang] Capture Framework when HeaderSearch is res...
Cyndy Ishida via All-commits
all-commits at lists.llvm.org
Fri Oct 15 09:18:15 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 395e1fe3057482576eb0bc38d1079fcc1ff29193
https://github.com/llvm/llvm-project/commit/395e1fe3057482576eb0bc38d1079fcc1ff29193
Author: Cyndy Ishida <cyndy_ishida at apple.com>
Date: 2021-10-15 (Fri, 15 Oct 2021)
Changed paths:
M clang/lib/Lex/HeaderSearch.cpp
M clang/unittests/Lex/HeaderSearchTest.cpp
Log Message:
-----------
[clang] Capture Framework when HeaderSearch is resolved via headermap
When building frameworks, headermaps responsible for mapping angle-included headers to their source file location are passed via
`-I` and not `-index-header-map`. Also, `-index-header-map` is only used for indexing purposes and not during most builds.
This patch holds on to the framework's name in HeaderFileInfo as this is retrieveable for cases outside of IndexHeaderMaps and
still represents the framework that is being built.
resolves: rdar://84046893
Reviewed By: jansvoboda11
Differential Revision: https://reviews.llvm.org/D111468
More information about the All-commits
mailing list