commit | ce2661f9ccb85de1aacaa7c3ea414a757f5986f6 | [log] [tgz] |
---|---|---|
author | Richard Smith <richard-llvm@metafoo.co.uk> | Wed Nov 07 01:14:25 2012 +0000 |
committer | Richard Smith <richard-llvm@metafoo.co.uk> | Wed Nov 07 01:14:25 2012 +0000 |
tree | 1db7a542b581bc600544d5df6d16bb1dc8fd8244 | |
parent | 43f4f1e92bb07a04c30c9781be4d0bb5cc30acdd [diff] |
PR11851 (and duplicates): Whenever a constexpr function is referenced, instantiate it if it can be instantiated and implicitly define it if it can be implicitly defined. This matches g++'s approach. Remove some cases from SemaOverload which were marking functions as referenced when just planning how overload resolution would proceed; such cases are not actually references. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@167514 91177308-0d34-0410-b5e6-96231b3b80d8