[Libreoffice-commits] core.git: compilerplugins/clang
Stephan Bergmann
sbergman at redhat.com
Tue Nov 17 05:31:48 PST 2015
compilerplugins/clang/badstatics.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 8312d2816a0c4963e57ce46930eb26a698e73549
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Tue Nov 17 14:27:05 2015 +0100
Use a DiagnosticsEngine::Note
...a Remark prints the whole stack of includes leading up to the source
Change-Id: I41e5bd2855b4a55b54e63432703f2e65b4c44249
diff --git a/compilerplugins/clang/badstatics.cxx b/compilerplugins/clang/badstatics.cxx
index 154098c..0c8cc68 100644
--- a/compilerplugins/clang/badstatics.cxx
+++ b/compilerplugins/clang/badstatics.cxx
@@ -144,7 +144,7 @@ public:
pVarDecl->getLocation())
<< pVarDecl->getSourceRange();
if (ret.second != nullptr) {
- report(DiagnosticsEngine::Remark,
+ report(DiagnosticsEngine::Note,
"... due to this member",
ret.second->getLocation())
<< ret.second->getSourceRange();
More information about the Libreoffice-commits
mailing list