[all-commits] [llvm/llvm-project] 32a220: [libc++] NFC: Remove unused <iostream> include in ...

Louis Dionne via All-commits all-commits at lists.llvm.org
Mon Oct 5 13:41:47 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 32a2209b5c72571a2448bf0ffe88e96eb91b4784
      https://github.com/llvm/llvm-project/commit/32a2209b5c72571a2448bf0ffe88e96eb91b4784
  Author: Louis Dionne <ldionne at apple.com>
  Date:   2020-10-05 (Mon, 05 Oct 2020)

  Changed paths:
    M libcxx/src/atomic.cpp

  Log Message:
  -----------
  [libc++] NFC: Remove unused <iostream> include in atomic.cpp


  Commit: fe7245b772d5bca4a5f6cc055b18c45cc8b46902
      https://github.com/llvm/llvm-project/commit/fe7245b772d5bca4a5f6cc055b18c45cc8b46902
  Author: Louis Dionne <ldionne at apple.com>
  Date:   2020-10-05 (Mon, 05 Oct 2020)

  Changed paths:
    M libcxx/include/variant

  Log Message:
  -----------
  [libc++] NFC: Rename variant helpers to avoid name clashes

Some system headers define __constructor and __destructor macros (for
Clang attributes constructor and destructor). While this is badly
behaved, it is easy for libc++ to work around this issue.


  Commit: 477a68760b24f07a45253fb41e89368328b3a4a8
      https://github.com/llvm/llvm-project/commit/477a68760b24f07a45253fb41e89368328b3a4a8
  Author: Louis Dionne <ldionne at apple.com>
  Date:   2020-10-05 (Mon, 05 Oct 2020)

  Changed paths:
    M libcxx/src/thread.cpp

  Log Message:
  -----------
  [libc++] Use __has_include instead of complex logic in thread.cpp

We might end up including more headers than strictly necessary this way,
but it's much simpler and it makes it easier to port thread.cpp to systems
not handled by the existing conditionals.


Compare: https://github.com/llvm/llvm-project/compare/a4bae56ab8e9...477a68760b24


More information about the All-commits mailing list