Skip to content
Commit 2a513e82 authored by Argyrios Kyrtzidis's avatar Argyrios Kyrtzidis
Browse files

[PCH] In HeaderFileInfoTrait::EqualKey(), use FileManager::getFile() to...

[PCH] In HeaderFileInfoTrait::EqualKey(), use FileManager::getFile() to compare two filenames, instead of llvm::sys::fs::equivalent().

llvm::sys::fs::equivalent() does 2 stat calls every time it's called. Use FileManager::getFile() to take advantage
of the stat caching that FileManager is providing.

llvm-svn: 176450
parent 05e22f2e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment