aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/Module.h
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2012-02-15 23:27:50 +0000
committerBill Wendling <isanbard@gmail.com>2012-02-15 23:27:50 +0000
commit426f21573219eeba8f6981d7ddb4f1d2445b6343 (patch)
treedf8ed8c7434468f0d1f1b84557b6706c12a751fe /include/llvm/Module.h
parentcc2037be2cf0159e9f7a917a4db434258fe6eb6b (diff)
Use the enum instead of 'unsigned'.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@150632 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Module.h')
-rw-r--r--include/llvm/Module.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Module.h b/include/llvm/Module.h
index e068f93deb..c331837f81 100644
--- a/include/llvm/Module.h
+++ b/include/llvm/Module.h
@@ -180,10 +180,10 @@ public:
enum ModAttrBehavior { Error = 1, Warning = 2, Require = 3, Override = 4 };
struct ModuleFlagEntry {
- unsigned Behavior;
+ ModAttrBehavior Behavior;
MDString *Key;
Value *Val;
- ModuleFlagEntry(unsigned B, MDString *K, Value *V)
+ ModuleFlagEntry(ModAttrBehavior B, MDString *K, Value *V)
: Behavior(B), Key(K), Val(V) {}
};