The motivation is to be able to play with the option and change if it is required.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/include/llvm/Analysis/CaptureTracking.h | ||
---|---|---|
56–57 | 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. | |
98 | 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 | ||
---|---|---|
24–27 | Documentation please. |
llvm/include/llvm/Analysis/CaptureTracking.h | ||
---|---|---|
24–27 | 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 | ||
---|---|---|
24–27 | Now it looks almost fine. public functions should have documentation in the header. |
Documentation please.