diff options
author | Ali Tamur <tamur@google.com> | 2019-04-19 02:15:57 +0000 |
---|---|---|
committer | Ali Tamur <tamur@google.com> | 2019-04-19 02:15:57 +0000 |
commit | b6a8a6caa8147ea592b7ac65d586b02f6980d5a3 (patch) | |
tree | eb98223fdae62541e663303afd5e0134550c1f94 /clang/lib/AST/Decl.cpp | |
parent | acc7641bcb9df243e7c2e0e8c4636929e21642e8 (diff) | |
download | bcm5719-llvm-b6a8a6caa8147ea592b7ac65d586b02f6980d5a3.tar.gz bcm5719-llvm-b6a8a6caa8147ea592b7ac65d586b02f6980d5a3.zip |
Fix typo in function name [NFC]
llvm-svn: 358731
Diffstat (limited to 'clang/lib/AST/Decl.cpp')
-rw-r--r-- | clang/lib/AST/Decl.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/lib/AST/Decl.cpp b/clang/lib/AST/Decl.cpp index 9d97868893c..357d06c6128 100644 --- a/clang/lib/AST/Decl.cpp +++ b/clang/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<NamedDecl>(D->getCanonicalDecl()))) + !isExportedFromModuleInterfaceUnit(cast<NamedDecl>(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); |