From 20871a3a0744e9221b83a8def50232fe822bd316 Mon Sep 17 00:00:00 2001 From: Chris Kitching Date: Thu, 26 Oct 2017 04:30:38 +0100 Subject: [PATCH] Remove commented else-block A warning statement for _string literals_ seems a bit unhelpful. There's no value in this being here. --- hipify-clang/src/Cuda2Hip.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/hipify-clang/src/Cuda2Hip.cpp b/hipify-clang/src/Cuda2Hip.cpp index ae83d7f794..a1cf80fde9 100644 --- a/hipify-clang/src/Cuda2Hip.cpp +++ b/hipify-clang/src/Cuda2Hip.cpp @@ -166,10 +166,8 @@ protected: FullSourceLoc fullSL(sl, SM); insertReplacement(Rep, fullSL); } - } else { - // std::string msg = "the following reference is not handled: '" + name.str() + "' [string literal]."; - // printHipifyMessage(SM, start, msg); } + if (end == StringRef::npos) { break; }