diff options
author | Jan Svoboda <jan_svoboda@apple.com> | 2021-11-18 12:34:54 +0100 |
---|---|---|
committer | Jan Svoboda <jan_svoboda@apple.com> | 2021-11-18 13:01:07 +0100 |
commit | 197576c40986085cbd5250283e1e80a2679c9cf0 (patch) | |
tree | b7e8a80342b674d96a2b4581cfbe1b031beca997 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 7b6790850968031fe1c098ed6dcc196ddc547ea5 (diff) | |
download | llvm-197576c40986085cbd5250283e1e80a2679c9cf0.zip llvm-197576c40986085cbd5250283e1e80a2679c9cf0.tar.gz llvm-197576c40986085cbd5250283e1e80a2679c9cf0.tar.bz2 |
[clang][lex] Refactor check for the first file include
This patch refactors the code that checks whether a file has just been included for the first time.
The `HeaderSearch::FirstTimeLexingFile` function is removed and the information is threaded to the original call site from `HeaderSearch::ShouldEnterIncludeFile`. This will make it possible to avoid tracking the number of includes in a follow up patch.
Depends on D114092.
Reviewed By: dexonsmith
Differential Revision: https://reviews.llvm.org/D114093
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions