aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/Module.h
diff options
context:
space:
mode:
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) {}
};