When marking derived classes' virtual methods ODR-used in order to trigger
authorNick Lewycky <nicholas@mxc.ca>
Thu, 14 Feb 2013 00:55:17 +0000 (00:55 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Thu, 14 Feb 2013 00:55:17 +0000 (00:55 +0000)
commitb7444cd11ef1f688d91f0970f2615177af63916f
tree9ed171e456f23c6dc1985923bf25039c8dda96bb
parent3cfba5bf138a988f05cc6113b034968ea69e82ab
When marking derived classes' virtual methods ODR-used in order to trigger
instantiation in order to permit devirtualization later in codegen, skip over
pure functions since those can't be devirtualization targets.

llvm-svn: 175116
clang/lib/Sema/SemaExpr.cpp
clang/test/SemaCXX/undefined-internal.cpp