aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema/SemaDecl.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-01-16 19:50:11 +0000
committerChris Lattner <sabre@nondot.org>2009-01-16 19:50:11 +0000
commit41c3ae108a54437f27fa99ddcb9bafcf113bde80 (patch)
treeaaade9432553ef0e18915f3f9de0d59282ad5f53 /lib/Sema/SemaDecl.cpp
parent95d58f3ad73881c39cd63780b6af01a1045bd4b3 (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
Diffstat (limited to 'lib/Sema/SemaDecl.cpp')
0 files changed, 0 insertions, 0 deletions