Currently extract variable doesn't spell the type explicitly and just
uses an auto instead, which is not available in C.
Details
Details
- Reviewers
usaxena95 sammccall - Commits
- rG555d5ad85a49: [clangd] Disable ExtractVariable for C
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
clang-tools-extra/clangd/refactor/tweaks/ExtractVariable.cpp | ||
---|---|---|
453 | I think "non-C++" would be clearer, and don't mention obj-c at all. |
I think "non-C++" would be clearer, and don't mention obj-c at all.
Formally C++ is independent of whether obj-c is enabled, and that's relevant here.