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

Alexander Kornienko alexfh at google.com
Fri Nov 22 00:41:38 PST 2013


On Fri, Nov 22, 2013 at 8:34 AM, Daniel Jasper <djasper at google.com> wrote:
>
> For what it's worth, chromium has at least one directory that has both .cc
>> and .js files. And I think it'd be nicer if a single top-level
>> .clang-format was enough, instead of having to put one into every directory
>> containing .js files.
>>
>
> I fully agree. But I think this will need an even more intricate approach
> as still the style won't be perfectly identical in almost all cases. So
> maybe the .clang-format file needs an entry per language then?
>

Probably. I'll take a look how we can represent this in a
backward-compatible manner.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20131122/e2e0685b/attachment.html>


More information about the cfe-commits mailing list