Lex: Update Module::findHeader to return FileEntryRef, NFC
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Thu, 29 Oct 2020 19:29:42 +0000 (15:29 -0400)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Tue, 1 Dec 2020 01:13:03 +0000 (17:13 -0800)
commitf85db7f7ba683b2450892fde247311d7a48adbd0
treefdee3e3a97d05816fec1d718822a00cc52a0d748
parent774f1d3ffd458d6cb82d5039758ef1cf6370957f
Lex: Update Module::findHeader to return FileEntryRef, NFC

Update `Module::findHeader` to return `Optional<FileEntryRef>` and
fix its one caller.

Differential Revision: https://reviews.llvm.org/D90485
clang/include/clang/Lex/ModuleMap.h
clang/lib/Lex/ModuleMap.cpp