Skip to content
Commit 5244f34e authored by Chris Lattner's avatar Chris Lattner
Browse files

As a performance optimization, don't bother calling MacroInfo::isIdenticalTo

if warnings in system headers are disabled.  isIdenticalTo can end up 
calling the expensive getSpelling method, and other bad stuff and is 
completely unneeded if the warning will be discarded anyway. rdar://6502956

llvm-svn: 62347
parent d3fb18fb
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