Displaying 2 results from an estimated 2 matches for "d23418".
2017 Mar 30
2
[GSoC 2017] Clang-based diff tool project
...1mJ6dA6XmAQ8s8Zqm_j518yoW-_QZ72e69fPG1u_nbj8/edit#slide=id.g35f391192_00 <https://docs.google.com/presentation/d/1mJ6dA6XmAQ8s8Zqm_j518yoW-_QZ72e69fPG1u_nbj8/edit#slide=id.g35f391192_00>). We are working on turning the infrastructure into a reusable set of components (https://reviews.llvm.org/D23418 <https://reviews.llvm.org/D23418>).
>
> Raphael hacked together a few lines of code, addressing Greg's proposal based on D23418.
>
>
> r1 r2
> int main(int argc, const char **argv) {
> switch (argc) {
> }
> if (argc > 2) {
> return 1;
>...
2017 Mar 23
5
[GSoC 2017] Clang-based diff tool project
My original idea was to write a semantic diff tool that just does some simple things up front:
create an MD5 from all top level blocks of the code. Start by just finding matching blocks of code ('{' and '}', '(' and ')') and remember the source locations for these and their MD5 values. Run a normal diff on the code and see what blocks the diffs fall into. Then try