[PATCH] D96058: [CodeComplete] Guess type for designated initializers

Sam McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 4 09:42:08 PST 2021


sammccall created this revision.
sammccall added a reviewer: kadircet.
sammccall requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

This enables:

- completion in { .x.^ }
- completion in { .x = { .^ } }
- type-based ranking of candidates for { .x = ^ }


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D96058

Files:
  clang/include/clang/Parse/Parser.h
  clang/include/clang/Sema/Sema.h
  clang/lib/Parse/ParseInit.cpp
  clang/lib/Sema/SemaCodeComplete.cpp
  clang/test/CodeCompletion/desig-init.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D96058.321495.patch
Type: text/x-patch
Size: 11529 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210204/575fbab6/attachment.bin>


More information about the cfe-commits mailing list