HomePhabricator

[llvm] Clarify responsiblity of some of DILocation discriminator APIs

Description

[llvm] Clarify responsiblity of some of DILocation discriminator APIs

Summary:
Renamed setBaseDiscriminator to cloneWithBaseDiscriminator, to match
similar APIs. Also changed its behavior to copy over the other
discriminator components, instead of eliding them.

Renamed cloneWithDuplicationFactor to
cloneByMultiplyingDuplicationFactor, which more closely matches what
this API does.

Reviewers: dblaikie, wmi

Reviewed By: dblaikie

Subscribers: zzheng, llvm-commits

Differential Revision: https://reviews.llvm.org/D56220

Details

Committed
mtrofinJan 23 2019, 4:10 PM
Reviewer
dblaikie
Differential Revision
D56220: [llvm] Clarify responsiblity of some of DILocation discriminator APIs
Parents
rL351995: Mark another test as flaky
Branches
Unknown
Tags
Unknown