summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/static-init.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Use the right linkage for static variables inside C++ inline functions.Anders Carlsson2010-02-071-0/+12
| | | | llvm-svn: 95512
* Make sure to always mark a global variable as not being constant if it has a ↵Anders Carlsson2010-01-261-0/+7
| | | | | | C++ initializer. llvm-svn: 94504
* implement PR5654: add -fassume-sane-operator-new, which is enabled by ↵Nuno Lopes2009-12-161-1/+1
| | | | | | | | default, and adds the malloc attribute to the global function new() and to the overloaded new operators. feel free to chage the name to this lengthy argument llvm-svn: 91543
* 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
* Handle emitting static variables that have reference type.Anders Carlsson2009-12-101-4/+8
| | | | llvm-svn: 91027
* Eliminate &&s in tests.Daniel Dunbar2009-11-081-2/+2
| | | | | | - 'for i in $(find . -type f); do sed -e 's#\(RUN:.*[^ ]\) *&& *$#\1#g' $i | FileUpdate $i; done', for the curious. llvm-svn: 86430
* Use the inbounds variant of getelementptr for common pointer arithmetic.Dan Gohman2009-08-121-1/+1
| | | | llvm-svn: 78756
* Refactor some code and implement support for global destructors for static ↵Anders Carlsson2009-08-081-0/+13
variables. llvm-svn: 78507
OpenPOWER on IntegriCloud