diff options
author | Douglas Gregor <dgregor@apple.com> | 2010-04-07 20:29:57 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2010-04-07 20:29:57 +0000 |
commit | fc2ca56874e1c8186ac30c0c3af13dc5e806cf74 (patch) | |
tree | b93fda17aafc4405faf414b943bd33d2cc82a98f /lib/Driver/Tools.cpp | |
parent | b205ac9fcd22b87b41697172d1983c5ae9dabaaf (diff) |
Return early from Sema::MarkDeclarationReferenced when we know there
isn't any extra work to perform. Also, don't check for unused
parameters when the warnings will be suppressed anyway. Improves
performance of -fsyntax-only on 403.gcc's combine.c by ~2.5%.
<rdar://problem/7836787>
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@100686 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver/Tools.cpp')
0 files changed, 0 insertions, 0 deletions