clang
20.0.0git
include
clang
Basic
AllDiagnostics.h
Go to the documentation of this file.
1
//===--- AllDiagnostics.h - Aggregate Diagnostic headers --------*- 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
/// \file
10
/// Includes all the separate Diagnostic headers & some related helpers.
11
///
12
//===----------------------------------------------------------------------===//
13
14
#ifndef LLVM_CLANG_BASIC_ALLDIAGNOSTICS_H
15
#define LLVM_CLANG_BASIC_ALLDIAGNOSTICS_H
16
17
#include "
clang/Basic/DiagnosticAST.h
"
18
#include "
clang/Basic/DiagnosticAnalysis.h
"
19
#include "
clang/Basic/DiagnosticComment.h
"
20
#include "
clang/Basic/DiagnosticCrossTU.h
"
21
#include "
clang/Basic/DiagnosticDriver.h
"
22
#include "
clang/Basic/DiagnosticFrontend.h
"
23
#include "
clang/Basic/DiagnosticInstallAPI.h
"
24
#include "
clang/Basic/DiagnosticLex.h
"
25
#include "
clang/Basic/DiagnosticParse.h
"
26
#include "
clang/Basic/DiagnosticSema.h
"
27
#include "
clang/Basic/DiagnosticSerialization.h
"
28
#include "
clang/Basic/DiagnosticRefactoring.h
"
29
30
namespace
clang
{
31
template
<
size_t
SizeOfStr,
typename
FieldType>
32
class
StringSizerHelper
{
33
static_assert
(SizeOfStr <= FieldType(~0
U
),
"Field too small!"
);
34
public
:
35
enum
{
Size
= SizeOfStr };
36
};
37
}
// end namespace clang
38
39
#define STR_SIZE(str, fieldTy) clang::StringSizerHelper<sizeof(str)-1, \
40
fieldTy>::Size
41
42
#endif
DiagnosticAST.h
DiagnosticAnalysis.h
DiagnosticComment.h
DiagnosticCrossTU.h
DiagnosticDriver.h
DiagnosticFrontend.h
DiagnosticInstallAPI.h
DiagnosticLex.h
DiagnosticParse.h
DiagnosticRefactoring.h
DiagnosticSema.h
DiagnosticSerialization.h
U
clang::StringSizerHelper
Definition:
AllDiagnostics.h:32
clang::StringSizerHelper::Size
@ Size
Definition:
AllDiagnostics.h:35
clang
The JSON file list parser is used to communicate input to InstallAPI.
Definition:
CalledOnceCheck.h:17
Generated on Wed Nov 20 2024 18:25:46 for clang by
1.9.6