aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2011-03-10 20:03:42 +0000
committerTed Kremenek <kremenek@apple.com>2011-03-10 20:03:42 +0000
commitef9ff88f54ff26ac9782d98a34b74aa424149be1 (patch)
tree8fb1a22dd23c10117c56b3ec5c08e87b2ef0785a /lib/CodeGen
parentc95a8fcb0a2f4148f1852c52c34ad3a1771d7e5d (diff)
Profiling showed that 'CheckImplicitConversions' was very slow because of the call to getSpellingLoc(). On 'aes.c'
in the LLVM test suite, this function was consuming 7.4% of -fsyntax-only time. This change fixes this issue by delaying the check that the warning would be issued within a system macro by as long as possible. The main negative of this change is now the logic for this check is done in multiple places in this function instead of just in one place up front. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@127425 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
0 files changed, 0 insertions, 0 deletions