commit | 41c3ae108a54437f27fa99ddcb9bafcf113bde80 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Fri Jan 16 19:50:11 2009 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Fri Jan 16 19:50:11 2009 +0000 |
tree | aaade9432553ef0e18915f3f9de0d59282ad5f53 | |
parent | 95d58f3ad73881c39cd63780b6af01a1045bd4b3 [diff] |
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 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@62347 91177308-0d34-0410-b5e6-96231b3b80d8