1. Jun 03, 2020
    • Konrad Kleine's avatar
      [lldb] NFC remove DISALLOW_COPY_AND_ASSIGN · eaebcbc6
      Konrad Kleine authored
      Summary:
      This is how I applied my clang-tidy check (see
      https://reviews.llvm.org/D80531) in order to remove
      `DISALLOW_COPY_AND_ASSIGN` and have deleted copy ctors and deleted
      assignment operators instead.
      
      ```
      lang=bash
      grep DISALLOW_COPY_AND_ASSIGN /opt/notnfs/kkleine/llvm/lldb -r -l | sort | uniq > files
      
      for i in $(cat files);
      do
        clang-tidy \
          --checks="-*,modernize-replace-disallow-copy-and-assign-macro" \
          --format-style=LLVM \
          --header-filter=.* \
          --fix \
          -fix-errors \
          $i;
      done
      ```
      
      Reviewers: espindola, labath, aprantl, teemperor
      
      Reviewed By: labath, aprantl, teemperor
      
      Subscribers: teemperor, aprantl, labath, emaste, sbc100, aheejin, MaskRay, arphaman, usaxena95, lldb-commits
      
      Tags: #lldb
      
      Differential Revision: https://reviews.llvm.org/D80543
      eaebcbc6
    • Zequan Wu's avatar
      [Clang] Add a new warning to warn when passing uninitialized variables as... · 170b6869
      Zequan Wu authored
      [Clang] Add a new warning to warn when passing uninitialized variables as const reference parameters to a function
      
      Summary:
      Add a new warning -Wuninitialized-const-reference as a subgroup of -Wuninitialized to address a bug filed here: https://bugs.llvm.org/show_bug.cgi?id=45624
      
      This warning is controlled by -Wuninitialized and can be disabled by -Wno-uninitialized-const-reference.
      The warning is diagnosed when passing uninitialized variables as const reference parameters to a function.
      
      Differential Revision: https://reviews.llvm.org/D79895
      170b6869
    • Min-Yih Hsu's avatar
      Support ExtVectorType conditional operator · 4431d64c
      Min-Yih Hsu authored
      Extension vectors now can be used in element-wise conditional selector.
      For example:
      ```
      R[i] = C[i]? A[i] : B[i]
      ```
      This feature was previously only enabled in OpenCL C. Now it's also
      available in C. Not that it has different behaviors than GNU vectors
      (i.e. __vector_size__). Extension vectors selects on signdness of the
      vector. GNU vectors on the other hand do normal bool conversions. Also,
      this feature is not available in C++.
      
      Differential Revision: https://reviews.llvm.org/D80574
      4431d64c
    • Pavel Labath's avatar
      [lldb] Skip tests exercising DW_OP_GNU_entry_value with dsymutil · de04375a
      Pavel Labath authored
      It seems that this opcode needs explicit support in dsymutil. Disable
      these tests until that is implemented.
      de04375a
    • Louis Dionne's avatar
      [libc++abi] Make sure we link in CrashReporterClient.a when it's present · 6f6c8a2d
      Louis Dionne authored
      When building the system libc++abi for Apple, we use CrashReporterClient
      to provide better crash logs when calling abort(). This is exemplified by
      the fact that we test for the presence of <CrashReporterClient.h> in
      abort_message.cpp.
      
      However, we must link against CrashReporterClient.a in order to get that
      functionality, otherwise we get a linking error.
      6f6c8a2d
  2. Jun 02, 2020