- Add assertions for other preconditions.
 - If nothing is modified, don't mark it.
 
Details
Details
Diff Detail
Diff Detail
- Repository
 - rG LLVM Github Monorepo
 
Event Timeline
| clang/lib/Tooling/Syntax/Tree.cpp | ||
|---|---|---|
| 103 | Throughout the function we use data members instead of accessors. Is one preferrable to the other?  | |
| clang/lib/Tooling/Syntax/Tree.cpp | ||
|---|---|---|
| 122 | Could you move this definition up so that it can be used in the last assert above?  | |
| clang/lib/Tooling/Syntax/Tree.cpp | ||
|---|---|---|
| 122 | Done in a separate commit: 6fbad9bf304c05d37454420f7d5a1c2ab3adab20  | |
Throughout the function we use data members instead of accessors. Is one preferrable to the other?