summaryrefslogtreecommitdiff
path: root/compilerplugins/clang/staticvar.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'compilerplugins/clang/staticvar.cxx')
-rw-r--r--compilerplugins/clang/staticvar.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/compilerplugins/clang/staticvar.cxx b/compilerplugins/clang/staticvar.cxx
index ca1a3b81d37e..10f38f5f71ea 100644
--- a/compilerplugins/clang/staticvar.cxx
+++ b/compilerplugins/clang/staticvar.cxx
@@ -172,11 +172,11 @@ bool StaticVar::VisitVarDecl(VarDecl const* varDecl)
return true;
if (varDecl->isLocalVarDecl())
- report(DiagnosticsEngine::Warning, "var should be static const, or whitelisted",
+ report(DiagnosticsEngine::Warning, "var should be static const, or allowlisted",
varDecl->getLocation())
<< varDecl->getSourceRange();
else
- report(DiagnosticsEngine::Warning, "var should be const, or whitelisted",
+ report(DiagnosticsEngine::Warning, "var should be const, or allowlisted",
varDecl->getLocation())
<< varDecl->getSourceRange();
}