s/ModAttrBehavior/ModFlagBehavior/g to be consistent with how module flags are named elsewhere.

llvm-svn: 150679
diff --git a/llvm/lib/VMCore/Module.cpp b/llvm/lib/VMCore/Module.cpp
index cc6ae0e..e8bc6db 100644
--- a/llvm/lib/VMCore/Module.cpp
+++ b/llvm/lib/VMCore/Module.cpp
@@ -339,7 +339,7 @@
     ConstantInt *Behavior = cast<ConstantInt>(Flag->getOperand(0));
     MDString *Key = cast<MDString>(Flag->getOperand(1));
     Value *Val = Flag->getOperand(2);
-    Flags.push_back(ModuleFlagEntry(ModAttrBehavior(Behavior->getZExtValue()),
+    Flags.push_back(ModuleFlagEntry(ModFlagBehavior(Behavior->getZExtValue()),
                                     Key, Val));
   }
 }
@@ -361,7 +361,7 @@
 /// addModuleFlag - Add a module-level flag to the module-level flags
 /// metadata. It will create the module-level flags named metadata if it doesn't
 /// already exist.
-void Module::addModuleFlag(ModAttrBehavior Behavior, StringRef Key,
+void Module::addModuleFlag(ModFlagBehavior Behavior, StringRef Key,
                            Value *Val) {
   Type *Int32Ty = Type::getInt32Ty(Context);
   Value *Ops[3] = {
@@ -369,7 +369,7 @@
   };
   getOrInsertModuleFlagsMetadata()->addOperand(MDNode::get(Context, Ops));
 }
-void Module::addModuleFlag(ModAttrBehavior Behavior, StringRef Key,
+void Module::addModuleFlag(ModFlagBehavior Behavior, StringRef Key,
                            uint32_t Val) {
   Type *Int32Ty = Type::getInt32Ty(Context);
   addModuleFlag(Behavior, Key, ConstantInt::get(Int32Ty, Val));