[clang] 2b79563 - Fix typo to separate "-x" from warning flag.
Bill Wendling via cfe-commits
cfe-commits at lists.llvm.org
Fri Nov 22 12:52:33 PST 2019
Author: Bill Wendling
Date: 2019-11-22T12:51:41-08:00
New Revision: 2b795637b9024d76e53cd303ad74ac02ba22da5b
URL: https://github.com/llvm/llvm-project/commit/2b795637b9024d76e53cd303ad74ac02ba22da5b
DIFF: https://github.com/llvm/llvm-project/commit/2b795637b9024d76e53cd303ad74ac02ba22da5b.diff
LOG: Fix typo to separate "-x" from warning flag.
Added:
Modified:
clang/test/Sema/no-warn-missing-prototype.c
Removed:
################################################################################
diff --git a/clang/test/Sema/no-warn-missing-prototype.c b/clang/test/Sema/no-warn-missing-prototype.c
index 2361677a5f73..4dbc25755922 100644
--- a/clang/test/Sema/no-warn-missing-prototype.c
+++ b/clang/test/Sema/no-warn-missing-prototype.c
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -Wmissing-prototypes-x c -ffreestanding -verify %s
+// RUN: %clang_cc1 -fsyntax-only -Wmissing-prototypes -x c -ffreestanding -verify %s
// RUN: %clang_cc1 -fsyntax-only -Wmissing-prototypes -x c++ -ffreestanding -verify %s
// expected-no-diagnostics
int main() {
More information about the cfe-commits
mailing list