diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2021-02-10 15:23:53 -0800 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2021-02-10 16:53:21 -0800 |
commit | fa35c1f80f0ea080a7cbc581416929b0a654f25c (patch) | |
tree | 8d867ee62c0769a96ec8858ffbf1432bfe85714d /clang/lib/Frontend/TestModuleFileExtension.cpp | |
parent | edd365c7098d212172b6e94a793910a8e1a0f521 (diff) | |
download | llvm-fa35c1f80f0ea080a7cbc581416929b0a654f25c.zip llvm-fa35c1f80f0ea080a7cbc581416929b0a654f25c.tar.gz llvm-fa35c1f80f0ea080a7cbc581416929b0a654f25c.tar.bz2 |
ValueMapper: Rename RF_MoveDistinctMDs => RF_ReuseAndMutateDistinctMDs, NFC
Rename the `RF_MoveDistinctMDs` flag passed into `MapValue` and
`MapMetadata` to `RF_ReuseAndMutateDistinctMDs` in order to more
precisely describe its effect and clarify the header documentation.
Found this while helping to investigate PR48841, which pointed out an
unsound use of the flag in `CloneModule()`. For now I've just added a
FIXME there, but I'm hopeful that the new (more precise) name will
prevent other similar errors.
Diffstat (limited to 'clang/lib/Frontend/TestModuleFileExtension.cpp')
0 files changed, 0 insertions, 0 deletions