[PATCH] D97796: [test] Fix apparent typo in clang/test/Driver/std.c
Daniel McIntosh via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Mar 2 12:50:28 PST 2021
DanielMcIntosh-IBM created this revision.
DanielMcIntosh-IBM added a reviewer: thakis.
DanielMcIntosh-IBM requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
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`.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D97796
Files:
clang/test/Driver/std.c
Index: clang/test/Driver/std.c
===================================================================
--- clang/test/Driver/std.c
+++ 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: []
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D97796.327549.patch
Type: text/x-patch
Size: 597 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210302/21c03d2f/attachment.bin>
More information about the cfe-commits
mailing list