Remove full stop from log messages
This has snuck in in a few places, but is not useful or conventional.
This commit is contained in:
parent
711a4bd008
commit
7864ab35f4
11
iwyu.cc
11
iwyu.cc
|
@ -1295,17 +1295,17 @@ class IwyuBaseAstVisitor : public BaseAstVisitor<Derived> {
|
||||||
// Otherwise, the spelling loc is responsible.
|
// Otherwise, the spelling loc is responsible.
|
||||||
if (IsInScratchSpace(spelling_loc)) {
|
if (IsInScratchSpace(spelling_loc)) {
|
||||||
VERRS(5) << "Spelling location is in <scratch space>, presumably as a "
|
VERRS(5) << "Spelling location is in <scratch space>, presumably as a "
|
||||||
"result of macro arg concatenation.\n";
|
<< "result of macro arg concatenation\n";
|
||||||
use_loc = expansion_loc;
|
use_loc = expansion_loc;
|
||||||
} else if (fwd_decl != nullptr) {
|
} else if (fwd_decl != nullptr) {
|
||||||
VERRS(5) << "Found a forward-decl in macro definition file.\n";
|
VERRS(5) << "Found a forward-decl in macro definition file\n";
|
||||||
use_loc = expansion_loc;
|
use_loc = expansion_loc;
|
||||||
} else {
|
} else {
|
||||||
use_loc = spelling_loc;
|
use_loc = spelling_loc;
|
||||||
}
|
}
|
||||||
|
|
||||||
VERRS(4) << "Attributing use of '" << PrintableDecl(decl)
|
VERRS(4) << "Attributing use of '" << PrintableDecl(decl)
|
||||||
<< "' to location at " << PrintableLoc(use_loc) << ".\n";
|
<< "' to location at " << PrintableLoc(use_loc) << "\n";
|
||||||
|
|
||||||
return use_loc;
|
return use_loc;
|
||||||
}
|
}
|
||||||
|
@ -1858,9 +1858,8 @@ class IwyuBaseAstVisitor : public BaseAstVisitor<Derived> {
|
||||||
|
|
||||||
VERRS(3) << "Found covariant return type in "
|
VERRS(3) << "Found covariant return type in "
|
||||||
<< method_decl->getQualifiedNameAsString()
|
<< method_decl->getQualifiedNameAsString()
|
||||||
<< ", needs complete type of "
|
<< ", needs complete type of " << PrintableType(return_type)
|
||||||
<< PrintableType(return_type)
|
<< "\n";
|
||||||
<< ".\n";
|
|
||||||
|
|
||||||
ReportTypeUse(CurrentLoc(), return_type);
|
ReportTypeUse(CurrentLoc(), return_type);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue