summaryrefslogtreecommitdiffstats
path: root/lldb/source/Target/Thread.cpp
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
commit4c0826c2365705e63b4e73cdb5092a94c0a84d5e (patch)
tree758829c84082d405fb5ae10171e7e0bd2faf0666 /lldb/source/Target/Thread.cpp
parent154ed497843697c8c0ae352e3a640bf7e4966be3 (diff)
downloadbcm5719-llvm-4c0826c2365705e63b4e73cdb5092a94c0a84d5e.tar.gz
bcm5719-llvm-4c0826c2365705e63b4e73cdb5092a94c0a84d5e.zip
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. llvm-svn: 127425
Diffstat (limited to 'lldb/source/Target/Thread.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud