[PATCH] Fix modernize-deprecated-headers clang-tidy warnings

2016-12-09 Thread Michael Sharpe via cfe-commits
The attached patch will replace C included headers with the respective C++ versions. Best regards, Michael Sharpe diff --git lib/CodeGen/CGOpenCLRuntime.cpp lib/CodeGen/CGOpenCLRuntime.cpp index 9062936..f4c961c 100644 --- lib/CodeGen/CGOpenCLRuntime.cpp +++ lib/CodeGen/CGOpenCLRuntime.cpp @@

Fix some misc-move-forwarding-reference warnings

2016-12-02 Thread Michael Sharpe via cfe-commits
Hello, The attached patch fixes a couple of incorrect uses of std::move as revealed by clang-tidy. Best regards, Michael Sharpe diff --git lib/AST/Type.cpp lib/AST/Type.cpp index d98d8d7..0d0cd2e 100644 --- lib/AST/Type.cpp +++ lib/AST/Type.cpp @@ -1050,24 +1050,24 @@ template QualType