Index: clang/include/clang/Analysis/CFG.h =================================================================== --- clang/include/clang/Analysis/CFG.h +++ clang/include/clang/Analysis/CFG.h @@ -1389,13 +1389,12 @@ // Member templates useful for various batch operations over CFGs. //===--------------------------------------------------------------------===// - template - void VisitBlockStmts(CALLBACK& O) const { + template void VisitBlockStmts(Callback &O) const { for (const_iterator I = begin(), E = end(); I != E; ++I) for (CFGBlock::const_iterator BI = (*I)->begin(), BE = (*I)->end(); BI != BE; ++BI) { if (Optional stmt = BI->getAs()) - O(const_cast(stmt->getStmt())); + O(const_cast(stmt->getStmt())); } }