[clang] 9403b59 - [test] Fix apparent typo in clang/test/Driver/std.c
Abhina Sreeskantharajan via cfe-commits
cfe-commits at lists.llvm.org
Wed Mar 3 07:31:54 PST 2021
Author: Daniel McIntosh
Date: 2021-03-03T10:31:47-05:00
New Revision: 9403b59a7dbbf35714b5786df0e535281b926746
URL: https://github.com/llvm/llvm-project/commit/9403b59a7dbbf35714b5786df0e535281b926746
DIFF: https://github.com/llvm/llvm-project/commit/9403b59a7dbbf35714b5786df0e535281b926746.diff
LOG: [test] Fix apparent typo in clang/test/Driver/std.c
Currently the test on line 3 is identical to the test on line 1.
Looking at the rest of the file (particularily the use of FOVERRIDE
as the check-prefix), I think it's pretty clear that this line
was supposed to use `-ftrigraphs` instead of `-trigraphs`.
Reviewed By: thakis
Differential Revision: https://reviews.llvm.org/D97796
Added:
Modified:
clang/test/Driver/std.c
Removed:
################################################################################
diff --git a/clang/test/Driver/std.c b/clang/test/Driver/std.c
index 02dca6698d34..54f746cc63d0 100644
--- a/clang/test/Driver/std.c
+++ b/clang/test/Driver/std.c
@@ -1,6 +1,6 @@
// RUN: %clang -w -std=c99 -trigraphs -std=gnu99 %s -E -o - | FileCheck -check-prefix=OVERRIDE %s
// OVERRIDE: ??(??)
-// RUN: %clang -w -std=c99 -trigraphs -std=gnu99 %s -E -o - | FileCheck -check-prefix=FOVERRIDE %s
+// RUN: %clang -w -std=c99 -ftrigraphs -std=gnu99 %s -E -o - | FileCheck -check-prefix=FOVERRIDE %s
// FOVERRIDE: ??(??)
// RUN: %clang -w -ansi %s -E -o - | FileCheck -check-prefix=ANSI %s
// ANSI: []
More information about the cfe-commits
mailing list