summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/LockFileManager.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2012-05-04 16:32:21 +0000
committerDouglas Gregor <dgregor@apple.com>2012-05-04 16:32:21 +0000
commit7bfb2d026ec99e920db08ee2632683908b6db7e6 (patch)
tree424944895fb0c987948dfe236f7035d9eedc431c /llvm/lib/Support/LockFileManager.cpp
parent5ff430ce06dbbcc9fb99f06fa111e508314fad95 (diff)
downloadbcm5719-llvm-7bfb2d026ec99e920db08ee2632683908b6db7e6.tar.gz
bcm5719-llvm-7bfb2d026ec99e920db08ee2632683908b6db7e6.zip
Move Sema::RequireCompleteType() and Sema::RequireCompleteExprType()
off PartialDiagnostic. PartialDiagnostic is rather heavyweight for something that is in the critical path and is rarely used. So, switch over to an abstract-class-based callback mechanism that delays most of the work until a diagnostic is actually produced. Good for ~11k code size reduction in the compiler and 1% speedup in -fsyntax-only on the code in <rdar://problem/11004361>. llvm-svn: 156176
Diffstat (limited to 'llvm/lib/Support/LockFileManager.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud