commit | 5585114307b6ba4874546212cb6e5399cfff7ffb | [log] [tgz] |
---|---|---|
author | Ted Kremenek <kremenek@apple.com> | Tue Apr 22 16:15:03 2008 +0000 |
committer | Ted Kremenek <kremenek@apple.com> | Tue Apr 22 16:15:03 2008 +0000 |
tree | 78ae330d04a81719d4b7b155fdb9d753f9f0f37f | |
parent | 5fc073fe3be1830c4479253b59ccd45eb5614c55 [diff] |
PathDiagnosticClients now retain ownership of passed PathDiagnostics, requiring them to not be stack-allocated. HTMLDiagnostics now batches PathDiagnostics before emitting HTML in its dtor. This is a workaround for a problem when we trampled the Preprocessor state when highlighting macros (sometimes resulting in an assertion failure). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@50102 91177308-0d34-0410-b5e6-96231b3b80d8