aboutsummaryrefslogtreecommitdiff
path: root/lib/Driver/Tools.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2012-03-15 00:41:48 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2012-03-15 00:41:48 +0000
commitd75fb492f7616046797bfe5353e9478d8e25628e (patch)
treeea364c10154cf65be4d4fe3e256353ae0980c5b2 /lib/Driver/Tools.cpp
parent878416d37b5cc82444b4f96d1b58f044a181fc16 (diff)
Minor optimization to constant evaluation: don't bother computing expr source
locations for diagnostics we're not going to emit, and don't track the subobject designator outside C++11 (since we're not going to use it anyway). This seems to give about a 0.5% speedup on 403.gcc/combine.c, but the results were sufficiently noisy that I can't reject the null hypothesis. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@152761 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver/Tools.cpp')
0 files changed, 0 insertions, 0 deletions