This patch adds a new tutorial to Clang's talks that walks through an example of a refactoring action and how it can be implemented in Clang.
Diff Detail
- Repository
- rL LLVM
Event Timeline
Awesome, thanks for the very well-illustrated tutorial!
| docs/RefactoringActionTutorial.rst | ||
|---|---|---|
| 7 | I'm a bit concerned about this. If we check in this doc before all features are implemented, it probably confuses users. | |
| 36 | merge the two ifs into just one if? | |
| 96 | It might be more sensible to provide a repository holding all source code of the sample, so that users can easily build and play around it. | |
| 122 | s/describes/described | |
| 167 | An out-of-scope comment: the new code after refactoring may not be equivalent to the original one because of operator precedence. | |
| docs/RefactoringEngine.rst | ||
| 21 | s/a/at | |
| docs/RefactoringActionTutorial.rst | ||
|---|---|---|
| 90 | Will there be functionality like add-new-check.py in clang-tidy? Maybe we could work on this to ease getting started. | |
| docs/RefactoringActionTutorial.rst | ||
|---|---|---|
| 236 | i think the final after the colon should be public instead. | |
| docs/RefactoringActionTutorial.rst | ||
|---|---|---|
| 98–99 | The includes are missing Tooling -> clang/Tooling/Refactoring/.... | |
| docs/RefactoringActionTutorial.rst | ||
|---|---|---|
| 7 | I'm not too concerned about this. The code is already there, so I believe more docs are better :) | |
| 41–42 | This looks like an example that's a better fit for clang-tidy? | |
I'm a bit concerned about this. If we check in this doc before all features are implemented, it probably confuses users.