[llvm-bugs] [Bug 33227] New: Defect with llvm::reverse used in for loop with a comparison
llvm-bugs at lists.llvm.org
Tue May 30 12:08:50 PDT 2017
Bug ID: 33227
Summary: Defect with llvm::reverse used in for loop with a
Component: Support Libraries
Assignee: unassignedbugs at nondot.org
Reporter: colsebas at hotmail.com
CC: llvm-bugs at lists.llvm.org
Created attachment 18539
for (unsigned I : Fwd ? V : llvm::reverse(V))
llvm::errs() << I << "\n";
In this example compilation succeeds without even a warning but failure occurs
when Fwd is true.
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-bugs