[PATCH] Added LanguageStandard::LS_JavaScript to gate all JS-specific parsing.

Manuel Klimek klimek at google.com
Thu Nov 21 10:45:06 PST 2013


On Thu, Nov 21, 2013 at 7:38 PM, Daniel Jasper <djasper at google.com> wrote:

>
>   After thinking some more, I guess my main reason is that I strongly doubt
>   that we'll ever have a JavaScript style and a C++ style that are
> identical
>   in all aspects other than the LanguageStandard.. So, the detection based
> on
>   the file extension inside clang-format will likely be redundant..
>

I think this would be useful for mixed open source projects (or companies
without an existing style guide).
One interesting point is that our configuration is very "repo" centric, and
there are enough mixed repos out there - how would we want to support this
without major setup effort required for every engineer contributing to a
project...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20131121/cc8170fd/attachment.html>


More information about the cfe-commits mailing list