r301525 - Don't hard-code "modules-cache-path" in the test.

Haojian Wu via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 27 02:20:46 PDT 2017


Author: hokein
Date: Thu Apr 27 04:20:46 2017
New Revision: 301525

URL: http://llvm.org/viewvc/llvm-project?rev=301525&view=rev
Log:
Don't hard-code "modules-cache-path" in the test.

Modified:
    cfe/trunk/test/Modules/malformed-overload.m

Modified: cfe/trunk/test/Modules/malformed-overload.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Modules/malformed-overload.m?rev=301525&r1=301524&r2=301525&view=diff
==============================================================================
--- cfe/trunk/test/Modules/malformed-overload.m (original)
+++ cfe/trunk/test/Modules/malformed-overload.m Thu Apr 27 04:20:46 2017
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -I%S/Inputs/malformed-overload -fmodules -fimplicit-module-maps -fmodules-cache-path=tmp -verify %s
+// RUN: %clang_cc1 -fsyntax-only -I%S/Inputs/malformed-overload -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -verify %s
 NSLog(@"%@", path); // expected-error {{expected parameter declarator}} expected-error {{expected ')'}} expected-warning {{type specifier missing}} expected-warning {{incompatible redeclaration}} expected-note {{to match this '('}} expected-note {{'NSLog' is a builtin with type}}
 #import "X.h"
 




More information about the cfe-commits mailing list