Parcourir la source

Revert r354546

This triggers an ICE on gcc 7, see http://lab.llvm.org:8011/builders/clang-cmake-aarch64-quick/builds/17598/steps/build%20stage%201/logs/stdio


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@354549 91177308-0d34-0410-b5e6-96231b3b80d8
Serge Guelton il y a 6 ans
Parent
commit
0eb31d1e1b
1 fichiers modifiés avec 7 ajouts et 6 suppressions
  1. 7 6
      include/clang/CodeGen/CGFunctionInfo.h

+ 7 - 6
include/clang/CodeGen/CGFunctionInfo.h

@@ -111,13 +111,14 @@ private:
   }
 
   ABIArgInfo(Kind K)
-      : TypeData(nullptr), PaddingType(nullptr), DirectOffset(0), TheKind(K),
-        PaddingInReg(false), InAllocaSRet(false), IndirectByVal(false),
-        IndirectRealign(false), SRetAfterThis(false), InReg(false),
-        CanBeFlattened(false), SignExt(false), SuppressSRet(false) {}
+      : TheKind(K), PaddingInReg(false), InReg(false), SuppressSRet(false) {
+  }
 
-public : ABIArgInfo()
-    : ABIArgInfo(Direct) {}
+public:
+  ABIArgInfo()
+      : TypeData(nullptr), PaddingType(nullptr), DirectOffset(0),
+        TheKind(Direct), PaddingInReg(false), InReg(false),
+        SuppressSRet(false) {}
 
   static ABIArgInfo getDirect(llvm::Type *T = nullptr, unsigned Offset = 0,
                               llvm::Type *Padding = nullptr,