[LLVMbugs] Incorrect return types for Statistic operators

Casey Carter ccarter at cs.uiuc.edu
Wed Oct 30 18:01:53 PST 2002


The lvalue-returning Statistic<> operators (e.g., ++, =, +=, -=) should 
return a reference to *this, not a reference to the contained Data value.

-- 
Casey Carter
Casey at Carter.net
ccarter at uiuc.edu
AIM: cartec69

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20021030/893cb84c/attachment.ksh>


More information about the llvm-bugs mailing list