Kaydet (Commit) 8312d281 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Use a DiagnosticsEngine::Note

...a Remark prints the whole stack of includes leading up to the source

Change-Id: I41e5bd2855b4a55b54e63432703f2e65b4c44249
üst 0a73e77b
...@@ -144,7 +144,7 @@ public: ...@@ -144,7 +144,7 @@ public:
pVarDecl->getLocation()) pVarDecl->getLocation())
<< pVarDecl->getSourceRange(); << pVarDecl->getSourceRange();
if (ret.second != nullptr) { if (ret.second != nullptr) {
report(DiagnosticsEngine::Remark, report(DiagnosticsEngine::Note,
"... due to this member", "... due to this member",
ret.second->getLocation()) ret.second->getLocation())
<< ret.second->getSourceRange(); << ret.second->getSourceRange();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment