[cfe-commits] r82102 - in /cfe/trunk: lib/CodeGen/Mangle.cpp test/CodeGenCXX/function-template-specialization.cpp test/CodeGenCXX/mangle-extreme.cpp test/CodeGenCXX/mangle-subst.cpp

Mike Stump mrs at apple.com
Wed Sep 16 18:03:04 PDT 2009


On Sep 16, 2009, at 5:43 PM, Anders Carlsson wrote:
> Add basic substitution to the C++ mangler. It currently only looks  
> at types.

> +// RUN: grep "define void @_Z1f1XS_" %t | count 1 &&
> +void f(X, X) { }
> +
> +// RUN: grep "define void @_Z1fR1XS0_" %t | count 1 &&
> +void f(X&, X&) { }

FileCheck lives to do these sorts of tests...  Real easy to use and  
faster...



More information about the cfe-commits mailing list