diff options
author | Bill Wendling <isanbard@gmail.com> | 2012-02-16 10:28:10 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2012-02-16 10:28:10 +0000 |
commit | e6bd7a805808a05e9869fbf067581855a8b2a2c2 (patch) | |
tree | bafaf20a470d82a64b6aa3bf686e4ad0bf900bed /include/llvm/Module.h | |
parent | 7d4deaae1f90eb4d45dfeeeb04af567f68ceaee0 (diff) |
s/ModAttrBehavior/ModFlagBehavior/g to be consistent with how module flags are named elsewhere.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@150679 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Module.h')
-rw-r--r-- | include/llvm/Module.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/llvm/Module.h b/include/llvm/Module.h index c331837f81..4ca8fdee5c 100644 --- a/include/llvm/Module.h +++ b/include/llvm/Module.h @@ -177,13 +177,13 @@ public: /// is an error for two (or more) llvm.module.flags with the /// same ID to have the Override behavior but different /// values. - enum ModAttrBehavior { Error = 1, Warning = 2, Require = 3, Override = 4 }; + enum ModFlagBehavior { Error = 1, Warning = 2, Require = 3, Override = 4 }; struct ModuleFlagEntry { - ModAttrBehavior Behavior; + ModFlagBehavior Behavior; MDString *Key; Value *Val; - ModuleFlagEntry(ModAttrBehavior B, MDString *K, Value *V) + ModuleFlagEntry(ModFlagBehavior B, MDString *K, Value *V) : Behavior(B), Key(K), Val(V) {} }; @@ -425,8 +425,8 @@ public: /// 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 addModuleFlag(ModAttrBehavior Behavior, StringRef Key, Value *Val); - void addModuleFlag(ModAttrBehavior Behavior, StringRef Key, uint32_t Val); + void addModuleFlag(ModFlagBehavior Behavior, StringRef Key, Value *Val); + void addModuleFlag(ModFlagBehavior Behavior, StringRef Key, uint32_t Val); void addModuleFlag(MDNode *Node); /// @} |