diff options
author | Daniel Jasper <djasper@google.com> | 2017-03-01 19:26:12 +0000 |
---|---|---|
committer | Daniel Jasper <djasper@google.com> | 2017-03-01 19:26:12 +0000 |
commit | 01b8783a05c2d0d5312c9314afbc3be8b6d37f64 (patch) | |
tree | 16f85c20574bb69f9d84ddb1bf52d2831a653820 /llvm/lib/CodeGen/CodeGen.cpp | |
parent | f947d8d16319bd3309ebdee5b68758272fbf9179 (diff) | |
download | llvm-01b8783a05c2d0d5312c9314afbc3be8b6d37f64.zip llvm-01b8783a05c2d0d5312c9314afbc3be8b6d37f64.tar.gz llvm-01b8783a05c2d0d5312c9314afbc3be8b6d37f64.tar.bz2 |
clang-format: [JS/TS] Properly understand cast expressions.
Many things were wrong:
- We didn't always allow wrapping after "as", which can be necessary.
- We used to Undestand the identifier after "as" as a start of a name.
- We didn't properly parse the structure of the expression with "as"
having the precedence of relational operators
llvm-svn: 296659
Diffstat (limited to 'llvm/lib/CodeGen/CodeGen.cpp')
0 files changed, 0 insertions, 0 deletions