diff options
author | Martin Probst <martin@probst.io> | 2017-04-27 13:07:24 +0000 |
---|---|---|
committer | Martin Probst <martin@probst.io> | 2017-04-27 13:07:24 +0000 |
commit | 973ff79e2979abe41b1ff9d18599f7c87b6ef432 (patch) | |
tree | a886864142bd730b07884412ac068a51c0541848 /llvm/lib/DebugInfo/PDB/Native/ModuleDebugStream.cpp | |
parent | 63a978ff090444923be34e4022b2d15937d5f139 (diff) | |
download | llvm-973ff79e2979abe41b1ff9d18599f7c87b6ef432.zip llvm-973ff79e2979abe41b1ff9d18599f7c87b6ef432.tar.gz llvm-973ff79e2979abe41b1ff9d18599f7c87b6ef432.tar.bz2 |
clang-format: [JS] parse async function declarations.
Summary:
Previously, clang-format would accidentally parse an async function
declaration as a function expression, and thus not insert an unwrapped
line for async functions, causing subsequent functions to run into the
function:
async function f() {
x();
} function g() { ...
With this change, async functions get parsed as top level function
declarations and get their own unwrapped line context.
Reviewers: djasper
Subscribers: klimek, cfe-commits
Differential Revision: https://reviews.llvm.org/D32590
llvm-svn: 301538
Diffstat (limited to 'llvm/lib/DebugInfo/PDB/Native/ModuleDebugStream.cpp')
0 files changed, 0 insertions, 0 deletions