[llvm] r310048 - [AMDGPU] Fixed MSVC build break

Florian Gross via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 4 03:53:07 PDT 2017


Author: fgross
Date: Fri Aug  4 03:53:07 2017
New Revision: 310048

URL: http://llvm.org/viewvc/llvm-project?rev=310048&view=rev
Log:
[AMDGPU] Fixed MSVC build break

Error was:

field of type 'llvm::ArgDescriptor' has private default constructor
const AMDGPUFunctionArgInfo AMDGPUArgumentUsageInfo::ExternFunctionInfo{};
                                                                        ^

Modified:
    llvm/trunk/lib/Target/AMDGPU/AMDGPUArgumentUsageInfo.h

Modified: llvm/trunk/lib/Target/AMDGPU/AMDGPUArgumentUsageInfo.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/AMDGPU/AMDGPUArgumentUsageInfo.h?rev=310048&r1=310047&r2=310048&view=diff
==============================================================================
--- llvm/trunk/lib/Target/AMDGPU/AMDGPUArgumentUsageInfo.h (original)
+++ llvm/trunk/lib/Target/AMDGPU/AMDGPUArgumentUsageInfo.h Fri Aug  4 03:53:07 2017
@@ -26,6 +26,7 @@ class TargetRegisterInfo;
 struct ArgDescriptor {
 private:
   friend struct AMDGPUFunctionArgInfo;
+  friend class AMDGPUArgumentUsageInfo;
 
   union {
     unsigned Register;




More information about the llvm-commits mailing list