summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/pass-object-size.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [CodeGen] Fix a segfault caused by pass_object_size.George Burgess IV2016-06-161-0/+27
| | | | | | | | | This patch fixes a bug where we'd segfault (in some cases) if we saw a variadic function with one or more pass_object_size arguments. Differential Revision: http://reviews.llvm.org/D17462 llvm-svn: 272971
* Add a test to ensure that pass_object_size is handled properly by a delegate ↵Richard Smith2016-06-141-0/+10
| | | | | | constructor. llvm-svn: 272605
* [Sema] Teach overload resolution about unaddressable functions.George Burgess IV2016-01-071-0/+18
| | | | | | | | | | | | Given an expression like `(&Foo)();`, we perform overload resolution as if we are calling `Foo` directly. This causes problems if `Foo` is a function that can't have its address taken. This patch teaches overload resolution to ignore functions that can't have their address taken in such cases. Differential Revision: http://reviews.llvm.org/D15590 llvm-svn: 257016
* Add tests for pass_object_size.George Burgess IV2015-12-031-0/+27
These additions were meant to go in as a part of r254554; while it's certainly nice to have new functionality, it's nicer if we have tests to go with it. :) llvm-svn: 254632
OpenPOWER on IntegriCloud