From c3247d03df31637193759288fb42348484253cad Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Wed, 16 Dec 2015 23:10:46 +0000 Subject: [PATCH] Fix funciton->function typo. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@255840 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/ARCMigrate/ObjCMT.cpp | 4 ++-- lib/AST/MicrosoftMangle.cpp | 2 +- lib/CodeGen/CGDebugInfo.h | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/ARCMigrate/ObjCMT.cpp b/lib/ARCMigrate/ObjCMT.cpp index 7e84994d39..50b113660d 100644 --- a/lib/ARCMigrate/ObjCMT.cpp +++ b/lib/ARCMigrate/ObjCMT.cpp @@ -1524,7 +1524,7 @@ ObjCMigrateASTConsumer::CF_BRIDGING_KIND FuncDecl->hasAttr() || FuncDecl->hasAttr()); - // Trivial case of when funciton is annotated and has no argument. + // Trivial case of when function is annotated and has no argument. if (FuncIsReturnAnnotated && FuncDecl->getNumParams() == 0) return CF_BRIDGING_NONE; @@ -1653,7 +1653,7 @@ void ObjCMigrateASTConsumer::migrateAddMethodAnnotation( Editor->commit(commit); } - // Trivial case of when funciton is annotated and has no argument. + // Trivial case of when function is annotated and has no argument. if (MethodIsReturnAnnotated && (MethodDecl->param_begin() == MethodDecl->param_end())) return; diff --git a/lib/AST/MicrosoftMangle.cpp b/lib/AST/MicrosoftMangle.cpp index 3651673ffd..c22e174840 100644 --- a/lib/AST/MicrosoftMangle.cpp +++ b/lib/AST/MicrosoftMangle.cpp @@ -422,7 +422,7 @@ void MicrosoftCXXNameMangler::mangleFunctionEncoding(const FunctionDecl *FD, // We would like to mangle all extern "C" functions using this additional // component but this would break compatibility with MSVC's behavior. // Instead, do this when we know that compatibility isn't important (in - // other words, when it is an overloaded extern "C" funciton). + // other words, when it is an overloaded extern "C" function). if (FD->isExternC() && FD->hasAttr()) Out << "$$J0"; diff --git a/lib/CodeGen/CGDebugInfo.h b/lib/CodeGen/CGDebugInfo.h index 7e7ba74106..57d5c808f2 100644 --- a/lib/CodeGen/CGDebugInfo.h +++ b/lib/CodeGen/CGDebugInfo.h @@ -574,7 +574,7 @@ public: /// passing an empty SourceLocation to \a CGDebugInfo::setLocation() /// will result in the last valid location being reused. Note that /// all instructions that do not have a location at the beginning of - /// a function are counted towards to funciton prologue. + /// a function are counted towards to function prologue. static ApplyDebugLocation CreateEmpty(CodeGenFunction &CGF) { return ApplyDebugLocation(CGF, true, SourceLocation()); } -- 2.40.0