summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/lang/cpp/breakpoint-commands/nested.cpp
diff options
context:
space:
mode:
authorMartin Probst <martin@probst.io>2016-08-25 10:13:21 +0000
committerMartin Probst <martin@probst.io>2016-08-25 10:13:21 +0000
commit6181da4796ef8c095e3e5250413ff7e82878cba4 (patch)
treed15bbe889e7006f431ffc90df9825ee54d81319a /lldb/packages/Python/lldbsuite/test/lang/cpp/breakpoint-commands/nested.cpp
parent86ce267a4ace2ec170653611099786324808d68e (diff)
downloadbcm5719-llvm-6181da4796ef8c095e3e5250413ff7e82878cba4.tar.gz
bcm5719-llvm-6181da4796ef8c095e3e5250413ff7e82878cba4.zip
clang-format: [JS] nested and tagged template strings.
JavaScript template strings can be nested arbitrarily: foo = `text ${es.map(e => { return `<${e}>`; })} text`; This change lexes nested template strings using a stack of lexer states to correctly switch back to template string lexing on closing braces. Also, reuse the same stack for the token-stashed logic. Reviewers: djasper Subscribers: cfe-commits, klimek Differential Revision: https://reviews.llvm.org/D22431 llvm-svn: 279727
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lang/cpp/breakpoint-commands/nested.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud