[all-commits] [llvm/llvm-project] 15a3ae: [Clang] Add __STDCPP_THREADS__ to standard predefi...

ZequanWu via All-commits all-commits at lists.llvm.org
Sun Nov 22 16:10:27 PST 2020


  Branch: refs/heads/temp-test-main
  Home:   https://github.com/llvm/llvm-project
  Commit: 15a3ae1ab1a64cc62041c32ba54914a9dd7b8361
      https://github.com/llvm/llvm-project/commit/15a3ae1ab1a64cc62041c32ba54914a9dd7b8361
  Author: Zequan Wu <zequanwu at google.com>
  Date:   2020-11-22 (Sun, 22 Nov 2020)

  Changed paths:
    M clang/include/clang/Basic/CodeGenOptions.h
    M clang/include/clang/Basic/LangOptions.def
    M clang/include/clang/Basic/LangOptions.h
    M clang/lib/CodeGen/BackendUtil.cpp
    M clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp
    M clang/lib/Frontend/CompilerInvocation.cpp
    M clang/lib/Frontend/InitPreprocessor.cpp
    A clang/test/CXX/cpp/cpp.predefined/p2.cpp
    M clang/test/Preprocessor/init-aarch64.c

  Log Message:
  -----------
  [Clang] Add __STDCPP_THREADS__ to standard predefine macros

According to https://eel.is/c++draft/cpp.predefined#2.6, `__STDCPP_THREADS__` is a predefined macro.

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




More information about the All-commits mailing list