diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-17 14:27:05 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-17 14:27:05 +0100 |
commit | 8312d2816a0c4963e57ce46930eb26a698e73549 (patch) | |
tree | 8a8a847db0e3162f370d94fece371f3c4e8bc4b7 | |
parent | 0a73e77b65510b79b653ca13bcf5ebc9a9ddc6c4 (diff) |
Use a DiagnosticsEngine::Note
...a Remark prints the whole stack of includes leading up to the source
Change-Id: I41e5bd2855b4a55b54e63432703f2e65b4c44249
-rw-r--r-- | compilerplugins/clang/badstatics.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compilerplugins/clang/badstatics.cxx b/compilerplugins/clang/badstatics.cxx index 154098ca6f2c..0c8cc687fbcf 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(); |