[cfe-dev] CFG::VisitBlockStmts parameter type

David Come via cfe-dev cfe-dev at lists.llvm.org
Wed Mar 2 05:59:58 PST 2016


Hi,

Is there any special reason for CFG::VisitBlockStmts 
<http://clang.llvm.org/doxygen/classclang_1_1CFG.html#a06492785963cc91eb21dae8161d21e6e> 
for using a non const reference for the callback ?
Why not using an universal reference (or at least const lvalue ref ? )

Thanks,
David.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20160302/3f62f6e7/attachment.html>


More information about the cfe-dev mailing list