diff options
author | Douglas Gregor <dgregor@apple.com> | 2011-09-12 20:41:59 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2011-09-12 20:41:59 +0000 |
commit | 9a6da6930644b4f2dbe4885b0eb4fc1274ff56a4 (patch) | |
tree | 564e160bd3733af36124ca3b947aaa947eed5763 /test/Modules/lookup.cpp | |
parent | 48822fbd088c4821f15fee5a2957a69a1f98e746 (diff) |
Introduce a cc1-level option to provide the path to the module cache,
where the compiler will look for module files. Eliminates the
egregious hack where we looked into the header search paths for
modules.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@139538 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Modules/lookup.cpp')
-rw-r--r-- | test/Modules/lookup.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Modules/lookup.cpp b/test/Modules/lookup.cpp index 7c53106e8a..c8f7993540 100644 --- a/test/Modules/lookup.cpp +++ b/test/Modules/lookup.cpp @@ -16,8 +16,8 @@ void test(int i, float f) { // RUN: %clang_cc1 -emit-module -x c++ -verify -o %T/lookup_left_cxx.pcm %S/Inputs/lookup_left.hpp // RUN: %clang_cc1 -emit-module -x c++ -o %T/lookup_right_cxx.pcm %S/Inputs/lookup_right.hpp -// RUN: %clang_cc1 -x c++ -I %T %s -verify -// RUN: %clang_cc1 -ast-print -x c++ -I %T %s | FileCheck -check-prefix=CHECK-PRINT %s +// RUN: %clang_cc1 -x c++ -fmodule-cache-path %T %s -verify +// RUN: %clang_cc1 -ast-print -x c++ -fmodule-cache-path %T %s | FileCheck -check-prefix=CHECK-PRINT %s // CHECK-PRINT: int *f0(int *); // CHECK-PRINT: float *f0(float *); |