Skip to content
Snippets Groups Projects
Commit 53c83b32 authored by Daniel Dunbar's avatar Daniel Dunbar
Browse files

[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
parent 981e279b
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment