[cfe-commits] r84363 - in /cfe/trunk: lib/Sema/SemaOverload.cpp test/CodeGenCXX/address-of-fntemplate.cpp
Douglas Gregor
dgregor at apple.com
Sat Oct 17 14:42:11 PDT 2009
On Oct 17, 2009, at 2:12 PM, Sebastian Redl wrote:
> Author: cornedbee
> Date: Sat Oct 17 16:12:09 2009
> New Revision: 84363
>
> URL: http://llvm.org/viewvc/llvm-project?rev=84363&view=rev
> Log:
> When resolving the address of an overloaded function or function
> template, mark the result as referenced.
Ah, good catch.
> The most important effect of this is that function templates only
> referenced by address expressions now get instantiated. This, in
> turn, means that Hello World compiles with the Apache stdcxx library
> even when using endl.
Excellent!
- Doug
More information about the cfe-commits
mailing list