[all-commits] [llvm/llvm-project] 798644: [Scalar] Fix assignment operator for long long.

Pavel Labath via All-commits all-commits at lists.llvm.org
Wed Jun 3 04:26:45 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 798644e0a4524e73e1f95202951f10f2086217c3
      https://github.com/llvm/llvm-project/commit/798644e0a4524e73e1f95202951f10f2086217c3
  Author: Andy Yankovsky <weratt at gmail.com>
  Date:   2020-06-03 (Wed, 03 Jun 2020)

  Changed paths:
    M lldb/source/Utility/Scalar.cpp
    M lldb/unittests/Utility/ScalarTest.cpp

  Log Message:
  -----------
  [Scalar] Fix assignment operator for long long.

Summary:
Assignment operator `operator=(long long)` currently allocates `sizeof(long)`.
On some platforms it works as they have `sizeof(long) == sizeof(long long)`,
but on others (e.g. Windows) it's not the case.

Reviewed By: labath

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


  Commit: a48c76cf43806c30bab5e8eacd5a08058c83c578
      https://github.com/llvm/llvm-project/commit/a48c76cf43806c30bab5e8eacd5a08058c83c578
  Author: Pavel Labath <pavel at labath.sk>
  Date:   2020-06-03 (Wed, 03 Jun 2020)

  Changed paths:
    M lldb/bindings/CMakeLists.txt

  Log Message:
  -----------
  [lldb/cmake] Tweak descriptions of swig rules

This descriptions are printed while running the command, and so the
continuous tense is more appropriate and consistent.


Compare: https://github.com/llvm/llvm-project/compare/884aaf7f645a...a48c76cf4380


More information about the All-commits mailing list