[PATCH] D149104: [Demangle] use moar std::string_view

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 24 16:27:59 PDT 2023


MaskRay added inline comments.


================
Comment at: llvm/lib/Demangle/Demangle.cpp:39
+namespace {
+bool isItaniumEncoding(std::string_view S) {
+  return starts_with(S, "_Z") || starts_with(S, "___Z");
----------------
LLVM Coding Style prefers `static` to an anonymous namespace.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D149104



More information about the llvm-commits mailing list