mirror of
https://github.com/intel/llvm.git
synced 2026-01-17 06:40:01 +08:00
Move diagnostic enums into Basic.
Move enums from */*Diagnostic.h to Basic/Diagnostic*.h. Basic/AllDiagnostics.h needs all the enums and moving the sources to Basic prevents a Basic->*->Basic dependency loop. This also allows each Basic/Diagnostics*Kinds.td to have a header at Basic/Diagnostic*.h (except for Common). The old headers are kept in place since other packages are still using them. llvm-svn: 348685
This commit is contained in:
@@ -11,19 +11,9 @@
|
||||
#define LLVM_CLANG_AST_ASTDIAGNOSTIC_H
|
||||
|
||||
#include "clang/Basic/Diagnostic.h"
|
||||
#include "clang/Basic/DiagnosticAST.h"
|
||||
|
||||
namespace clang {
|
||||
namespace diag {
|
||||
enum {
|
||||
#define DIAG(ENUM,FLAGS,DEFAULT_MAPPING,DESC,GROUP,\
|
||||
SFINAE,NOWERROR,SHOWINSYSHEADER,CATEGORY) ENUM,
|
||||
#define ASTSTART
|
||||
#include "clang/Basic/DiagnosticASTKinds.inc"
|
||||
#undef DIAG
|
||||
NUM_BUILTIN_AST_DIAGNOSTICS
|
||||
};
|
||||
} // end namespace diag
|
||||
|
||||
/// DiagnosticsEngine argument formatting function for diagnostics that
|
||||
/// involve AST nodes.
|
||||
///
|
||||
|
||||
@@ -10,20 +10,7 @@
|
||||
#ifndef LLVM_CLANG_AST_COMMENTDIAGNOSTIC_H
|
||||
#define LLVM_CLANG_AST_COMMENTDIAGNOSTIC_H
|
||||
|
||||
#include "clang/Basic/Diagnostic.h"
|
||||
|
||||
namespace clang {
|
||||
namespace diag {
|
||||
enum {
|
||||
#define DIAG(ENUM,FLAGS,DEFAULT_MAPPING,DESC,GROUP,\
|
||||
SFINAE,NOWERROR,SHOWINSYSHEADER,CATEGORY) ENUM,
|
||||
#define COMMENTSTART
|
||||
#include "clang/Basic/DiagnosticCommentKinds.inc"
|
||||
#undef DIAG
|
||||
NUM_BUILTIN_COMMENT_DIAGNOSTICS
|
||||
};
|
||||
} // end namespace diag
|
||||
} // end namespace clang
|
||||
#include "clang/Basic/DiagnosticComment.h"
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
@@ -10,19 +10,6 @@
|
||||
#ifndef LLVM_CLANG_ANALYSIS_ANALYSISDIAGNOSTIC_H
|
||||
#define LLVM_CLANG_ANALYSIS_ANALYSISDIAGNOSTIC_H
|
||||
|
||||
#include "clang/Basic/Diagnostic.h"
|
||||
|
||||
namespace clang {
|
||||
namespace diag {
|
||||
enum {
|
||||
#define DIAG(ENUM,FLAGS,DEFAULT_MAPPING,DESC,GROUP,\
|
||||
SFINAE,NOWERROR,SHOWINSYSHEADER,CATEGORY) ENUM,
|
||||
#define ANALYSISSTART
|
||||
#include "clang/Basic/DiagnosticAnalysisKinds.inc"
|
||||
#undef DIAG
|
||||
NUM_BUILTIN_ANALYSIS_DIAGNOSTICS
|
||||
};
|
||||
} // end namespace diag
|
||||
} // end namespace clang
|
||||
#include "clang/Basic/DiagnosticAnalysis.h"
|
||||
|
||||
#endif
|
||||
|
||||
@@ -15,17 +15,17 @@
|
||||
#ifndef LLVM_CLANG_BASIC_ALLDIAGNOSTICS_H
|
||||
#define LLVM_CLANG_BASIC_ALLDIAGNOSTICS_H
|
||||
|
||||
#include "clang/AST/ASTDiagnostic.h"
|
||||
#include "clang/AST/CommentDiagnostic.h"
|
||||
#include "clang/Analysis/AnalysisDiagnostic.h"
|
||||
#include "clang/CrossTU/CrossTUDiagnostic.h"
|
||||
#include "clang/Driver/DriverDiagnostic.h"
|
||||
#include "clang/Frontend/FrontendDiagnostic.h"
|
||||
#include "clang/Lex/LexDiagnostic.h"
|
||||
#include "clang/Parse/ParseDiagnostic.h"
|
||||
#include "clang/Sema/SemaDiagnostic.h"
|
||||
#include "clang/Serialization/SerializationDiagnostic.h"
|
||||
#include "clang/Tooling/Refactoring/RefactoringDiagnostic.h"
|
||||
#include "clang/Basic/DiagnosticAST.h"
|
||||
#include "clang/Basic/DiagnosticAnalysis.h"
|
||||
#include "clang/Basic/DiagnosticComment.h"
|
||||
#include "clang/Basic/DiagnosticCrossTU.h"
|
||||
#include "clang/Basic/DiagnosticDriver.h"
|
||||
#include "clang/Basic/DiagnosticFrontend.h"
|
||||
#include "clang/Basic/DiagnosticLex.h"
|
||||
#include "clang/Basic/DiagnosticParse.h"
|
||||
#include "clang/Basic/DiagnosticSema.h"
|
||||
#include "clang/Basic/DiagnosticSerialization.h"
|
||||
#include "clang/Basic/DiagnosticRefactoring.h"
|
||||
|
||||
namespace clang {
|
||||
template <size_t SizeOfStr, typename FieldType>
|
||||
|
||||
29
clang/include/clang/Basic/DiagnosticAST.h
Normal file
29
clang/include/clang/Basic/DiagnosticAST.h
Normal file
@@ -0,0 +1,29 @@
|
||||
//===--- DiagnosticAST.h - Diagnostics for the AST library ------*- C++ -*-===//
|
||||
//
|
||||
// The LLVM Compiler Infrastructure
|
||||
//
|
||||
// This file is distributed under the University of Illinois Open Source
|
||||
// License. See LICENSE.TXT for details.
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_CLANG_BASIC_DIAGNOSTICAST_H
|
||||
#define LLVM_CLANG_BASIC_DIAGNOSTICAST_H
|
||||
|
||||
#include "clang/Basic/Diagnostic.h"
|
||||
|
||||
namespace clang {
|
||||
namespace diag {
|
||||
enum {
|
||||
#define DIAG(ENUM, FLAGS, DEFAULT_MAPPING, DESC, GROUP, SFINAE, NOWERROR, \
|
||||
SHOWINSYSHEADER, CATEGORY) \
|
||||
ENUM,
|
||||
#define ASTSTART
|
||||
#include "clang/Basic/DiagnosticASTKinds.inc"
|
||||
#undef DIAG
|
||||
NUM_BUILTIN_AST_DIAGNOSTICS
|
||||
};
|
||||
} // end namespace diag
|
||||
} // end namespace clang
|
||||
|
||||
#endif // LLVM_CLANG_BASIC_DIAGNOSTICAST_H
|
||||
29
clang/include/clang/Basic/DiagnosticAnalysis.h
Normal file
29
clang/include/clang/Basic/DiagnosticAnalysis.h
Normal file
@@ -0,0 +1,29 @@
|
||||
//===--- DiagnosticAnalysis.h - Diagnostics for libanalysis -----*- C++ -*-===//
|
||||
//
|
||||
// The LLVM Compiler Infrastructure
|
||||
//
|
||||
// This file is distributed under the University of Illinois Open Source
|
||||
// License. See LICENSE.TXT for details.
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_CLANG_BASIC_DIAGNOSTICANALYSIS_H
|
||||
#define LLVM_CLANG_BASIC_DIAGNOSTICANALYSIS_H
|
||||
|
||||
#include "clang/Basic/Diagnostic.h"
|
||||
|
||||
namespace clang {
|
||||
namespace diag {
|
||||
enum {
|
||||
#define DIAG(ENUM, FLAGS, DEFAULT_MAPPING, DESC, GROUP, SFINAE, NOWERROR, \
|
||||
SHOWINSYSHEADER, CATEGORY) \
|
||||
ENUM,
|
||||
#define ANALYSISSTART
|
||||
#include "clang/Basic/DiagnosticAnalysisKinds.inc"
|
||||
#undef DIAG
|
||||
NUM_BUILTIN_ANALYSIS_DIAGNOSTICS
|
||||
};
|
||||
} // end namespace diag
|
||||
} // end namespace clang
|
||||
|
||||
#endif // LLVM_CLANG_BASIC_DIAGNOSTICANALYSIS_H
|
||||
29
clang/include/clang/Basic/DiagnosticComment.h
Normal file
29
clang/include/clang/Basic/DiagnosticComment.h
Normal file
@@ -0,0 +1,29 @@
|
||||
//===--- DiagnosticComment.h - Diagnostics for the AST library --*- C++ -*-===//
|
||||
//
|
||||
// The LLVM Compiler Infrastructure
|
||||
//
|
||||
// This file is distributed under the University of Illinois Open Source
|
||||
// License. See LICENSE.TXT for details.
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_CLANG_BASIC_DIAGNOSTICCOMMENT_H
|
||||
#define LLVM_CLANG_BASIC_DIAGNOSTICCOMMENT_H
|
||||
|
||||
#include "clang/Basic/Diagnostic.h"
|
||||
|
||||
namespace clang {
|
||||
namespace diag {
|
||||
enum {
|
||||
#define DIAG(ENUM, FLAGS, DEFAULT_MAPPING, DESC, GROUP, SFINAE, NOWERROR, \
|
||||
SHOWINSYSHEADER, CATEGORY) \
|
||||
ENUM,
|
||||
#define COMMENTSTART
|
||||
#include "clang/Basic/DiagnosticCommentKinds.inc"
|
||||
#undef DIAG
|
||||
NUM_BUILTIN_COMMENT_DIAGNOSTICS
|
||||
};
|
||||
} // end namespace diag
|
||||
} // end namespace clang
|
||||
|
||||
#endif // LLVM_CLANG_BASIC_DIAGNOSTICCOMMENT_H
|
||||
29
clang/include/clang/Basic/DiagnosticCrossTU.h
Normal file
29
clang/include/clang/Basic/DiagnosticCrossTU.h
Normal file
@@ -0,0 +1,29 @@
|
||||
//===--- DiagnosticCrossTU.h - Diagnostics for Cross TU ---------*- C++ -*-===//
|
||||
//
|
||||
// The LLVM Compiler Infrastructure
|
||||
//
|
||||
// This file is distributed under the University of Illinois Open Source
|
||||
// License. See LICENSE.TXT for details.
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_CLANG_BASIC_DIAGNOSTICCROSSTU_H
|
||||
#define LLVM_CLANG_BASIC_DIAGNOSTICCROSSTU_H
|
||||
|
||||
#include "clang/Basic/Diagnostic.h"
|
||||
|
||||
namespace clang {
|
||||
namespace diag {
|
||||
enum {
|
||||
#define DIAG(ENUM, FLAGS, DEFAULT_MAPPING, DESC, GROUP, SFINAE, NOWERROR, \
|
||||
SHOWINSYSHEADER, CATEGORY) \
|
||||
ENUM,
|
||||
#define CROSSTUSTART
|
||||
#include "clang/Basic/DiagnosticCrossTUKinds.inc"
|
||||
#undef DIAG
|
||||
NUM_BUILTIN_CROSSTU_DIAGNOSTICS
|
||||
};
|
||||
} // end namespace diag
|
||||
} // end namespace clang
|
||||
|
||||
#endif // LLVM_CLANG_BASIC_DIAGNOSTICCROSSTU_H
|
||||
29
clang/include/clang/Basic/DiagnosticDriver.h
Normal file
29
clang/include/clang/Basic/DiagnosticDriver.h
Normal file
@@ -0,0 +1,29 @@
|
||||
//===--- DiagnosticDriver.h - Diagnostics for libdriver ---------*- C++ -*-===//
|
||||
//
|
||||
// The LLVM Compiler Infrastructure
|
||||
//
|
||||
// This file is distributed under the University of Illinois Open Source
|
||||
// License. See LICENSE.TXT for details.
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_CLANG_BASIC_DIAGNOSTICDRIVER_H
|
||||
#define LLVM_CLANG_BASIC_DIAGNOSTICDRIVER_H
|
||||
|
||||
#include "clang/Basic/Diagnostic.h"
|
||||
|
||||
namespace clang {
|
||||
namespace diag {
|
||||
enum {
|
||||
#define DIAG(ENUM, FLAGS, DEFAULT_MAPPING, DESC, GROUP, SFINAE, NOWERROR, \
|
||||
SHOWINSYSHEADER, CATEGORY) \
|
||||
ENUM,
|
||||
#define DRIVERSTART
|
||||
#include "clang/Basic/DiagnosticDriverKinds.inc"
|
||||
#undef DIAG
|
||||
NUM_BUILTIN_DRIVER_DIAGNOSTICS
|
||||
};
|
||||
} // end namespace diag
|
||||
} // end namespace clang
|
||||
|
||||
#endif // LLVM_CLANG_BASIC_DIAGNOSTICDRIVER_H
|
||||
29
clang/include/clang/Basic/DiagnosticFrontend.h
Normal file
29
clang/include/clang/Basic/DiagnosticFrontend.h
Normal file
@@ -0,0 +1,29 @@
|
||||
//===--- DiagnosticFrontend.h - Diagnostics for frontend --------*- C++ -*-===//
|
||||
//
|
||||
// The LLVM Compiler Infrastructure
|
||||
//
|
||||
// This file is distributed under the University of Illinois Open Source
|
||||
// License. See LICENSE.TXT for details.
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_CLANG_BASIC_DIAGNOSTICFRONTEND_H
|
||||
#define LLVM_CLANG_BASIC_DIAGNOSTICFRONTEND_H
|
||||
|
||||
#include "clang/Basic/Diagnostic.h"
|
||||
|
||||
namespace clang {
|
||||
namespace diag {
|
||||
enum {
|
||||
#define DIAG(ENUM, FLAGS, DEFAULT_MAPPING, DESC, GROUP, SFINAE, NOWERROR, \
|
||||
SHOWINSYSHEADER, CATEGORY) \
|
||||
ENUM,
|
||||
#define FRONTENDSTART
|
||||
#include "clang/Basic/DiagnosticFrontendKinds.inc"
|
||||
#undef DIAG
|
||||
NUM_BUILTIN_FRONTEND_DIAGNOSTICS
|
||||
};
|
||||
} // end namespace diag
|
||||
} // end namespace clang
|
||||
|
||||
#endif // LLVM_CLANG_BASIC_DIAGNOSTICFRONTEND_H
|
||||
29
clang/include/clang/Basic/DiagnosticLex.h
Normal file
29
clang/include/clang/Basic/DiagnosticLex.h
Normal file
@@ -0,0 +1,29 @@
|
||||
//===--- DiagnosticLex.h - Diagnostics for liblex ---------------*- C++ -*-===//
|
||||
//
|
||||
// The LLVM Compiler Infrastructure
|
||||
//
|
||||
// This file is distributed under the University of Illinois Open Source
|
||||
// License. See LICENSE.TXT for details.
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_CLANG_BASIC_DIAGNOSTICLEX_H
|
||||
#define LLVM_CLANG_BASIC_DIAGNOSTICLEX_H
|
||||
|
||||
#include "clang/Basic/Diagnostic.h"
|
||||
|
||||
namespace clang {
|
||||
namespace diag {
|
||||
enum {
|
||||
#define DIAG(ENUM, FLAGS, DEFAULT_MAPPING, DESC, GROUP, SFINAE, NOWERROR, \
|
||||
SHOWINSYSHEADER, CATEGORY) \
|
||||
ENUM,
|
||||
#define LEXSTART
|
||||
#include "clang/Basic/DiagnosticLexKinds.inc"
|
||||
#undef DIAG
|
||||
NUM_BUILTIN_LEX_DIAGNOSTICS
|
||||
};
|
||||
} // end namespace diag
|
||||
} // end namespace clang
|
||||
|
||||
#endif // LLVM_CLANG_BASIC_DIAGNOSTICLEX_H
|
||||
29
clang/include/clang/Basic/DiagnosticParse.h
Normal file
29
clang/include/clang/Basic/DiagnosticParse.h
Normal file
@@ -0,0 +1,29 @@
|
||||
//===--- DiagnosticParse.h - Diagnostics for libparse -----------*- C++ -*-===//
|
||||
//
|
||||
// The LLVM Compiler Infrastructure
|
||||
//
|
||||
// This file is distributed under the University of Illinois Open Source
|
||||
// License. See LICENSE.TXT for details.
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_CLANG_BASIC_DIAGNOSTICPARSE_H
|
||||
#define LLVM_CLANG_BASIC_DIAGNOSTICPARSE_H
|
||||
|
||||
#include "clang/Basic/Diagnostic.h"
|
||||
|
||||
namespace clang {
|
||||
namespace diag {
|
||||
enum {
|
||||
#define DIAG(ENUM, FLAGS, DEFAULT_MAPPING, DESC, GROUP, SFINAE, NOWERROR, \
|
||||
SHOWINSYSHEADER, CATEGORY) \
|
||||
ENUM,
|
||||
#define PARSESTART
|
||||
#include "clang/Basic/DiagnosticParseKinds.inc"
|
||||
#undef DIAG
|
||||
NUM_BUILTIN_PARSE_DIAGNOSTICS
|
||||
};
|
||||
} // end namespace diag
|
||||
} // end namespace clang
|
||||
|
||||
#endif // LLVM_CLANG_BASIC_DIAGNOSTICPARSE_H
|
||||
29
clang/include/clang/Basic/DiagnosticRefactoring.h
Normal file
29
clang/include/clang/Basic/DiagnosticRefactoring.h
Normal file
@@ -0,0 +1,29 @@
|
||||
//===--- DiagnosticRefactoring.h - ------------------------------*- C++ -*-===//
|
||||
//
|
||||
// The LLVM Compiler Infrastructure
|
||||
//
|
||||
// This file is distributed under the University of Illinois Open Source
|
||||
// License. See LICENSE.TXT for details.
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_CLANG_BASIC_DIAGNOSTICREFACTORING_H
|
||||
#define LLVM_CLANG_BASIC_DIAGNOSTICREFACTORING_H
|
||||
|
||||
#include "clang/Basic/Diagnostic.h"
|
||||
|
||||
namespace clang {
|
||||
namespace diag {
|
||||
enum {
|
||||
#define DIAG(ENUM, FLAGS, DEFAULT_MAPPING, DESC, GROUP, SFINAE, NOWERROR, \
|
||||
SHOWINSYSHEADER, CATEGORY) \
|
||||
ENUM,
|
||||
#define REFACTORINGSTART
|
||||
#include "clang/Basic/DiagnosticRefactoringKinds.inc"
|
||||
#undef DIAG
|
||||
NUM_BUILTIN_REFACTORING_DIAGNOSTICS
|
||||
};
|
||||
} // end namespace diag
|
||||
} // end namespace clang
|
||||
|
||||
#endif // LLVM_CLANG_BASIC_DIAGNOSTICREFACTORING_H
|
||||
29
clang/include/clang/Basic/DiagnosticSema.h
Normal file
29
clang/include/clang/Basic/DiagnosticSema.h
Normal file
@@ -0,0 +1,29 @@
|
||||
//===--- DiagnosticSema.h - Diagnostics for libsema -------------*- C++ -*-===//
|
||||
//
|
||||
// The LLVM Compiler Infrastructure
|
||||
//
|
||||
// This file is distributed under the University of Illinois Open Source
|
||||
// License. See LICENSE.TXT for details.
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_CLANG_BASIC_DIAGNOSTICSEMA_H
|
||||
#define LLVM_CLANG_BASIC_DIAGNOSTICSEMA_H
|
||||
|
||||
#include "clang/Basic/Diagnostic.h"
|
||||
|
||||
namespace clang {
|
||||
namespace diag {
|
||||
enum {
|
||||
#define DIAG(ENUM, FLAGS, DEFAULT_MAPPING, DESC, GROUP, SFINAE, NOWERROR, \
|
||||
SHOWINSYSHEADER, CATEGORY) \
|
||||
ENUM,
|
||||
#define SEMASTART
|
||||
#include "clang/Basic/DiagnosticSemaKinds.inc"
|
||||
#undef DIAG
|
||||
NUM_BUILTIN_SEMA_DIAGNOSTICS
|
||||
};
|
||||
} // end namespace diag
|
||||
} // end namespace clang
|
||||
|
||||
#endif // LLVM_CLANG_BASIC_DIAGNOSTICSEMA_H
|
||||
29
clang/include/clang/Basic/DiagnosticSerialization.h
Normal file
29
clang/include/clang/Basic/DiagnosticSerialization.h
Normal file
@@ -0,0 +1,29 @@
|
||||
//===--- DiagnosticSerialization.h - Serialization Diagnostics -*- C++ -*-===//
|
||||
//
|
||||
// The LLVM Compiler Infrastructure
|
||||
//
|
||||
// This file is distributed under the University of Illinois Open Source
|
||||
// License. See LICENSE.TXT for details.
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_CLANG_BASIC_DIAGNOSTICSERIALIZATION_H
|
||||
#define LLVM_CLANG_BASIC_DIAGNOSTICSERIALIZATION_H
|
||||
|
||||
#include "clang/Basic/Diagnostic.h"
|
||||
|
||||
namespace clang {
|
||||
namespace diag {
|
||||
enum {
|
||||
#define DIAG(ENUM, FLAGS, DEFAULT_MAPPING, DESC, GROUP, SFINAE, NOWERROR, \
|
||||
SHOWINSYSHEADER, CATEGORY) \
|
||||
ENUM,
|
||||
#define SERIALIZATIONSTART
|
||||
#include "clang/Basic/DiagnosticSerializationKinds.inc"
|
||||
#undef DIAG
|
||||
NUM_BUILTIN_SERIALIZATION_DIAGNOSTICS
|
||||
};
|
||||
} // end namespace diag
|
||||
} // end namespace clang
|
||||
|
||||
#endif // LLVM_CLANG_BASIC_DIAGNOSTICSERIALIZATION_H
|
||||
@@ -10,20 +10,6 @@
|
||||
#ifndef LLVM_CLANG_CROSSTU_CROSSTUDIAGNOSTIC_H
|
||||
#define LLVM_CLANG_CROSSTU_CROSSTUDIAGNOSTIC_H
|
||||
|
||||
#include "clang/Basic/Diagnostic.h"
|
||||
#include "clang/Basic/DiagnosticCrossTU.h"
|
||||
|
||||
namespace clang {
|
||||
namespace diag {
|
||||
enum {
|
||||
#define DIAG(ENUM, FLAGS, DEFAULT_MAPPING, DESC, GROUP, SFINAE, NOWERROR, \
|
||||
SHOWINSYSHEADER, CATEGORY) \
|
||||
ENUM,
|
||||
#define CROSSTUSTART
|
||||
#include "clang/Basic/DiagnosticCrossTUKinds.inc"
|
||||
#undef DIAG
|
||||
NUM_BUILTIN_CROSSTU_DIAGNOSTICS
|
||||
};
|
||||
} // end namespace diag
|
||||
} // end namespace clang
|
||||
|
||||
#endif // LLVM_CLANG_FRONTEND_FRONTENDDIAGNOSTIC_H
|
||||
#endif // LLVM_CLANG_CROSSTU_CROSSTUDIAGNOSTIC_H
|
||||
|
||||
@@ -10,19 +10,6 @@
|
||||
#ifndef LLVM_CLANG_DRIVER_DRIVERDIAGNOSTIC_H
|
||||
#define LLVM_CLANG_DRIVER_DRIVERDIAGNOSTIC_H
|
||||
|
||||
#include "clang/Basic/Diagnostic.h"
|
||||
|
||||
namespace clang {
|
||||
namespace diag {
|
||||
enum {
|
||||
#define DIAG(ENUM,FLAGS,DEFAULT_MAPPING,DESC,GROUP,\
|
||||
SFINAE,NOWERROR,SHOWINSYSHEADER,CATEGORY) ENUM,
|
||||
#define DRIVERSTART
|
||||
#include "clang/Basic/DiagnosticDriverKinds.inc"
|
||||
#undef DIAG
|
||||
NUM_BUILTIN_DRIVER_DIAGNOSTICS
|
||||
};
|
||||
} // end namespace diag
|
||||
} // end namespace clang
|
||||
#include "clang/Basic/DiagnosticDriver.h"
|
||||
|
||||
#endif
|
||||
|
||||
@@ -10,19 +10,6 @@
|
||||
#ifndef LLVM_CLANG_FRONTEND_FRONTENDDIAGNOSTIC_H
|
||||
#define LLVM_CLANG_FRONTEND_FRONTENDDIAGNOSTIC_H
|
||||
|
||||
#include "clang/Basic/Diagnostic.h"
|
||||
|
||||
namespace clang {
|
||||
namespace diag {
|
||||
enum {
|
||||
#define DIAG(ENUM,FLAGS,DEFAULT_MAPPING,DESC,GROUP,\
|
||||
SFINAE,NOWERROR,SHOWINSYSHEADER,CATEGORY) ENUM,
|
||||
#define FRONTENDSTART
|
||||
#include "clang/Basic/DiagnosticFrontendKinds.inc"
|
||||
#undef DIAG
|
||||
NUM_BUILTIN_FRONTEND_DIAGNOSTICS
|
||||
};
|
||||
} // end namespace diag
|
||||
} // end namespace clang
|
||||
#include "clang/Basic/DiagnosticFrontend.h"
|
||||
|
||||
#endif
|
||||
|
||||
@@ -10,19 +10,6 @@
|
||||
#ifndef LLVM_CLANG_LEX_LEXDIAGNOSTIC_H
|
||||
#define LLVM_CLANG_LEX_LEXDIAGNOSTIC_H
|
||||
|
||||
#include "clang/Basic/Diagnostic.h"
|
||||
|
||||
namespace clang {
|
||||
namespace diag {
|
||||
enum {
|
||||
#define DIAG(ENUM,FLAGS,DEFAULT_MAPPING,DESC,GROUP,\
|
||||
SFINAE,NOWERROR,SHOWINSYSHEADER,CATEGORY) ENUM,
|
||||
#define LEXSTART
|
||||
#include "clang/Basic/DiagnosticLexKinds.inc"
|
||||
#undef DIAG
|
||||
NUM_BUILTIN_LEX_DIAGNOSTICS
|
||||
};
|
||||
} // end namespace diag
|
||||
} // end namespace clang
|
||||
#include "clang/Basic/DiagnosticLex.h"
|
||||
|
||||
#endif
|
||||
|
||||
@@ -10,19 +10,6 @@
|
||||
#ifndef LLVM_CLANG_PARSE_PARSEDIAGNOSTIC_H
|
||||
#define LLVM_CLANG_PARSE_PARSEDIAGNOSTIC_H
|
||||
|
||||
#include "clang/Basic/Diagnostic.h"
|
||||
|
||||
namespace clang {
|
||||
namespace diag {
|
||||
enum {
|
||||
#define DIAG(ENUM,FLAGS,DEFAULT_MAPPING,DESC,GROUP,\
|
||||
SFINAE,NOWERROR,SHOWINSYSHEADER,CATEGORY) ENUM,
|
||||
#define PARSESTART
|
||||
#include "clang/Basic/DiagnosticParseKinds.inc"
|
||||
#undef DIAG
|
||||
NUM_BUILTIN_PARSE_DIAGNOSTICS
|
||||
};
|
||||
} // end namespace diag
|
||||
} // end namespace clang
|
||||
#include "clang/Basic/DiagnosticParse.h"
|
||||
|
||||
#endif
|
||||
|
||||
@@ -10,19 +10,6 @@
|
||||
#ifndef LLVM_CLANG_SEMA_SEMADIAGNOSTIC_H
|
||||
#define LLVM_CLANG_SEMA_SEMADIAGNOSTIC_H
|
||||
|
||||
#include "clang/Basic/Diagnostic.h"
|
||||
|
||||
namespace clang {
|
||||
namespace diag {
|
||||
enum {
|
||||
#define DIAG(ENUM,FLAGS,DEFAULT_MAPPING,DESC,GROUP,\
|
||||
SFINAE,NOWERROR,SHOWINSYSHEADER,CATEGORY) ENUM,
|
||||
#define SEMASTART
|
||||
#include "clang/Basic/DiagnosticSemaKinds.inc"
|
||||
#undef DIAG
|
||||
NUM_BUILTIN_SEMA_DIAGNOSTICS
|
||||
};
|
||||
} // end namespace diag
|
||||
} // end namespace clang
|
||||
#include "clang/Basic/DiagnosticSema.h"
|
||||
|
||||
#endif
|
||||
|
||||
@@ -10,19 +10,6 @@
|
||||
#ifndef LLVM_CLANG_SERIALIZATION_SERIALIZATIONDIAGNOSTIC_H
|
||||
#define LLVM_CLANG_SERIALIZATION_SERIALIZATIONDIAGNOSTIC_H
|
||||
|
||||
#include "clang/Basic/Diagnostic.h"
|
||||
|
||||
namespace clang {
|
||||
namespace diag {
|
||||
enum {
|
||||
#define DIAG(ENUM,FLAGS,DEFAULT_MAPPING,DESC,GROUP,\
|
||||
SFINAE,NOWERROR,SHOWINSYSHEADER,CATEGORY) ENUM,
|
||||
#define SERIALIZATIONSTART
|
||||
#include "clang/Basic/DiagnosticSerializationKinds.inc"
|
||||
#undef DIAG
|
||||
NUM_BUILTIN_SERIALIZATION_DIAGNOSTICS
|
||||
};
|
||||
} // end namespace diag
|
||||
} // end namespace clang
|
||||
#include "clang/Basic/DiagnosticSerialization.h"
|
||||
|
||||
#endif
|
||||
|
||||
@@ -10,21 +10,6 @@
|
||||
#ifndef LLVM_CLANG_TOOLING_REFACTORING_REFACTORINGDIAGNOSTIC_H
|
||||
#define LLVM_CLANG_TOOLING_REFACTORING_REFACTORINGDIAGNOSTIC_H
|
||||
|
||||
#include "clang/Basic/Diagnostic.h"
|
||||
#include "clang/Basic/PartialDiagnostic.h"
|
||||
|
||||
namespace clang {
|
||||
namespace diag {
|
||||
enum {
|
||||
#define DIAG(ENUM, FLAGS, DEFAULT_MAPPING, DESC, GROUP, SFINAE, NOWERROR, \
|
||||
SHOWINSYSHEADER, CATEGORY) \
|
||||
ENUM,
|
||||
#define REFACTORINGSTART
|
||||
#include "clang/Basic/DiagnosticRefactoringKinds.inc"
|
||||
#undef DIAG
|
||||
NUM_BUILTIN_REFACTORING_DIAGNOSTICS
|
||||
};
|
||||
} // end namespace diag
|
||||
} // end namespace clang
|
||||
#include "clang/Basic/DiagnosticRefactoring.h"
|
||||
|
||||
#endif // LLVM_CLANG_TOOLING_REFACTORING_REFACTORINGDIAGNOSTIC_H
|
||||
|
||||
Reference in New Issue
Block a user