[cfe-dev] How to write a test for bug 27981? (Missing LValueToRValue cast)

Tom Honermann via cfe-dev cfe-dev at lists.llvm.org
Thu Feb 16 09:27:15 PST 2017


I have a fix for the following bug ready and would like to submit it for 
review:

Bug 27981 - Missing LValueToRValue casts for use of 
__builtin_shufflevector in function template instantiations
https://bugs.llvm.org//show_bug.cgi?id=27981

I'm not sure how to write a test for this though.  The issue is a 
missing LValueToRValue cast.  Code gen is already tolerant of the 
missing cast so isn't affected by the fix.  I'm not very familiar with 
the infrastructure available in the Clang test suite.

Tom.



More information about the cfe-dev mailing list