We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf3d6fd commit 049d5efCopy full SHA for 049d5ef
llvm/include/llvm/IR/DerivedTypes.h
@@ -320,13 +320,6 @@ class StructType : public Type {
320
/// Specify a body for an opaque identified type.
321
void setBody(ArrayRef<Type*> Elements, bool isPacked = false);
322
323
- template <typename... Tys>
324
- std::enable_if_t<are_base_of<Type, Tys...>::value, void>
325
- setBody(Type *elt1, Tys *... elts) {
326
- assert(elt1 && "Cannot create a struct type with no elements with this");
327
- setBody(ArrayRef<Type *>({elt1, elts...}));
328
- }
329
-
330
/// Return true if the specified type is valid as a element type.
331
static bool isValidElementType(Type *ElemTy);
332
0 commit comments