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
11namespace clang::tidy::llvm_libc {
12
13const static llvm::StringRef RequiredNamespaceRefStart = "__llvm_libc";
14const static llvm::StringRef RequiredNamespaceRefMacroName = "LIBC_NAMESPACE";
15const static llvm::StringRef RequiredNamespaceDeclStart =
16 "[[gnu::visibility(\"hidden\")]] __llvm_libc";
17const static llvm::StringRef RequiredNamespaceDeclMacroName =
18 "LIBC_NAMESPACE_DECL";
19
20} // namespace clang::tidy::llvm_libc
21

Provided by KDAB

Privacy Policy
Improve your Profiling and Debugging skills
Find out more

source code of clang-tools-extra/clang-tidy/llvmlibc/NamespaceConstants.h