summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2017-01-12 22:43:37 +0000
committerChandler Carruth <chandlerc@gmail.com>2017-01-12 22:43:37 +0000
commit7e8283ae6b841cec10841e59af8de438627fe3ad (patch)
treefd95fc71b9ef5223fa77abafaba7526d5878aede
parent5b4081198ae94ffbbaee0863f2c00a800d9aacd8 (diff)
downloadbcm5719-llvm-7e8283ae6b841cec10841e59af8de438627fe3ad.tar.gz
bcm5719-llvm-7e8283ae6b841cec10841e59af8de438627fe3ad.zip
Replace some stray uses of the old spelling of the flag with the new
spelling. NFC. llvm-svn: 291851
-rw-r--r--clang/test/CodeGen/ms-declspecs.c2
-rw-r--r--clang/test/CodeGenCXX/optnone-class-members.cpp2
-rw-r--r--clang/test/CodeGenCXX/optnone-def-decl.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/clang/test/CodeGen/ms-declspecs.c b/clang/test/CodeGen/ms-declspecs.c
index 4842050e5be..05810bb4b71 100644
--- a/clang/test/CodeGen/ms-declspecs.c
+++ b/clang/test/CodeGen/ms-declspecs.c
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -triple i386-pc-win32 %s -emit-llvm -fms-compatibility -O2 -disable-llvm-optzns -o - | FileCheck %s
+// RUN: %clang_cc1 -triple i386-pc-win32 %s -emit-llvm -fms-compatibility -O2 -disable-llvm-passes -o - | FileCheck %s
__declspec(selectany) int x1 = 1;
const __declspec(selectany) int x2 = 2;
diff --git a/clang/test/CodeGenCXX/optnone-class-members.cpp b/clang/test/CodeGenCXX/optnone-class-members.cpp
index 70e3ee76e60..b1d2f7b559d 100644
--- a/clang/test/CodeGenCXX/optnone-class-members.cpp
+++ b/clang/test/CodeGenCXX/optnone-class-members.cpp
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 < %s -triple %itanium_abi_triple -fms-extensions -O2 -disable-llvm-optzns -emit-llvm -x c++ | FileCheck %s
+// RUN: %clang_cc1 < %s -triple %itanium_abi_triple -fms-extensions -O2 -disable-llvm-passes -emit-llvm -x c++ | FileCheck %s
// Test attribute 'optnone' on methods:
// -- member functions;
diff --git a/clang/test/CodeGenCXX/optnone-def-decl.cpp b/clang/test/CodeGenCXX/optnone-def-decl.cpp
index 4008bbe685f..6e4e510b9bf 100644
--- a/clang/test/CodeGenCXX/optnone-def-decl.cpp
+++ b/clang/test/CodeGenCXX/optnone-def-decl.cpp
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 %s -triple %itanium_abi_triple -fms-extensions -O2 -disable-llvm-optzns -emit-llvm -o - | FileCheck %s
+// RUN: %clang_cc1 %s -triple %itanium_abi_triple -fms-extensions -O2 -disable-llvm-passes -emit-llvm -o - | FileCheck %s
// Test optnone on both function declarations and function definitions.
// Verify also that we don't generate invalid IR functions with
OpenPOWER on IntegriCloud