[all-commits] [llvm/llvm-project] 33e3ed: [CodeComplete] Complete members of dependent `auto...
Sam McCall via All-commits
all-commits at lists.llvm.org
Thu Dec 15 07:10:51 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 33e3edde44952ed2be44ad00e6cb73208580bb85
https://github.com/llvm/llvm-project/commit/33e3edde44952ed2be44ad00e6cb73208580bb85
Author: Sam McCall <sam.mccall at gmail.com>
Date: 2022-12-15 (Thu, 15 Dec 2022)
Changed paths:
M clang/lib/Sema/SemaCodeComplete.cpp
M clang/test/CodeCompletion/member-access.cpp
Log Message:
-----------
[CodeComplete] Complete members of dependent `auto` variables
When the initializer of an `auto` variable is dependent, clang doesn't give the
DeclRefExpr a useful dependent type that we can apply heuristics to.
However we can dig one up by looking at the initializer.
Differential Revision: https://reviews.llvm.org/D140044
More information about the All-commits
mailing list