[all-commits] [llvm/llvm-project] c131df: [lldb] Disable auto fix-its when evaluating expres...

Raphael Isemann via All-commits all-commits at lists.llvm.org
Mon Feb 24 00:31:39 PST 2020


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

  Changed paths:
    M lldb/packages/Python/lldbsuite/test/lldbtest.py
    M lldb/test/API/lang/cpp/operators/main.cpp
    M lldb/test/Shell/lit-lldb-init.in

  Log Message:
  -----------
  [lldb] Disable auto fix-its when evaluating expressions in the test suite

Summary:
Currently the test suite runs with enabled automatically applied Clang fix-its for expressions.
This is causing that sometimes incorrect expressions in tests are still evaluated even though they
are actually incorrect. Let's disable this feature in the test suite so that we know when expressions
are wrong and leave the fix-it testing to the dedicated tests for that feature.

Also updates the `lang/cpp/operators/` test as it seems Clang needs the `struct` keywords
before C and would otherwise fail without fixits.

Reviewers: jingham, JDevlieghere, shafik

Reviewed By: JDevlieghere, shafik

Subscribers: shafik, lldb-commits

Tags: #lldb

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




More information about the All-commits mailing list