summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules/Inputs/outofdate-rebuild/CoreVideo.h
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2017-03-14 23:07:49 +0000
committerAdrian Prantl <aprantl@apple.com>2017-03-14 23:07:49 +0000
commit0ebdeac13ae295b45a9ed7122c59ad86a6708eab (patch)
tree0e668026e3713884623adcebc329d8de1a43ac1f /clang/test/Modules/Inputs/outofdate-rebuild/CoreVideo.h
parentd3c22f08b3138bd1b420e49bd751c20a97a809c5 (diff)
downloadbcm5719-llvm-0ebdeac13ae295b45a9ed7122c59ad86a6708eab.tar.gz
bcm5719-llvm-0ebdeac13ae295b45a9ed7122c59ad86a6708eab.zip
Canonicalize the path provided by -fmodules-cache-path.
This fixes lookup mismatches that could happen when the module cache path contained a '/./' component. <rdar://problem/30413458> Differential Revision: https://reviews.llvm.org/D30915 llvm-svn: 297790
Diffstat (limited to 'clang/test/Modules/Inputs/outofdate-rebuild/CoreVideo.h')
-rw-r--r--clang/test/Modules/Inputs/outofdate-rebuild/CoreVideo.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/test/Modules/Inputs/outofdate-rebuild/CoreVideo.h b/clang/test/Modules/Inputs/outofdate-rebuild/CoreVideo.h
new file mode 100644
index 00000000000..bd249dcbb74
--- /dev/null
+++ b/clang/test/Modules/Inputs/outofdate-rebuild/CoreVideo.h
@@ -0,0 +1,3 @@
+// CoreVideo
+#import "Foundation.h" // Foundation
+struct E { int i; };
OpenPOWER on IntegriCloud