aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-02-27 06:15:51 +0000
committerChris Lattner <sabre@nondot.org>2005-02-27 06:15:51 +0000
commitf8db8a04328f11fada2cf81f4b8b2431b3fb1548 (patch)
treec69b88d4aefb48bc0be37586812ca29bc053bb7a
parent47b72fbf2973a05b4b7e0f47876f6d99581278cd (diff)
downloadexternal_llvm-f8db8a04328f11fada2cf81f4b8b2431b3fb1548.zip
external_llvm-f8db8a04328f11fada2cf81f4b8b2431b3fb1548.tar.gz
external_llvm-f8db8a04328f11fada2cf81f4b8b2431b3fb1548.tar.bz2
Fix spelling, patch contributed by Gabor Greif
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20342 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/Type.h2
-rw-r--r--include/llvm/User.h2
-rw-r--r--lib/Analysis/DataStructure/DataStructure.cpp2
3 files changed, 4 insertions, 2 deletions
diff --git a/include/llvm/Type.h b/include/llvm/Type.h
index 1d77644..8a0ef8f 100644
--- a/include/llvm/Type.h
+++ b/include/llvm/Type.h
@@ -23,7 +23,7 @@
// identical if they are pointer equals of each other. This allows us to have
// two opaque types that end up resolving to different concrete types later.
//
-// Opaque types are also kinda wierd and scary and different because they have
+// Opaque types are also kinda weird and scary and different because they have
// to keep a list of uses of the type. When, through linking, parsing, or
// bytecode reading, they become resolved, they need to find and update all
// users of the unknown type, causing them to reference a new, more concrete
diff --git a/include/llvm/User.h b/include/llvm/User.h
index 0e98da5..21d112b 100644
--- a/include/llvm/User.h
+++ b/include/llvm/User.h
@@ -97,6 +97,7 @@ template<> struct simplify_type<User::op_iterator> {
return static_cast<SimpleType>(Val->get());
}
};
+
template<> struct simplify_type<const User::op_iterator>
: public simplify_type<User::op_iterator> {};
@@ -107,6 +108,7 @@ template<> struct simplify_type<User::const_op_iterator> {
return static_cast<SimpleType>(Val->get());
}
};
+
template<> struct simplify_type<const User::const_op_iterator>
: public simplify_type<User::const_op_iterator> {};
diff --git a/lib/Analysis/DataStructure/DataStructure.cpp b/lib/Analysis/DataStructure/DataStructure.cpp
index b32bd91..16fe450 100644
--- a/lib/Analysis/DataStructure/DataStructure.cpp
+++ b/lib/Analysis/DataStructure/DataStructure.cpp
@@ -2001,7 +2001,7 @@ void DSGraph::AssertCallSiteInGraph(const DSCallSite &CS) const {
#if 0
if (CS.getNumPtrArgs() && CS.getCalleeNode() == CS.getPtrArg(0).getNode() &&
CS.getCalleeNode() && CS.getCalleeNode()->getGlobals().empty())
- std::cerr << "WARNING: WIERD CALL SITE FOUND!\n";
+ std::cerr << "WARNING: WEIRD CALL SITE FOUND!\n";
#endif
}
AssertNodeInGraph(CS.getRetVal().getNode());