[all-commits] [llvm/llvm-project] 193f45: [libc++] Remove overly conservative error in <stda...

Louis Dionne via All-commits all-commits at lists.llvm.org
Mon May 16 12:30:28 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 193f458c30106b114b81cb7b2d21de41099f5191
      https://github.com/llvm/llvm-project/commit/193f458c30106b114b81cb7b2d21de41099f5191
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2022-05-16 (Mon, 16 May 2022)

  Changed paths:
    M libcxx/include/stdatomic.h
    M libcxx/test/libcxx/atomics/atomics.syn/incompatible_with_stdatomic.verify.cpp
    R libcxx/test/libcxx/atomics/stdatomic.h.syn/incompatible_with_atomic.verify.cpp

  Log Message:
  -----------
  [libc++] Remove overly conservative error in <stdatomic.h>

As mentionned in D97044, it is fine if users include <atomic> and then
include <stdatomic.h> -- we don't need to error out for that case.

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




More information about the All-commits mailing list