We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c593993 commit 1c05dfbCopy full SHA for 1c05dfb
clang/lib/StaticAnalyzer/Checkers/CallAndMessageChecker.cpp
@@ -322,13 +322,12 @@ bool CallAndMessageChecker::PreVisitProcessArg(
322
else {
323
os << " (e.g., via the field chain: '";
324
bool first = true;
325
- for (SmallVectorImpl<const FieldDecl *>::iterator
326
- DI = F.FieldChain.begin(), DE = F.FieldChain.end(); DI!=DE;++DI){
+ for (const FieldDecl *FD : F.FieldChain) {
327
if (first)
328
first = false;
329
else
330
os << '.';
331
- os << **DI;
+ os << *FD;
332
}
333
os << "')";
334
0 commit comments