clang-tools 22.0.0git
NamespaceConstants.h
Go to the documentation of this file.
1//===----------------------------------------------------------------------===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8
9#ifndef LLVM_CLANG_TOOLS_EXTRA_CLANG_TIDY_LLVMLIBC_NAMESPACECONSTANTS_H
10#define LLVM_CLANG_TOOLS_EXTRA_CLANG_TIDY_LLVMLIBC_NAMESPACECONSTANTS_H
11
12#include "llvm/ADT/StringRef.h"
13
14namespace clang::tidy::llvm_libc {
15
16const static llvm::StringRef RequiredNamespaceRefStart = "__llvm_libc";
17const static llvm::StringRef RequiredNamespaceRefMacroName = "LIBC_NAMESPACE";
18const static llvm::StringRef RequiredNamespaceDeclStart =
19 "[[gnu::visibility(\"hidden\")]] __llvm_libc";
20const static llvm::StringRef RequiredNamespaceDeclMacroName =
21 "LIBC_NAMESPACE_DECL";
22
23} // namespace clang::tidy::llvm_libc
24
25#endif // LLVM_CLANG_TOOLS_EXTRA_CLANG_TIDY_LLVMLIBC_NAMESPACECONSTANTS_H
static const llvm::StringRef RequiredNamespaceRefMacroName
static const llvm::StringRef RequiredNamespaceDeclStart
static const llvm::StringRef RequiredNamespaceDeclMacroName
static const llvm::StringRef RequiredNamespaceRefStart