We cannot expand auto when used inside a template param (C++17 feature),
so do not offer it there.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D94719
[clangd] Make ExpandAutoType not available on template params. ClosedPublic Authored by adamcz on Jan 14 2021, 1:44 PM.
Details Summary We cannot expand auto when used inside a template param (C++17 feature),
Diff Detail
Event TimelineHerald added subscribers: usaxena95, kadircet, arphaman. · View Herald TranscriptJan 14 2021, 1:44 PM This revision is now accepted and ready to land.Jan 15 2021, 1:16 AM Closed by commit rGaeaeb9e6bdc9: [clangd] Make ExpandAutoType not available on template params. (authored by adamcz). · Explain WhyJan 15 2021, 5:26 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 316911 clang-tools-extra/clangd/refactor/tweaks/ExpandAutoType.cpp
clang-tools-extra/clangd/unittests/tweaks/ExpandAutoTypeTests.cpp
|