amccarth created this revision. amccarth added reviewers: thakis, nullptr.cpp. amccarth requested review of this revision.
This warning is no longer needed, but at least a few open source projects still build with this option (and `-Werror`). Accepting but ignoring the option keeps these projects building. https://reviews.llvm.org/D96971 Files: clang/include/clang/Basic/DiagnosticGroups.td Index: clang/include/clang/Basic/DiagnosticGroups.td =================================================================== --- clang/include/clang/Basic/DiagnosticGroups.td +++ clang/include/clang/Basic/DiagnosticGroups.td @@ -499,6 +499,7 @@ def Padded : DiagGroup<"padded">; def PessimizingMove : DiagGroup<"pessimizing-move">; +def : DiagGroup<"return-std-move-in-c++11">; def ReturnStdMove : DiagGroup<"return-std-move">; def PointerArith : DiagGroup<"pointer-arith">;
Index: clang/include/clang/Basic/DiagnosticGroups.td =================================================================== --- clang/include/clang/Basic/DiagnosticGroups.td +++ clang/include/clang/Basic/DiagnosticGroups.td @@ -499,6 +499,7 @@ def Padded : DiagGroup<"padded">; def PessimizingMove : DiagGroup<"pessimizing-move">; +def : DiagGroup<"return-std-move-in-c++11">; def ReturnStdMove : DiagGroup<"return-std-move">; def PointerArith : DiagGroup<"pointer-arith">;
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits