FailedChanges

Summary

  1. [SelectionDAG] Replace llvm_unreachable at the end of getCopyFromParts with a report_fatal_error. Based on PR41748, not all cases are handled in this function. llvm_unreachable is treated as an optimization hint than can prune code paths in a release build. This causes weird behavior when PR41748 is encountered on a release build. It appears to generate an fp_round instruction from the floating point code. Making this a report_fatal_error prevents incorrect optimization of the code and will instead generate a message to file a bug report.
Revision 360008 by ctopper:
[SelectionDAG] Replace llvm_unreachable at the end of getCopyFromParts with a report_fatal_error.

Based on PR41748, not all cases are handled in this function.

llvm_unreachable is treated as an optimization hint than can prune code paths
in a release build. This causes weird behavior when PR41748 is encountered on a
release build. It appears to generate an fp_round instruction from the floating
point code.

Making this a report_fatal_error prevents incorrect optimization of the code
and will instead generate a message to file a bug report.
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpptrunk/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp

Summary

  1. [c++20] Implement P1009R2: allow omitting the array bound in an array new expression. This was voted into C++20 as a defect report resolution, so we retroactively apply it to all prior language modes (though it can never actually be used before C++11 mode).
  2. The 'CodeGenObjC/illegal-UTF8.m' get failed with Clang built with 32-bit targets only (as example ARM-only) with the following error: error: unable to create target: 'No available targets are compatible with triple "< ... any 64-bit target triple ... >"' I didn't find any 64-bit dependencies for the test and I think removing '-m64' option should fix the problem and allow this test for any target specified by LLVM_DEFAULT_TARGET_TRIPLE. Patch by Vlad Vereschaka. Differential Revision: https://reviews.llvm.org/D61345
Revision 360006 by rsmith:
[c++20] Implement P1009R2: allow omitting the array bound in an array
new expression.

This was voted into C++20 as a defect report resolution, so we
retroactively apply it to all prior language modes (though it can never
actually be used before C++11 mode).
Change TypePath in RepositoryPath in Workspace
The file was modified/cfe/trunk/include/clang/AST/ExprCXX.htrunk/include/clang/AST/ExprCXX.h
The file was modified/cfe/trunk/include/clang/AST/Stmt.htrunk/include/clang/AST/Stmt.h
The file was modified/cfe/trunk/include/clang/ASTMatchers/ASTMatchers.htrunk/include/clang/ASTMatchers/ASTMatchers.h
The file was modified/cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.tdtrunk/include/clang/Basic/DiagnosticSemaKinds.td
The file was modified/cfe/trunk/include/clang/Sema/Sema.htrunk/include/clang/Sema/Sema.h
The file was modified/cfe/trunk/lib/AST/ASTImporter.cpptrunk/lib/AST/ASTImporter.cpp
The file was modified/cfe/trunk/lib/AST/ExprCXX.cpptrunk/lib/AST/ExprCXX.cpp
The file was modified/cfe/trunk/lib/AST/StmtPrinter.cpptrunk/lib/AST/StmtPrinter.cpp
The file was modified/cfe/trunk/lib/Analysis/CFG.cpptrunk/lib/Analysis/CFG.cpp
The file was modified/cfe/trunk/lib/CodeGen/CGExprCXX.cpptrunk/lib/CodeGen/CGExprCXX.cpp
The file was modified/cfe/trunk/lib/Parse/ParseExprCXX.cpptrunk/lib/Parse/ParseExprCXX.cpp
The file was modified/cfe/trunk/lib/Sema/SemaExprCXX.cpptrunk/lib/Sema/SemaExprCXX.cpp
The file was modified/cfe/trunk/lib/Sema/TreeTransform.htrunk/lib/Sema/TreeTransform.h
The file was modified/cfe/trunk/lib/StaticAnalyzer/Checkers/MallocChecker.cpptrunk/lib/StaticAnalyzer/Checkers/MallocChecker.cpp
The file was modified/cfe/trunk/test/CodeGenCXX/new-array-init.cpptrunk/test/CodeGenCXX/new-array-init.cpp
The file was modified/cfe/trunk/test/PCH/cxx-exprs.cpptrunk/test/PCH/cxx-exprs.cpp
The file was modified/cfe/trunk/test/SemaCXX/new-delete.cpptrunk/test/SemaCXX/new-delete.cpp
The file was modified/cfe/trunk/tools/libclang/CIndex.cpptrunk/tools/libclang/CIndex.cpp
The file was modified/cfe/trunk/www/cxx_status.htmltrunk/www/cxx_status.html
Revision 360005 by gkistanova:
The 'CodeGenObjC/illegal-UTF8.m' get failed with Clang built with 32-bit targets only (as example ARM-only) with the following error:

error: unable to create target: 'No available targets are compatible with triple "< ... any 64-bit target triple ... >"'

I didn't find any 64-bit dependencies for the test and I think removing '-m64' option should fix the problem and allow this test for any target specified by LLVM_DEFAULT_TARGET_TRIPLE.

Patch by Vlad Vereschaka.

Differential Revision: https://reviews.llvm.org/D61345
Change TypePath in RepositoryPath in Workspace
The file was modified/cfe/trunk/test/CodeGenObjC/illegal-UTF8.mtrunk/test/CodeGenObjC/illegal-UTF8.m

Summary

  1. Fix up after r360006.
Revision 360007 by rsmith:
Fix up after r360006.
Change TypePath in RepositoryPath in Workspace
The file was modified/clang-tools-extra/trunk/clang-tidy/modernize/MakeSmartPtrCheck.cpptrunk/clang-tidy/modernize/MakeSmartPtrCheck.cpp