diff options
author | Chris Lattner <sabre@nondot.org> | 2005-02-27 06:15:51 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-02-27 06:15:51 +0000 |
commit | dc166eb8f7e23fecc2e0d6c67646f496c788943c (patch) | |
tree | dbc88c89bf2c7a8cff4fb9d484e955db52b3e270 | |
parent | 600420647fb2cc6a4e74e8a711a388f5e3279bae (diff) | |
download | bcm5719-llvm-dc166eb8f7e23fecc2e0d6c67646f496c788943c.tar.gz bcm5719-llvm-dc166eb8f7e23fecc2e0d6c67646f496c788943c.zip |
Fix spelling, patch contributed by Gabor Greif
llvm-svn: 20342
-rw-r--r-- | llvm/include/llvm/Type.h | 2 | ||||
-rw-r--r-- | llvm/include/llvm/User.h | 2 | ||||
-rw-r--r-- | llvm/lib/Analysis/DataStructure/DataStructure.cpp | 2 |
3 files changed, 4 insertions, 2 deletions
diff --git a/llvm/include/llvm/Type.h b/llvm/include/llvm/Type.h index 1d776440522..8a0ef8ffb54 100644 --- a/llvm/include/llvm/Type.h +++ b/llvm/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/llvm/include/llvm/User.h b/llvm/include/llvm/User.h index 0e98da50e93..21d112b454a 100644 --- a/llvm/include/llvm/User.h +++ b/llvm/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/llvm/lib/Analysis/DataStructure/DataStructure.cpp b/llvm/lib/Analysis/DataStructure/DataStructure.cpp index b32bd912db0..16fe4508c8b 100644 --- a/llvm/lib/Analysis/DataStructure/DataStructure.cpp +++ b/llvm/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()); |