implement new method
[oota-llvm.git] / utils / TableGen / CodeGenTarget.cpp
index 5039ccaad0ae7d2af979193e55905954ea71400b..bf641fa27677efcb7610e5f7429a406aaa49c508 100644 (file)
@@ -17,6 +17,8 @@
 #include "CodeGenWrappers.h"
 #include "Record.h"
 
+namespace llvm {
+
 /// getValueType - Return the MCV::ValueType that the specified TableGen record
 /// corresponds to.
 MVT::ValueType getValueType(Record *Rec) {
@@ -94,3 +96,5 @@ const std::string &CodeGenTarget::getName() const {
 Record *CodeGenTarget::getInstructionSet() const {
   return TargetRec->getValueAsDef("InstructionSet");
 }
+
+} // End llvm namespace