]> granicus.if.org Git - clang/commit
Added LanguageStandard::LS_JavaScript to gate all JS-specific parsing.
authorAlexander Kornienko <alexfh@google.com>
Fri, 29 Nov 2013 15:19:43 +0000 (15:19 +0000)
committerAlexander Kornienko <alexfh@google.com>
Fri, 29 Nov 2013 15:19:43 +0000 (15:19 +0000)
commitd7e014572d42f5aa4370f52169a59088c0412246
tree332c6d85be14133172ed6255a500195b43319ee7
parent1361a6ffccda7080ea923106b62023325a451c0b
Added LanguageStandard::LS_JavaScript to gate all JS-specific parsing.

Summary:
Use LS_JavaScript for files ending with ".js". Added support for ">>>="
operator.

Reviewers: djasper, klimek

Reviewed By: djasper

CC: cfe-commits, klimek
Differential Revision: http://llvm-reviews.chandlerc.com/D2242

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@195961 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Format/Format.h
lib/Format/Format.cpp
test/Format/language-detection.cpp [new file with mode: 0644]
unittests/Format/FormatTest.cpp