diff options
author | Daniel Dunbar <daniel@zuster.org> | 2012-03-14 09:49:36 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2012-03-14 09:49:36 +0000 |
commit | 7059a1cbc29444bec19380059a62db085eb92964 (patch) | |
tree | f24e6a0231f3101127b5455be43e770040492e27 /lib/StaticAnalyzer/Core/ExprEngineCXX.cpp | |
parent | 393eed7fb901e49085c8583ff0439d1273b6f2fe (diff) |
[Basic] Change DiagnosticBuilder to use a separate status variable to track whether the builder is active.
- This may seem superflous, but actually this allows the optimizer to more
easily eliminate the isActive() checks needed by the SemaDiagnosticBuilder
and DiagnosticBuilder dtors. And by more easily, I mean the current LLVM is
actually able to do one and not the other. :)
This is good for another 20k code size reduction.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@152709 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/StaticAnalyzer/Core/ExprEngineCXX.cpp')
0 files changed, 0 insertions, 0 deletions