clang-format: [JS] exponentiation operator
authorMartin Probst <martin@probst.io>
Thu, 4 May 2017 15:04:04 +0000 (15:04 +0000)
committerMartin Probst <martin@probst.io>
Thu, 4 May 2017 15:04:04 +0000 (15:04 +0000)
commit4ef0370e6dbd6fb995eb89ad943a93e0995aed44
treeeed6af0a1d0cd401f58223da98aa1c7048de46a6
parent808f2d3c620f922b6bab2b5275b6a83d6eb69221
clang-format: [JS] exponentiation operator

Summary: While its precedence should be higher than multiplicative, LLVM does not have a level for that, so for the time being just treat it as multiplicative.

Reviewers: djasper

Subscribers: cfe-commits, klimek

Differential Revision: https://reviews.llvm.org/D32864

llvm-svn: 302156
clang/lib/Format/FormatToken.h
clang/lib/Format/FormatTokenLexer.cpp
clang/unittests/Format/FormatTestJS.cpp