[clang][modules] Default `SourceLocation` parameter in `HeaderSearch::lookupModule`
authorJan Svoboda <jan_svoboda@apple.com>
Tue, 12 Oct 2021 07:55:40 +0000 (09:55 +0200)
committerJan Svoboda <jan_svoboda@apple.com>
Tue, 12 Oct 2021 07:58:54 +0000 (09:58 +0200)
commit1341a2c19e54cec77ccb35e3b4ee3924870b2e6a
tree6bade6aee10a7e8397d0de41714209dc6537608c
parent3e7cf33a83764514bd613dfb5b1a0bb36f13e69a
[clang][modules] Default `SourceLocation` parameter in `HeaderSearch::lookupModule`

This fixes an LLDB build failure where the `ImportLoc` argument is missing: https://lab.llvm.org/buildbot#builders/68/builds/19975

This change also makes it possible to drop `SourceLocation()` in `Preprocessor::getCurrentModule`.
clang/include/clang/Lex/HeaderSearch.h
clang/lib/Lex/Preprocessor.cpp