banach-space / clang-tutor

A collection of out-of-tree Clang plugins for teaching and learning
The Unlicense
659 stars 62 forks source link

Make CodeStyleChecker to be used in a real compilation process. #34

Open tylzh97 opened 1 month ago

tylzh97 commented 1 month ago

Adding the getActionType method to allow the clang plugin to automatically load plugins during the compilation process.

banach-space commented 1 month ago

Nice, I forgot about this! Could you add some more docs, in particular a reference to https://clang.llvm.org/docs/ClangPlugins.html#using-the-clang-command-line? Both in README and in the code?

Importantly, how can we test this?

tylzh97 commented 1 month ago

I have added some documents and passed all test cases of lit.

banach-space commented 2 weeks ago

Ping @tylzh97 :)