njames93 added a comment.

Can you just elaborate on what the registry is used for? Is the plan to support 
potentially dynamically loading `HeaderGuardStyle` classes.
If thats the case, Then I'd argue we don't need the `HeaderGuardBase` check 
class, We can just create a `HeaderGuardCheck` class that creates an instance 
of the `HeaderGuardStyle` based on the configuration options.
Then to maintain backwards compatibility the `llvm-header-guard` could be an 
alias with the default style option set to `llvm` for example.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D142123/new/

https://reviews.llvm.org/D142123

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to