Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | When lexing in C11 mode, accept unicode character and string literals, per C11 | Richard Smith | 2013-03-09 | 1 | -26/+46 |
| | | | | | | 6.4.4.4/1 and 6.4.5/1. llvm-svn: 176780 | ||||
* | Teach Lexer::getSpelling about raw string literals. Specifically, if a raw | Richard Smith | 2012-11-28 | 1 | -0/+7 |
| | | | | | | | | string literal needs cleaning (because it contains line-splicing in the encoding prefix or in the ud-suffix), do not clean the section between the double-quotes -- that's the "raw" bit! llvm-svn: 168776 | ||||
* | Fix the representation of wide strings in the AST and IR so that it uses the ↵ | Eli Friedman | 2011-11-01 | 1 | -15/+15 |
| | | | | | | | | | | native representation of integers for the elements. This fixes a bunch of nastiness involving treating wide strings as a series of bytes. Patch by Seth Cantrell. llvm-svn: 143417 | ||||
* | Update all tests other than Driver/std.cpp to use -std=c++11 rather than | Richard Smith | 2011-10-13 | 1 | -1/+1 |
| | | | | | | -std=c++0x. Patch by Ahmed Charles! llvm-svn: 141900 | ||||
* | Make constant aggregate constant initializers private linkage. | Eric Christopher | 2011-08-24 | 1 | -4/+4 |
| | | | | | | | | | After talking with John making this the case for all of these is the right way to go. Fixes rdar://9804564 and PR10414 llvm-svn: 138418 | ||||
* | Add tests for string literal concatenation. | Craig Topper | 2011-08-11 | 1 | -0/+15 |
| | | | | llvm-svn: 137302 | ||||
* | Add support for C++0x raw string literals. | Craig Topper | 2011-08-11 | 1 | -1/+24 |
| | | | | llvm-svn: 137298 | ||||
* | Emit wide string literals with the appropriate alignment. | John McCall | 2011-08-04 | 1 | -8/+8 |
| | | | | | | Patch by Craig Topper and Sundeep! llvm-svn: 136856 | ||||
* | This patch makes the string/character literal tests run in C, | Douglas Gregor | 2011-07-29 | 1 | -11/+20 |
| | | | | | | C++98/03, and C++0x mode, from Craig Topper! llvm-svn: 136443 | ||||
* | Add support for C++0x unicode string and character literals, from Craig Topper! | Douglas Gregor | 2011-07-27 | 1 | -3/+20 |
| | | | | llvm-svn: 136210 | ||||
* | Add unnamed_addr to internal globals which are only used as an operand to ↵ | Eli Friedman | 2011-05-27 | 1 | -2/+2 |
| | | | | | | memcpy. (Spotted by looking at IR.) llvm-svn: 132226 | ||||
* | Match llvm-gcc's string literals alignment by forcing alignment on string ↵ | Eli Friedman | 2011-05-27 | 1 | -2/+2 |
| | | | | | | literals to 1. This can significantly impact the size of the string data, and as far as I know, the alignment doesn't help performance. rdar://9078969 . llvm-svn: 132223 | ||||
* | Add unnamed_addr when creating artificial string globals. For example, in | Rafael Espindola | 2011-01-10 | 1 | -2/+2 |
| | | | | | | | | | static const char foo[] = "foo"; static const char *bar = "bar"; the global created to hold "bar" will have it, but foo will not. llvm-svn: 123192 | ||||
* | tests: Force a triple to avoid wchar_t differences. | Daniel Dunbar | 2010-10-07 | 1 | -1/+1 |
| | | | | llvm-svn: 115970 | ||||
* | Add support for 4-byte UCNs like \U12345678. Warn about UCNs in c90 mode. | Nico Weber | 2010-10-06 | 1 | -1/+10 |
| | | | | llvm-svn: 115743 | ||||
* | Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. | Daniel Dunbar | 2009-12-15 | 1 | -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 Dunbar | 2009-03-24 | 1 | -1/+1 |
| | | | | | | Tests and drivers updated, still need to shuffle dirs. llvm-svn: 67602 | ||||
* | fix some sema problems with wide strings and hook up basic codegen for them. | Chris Lattner | 2009-02-26 | 1 | -0/+2 |
| | | | | llvm-svn: 65582 | ||||
* | eliminate some random .ll file outputs | Chris Lattner | 2009-01-27 | 1 | -1/+1 |
| | | | | llvm-svn: 63117 | ||||
* | Update a number of CodeGen tests to not create .ll files in the test | Daniel Dunbar | 2008-08-21 | 1 | -1/+1 |
| | | | | | | | | directory. - Removed .ll from the svn:ignore lists to try and prevent this. - Added svn:ignore on test/Misc/Output llvm-svn: 55104 | ||||
* | no need to verify this, no errors/warnings are expected. | Chris Lattner | 2007-12-27 | 1 | -1/+1 |
| | | | | llvm-svn: 45371 | ||||
* | String literal in aggregate expression | Seo Sanghyeon | 2007-12-23 | 1 | -0/+5 |
llvm-svn: 45330 |