[all-commits] [llvm/llvm-project] 8837ef: [clang] Apply FixIts to members declared via `usin...

Denis Fatkulin via All-commits all-commits at lists.llvm.org
Wed Aug 17 01:13:45 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8837ef4d373be3f9b4ea297596ee917a1a91377e
  Author: Denis Fatkulin <fatkulin.denis at huawei.com>
  Date:   2022-08-17 (Wed, 17 Aug 2022)

  Changed paths:
    M clang/lib/Sema/SemaCodeComplete.cpp
    M clang/test/CodeCompletion/member-access.cpp

  Log Message:
  [clang] Apply FixIts to members declared via `using` in derived classes

FixIt don't switch to arrow in derrived members with `using`

Example code:
struct Bar {
  void foo();
struct Baz {
  using Bar::foo;
void test(Baz* ptr) {

Reviewed By: kadircet

Differential Revision: https://reviews.llvm.org/D131088

More information about the All-commits mailing list