aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2011-04-18 17:30:25 +0000
committerDevang Patel <dpatel@apple.com>2011-04-18 17:30:25 +0000
commit1f15c19005861b77cc52c14a3b294c6908b603bd (patch)
tree4de24a38e143878db830983a072b1f6d12f72e08
parentb403d6d746239095a2c7bac958c924d92434e2b4 (diff)
Fix typo in comment.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@129703 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/CodeGen/CGDebugInfo.cpp2
-rw-r--r--lib/CodeGen/CGDebugInfo.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/CGDebugInfo.cpp b/lib/CodeGen/CGDebugInfo.cpp
index 10ef6d8b31..65b1ffb591 100644
--- a/lib/CodeGen/CGDebugInfo.cpp
+++ b/lib/CodeGen/CGDebugInfo.cpp
@@ -119,7 +119,7 @@ llvm::StringRef CGDebugInfo::getObjCMethodName(const ObjCMethodDecl *OMD) {
return llvm::StringRef(StrPtr, OS.tell());
}
-/// getSelectporName - Return selector name. This is used for debugging
+/// getSelectorName - Return selector name. This is used for debugging
/// info.
llvm::StringRef CGDebugInfo::getSelectorName(Selector S) {
llvm::SmallString<256> SName;
diff --git a/lib/CodeGen/CGDebugInfo.h b/lib/CodeGen/CGDebugInfo.h
index f658ea63ac..f806f630b9 100644
--- a/lib/CodeGen/CGDebugInfo.h
+++ b/lib/CodeGen/CGDebugInfo.h
@@ -267,7 +267,7 @@ private:
/// This is the display name for the debugging info.
llvm::StringRef getObjCMethodName(const ObjCMethodDecl *FD);
- /// getSelectporName - Return selector name. This is used for debugging
+ /// getSelectorName - Return selector name. This is used for debugging
/// info.
llvm::StringRef getSelectorName(Selector S);