diff options
author | Douglas Gregor <dgregor@apple.com> | 2011-03-23 15:13:44 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2011-03-23 15:13:44 +0000 |
commit | 29233802236f7fe1db20e00eca4f5cc8f3f64ade (patch) | |
tree | 698474fcb6b8a90d556e11462537a9fbec093b9e /lib/CodeGen/CodeGenModule.h | |
parent | def863192f83d8033e1833b48ae8119a65dfc7c8 (diff) |
Teach DelayedDiagnostic to copy its string, rather than hope that the
string itself lives longer than the DelayedDiagnostic. Fixes a recent
use-after-free regression due to my availability attribute work.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@128148 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenModule.h')
0 files changed, 0 insertions, 0 deletions