The motivation is to be able to play with the option and change if it is required.
Details
Diff Detail
Event Timeline
| llvm/include/llvm/Analysis/CaptureTracking.h | ||
|---|---|---|
| 59–60 | Flipping the order of two integer parameters is somewhat risky interface change, since it does not lead to errors or even warnings at old call-sites that pass values according to the old interface. | |
| 101 | If you introduce this accessor function anyway, why dont you just specify it in all the default parameters. | |
Look good to me, but I would like to hear other opinions...
| llvm/lib/Analysis/CaptureTracking.cpp | ||
|---|---|---|
| 32 | I'm not sure if '-ct' is enough for people to figure out what it means. | |
One nit, otherwise this seems fine to me
| llvm/include/llvm/Analysis/CaptureTracking.h | ||
|---|---|---|
| 30 | Documentation please. | |
| llvm/include/llvm/Analysis/CaptureTracking.h | ||
|---|---|---|
| 30 | It is in cpp file. Would you like me to move it in hpp? | |
@fedor.sergeev Feel free to accept this w/o waiting for me
| llvm/include/llvm/Analysis/CaptureTracking.h | ||
|---|---|---|
| 30 | Now it looks almost fine. public functions should have documentation in the header. | |
Documentation please.