Fix oversight not checking the value of the Optional<bool> returned by isExpensiveToCopy().
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Paths
| Differential D17064
Only invoke ForRangeCopyCheck on expensive-to-copy types. ClosedPublic Authored by flx on Feb 9 2016, 8:17 PM.
Details Summary Fix oversight not checking the value of the Optional<bool> returned by isExpensiveToCopy().
Diff Detail
Event Timelineflx updated this object. This revision is now accepted and ready to land.Feb 9 2016, 10:55 PM Closed by commit rL260870: [clang-tidy] Only invoke ForRangeCopyCheck on expensive-to-copy types. (authored by flx). · Explain WhyFeb 14 2016, 7:40 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 47419 clang-tidy/performance/ForRangeCopyCheck.cpp
test/clang-tidy/performance-for-range-copy.cpp
|