projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4002a1b
)
fit in 80 cols
author
Chris Lattner
<sabre@nondot.org>
Tue, 28 Oct 2008 06:20:17 +0000
(06:20 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Tue, 28 Oct 2008 06:20:17 +0000
(06:20 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58318
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/Value.h
patch
|
blob
|
history
diff --git
a/include/llvm/Value.h
b/include/llvm/Value.h
index 939cf102361f2104d7d2b52ac404166a4d9611a8..ee7e25ac76a7aae45bbc949e3a94fb39fa6fcbdf 100644
(file)
--- a/
include/llvm/Value.h
+++ b/
include/llvm/Value.h
@@
-289,7
+289,8
@@
template <> inline bool isa_impl<GlobalAlias, Value>(const Value &Val) {
return Val.getValueID() == Value::GlobalAliasVal;
}
template <> inline bool isa_impl<GlobalValue, Value>(const Value &Val) {
- return isa<GlobalVariable>(Val) || isa<Function>(Val) || isa<GlobalAlias>(Val);
+ return isa<GlobalVariable>(Val) || isa<Function>(Val) ||
+ isa<GlobalAlias>(Val);
}
} // End llvm namespace