diff options
| author | Alp Toker <alp@nuanti.com> | 2013-12-23 07:47:48 +0000 |
|---|---|---|
| committer | Alp Toker <alp@nuanti.com> | 2013-12-23 07:47:48 +0000 |
| commit | a8b02c2e46f50c3fe67adce23ce646b7fe40eeff (patch) | |
| tree | 6ee3dde0be5a86ae611e4eed221ee25ba2191cbf /llvm/lib/Transforms | |
| parent | 6f69c73db18a01c06393bb08eb65eb2a5113c782 (diff) | |
| download | bcm5719-llvm-a8b02c2e46f50c3fe67adce23ce646b7fe40eeff.tar.gz bcm5719-llvm-a8b02c2e46f50c3fe67adce23ce646b7fe40eeff.zip | |
TextDiagnosticBuffer: Fix copy-paste mistake in r197856
The TextDiagnosticBuffer is meant to scrub SourceLocations as the input/output
SourceManagers may be different.
To be safe this commit restores the original behaviour though in practice
all current users seem to share a single SM.
Would be nice to replace TextDiagnosticBuffer now that more capable interfaces
like CaptureDiagnosticConsumer / StoredDiagnosticConsumer exist.
llvm-svn: 197902
Diffstat (limited to 'llvm/lib/Transforms')
0 files changed, 0 insertions, 0 deletions

