[all-commits] [llvm/llvm-project] 583223: [LLDB][NativePDB] Don't complete static members' t...

Zequan Wu via All-commits all-commits at lists.llvm.org
Tue Mar 15 14:07:50 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 583223cd5ec42f369702a146eaac1bf20bdfbd46
      https://github.com/llvm/llvm-project/commit/583223cd5ec42f369702a146eaac1bf20bdfbd46
  Author: Zequan Wu <zequanwu at google.com>
  Date:   2022-03-15 (Tue, 15 Mar 2022)

  Changed paths:
    M lldb/source/Plugins/SymbolFile/NativePDB/PdbAstBuilder.cpp
    M lldb/source/Plugins/SymbolFile/NativePDB/UdtRecordCompleter.cpp
    A lldb/test/Shell/SymbolFile/NativePDB/Inputs/lookup-by-types.lldbinit
    A lldb/test/Shell/SymbolFile/NativePDB/lookup-by-types.cpp

  Log Message:
  -----------
  [LLDB][NativePDB] Don't complete static members' types when completing a record type.

`UdtRecordCompleter` shouldn't complete static members' types. static members' types are going to be completed when the types are called in `SymbolFile::CompleteType`.

Reviewed By: labath

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




More information about the All-commits mailing list