summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/predefined-expr.c
Commit message (Collapse)AuthorAgeFilesLines
* Add unnamed_addr when creating artificial string globals. For example, inRafael Espindola2011-01-101-8/+8
| | | | | | | | | 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
* 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
* Don't #include <stdio.h> when tests don't need it, or use clang instead of ↵Daniel Dunbar2009-11-171-1/+1
| | | | | | clang-cc when they do. llvm-svn: 89070
* Don't use the PredefinedExpr string as the global variable name, these don'tDaniel Dunbar2009-09-121-4/+4
| | | | | | make very nice symbols, just use the function name. llvm-svn: 81653
* Vastly improve PredefinedExpr output, both in Sema and CodeGen. Patch by Sam ↵Anders Carlsson2009-09-081-0/+45
Weinig! llvm-svn: 81237
OpenPOWER on IntegriCloud