================
@@ -399,7 +409,7 @@ static MoveType determineMoveType(const FunctionDecl 
*FuncDecl) {
   if (FuncDecl->getName() == "forward")
     return MoveType::Forward;
 
-  llvm_unreachable("Invalid move type");
+  return MoveType::Invalidation;
----------------
higher-performance wrote:

I can't do this. Name patterns are not necessarily exact string matches. 
(Notice how we can have `::std::move`, `std::move`, `move`, etc.)

https://github.com/llvm/llvm-project/pull/170346
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to