summaryrefslogtreecommitdiff
path: root/clang/test/CodeGenCXX/conversion-function.cpp
AgeCommit message (Collapse)Author
2013-08-12Fix FileCheck --check-prefix lines.Tim Northover
Various tests had sprung up over the years which had --check-prefix=ABC on the RUN line, but "CHECK-ABC:" later on. This happened to work before, but was strictly incorrect. FileCheck is getting stricter soon though. Patch by Ron Ofir. llvm-svn: 188174
2011-10-13Update all tests other than Driver/std.cpp to use -std=c++11 rather thanRichard Smith
-std=c++0x. Patch by Ahmed Charles! llvm-svn: 141900
2010-01-27XFAIL this for now.Anders Carlsson
llvm-svn: 94653
2009-12-18It's perfectly fine to see UserDefinedConversion casts when emitting scalar ↵Anders Carlsson
expressions. llvm-svn: 91686
2009-12-18Testcase fixes to reflect instruction table changes in the LLVM backendSean Callanan
(http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20091214/092780.html) The instruction fixes were checked and approved by Chris Lattner, but these testcase fixes are mine; please yell at me if there are any problems with either. * PR5050-constructor-conversion.cpp * array-construction.cpp * constructor-conversion.cpp * cast-conversion.cpp * constructor-default-arg.cpp * derived-to-base-conv.cpp * ptr-to-member-function.cpp * call-arg-zero-temp.cpp * default-destructor-synthesis.cpp * global-array-destruction.cpp * array-operator-delete-call.cpp * decl-ref-init.cpp * default-constructor-for-members.cpp * convert-to-fptr.cpp * constructor-for-array-members.cpp * conversion-function.cpp * objc-read-weak-byref.m Fixed testcase to reflect call qualifier llvm-svn: 91640
2009-12-15Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.Daniel Dunbar
- 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-11-08Remove RUN: true lines.Daniel Dunbar
llvm-svn: 86432
2009-11-08Eliminate &&s in tests.Daniel Dunbar
- 'for i in $(find . -type f); do sed -e 's#\(RUN:.*[^ ]\) *&& *$#\1#g' $i | FileUpdate $i; done', for the curious. llvm-svn: 86430
2009-09-15If a conversion operator exists in a base class, make sure to cast the ↵Anders Carlsson
object to that base class. llvm-svn: 81852
2009-09-14Used visible conversion function api to do overloadFariborz Jahanian
resolution of type conversion functions in base and current class. llvm-svn: 81784
2009-09-09Remove tabs, and whitespace cleanups.Mike Stump
llvm-svn: 81346
2009-08-29Patch to ir-gen user-defined conversions used in expressionsFariborz Jahanian
[12.3.2-p3] llvm-svn: 80436
2009-08-29Patch for code gen. for c-style cast which ends inFariborz Jahanian
using class's conversion functions [12.3.2-p2] llvm-svn: 80433
2009-08-28Test case for conversion type method call ir-gen.Fariborz Jahanian
llvm-svn: 80375
2009-08-25Emit conversion functions correctly.Anders Carlsson
llvm-svn: 79985