Fix typo in comment.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@129703 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/CGDebugInfo.cpp b/lib/CodeGen/CGDebugInfo.cpp
index 10ef6d8..65b1ffb 100644
--- a/lib/CodeGen/CGDebugInfo.cpp
+++ b/lib/CodeGen/CGDebugInfo.cpp
@@ -119,7 +119,7 @@
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 f658ea6..f806f63 100644
--- a/lib/CodeGen/CGDebugInfo.h
+++ b/lib/CodeGen/CGDebugInfo.h
@@ -267,7 +267,7 @@
/// 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);