njames93 added a comment.

I'd suggest possibly adding 2 Options at Global Level SourceFileExtensions and 
HeaderFileExtensions, both would take semicolon seperated lists. 
Reason they are Global is there are probably other checks that could use them.
The SourceFileExtensions could be defaulted to `.c;.cc;.cpp;.cxx` and the 
HeaderFileExtensions `.h;.hh;.hpp;<empty>`.
You need the `<empty>` because how Options get parsed, then it can manually be 
transformed to `""` when you read it.


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

https://reviews.llvm.org/D74669



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

Reply via email to