summaryrefslogtreecommitdiffstats
path: root/clang/lib/Basic/Module.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2014-09-09 13:53:29 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2014-09-09 13:53:29 +0000
commitefffbee024a8789a0528486d431e27f170b489a7 (patch)
tree118e5747774cb1ef8c312a34b4e24f7fe6cf0ad7 /clang/lib/Basic/Module.cpp
parent2664779b27e0c612a32ed85ae9b3e2e38dc3563a (diff)
downloadbcm5719-llvm-efffbee024a8789a0528486d431e27f170b489a7.tar.gz
bcm5719-llvm-efffbee024a8789a0528486d431e27f170b489a7.zip
Tooling: Ignore file names in tooling::deduplicate.
This was horribly broken due to how the sort predicate works. We would report a conflict for files with a replacement in the same position but different names if the length differed. Just ignore paths as this is often what the user wants. Files can occur with different names (due to symlinks or relative paths) and we don't ever want to do the same edit in one file twice. llvm-svn: 217439
Diffstat (limited to 'clang/lib/Basic/Module.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud