[libcxx-commits] [libcxx] [libc++] Put [[gnu::nodebug]] on all internal aliases (PR #118710)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Mon Dec 9 08:01:54 PST 2024


================
@@ -0,0 +1,23 @@
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef LIBCXX_TEST_TOOLS_CLANG_TIDY_CHECKS_UTILITIES_HPP
+#define LIBCXX_TEST_TOOLS_CLANG_TIDY_CHECKS_UTILITIES_HPP
+
+#include <string_view>
+
+inline bool isUglyName(std::string_view str) {
----------------
ldionne wrote:

```suggestion
inline bool is_ugly_name(std::string_view str) {
```

More consistent?

https://github.com/llvm/llvm-project/pull/118710


More information about the libcxx-commits mailing list