[all-commits] [llvm/llvm-project] 665efe: [libc] Add LIBC_NAMESPACE_DECL macro (#97109)

PiJoules via All-commits all-commits at lists.llvm.org
Wed Jul 3 17:03:19 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 665efe896746b1dd138773e6e4d300ec97de27c2
      https://github.com/llvm/llvm-project/commit/665efe896746b1dd138773e6e4d300ec97de27c2
  Author: PiJoules <6019989+PiJoules at users.noreply.github.com>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M libc/docs/dev/clang_tidy_checks.rst
    M libc/docs/dev/code_style.rst
    M libc/docs/dev/implementation_standard.rst
    M libc/src/__support/macros/config.h

  Log Message:
  -----------
  [libc] Add LIBC_NAMESPACE_DECL macro (#97109)

This defines to LIBC_NAMESPACE with
`__attribute__((visibility("hidden")))` so all the symbols under it have
hidden visibility. This new macro should be used when declaring a new
namespace that will have internal functions/globals and LIBC_NAMESPACE
should be used as a means of accessing functions/globals declared within
LIBC_NAMESPACE_DECL.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list