| commit | e713000eb62aba018d67293814a86cf5375a8314 | [log] [tgz] |
|---|---|---|
| author | Dehao Chen <dehao@google.com> | Wed Oct 26 15:48:45 2016 +0000 |
| committer | Dehao Chen <dehao@google.com> | Wed Oct 26 15:48:45 2016 +0000 |
| tree | bf05896ca3a87b896f4daec62f8677ca6764961d | |
| parent | 7e0f03ecf2e3ebc3f68a9189bce0f6fba01a8772 [diff] |
Introduce updateDiscriminator interface to DILocation to make it cleaner assigning discriminators. Summary: This patch introduces updateDiscriminator to DILocation so that it can be directly called by AddDiscriminator. It also makes it easier to update the discriminator later. Reviewers: dnovillo, dblaikie, aprantl, echristo Subscribers: mehdi_amini, llvm-commits Differential Revision: https://reviews.llvm.org/D25959 llvm-svn: 285207