• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 //===--- NamespaceConstants.h -----------------------------------*- C++ -*-===//
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 #include "llvm/ADT/StringRef.h"
10 
11 namespace clang::tidy::llvm_libc {
12 
13 const static llvm::StringRef RequiredNamespaceRefStart = "__llvm_libc";
14 const static llvm::StringRef RequiredNamespaceRefMacroName = "LIBC_NAMESPACE";
15 const static llvm::StringRef RequiredNamespaceDeclStart =
16     "[[gnu::visibility(\"hidden\")]] __llvm_libc";
17 const static llvm::StringRef RequiredNamespaceDeclMacroName =
18     "LIBC_NAMESPACE_DECL";
19 
20 } // namespace clang::tidy::llvm_libc
21