clang
7.0.0
include
clang
Basic
AllDiagnostics.h
Go to the documentation of this file.
1
//===--- AllDiagnostics.h - Aggregate Diagnostic headers --------*- C++ -*-===//
2
//
3
// The LLVM Compiler Infrastructure
4
//
5
// This file is distributed under the University of Illinois Open Source
6
// License. See LICENSE.TXT for details.
7
//
8
//===----------------------------------------------------------------------===//
9
///
10
/// \file
11
/// Includes all the separate Diagnostic headers & some related helpers.
12
///
13
//===----------------------------------------------------------------------===//
14
15
#ifndef LLVM_CLANG_BASIC_ALLDIAGNOSTICS_H
16
#define LLVM_CLANG_BASIC_ALLDIAGNOSTICS_H
17
18
#include "
clang/AST/ASTDiagnostic.h
"
19
#include "
clang/AST/CommentDiagnostic.h
"
20
#include "
clang/Analysis/AnalysisDiagnostic.h
"
21
#include "
clang/CrossTU/CrossTUDiagnostic.h
"
22
#include "
clang/Driver/DriverDiagnostic.h
"
23
#include "
clang/Frontend/FrontendDiagnostic.h
"
24
#include "
clang/Lex/LexDiagnostic.h
"
25
#include "
clang/Parse/ParseDiagnostic.h
"
26
#include "
clang/Sema/SemaDiagnostic.h
"
27
#include "
clang/Serialization/SerializationDiagnostic.h
"
28
#include "
clang/Tooling/Refactoring/RefactoringDiagnostic.h
"
29
30
namespace
clang
{
31
template
<
size_t
SizeOfStr,
typename
FieldType>
32
class
StringSizerHelper
{
33
static_assert(SizeOfStr <= FieldType(~0U),
"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
AnalysisDiagnostic.h
clang::StringSizerHelper
Definition:
AllDiagnostics.h:32
ParseDiagnostic.h
FrontendDiagnostic.h
LexDiagnostic.h
SerializationDiagnostic.h
ASTDiagnostic.h
SemaDiagnostic.h
clang
Dataflow Directional Tag Classes.
Definition:
CFGReachabilityAnalysis.h:22
CrossTUDiagnostic.h
CommentDiagnostic.h
DriverDiagnostic.h
clang::StringSizerHelper::Size
Definition:
AllDiagnostics.h:35
RefactoringDiagnostic.h
Generated on Mon Sep 17 2018 14:01:38 for clang by
1.8.13