forked from OSchip/llvm-project
[find-all-symbols] fix failing unittest for Windows build bot.
llvm-svn: 270202
This commit is contained in:
parent
059e5fb44f
commit
6c9472c57f
|
@ -29,9 +29,8 @@ void FindAllMacros::MacroDefined(const Token &MacroNameTok,
|
|||
|
||||
// If Collector is not nullptr, check pragma remapping header.
|
||||
if (Collector) {
|
||||
auto HeaderMappingTable = Collector->getHeaderMappingTable();
|
||||
auto Iter = HeaderMappingTable.find(FilePath);
|
||||
if (Iter != HeaderMappingTable.end())
|
||||
auto Iter = Collector->getHeaderMappingTable().find(FilePath);
|
||||
if (Iter != Collector->getHeaderMappingTable().end())
|
||||
FilePath = Iter->second;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue