aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-01-08 22:42:30 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-01-08 22:42:30 +0000
commit953e1a48f02031be36094d5bfaf2685cf130bd02 (patch)
tree6cc3fb579f362928718a30208bbd81e93c7b9332 /clang/lib/Frontend/CompilerInvocation.cpp
parent4bbe428cc5d734ac53af9821e6dc0c280d1eeac4 (diff)
downloadllvm-953e1a48f02031be36094d5bfaf2685cf130bd02.zip
llvm-953e1a48f02031be36094d5bfaf2685cf130bd02.tar.gz
llvm-953e1a48f02031be36094d5bfaf2685cf130bd02.tar.bz2
Utils: Keep distinct MDNodes distinct in MapMetadata()
Create new copies of distinct `MDNode`s instead of following the uniquing `MDNode` logic. Just like self-references (or other cycles), `MapMetadata()` creates a new node. In practice most calls use `RF_NoModuleLevelChanges`, in which case nothing is duplicated anyway. Part of PR22111. llvm-svn: 225476
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions