1. Oct 06, 2018
    • Krasimir Georgiev's avatar
      [clang-format] Java import sorting in clang-format · 7e91b033
      Krasimir Georgiev authored
      Contributed by SamMaier!
      
      llvm-svn: 343862
      7e91b033
    • Stefan Granitz's avatar
      TestMultilineExpr: validate evaluation for expressions that span multiple lines · 21d1754f
      Stefan Granitz authored
      Summary:
      When LLDB successfully parses a command (like "expression" in this case) and determines incomplete input, the user can continue typing on multiple lines (in this case "2+3"). This should provide the correct result.
      Note that LLDB reverts input from the additional lines, so they are not present in the output.
      
      Reviewers: vsk, davide, aprantl
      
      Subscribers: lldb-commits
      
      Differential Revision: https://reviews.llvm.org/D52270
      
      llvm-svn: 343860
      21d1754f
    • Stefan Granitz's avatar
      Add EchoCommentCommands to CommandInterpreterRunOptions in addition to the... · c678ed77
      Stefan Granitz authored
      Add EchoCommentCommands to CommandInterpreterRunOptions in addition to the existing EchoCommands and expose both as interpreter settings.
      
      Summary:
      Add settings to control command echoing:
      ```
      (lldb) settings set interpreter.echo-commands true
      (lldb) settings set interpreter.echo-comment-commands true
      ```
      
      Both settings default to true, which keeps LLDB's existing behavior in non-interactive mode (echo all command inputs to the output).
      
      So far the only way to change this behavior was the `--source-quietly` flag, which disables all output including evaluation results.
      Now `echo-commands` allows to turn off echoing for commands, while evaluation results are still printed. No effect if `--source-quietly` was present.
      `echo-comment-commands` allows to turn off echoing for commands in case they are pure comment lines. No effect if `echo-commands` is false.
      
      Note that the behavior does not change immediately! The new settings take effect only with the next command source.
      
      LLDB lit test are the main motivation for this feature. So far incoming `#CHECK` line have always been echoed to the output and so they could never fail. Now we can disable it in lit-lldb-init.
      Todos: Finish test for this feature. Add to lit-lldb-init. Check for failing lit tests.
      
      Reviewers: aprantl, jasonmolenda, JDevlieghere
      
      Subscribers: friss, lldb-commits
      
      Differential Revision: https://reviews.llvm.org/D52788
      
      llvm-svn: 343859
      c678ed77
  2. Oct 05, 2018