[all-commits] [llvm/llvm-project] 2c60d2: [clang] disable P2266 simpler implicit moves under...

Matheus Izvekov via All-commits all-commits at lists.llvm.org
Wed Jul 7 15:13:27 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2c60d22610325bcd6fb4c4bcc8b522b9fdfb46ee
      https://github.com/llvm/llvm-project/commit/2c60d22610325bcd6fb4c4bcc8b522b9fdfb46ee
  Author: Matheus Izvekov <mizvekov at gmail.com>
  Date:   2021-07-08 (Thu, 08 Jul 2021)

  Changed paths:
    M clang/lib/Frontend/InitPreprocessor.cpp
    M clang/lib/Sema/SemaStmt.cpp
    A clang/test/SemaCXX/cxx2b-p2266-disable-with-msvc-compat.cpp

  Log Message:
  -----------
  [clang] disable P2266 simpler implicit moves under -fms-compatibility

The Microsoft STL currently has some issues with P2266.
We disable it for now in that mode, but we might come back later with a
more targetted approach.

Signed-off-by: Matheus Izvekov <mizvekov at gmail.com>

Reviewed By: aaron.ballman

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




More information about the All-commits mailing list