diff options
author | Shaurya Gupta <shauryab98@gmail.com> | 2019-10-02 13:52:14 +0000 |
---|---|---|
committer | Shaurya Gupta <shauryab98@gmail.com> | 2019-10-02 13:52:14 +0000 |
commit | a24762e773d90c9e195d763297ef04af42ff2e34 (patch) | |
tree | 81a53f4eced94fdac563077b105c881d2a6cc1b7 /llvm/lib/Transforms/Utils/CodeExtractor.cpp | |
parent | f1758079540c17166f0ac439af1e8f609cd94735 (diff) | |
download | bcm5719-llvm-a24762e773d90c9e195d763297ef04af42ff2e34.tar.gz bcm5719-llvm-a24762e773d90c9e195d763297ef04af42ff2e34.zip |
[Clangd] ExtractFunction: Don't extract body of enclosing function.
Summary:
This patch disable extraction of the body of the enclosing function.
`void f() [[{}]]`
Extracting this CompoundStmt would leave the enclosing function without
a body.
Reviewers: sammccall, kadircet
Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, usaxena95, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D68245
llvm-svn: 373472
Diffstat (limited to 'llvm/lib/Transforms/Utils/CodeExtractor.cpp')
0 files changed, 0 insertions, 0 deletions