diff options
author | Martin Probst <martin@probst.io> | 2020-01-17 10:44:10 +0100 |
---|---|---|
committer | Martin Probst <martin@probst.io> | 2020-01-17 13:39:05 +0100 |
commit | 9835cf159014f40e8ea655d0bb3a341ef7ec34f7 (patch) | |
tree | 0bf414f01612b87e29cc9448511b0dd038097bdc /llvm/lib/CodeGen/ReachingDefAnalysis.cpp | |
parent | 33463cfba2be7c8d6c08e666123cc34f114a1f3e (diff) | |
download | llvm-9835cf159014f40e8ea655d0bb3a341ef7ec34f7.zip llvm-9835cf159014f40e8ea655d0bb3a341ef7ec34f7.tar.gz llvm-9835cf159014f40e8ea655d0bb3a341ef7ec34f7.tar.bz2 |
clang-format: [JS] pragmas for tslint, tsc.
Summary:
tslint and tsc (the TypeScript compiler itself) use comment pragmas of
the style:
// tslint:disable-next-line:foo
// @ts-ignore
These must not be wrapped and must stay on their own line, in isolation.
For tslint, this required adding it to the pragma regexp. The comments
starting with `@` are already left alone, but this change adds test
coverage for them.
Reviewers: krasimir
Subscribers: cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D72907
Diffstat (limited to 'llvm/lib/CodeGen/ReachingDefAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions