summaryrefslogtreecommitdiffstats
path: root/clang/test/Lexer/constants.c
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2014-12-23 22:32:37 +0000
committerNico Weber <nicolasweber@gmx.de>2014-12-23 22:32:37 +0000
commit007215044b48de0ebf32a44c77326c9634b35bdc (patch)
tree03958c6a76a21f2c6d634bcbba5a6db0ce14bf89 /clang/test/Lexer/constants.c
parent9fdeb37bd346089488c5fe77a7edf16ee2f34cb1 (diff)
downloadbcm5719-llvm-007215044b48de0ebf32a44c77326c9634b35bdc.tar.gz
bcm5719-llvm-007215044b48de0ebf32a44c77326c9634b35bdc.zip
Add driver flags -ftrigraphs, -fno-trigraphs.
-trigraphs is now an alias for -ftrigraphs. -fno-trigraphs makes it possible to explicitly disable trigraphs, which couldn't be done before. clang -std=c++11 -fno-trigraphs now builds without GNU extensions, but with trigraphs disabled. Previously, trigraphs were only disabled in GNU modes or with -std=c++1z. Make the new -f flags the cc1 interface too. This requires changing -trigraphs to -ftrigraphs in a few cc1 tests. Related to PR21974. llvm-svn: 224790
Diffstat (limited to 'clang/test/Lexer/constants.c')
-rw-r--r--clang/test/Lexer/constants.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Lexer/constants.c b/clang/test/Lexer/constants.c
index 267e75e64e1..9c84ddc0192 100644
--- a/clang/test/Lexer/constants.c
+++ b/clang/test/Lexer/constants.c
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -verify -pedantic -trigraphs %s
+// RUN: %clang_cc1 -fsyntax-only -verify -pedantic -ftrigraphs %s
int x = 000000080; // expected-error {{invalid digit}}
OpenPOWER on IntegriCloud