[PATCH] D136784: [Clang] Improve diagnostic message for loop hint pragma

Michael Kruse via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 27 13:17:12 PDT 2022


Meinersbur accepted this revision.
Meinersbur added a comment.
This revision is now accepted and ready to land.

LGTM



================
Comment at: clang/lib/Parse/ParsePragma.cpp:1306
   StringRef Str = PragmaName.getIdentifierInfo()->getName();
   std::string ClangLoopStr = (llvm::Twine("clang loop ") + Str).str();
   return std::string(llvm::StringSwitch<StringRef>(Str)
----------------
`ClangLoopStr` is unused now


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D136784/new/

https://reviews.llvm.org/D136784



More information about the cfe-commits mailing list