We can't expand lambda types anyway. Now we simply not offer the code
action instead of showing it and then returning an error in apply().
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Time | Test | |
---|---|---|
1,900 ms | x64 windows > LLVM.CodeGen/XCore::threads.ll |
Event Timeline
clang-tools-extra/clangd/refactor/tweaks/ExpandAutoType.cpp | ||
---|---|---|
73 | i'd pull out a new function and just write !isDeducedAsLambda(Node, Result.getLocation()) or so here... | |
87 | This comment makes it sound a bit more committed to fixing this than I feel :-\ I'd maybe limit this to: getDeducedType() does a traversal, which we want to avoid in prepare(). |
i'd pull out a new function and just write !isDeducedAsLambda(Node, Result.getLocation()) or so here...