forked from andreasfertig/cppinsights
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Major rewrite to catch even more statements.
Initially a lot of AST matchers where involved to match certain hand-picked statements (like range-based for loops, auto or if-statements). With the evolution C++ Insights this became a burden as all the matchers needed to be locked against each other. Failing here lead to a couple of issues. Another drawback is, that there are code parts which remained untouched. Now, this patch removes most of these AST matchers and instead matches FunctionsDecl's. This should rewrite all functions, classes and function / class templates. With that C++ Insights should have a much broader rewrite coverage. However, there is another disadvantage. The code does look less beautiful as some newlines are missing. clang-format can correct these on local installations so for now it is accepted.
- Loading branch information
Andreas Fertig
committed
Jul 14, 2018
1 parent
c64c1f2
commit b6c1a54
Showing
215 changed files
with
4,844 additions
and
4,040 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.