[PATCH] D124486: [clangd] ExtractVariable support for C and Objective-C
David Goldman via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Apr 26 16:46:57 PDT 2022
dgoldman created this revision.
Herald added subscribers: usaxena95, kadircet, arphaman.
Herald added a project: All.
dgoldman requested review of this revision.
Herald added subscribers: cfe-commits, MaskRay, ilya-biryukov.
Herald added a project: clang-tools-extra.
- Use the expression's type for non-C++ as the variable type. This works well, but might not preserve the typedefs due to type canonicalization.
- Improve support for Objective-C property references which are represented using `ObjCPropertyRefExpr` and `BuiltinType::PseudoObject`.
rG LLVM Github Monorepo
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 7886 bytes
Desc: not available
More information about the cfe-commits