[llvm] r199523 - MC: Add some missing include guards
Justin Bogner
mail at justinbogner.com
Fri Jan 17 14:39:46 PST 2014
Author: bogner
Date: Fri Jan 17 16:39:45 2014
New Revision: 199523
URL: http://llvm.org/viewvc/llvm-project?rev=199523&view=rev
Log:
MC: Add some missing include guards
Patch by Daniel Reynaud!
Modified:
llvm/trunk/include/llvm/MC/MCInstrAnalysis.h
Modified: llvm/trunk/include/llvm/MC/MCInstrAnalysis.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/MC/MCInstrAnalysis.h?rev=199523&r1=199522&r2=199523&view=diff
==============================================================================
--- llvm/trunk/include/llvm/MC/MCInstrAnalysis.h (original)
+++ llvm/trunk/include/llvm/MC/MCInstrAnalysis.h Fri Jan 17 16:39:45 2014
@@ -12,6 +12,9 @@
//
//===----------------------------------------------------------------------===//
+#ifndef LLVM_MC_MCINSTRANALYSIS_H
+#define LLVM_MC_MCINSTRANALYSIS_H
+
#include "llvm/MC/MCInst.h"
#include "llvm/MC/MCInstrDesc.h"
#include "llvm/MC/MCInstrInfo.h"
@@ -63,4 +66,6 @@ public:
uint64_t &Target) const;
};
-}
+} // End llvm namespace
+
+#endif
More information about the llvm-commits
mailing list