commit | 21a869aace45586125238fde88c477b330618a0b | [log] [tgz] |
---|---|---|
author | Chandler Carruth <chandlerc@gmail.com> | Sun Oct 16 02:57:39 2011 +0000 |
committer | Chandler Carruth <chandlerc@gmail.com> | Sun Oct 16 02:57:39 2011 +0000 |
tree | 0a0c93e7dc3a5253ebddab6658d95c18c1d91191 | |
parent | 7531f571808201d44002fa38b67ee0a81e5ae936 [diff] |
Persist the TextDiagnostic object across multiple diagnostics as long as the SourceManager doesn't change, and the source files don't change. This greatly simplifies the interfaces and interactions. The lifetime of the TextDiagnostic object forms the 'session' over which we attempt to condense and deduplicate information in diagnostics. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@142104 91177308-0d34-0410-b5e6-96231b3b80d8