summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-11-14 06:03:05 +0000
committerChris Lattner <sabre@nondot.org>2003-11-14 06:03:05 +0000
commit116c4f73ad075b5176c9ab58f62565a9aa4c1abf (patch)
treedf940f1ac0879fec589da10130634b17f57431da
parent8b6d804cd375494a80c61486433a570a8deaa174 (diff)
downloadbcm5719-llvm-116c4f73ad075b5176c9ab58f62565a9aa4c1abf.tar.gz
bcm5719-llvm-116c4f73ad075b5176c9ab58f62565a9aa4c1abf.zip
This is obviously illegal C++ code, but was apparently accepted by 3.3
bork llvm-svn: 9993
-rw-r--r--llvm/include/llvm/Use.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/include/llvm/Use.h b/llvm/include/llvm/Use.h
index f94045b39e4..d7c1010fc89 100644
--- a/llvm/include/llvm/Use.h
+++ b/llvm/include/llvm/Use.h
@@ -80,13 +80,13 @@ struct ilist_traits<Use> {
};
-template<> struct std::simplify_type<Use> {
+template<> struct simplify_type<Use> {
typedef Value* SimpleType;
static SimpleType getSimplifiedValue(const Use &Val) {
return (SimpleType)Val.get();
}
};
-template<> struct std::simplify_type<const Use> {
+template<> struct simplify_type<const Use> {
typedef Value* SimpleType;
static SimpleType getSimplifiedValue(const Use &Val) {
return (SimpleType)Val.get();
OpenPOWER on IntegriCloud