[all-commits] [llvm/llvm-project] 11a5ca: [lldb][NFC] Refactor Fix-It filter for warnings

Raphael Isemann via All-commits all-commits at lists.llvm.org
Mon Mar 30 05:01:45 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 11a5caee2aeae2546213366e7fc54095bb8163b9
      https://github.com/llvm/llvm-project/commit/11a5caee2aeae2546213366e7fc54095bb8163b9
  Author: Raphael Isemann <teemperor at gmail.com>
  Date:   2020-03-30 (Mon, 30 Mar 2020)

  Changed paths:
    M lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp

  Log Message:
  -----------
  [lldb][NFC] Refactor Fix-It filter for warnings

LLDB only automatically applies Fix-Its from errors, but not from warnings.

Currently we only store Fix-Its from errors and then later apply all Fix-Its
we stored. This moves the filter to the application phase, so that we now
store *all* Fix-Its but only apply Fix-Its from errors later on.

This is NFC preparation for an upcoming patch.




More information about the All-commits mailing list