summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/virtual-operator-call.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add a test for devirtualization of virtual operator calls.Nico Weber2014-12-011-3/+6
| | | | | | | | There was no test coverage for this before: Modifiying EmitCXXOperatorMemberCallee() to not call CanDevirtualizeMemberFunctionCall() didn't make any test fail. llvm-svn: 223056
* A number of test cases assume that an "int" parameter or return valueUlrich Weigand2012-10-241-1/+1
| | | | | | | | | | | | will be represented in the IR as a plain "i32" type. This causes the tests to spuriously fail on platforms where int is not a 32-bit type, or where the ABI requires attributes like "signext" or "zeroext" to be used. This patch adds -triple or -target parameters to force those tests to use the i386-unknown-unknown target. llvm-svn: 166551
* 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
* Fix a couple of cases where we weren't generating the right kind of callEli Friedman2009-11-161-0/+10
for a call to a virtual function. llvm-svn: 88891
OpenPOWER on IntegriCloud