clang
3.7.0
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
work
release_test
rc4
llvm.src
tools
clang
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
/// \brief 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/Driver/DriverDiagnostic.h
"
22
#include "
clang/Frontend/FrontendDiagnostic.h
"
23
#include "
clang/Lex/LexDiagnostic.h
"
24
#include "
clang/Parse/ParseDiagnostic.h
"
25
#include "
clang/Sema/SemaDiagnostic.h
"
26
#include "
clang/Serialization/SerializationDiagnostic.h
"
27
28
namespace
clang {
29
template
<
size_t
SizeOfStr,
typename
FieldType>
30
class
StringSizerHelper
{
31
char
FIELD_TOO_SMALL[SizeOfStr <= FieldType(~0U) ? 1 : -1];
32
public
:
33
enum
{
Size
= SizeOfStr };
34
};
35
}
// end namespace clang
36
37
#define STR_SIZE(str, fieldTy) clang::StringSizerHelper<sizeof(str)-1, \
38
fieldTy>::Size
39
40
#endif
clang::StringSizerHelper::Size
Definition:
AllDiagnostics.h:33
AnalysisDiagnostic.h
clang::StringSizerHelper
Definition:
AllDiagnostics.h:30
ParseDiagnostic.h
FrontendDiagnostic.h
LexDiagnostic.h
SerializationDiagnostic.h
ASTDiagnostic.h
SemaDiagnostic.h
CommentDiagnostic.h
DriverDiagnostic.h
Generated on Mon Aug 31 2015 10:45:06 for clang by
1.8.6