summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/string-literal-short-wstring.c
Commit message (Collapse)AuthorAgeFilesLines
* Add and update tests for character literalsSeth Cantrell2012-01-181-11/+0
| | | | llvm-svn: 148392
* Fix the representation of wide strings in the AST and IR so that it uses the ↵Eli Friedman2011-11-011-2/+2
| | | | | | | | | | 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
* Make constant aggregate constant initializers private linkage.Eric Christopher2011-08-241-1/+1
| | | | | | | | | 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 unnamed_addr to internal globals which are only used as an operand to ↵Eli Friedman2011-05-271-1/+1
| | | | | | memcpy. (Spotted by looking at IR.) llvm-svn: 132226
* Add unnamed_addr when creating artificial string globals. For example, inRafael Espindola2011-01-101-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
* Add support for UCNs for character literalsNico Weber2010-10-091-3/+32
| | | | llvm-svn: 116129
* Add support for 4-byte UCNs like \U12345678. Warn about UCNs in c90 mode.Nico Weber2010-10-061-0/+14
llvm-svn: 115743
OpenPOWER on IntegriCloud