Constructors can have implicit initializers, this was crashing define
outline. Make sure we find the first "written" ctor initializer to figure out
: location.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D80521
[clangd] Make use of SourceOrder to find first initializer in DefineOutline ClosedPublic Authored by kadircet on May 25 2020, 8:27 AM.
Details Summary Constructors can have implicit initializers, this was crashing define
Diff Detail
Event TimelineThis revision is now accepted and ready to land.May 25 2020, 9:13 AM Closed by commit rGeeedbd033612: [clangd] Make use of SourceOrder to find first initializer in DefineOutline (authored by kadircet). · Explain WhyMay 25 2020, 11:00 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 266106 clang-tools-extra/clangd/refactor/tweaks/DefineOutline.cpp
clang-tools-extra/clangd/unittests/TweakTests.cpp
|