summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-08-05 23:22:34 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-08-05 23:22:34 +0000
commit2705097e47c6289c8d636a678a6bff3d691bcb12 (patch)
tree184f75889ac94ac09435dfd638f3e97929b16ef5 /clang/lib/Frontend/CompilerInvocation.cpp
parent0f8a99b62f33bbdd534e89e6e6df5338e2f3eba6 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud