commit | 53c83b32550b3f29db2419160fa2e3684e420556 | [log] [tgz] |
---|---|---|
author | Daniel Dunbar <daniel@zuster.org> | Tue Mar 13 18:30:38 2012 +0000 |
committer | Daniel Dunbar <daniel@zuster.org> | Tue Mar 13 18:30:38 2012 +0000 |
tree | 53421b6d91706bea742b9e95b1ea73366f03b0a3 | |
parent | 981e279b95f3a71e2268124b1abaae050ec200dc [diff] |
[Basic] Fix ~Diagnostic() to not call Emit() when there is no diag obj (most commonly when the diag has been copied). - This eliminates a completely spurious call to Emit() which was in Sema::Diag(). Sob. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@152640 91177308-0d34-0410-b5e6-96231b3b80d8