Vassil Vassilev cc218abe34 [modules] Allow emission of update records for predefined __va_list_tag.
Handles the cases where old __va_list_tag is coming from a module and the new
is not, needing an update record.

Fixes https://llvm.org/bugs/show_bug.cgi?id=27890

Patch by Cristina Cristescu, Richard Smith and me.

llvm-svn: 273159
2016-06-20 15:10:40 +00:00

10 lines
194 B
C++

template <class DataType> DataType values(DataType) { __builtin_va_list ValueArgs; return DataType(); }
template <class DataType>
class opt {
public:
template <class Mods>
opt(Mods) {}
};