Commit Graph

5 Commits

Author SHA1 Message Date
Anders Carlsson 60ddba67a8 Fix a nasty bug where temporaries weren't marked as being conditional in some cases.
llvm-svn: 94341
2010-01-24 00:20:05 +00:00
Daniel Dunbar c766b8a1f4 Fix a FIXME, this test folds to a constant now.
llvm-svn: 94263
2010-01-23 00:26:29 +00:00
Daniel Dunbar 8fbe78f6fc Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.
- 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
2009-12-15 20:14:24 +00:00
Daniel Dunbar 441e3729a5 Add missing assignment operator to test, and add tests for while loops and for
loops (including temporaries inside the initializers).

llvm-svn: 90151
2009-11-30 20:00:35 +00:00
Daniel Dunbar 7bd1048f26 Add more sophisticated test for destruction order of C++ temporaries, please
feel free to extend!

llvm-svn: 90143
2009-11-30 18:17:34 +00:00