[llvm] r245173 - Add missing include guard.

Yaron Keren via llvm-commits llvm-commits at lists.llvm.org
Sun Aug 16 00:55:08 PDT 2015


Author: yrnkrn
Date: Sun Aug 16 02:55:08 2015
New Revision: 245173

URL: http://llvm.org/viewvc/llvm-project?rev=245173&view=rev
Log:
Add missing include guard.


Modified:
    llvm/trunk/lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.h

Modified: llvm/trunk/lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.h?rev=245173&r1=245172&r2=245173&view=diff
==============================================================================
--- llvm/trunk/lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.h (original)
+++ llvm/trunk/lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.h Sun Aug 16 02:55:08 2015
@@ -7,6 +7,9 @@
 //
 //===----------------------------------------------------------------------===//
 
+#ifndef LLVM_LIB_TARGET_R600_MCTARGETDESC_AMDGPUTARGETSTREAMER_H
+#define LLVM_LIB_TARGET_R600_MCTARGETDESC_AMDGPUTARGETSTREAMER_H
+
 #include "AMDKernelCodeT.h"
 #include "llvm/MC/MCStreamer.h"
 #include "llvm/MC/MCSymbol.h"
@@ -75,3 +78,4 @@ public:
 };
 
 }
+#endif




More information about the llvm-commits mailing list