Fix spelling, patch contributed by Gabor Greif
authorChris Lattner <sabre@nondot.org>
Sun, 27 Feb 2005 06:15:51 +0000 (06:15 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 27 Feb 2005 06:15:51 +0000 (06:15 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20342 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Type.h
include/llvm/User.h
lib/Analysis/DataStructure/DataStructure.cpp

index 1d776440522f22b2f6b9c3ef4d4f9ece97a91fb2..8a0ef8ffb54488d96e7e2d9c195dbb4c1b754c79 100644 (file)
@@ -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
index 0e98da50e9360620b8354bcc79af2298f927f95e..21d112b454a348546a3f50f63b0ca89049f1ddf3 100644 (file)
@@ -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> {};
 
index b32bd912db0632c4fe94a10ee25d980b17eb1c44..16fe4508c8b31f13ecac78fe33d2d408908876d4 100644 (file)
@@ -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());