From: Ali Tamur Date: Fri, 19 Apr 2019 02:15:57 +0000 (+0000) Subject: Fix typo in function name [NFC] X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5abb004657130d7dc22433c7508feecf8f3d39c7;p=clang Fix typo in function name [NFC] git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@358731 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/AST/Decl.cpp b/lib/AST/Decl.cpp index 9d97868893..357d06c612 100644 --- a/lib/AST/Decl.cpp +++ b/lib/AST/Decl.cpp @@ -574,7 +574,7 @@ static bool isInModulePurview(const NamedDecl *D) { return false; } -static bool isExportedFromModuleIntefaceUnit(const NamedDecl *D) { +static bool isExportedFromModuleInterfaceUnit(const NamedDecl *D) { // FIXME: Handle isModulePrivate. switch (D->getModuleOwnershipKind()) { case Decl::ModuleOwnershipKind::Unowned: @@ -604,7 +604,7 @@ static LinkageInfo getExternalLinkageFor(const NamedDecl *D) { // by the previous rules and that is introduced by a non-exported // declaration has module linkage. if (isInModulePurview(D) && - !isExportedFromModuleIntefaceUnit(cast(D->getCanonicalDecl()))) + !isExportedFromModuleInterfaceUnit(cast(D->getCanonicalDecl()))) return LinkageInfo(ModuleLinkage, DefaultVisibility, false); return LinkageInfo::external(); @@ -638,7 +638,7 @@ LinkageComputer::getLVForNamespaceScopeDecl(const NamedDecl *D, Var->getType().isConstQualified() && !Var->getType().isVolatileQualified() && !Var->isInline() && - !isExportedFromModuleIntefaceUnit(Var)) { + !isExportedFromModuleInterfaceUnit(Var)) { const VarDecl *PrevVar = Var->getPreviousDecl(); if (PrevVar) return getLVForDecl(PrevVar, computation);