summaryrefslogtreecommitdiffstats
path: root/clang/test/Lexer/c90.c
Commit message (Collapse)AuthorAgeFilesLines
* PR15067 (again): Don't warn about UCNs in C90 if we're raw-lexing.Jordan Rose2013-01-281-0/+3
| | | | | | Fixes a crash. Thanks, Richard. llvm-svn: 173701
* PR15067: Don't assert when a UCN appears in a C90 file.Jordan Rose2013-01-271-2/+4
| | | | | | | Unfortunately, we can't accept the UCN as an extension because we're required to treat it as two tokens for preprocessing purposes. llvm-svn: 173622
* PR12717: Clang supports hexadecimal floating-point literals in all languageRichard Smith2012-06-151-0/+7
| | | | | | | | | | | | | modes. For languages other than C99/C11, this isn't quite a conforming extension, and for C++11, it breaks some reasonable code containing user-defined literals. In languages which don't officially have hexfloats, pare back this extension to only apply in cases where the token starts 0x and does not contain an underscore. The extension is still not quite conforming, but it's a lot closer now. llvm-svn: 158487
* Add support for UCNs for character literalsNico Weber2010-10-091-0/+1
| | | | llvm-svn: 116129
* Add support for 4-byte UCNs like \U12345678. Warn about UCNs in c90 mode.Nico Weber2010-10-061-0/+4
| | | | llvm-svn: 115743
* Complain when string literals are too long for the active languageDouglas Gregor2010-07-201-0/+16
| | | | | | standard's minimum requirements. llvm-svn: 108837
* Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.Daniel Dunbar2009-12-151-1/+1
| | | | | | | | | - This is designed to make it obvious that %clang_cc1 is a "test variable" which is substituted. It is '%clang_cc1' instead of '%clang -cc1' because it can be useful to redefine what gets run as 'clang -cc1' (for example, to set a default target). llvm-svn: 91446
* Rename clang to clang-cc.Daniel Dunbar2009-03-241-1/+1
| | | | | | Tests and drivers updated, still need to shuffle dirs. llvm-svn: 67602
* Fix PR2477 - clang misparses "//*" in C89 modeChris Lattner2009-01-161-0/+7
| | | | llvm-svn: 62368
* update this testcase.Chris Lattner2008-07-251-2/+3
| | | | llvm-svn: 54037
* Fix a bug handling hex floats in c90 mode, pointed out by Neil.Chris Lattner2007-11-141-0/+5
llvm-svn: 44120
OpenPOWER on IntegriCloud