forked from OSchip/llvm-project
parent
8957574549
commit
be5286629f
|
@ -1524,7 +1524,7 @@ ObjCMigrateASTConsumer::CF_BRIDGING_KIND
|
|||
FuncDecl->hasAttr<NSReturnsNotRetainedAttr>() ||
|
||||
FuncDecl->hasAttr<NSReturnsAutoreleasedAttr>());
|
||||
|
||||
// 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;
|
||||
|
|
|
@ -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<OverloadableAttr>())
|
||||
Out << "$$J0";
|
||||
|
||||
|
|
|
@ -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());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue