1. Sep 04, 2019
  2. Sep 03, 2019
    • Kerry McLaughlin's avatar
      [SVE][Inline-Asm] Fix -Wimplicit-fallthrough in AArch64ISelLowering.cpp · 7b5c6b8d
      Kerry McLaughlin authored
      Summary: Adds break to 'x' case in getRegForInlineAsmConstraint added by D66302, fixing the unintentional fallthrough.
      
      Reviewers: sdesmalen, rovka, cameron.mcinally, greened, gribozavr, ruiu
      
      Reviewed By: sdesmalen
      
      Subscribers: bjope, javed.absar, tschuett, kristof.beyls, rkruppe, psnobl, llvm-commits, cfe-commits
      
      Tags: #llvm
      
      Differential Revision: https://reviews.llvm.org/D67095
      
      llvm-svn: 370769
      7b5c6b8d
    • Sam McCall's avatar
      [clangd] Move getBeginningOfIdentifier from ClangdUnit to SourceCode. Drop... · 19cefc28
      Sam McCall authored
      [clangd] Move getBeginningOfIdentifier from ClangdUnit to SourceCode. Drop dependencies on ClangdUnit from some headers. NFC
      
      llvm-svn: 370768
      19cefc28
    • Kristof Umann's avatar
      [analyzer] Add a checker option to detect nested dead stores · 3b18b050
      Kristof Umann authored
      Enables the users to specify an optional flag which would warn for more dead
      stores.
      Previously it ignored if the dead store happened e.g. in an if condition.
      
      if ((X = generate())) { // dead store to X
      }
      
      This patch introduces the `WarnForDeadNestedAssignments` option to the checker,
      which is `false` by default - so this change would not affect any previous
      users.
      I have updated the code, tests and the docs as well. If I missed something, tell
      me.
      
      I also ran the analysis on Clang which generated 14 more reports compared to the
      unmodified version. All of them seemed reasonable for me.
      
      Related previous patches:
      rGf224820b
      
      Reviewers: NoQ, krememek, Szelethus, baloghadamsoftware
      
      Reviewed By: Szelethus
      
      Patch by Balázs Benics!
      
      Differential Revision: https://reviews.llvm.org/D66733
      
      llvm-svn: 370767
      3b18b050
    • Michael Liao's avatar
      [clangd] Remove redundant semi-colon. · de524038
      Michael Liao authored
      llvm-svn: 370763
      de524038