
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
10 lines
194 B
C++
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) {}
|
|
};
|
|
|