aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorJan Svoboda <jan_svoboda@apple.com>2021-11-18 12:34:54 +0100
committerJan Svoboda <jan_svoboda@apple.com>2021-11-18 13:01:07 +0100
commit197576c40986085cbd5250283e1e80a2679c9cf0 (patch)
treeb7e8a80342b674d96a2b4581cfbe1b031beca997 /clang/lib/Frontend/CompilerInvocation.cpp
parent7b6790850968031fe1c098ed6dcc196ddc547ea5 (diff)
downloadllvm-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