[all-commits] [llvm/llvm-project] 621746: [lldb][NFC] Remove support file searching from Sou...

Raphael Isemann via All-commits all-commits at lists.llvm.org
Tue Feb 11 09:50:49 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 62174682a039efce2ce7606d5416d2450ff42dab
      https://github.com/llvm/llvm-project/commit/62174682a039efce2ce7606d5416d2450ff42dab
  Author: Raphael Isemann <teemperor at gmail.com>
  Date:   2020-02-11 (Tue, 11 Feb 2020)

  Changed paths:
    M lldb/include/lldb/Interpreter/CommandCompletions.h
    M lldb/source/Commands/CommandCompletions.cpp

  Log Message:
  -----------
  [lldb][NFC] Remove support file searching from SourceFileCompleter

This code seems wrong as the directory variable actually contains
the file name. It's also unreachable code as m_include_support_files
is hardcoded to false which is the condition for the surrounding 'if
statement'. Let's just remove all of this.




More information about the All-commits mailing list