diff --git a/clang/lib/CodeGen/CGDebugInfo.cpp b/clang/lib/CodeGen/CGDebugInfo.cpp index 10ef6d8b3189..65b1ffb591fe 100644 --- a/clang/lib/CodeGen/CGDebugInfo.cpp +++ b/clang/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/clang/lib/CodeGen/CGDebugInfo.h b/clang/lib/CodeGen/CGDebugInfo.h index f658ea63ac99..f806f630b9fd 100644 --- a/clang/lib/CodeGen/CGDebugInfo.h +++ b/clang/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);