Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add driver flags -ftrigraphs, -fno-trigraphs. | Nico Weber | 2014-12-23 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | -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 | ||||
* | Disable trigraphs in microsoft mode by default. Matches cl.exe. | Nico Weber | 2014-12-22 | 1 | -2/+4 |
| | | | | | | | | | | The default value of Opts.Trigraphs now no longer depends solely on the language input kind, so move the code out of setLangDefaults(). Also make sure that Opts.MSVCCompat is set before the Trigraph code runs. Related to PR21974. llvm-svn: 224719 | ||||
* | Add test coverage for cc1's trigraph option handling. | Nico Weber | 2014-12-22 | 1 | -0/+15 |
llvm-svn: 224714 |