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 | e8da95f84fdf12ee2dae4506877dc7a4446ef081 (patch) | |
| tree | d6b768be639912fa7805ee3412153319fedb269f /lib/CodeGen/CGExprConstant.cpp | |
| parent | 537ef0a231d983f54d7e637d9da699354c8bec23 (diff) | |
| download | clang-e8da95f84fdf12ee2dae4506877dc7a4446ef081.tar.gz clang-e8da95f84fdf12ee2dae4506877dc7a4446ef081.tar.bz2 clang-e8da95f84fdf12ee2dae4506877dc7a4446ef081.tar.xz | |
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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@197902 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprConstant.cpp')
0 files changed, 0 insertions, 0 deletions
