[cfe-commits] r117445 - in /cfe/trunk: lib/CodeGen/CGExprCXX.cpp test/CodeGenCXX/attr-final-devirtualize-virtual-function-calls.cpp
Gabor Greif
ggreif at gmail.com
Wed Oct 27 06:53:35 PDT 2010
What about a test of a final struct with
a baseclass that defines a virtual function
but the derived class does not override it?
That should also be devirtualized.
Also, did you think about local classes (in
functions) or classes of TU-scope (i.e.
in a provably non-included .cpp file or
anonymous namespace? I know these are much
more hairy, but IDEs might prove such things.
Cheers,
Gabor
More information about the cfe-commits
mailing list