Author: tamur Date: Thu Apr 18 19:15:57 2019 New Revision: 358731 URL: http://llvm.org/viewvc/llvm-project?rev=358731&view=rev Log: Fix typo in function name [NFC]
Modified: cfe/trunk/lib/AST/Decl.cpp Modified: cfe/trunk/lib/AST/Decl.cpp URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/Decl.cpp?rev=358731&r1=358730&r2=358731&view=diff ============================================================================== --- cfe/trunk/lib/AST/Decl.cpp (original) +++ cfe/trunk/lib/AST/Decl.cpp Thu Apr 18 19:15:57 2019 @@ -574,7 +574,7 @@ static bool isInModulePurview(const Name 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 // by the previous rules and that is introduced by a non-exported // declaration has module linkage. if (isInModulePurview(D) && - !isExportedFromModuleIntefaceUnit(cast<NamedDecl>(D->getCanonicalDecl()))) + !isExportedFromModuleInterfaceUnit(cast<NamedDecl>(D->getCanonicalDecl()))) return LinkageInfo(ModuleLinkage, DefaultVisibility, false); return LinkageInfo::external(); @@ -638,7 +638,7 @@ LinkageComputer::getLVForNamespaceScopeD Var->getType().isConstQualified() && !Var->getType().isVolatileQualified() && !Var->isInline() && - !isExportedFromModuleIntefaceUnit(Var)) { + !isExportedFromModuleInterfaceUnit(Var)) { const VarDecl *PrevVar = Var->getPreviousDecl(); if (PrevVar) return getLVForDecl(PrevVar, computation); _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits