diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-08-05 23:22:34 +0000 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-08-05 23:22:34 +0000 |
commit | 2705097e47c6289c8d636a678a6bff3d691bcb12 (patch) | |
tree | 184f75889ac94ac09435dfd638f3e97929b16ef5 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 0f8a99b62f33bbdd534e89e6e6df5338e2f3eba6 (diff) | |
download | bcm5719-llvm-2705097e47c6289c8d636a678a6bff3d691bcb12.tar.gz bcm5719-llvm-2705097e47c6289c8d636a678a6bff3d691bcb12.zip |
ValueMapper: Simplify remap() helper function, NFC
Rename `remap()` to `remapOperands()`, and restrict its contract to
remapping operands. Previously, it also called `mapToMetadata()`, but
this logic is hard to reason about externally. In particular, this
refactors `mapUniquedNode()` to avoid redundant mapping calls, taking
advantage of the RAUWs that are already in place.
llvm-svn: 244168
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions