diff options
author | Jim Ingham <jingham@apple.com> | 2017-03-27 19:12:25 +0000 |
---|---|---|
committer | Jim Ingham <jingham@apple.com> | 2017-03-27 19:12:25 +0000 |
commit | 97e4f472c35d16dea12372d6ec51422216d3ad17 (patch) | |
tree | f40850e94623be3edfc55ee71db819461ec81353 /clang/lib/CodeGen/CGObjC.cpp | |
parent | 46a0392c61a7ed6f44c24a0f6c8493530ec08211 (diff) | |
download | bcm5719-llvm-97e4f472c35d16dea12372d6ec51422216d3ad17.tar.gz bcm5719-llvm-97e4f472c35d16dea12372d6ec51422216d3ad17.zip |
In FileSpec::Equal, short-cut GetNormalizedPath.
GetNormalizedPath seems to be slow, so it's worth
shortcutting it if possible. This change does so
when the filenames and not equal and we can tell
GetNormalizedPath would not make them equal.
Also added a test for "." final component since that
was missing.
llvm-svn: 298876
Diffstat (limited to 'clang/lib/CodeGen/CGObjC.cpp')
0 files changed, 0 insertions, 0 deletions