summaryrefslogtreecommitdiffstats
path: root/include/llvm/User.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/User.h')
-rw-r--r--include/llvm/User.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/llvm/User.h b/include/llvm/User.h
index 310d356..bd3eb58 100644
--- a/include/llvm/User.h
+++ b/include/llvm/User.h
@@ -87,8 +87,7 @@ public:
// Methods for support type inquiry through isa, cast, and dyn_cast:
static inline bool classof(const User *) { return true; }
static inline bool classof(const Value *V) {
- return isa<Instruction>(V) || isa<GlobalVariable>(V) ||
- isa<Constant>(V);
+ return isa<Instruction>(V) || isa<Constant>(V);
}
};