зеркало из https://github.com/microsoft/clang-1.git
move library-specific diagnostic headers into library private dirs. Reduce
redundant #includes. Patch by Anders Johnsen! git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63271 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
68355a57bb
Коммит
500d3297d2
|
@ -29,6 +29,7 @@
|
|||
#include "clang/Driver/InitHeaderSearch.h"
|
||||
#include "clang/Driver/TextDiagnosticBuffer.h"
|
||||
#include "clang/Driver/TextDiagnosticPrinter.h"
|
||||
#include "clang/Driver/DriverDiagnostic.h"
|
||||
#include "clang/Analysis/PathDiagnostic.h"
|
||||
#include "clang/AST/Decl.h"
|
||||
#include "clang/AST/TranslationUnit.h"
|
||||
|
@ -40,7 +41,6 @@
|
|||
#include "clang/Basic/FileManager.h"
|
||||
#include "clang/Basic/SourceManager.h"
|
||||
#include "clang/Basic/TargetInfo.h"
|
||||
#include "clang/Basic/DiagnosticDriver.h"
|
||||
#include "llvm/ADT/OwningPtr.h"
|
||||
#include "llvm/ADT/SmallPtrSet.h"
|
||||
#include "llvm/ADT/StringExtras.h"
|
||||
|
|
|
@ -10,15 +10,15 @@
|
|||
#ifndef LLVM_CLANG_DIAGNOSTICAST_H
|
||||
#define LLVM_CLANG_DIAGNOSTICAST_H
|
||||
|
||||
#include "clang/Basic/DiagnosticAST.h"
|
||||
#include "clang/Basic/Diagnostic.h"
|
||||
|
||||
namespace clang {
|
||||
namespace diag {
|
||||
enum {
|
||||
#define DIAG(ENUM,FLAGS,DESC) ENUM,
|
||||
#include "DiagnosticCommonKinds.def"
|
||||
#include "clang/Basic/DiagnosticCommonKinds.def"
|
||||
#define ASTSTART
|
||||
#include "DiagnosticASTKinds.def"
|
||||
#include "clang/Basic/DiagnosticASTKinds.def"
|
||||
NUM_BUILTIN_AST_DIAGNOSTICS
|
||||
};
|
||||
} // end namespace diag
|
|
@ -16,9 +16,9 @@ namespace clang {
|
|||
namespace diag {
|
||||
enum {
|
||||
#define DIAG(ENUM,FLAGS,DESC) ENUM,
|
||||
#include "DiagnosticCommonKinds.def"
|
||||
#include "clang/Basic/DiagnosticCommonKinds.def"
|
||||
#define ANALYSISSTART
|
||||
#include "DiagnosticAnalysisKinds.def"
|
||||
#include "clang/Basic/DiagnosticAnalysisKinds.def"
|
||||
NUM_BUILTIN_ANALYSIS_DIAGNOSTICS
|
||||
};
|
||||
} // end namespace diag
|
|
@ -1,57 +0,0 @@
|
|||
//===--- DiagnosticDriver.h - Diagnostics for the driver --------*- 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_DIAGNOSTICDRIVER_H
|
||||
#define LLVM_CLANG_DIAGNOSTICDRIVER_H
|
||||
|
||||
#include "clang/Basic/Diagnostic.h"
|
||||
|
||||
namespace clang {
|
||||
namespace diag {
|
||||
enum {
|
||||
#define DIAG(ENUM,FLAGS,DESC) ENUM,
|
||||
#include "DiagnosticCommonKinds.def"
|
||||
NUM_BUILTIN_DRIVER_DIAGNOSTICS
|
||||
};
|
||||
} // end namespace diag
|
||||
} // end namespace clang
|
||||
|
||||
#endif
|
||||
#ifndef LLVM_CLANG_DIAGNOSTICDRIVER_H
|
||||
#define LLVM_CLANG_DIAGNOSTICDRIVER_H
|
||||
|
||||
#include "clang/Basic/Diagnostic.h"
|
||||
|
||||
namespace clang {
|
||||
namespace diag {
|
||||
enum {
|
||||
#define DIAG(ENUM,FLAGS,DESC) ENUM,
|
||||
#include "DiagnosticCommonKinds.def"
|
||||
NUM_BUILTIN_DRIVER_DIAGNOSTICS
|
||||
};
|
||||
} // end namespace diag
|
||||
} // end namespace clang
|
||||
|
||||
#endif
|
||||
#ifndef LLVM_CLANG_DIAGNOSTICDRIVER_H
|
||||
#define LLVM_CLANG_DIAGNOSTICDRIVER_H
|
||||
|
||||
#include "clang/Basic/Diagnostic.h"
|
||||
|
||||
namespace clang {
|
||||
namespace diag {
|
||||
enum {
|
||||
#define DIAG(ENUM,FLAGS,DESC) ENUM,
|
||||
#include "DiagnosticCommonKinds.def"
|
||||
NUM_BUILTIN_DRIVER_DIAGNOSTICS
|
||||
};
|
||||
} // end namespace diag
|
||||
} // end namespace clang
|
||||
|
||||
#endif
|
|
@ -0,0 +1,26 @@
|
|||
//===--- DiagnosticDriver.h - Diagnostics for the driver --------*- 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_DIAGNOSTICDRIVER_H
|
||||
#define LLVM_CLANG_DIAGNOSTICDRIVER_H
|
||||
|
||||
#include "clang/Basic/Diagnostic.h"
|
||||
|
||||
namespace clang {
|
||||
namespace diag {
|
||||
enum {
|
||||
#define DIAG(ENUM,FLAGS,DESC) ENUM,
|
||||
#include "clang/Basic/DiagnosticCommonKinds.def"
|
||||
NUM_BUILTIN_DRIVER_DIAGNOSTICS
|
||||
};
|
||||
} // end namespace diag
|
||||
} // end namespace clang
|
||||
|
||||
#endif
|
||||
|
|
@ -16,9 +16,9 @@ namespace clang {
|
|||
namespace diag {
|
||||
enum {
|
||||
#define DIAG(ENUM,FLAGS,DESC) ENUM,
|
||||
#include "DiagnosticCommonKinds.def"
|
||||
#include "clang/Basic/DiagnosticCommonKinds.def"
|
||||
#define LEXSTART
|
||||
#include "DiagnosticLexKinds.def"
|
||||
#include "clang/Basic/DiagnosticLexKinds.def"
|
||||
NUM_BUILTIN_LEX_DIAGNOSTICS
|
||||
};
|
||||
} // end namespace diag
|
|
@ -16,9 +16,9 @@ namespace clang {
|
|||
namespace diag {
|
||||
enum {
|
||||
#define DIAG(ENUM,FLAGS,DESC) ENUM,
|
||||
#include "DiagnosticCommonKinds.def"
|
||||
#include "clang/Basic/DiagnosticCommonKinds.def"
|
||||
#define PARSESTART
|
||||
#include "DiagnosticParseKinds.def"
|
||||
#include "clang/Basic/DiagnosticParseKinds.def"
|
||||
NUM_BUILTIN_PARSE_DIAGNOSTICS
|
||||
};
|
||||
} // end namespace diag
|
|
@ -16,9 +16,9 @@ namespace clang {
|
|||
namespace diag {
|
||||
enum {
|
||||
#define DIAG(ENUM,FLAGS,DESC) ENUM,
|
||||
#include "DiagnosticCommonKinds.def"
|
||||
#include "clang/Basic/DiagnosticCommonKinds.def"
|
||||
#define SEMASTART
|
||||
#include "DiagnosticSemaKinds.def"
|
||||
#include "clang/Basic/DiagnosticSemaKinds.def"
|
||||
NUM_BUILTIN_SEMA_DIAGNOSTICS
|
||||
};
|
||||
} // end namespace diag
|
|
@ -15,7 +15,7 @@
|
|||
#include "clang/AST/ASTContext.h"
|
||||
#include "clang/AST/RecordLayout.h"
|
||||
#include "clang/AST/StmtVisitor.h"
|
||||
#include "clang/Basic/DiagnosticAST.h"
|
||||
#include "clang/AST/ASTDiagnostic.h"
|
||||
#include "clang/Basic/TargetInfo.h"
|
||||
#include "llvm/Support/Compiler.h"
|
||||
using namespace clang;
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
#include "clang/Analysis/Analyses/UninitializedValues.h"
|
||||
#include "clang/Analysis/Visitors/CFGRecStmtDeclVisitor.h"
|
||||
#include "clang/Analysis/LocalCheckers.h"
|
||||
#include "clang/Basic/DiagnosticAnalysis.h"
|
||||
#include "clang/Analysis/AnalysisDiagnostic.h"
|
||||
#include "clang/AST/ASTContext.h"
|
||||
#include "clang/Analysis/FlowSensitive/DataflowSolver.h"
|
||||
#include "llvm/Support/Compiler.h"
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
|
||||
#include "clang/Lex/Lexer.h"
|
||||
#include "clang/Lex/Preprocessor.h"
|
||||
#include "clang/Basic/DiagnosticLex.h"
|
||||
#include "clang/Lex/LexDiagnostic.h"
|
||||
#include "clang/Basic/SourceManager.h"
|
||||
#include "llvm/Support/Compiler.h"
|
||||
#include "llvm/Support/MemoryBuffer.h"
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
|
||||
#include "clang/Lex/LiteralSupport.h"
|
||||
#include "clang/Lex/Preprocessor.h"
|
||||
#include "clang/Basic/DiagnosticLex.h"
|
||||
#include "clang/Lex/LexDiagnostic.h"
|
||||
#include "clang/Basic/TargetInfo.h"
|
||||
#include "llvm/ADT/StringExtras.h"
|
||||
using namespace clang;
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
#include "MacroArgs.h"
|
||||
#include "clang/Lex/MacroInfo.h"
|
||||
#include "clang/Lex/Preprocessor.h"
|
||||
#include "clang/Basic/DiagnosticLex.h"
|
||||
#include "clang/Lex/LexDiagnostic.h"
|
||||
using namespace clang;
|
||||
|
||||
/// MacroArgs ctor function - This destroys the vector passed in.
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
#include "clang/Lex/LiteralSupport.h"
|
||||
#include "clang/Lex/HeaderSearch.h"
|
||||
#include "clang/Lex/MacroInfo.h"
|
||||
#include "clang/Basic/DiagnosticLex.h"
|
||||
#include "clang/Lex/LexDiagnostic.h"
|
||||
#include "clang/Basic/SourceManager.h"
|
||||
#include "llvm/ADT/APInt.h"
|
||||
using namespace clang;
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
#include "clang/Lex/MacroInfo.h"
|
||||
#include "clang/Lex/LiteralSupport.h"
|
||||
#include "clang/Basic/TargetInfo.h"
|
||||
#include "clang/Basic/DiagnosticLex.h"
|
||||
#include "clang/Lex/LexDiagnostic.h"
|
||||
#include "llvm/ADT/APSInt.h"
|
||||
using namespace clang;
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
#include "clang/Lex/Preprocessor.h"
|
||||
#include "clang/Lex/HeaderSearch.h"
|
||||
#include "clang/Lex/MacroInfo.h"
|
||||
#include "clang/Basic/DiagnosticLex.h"
|
||||
#include "clang/Lex/LexDiagnostic.h"
|
||||
#include "clang/Basic/SourceManager.h"
|
||||
#include "llvm/Support/MemoryBuffer.h"
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
#include "clang/Lex/MacroInfo.h"
|
||||
#include "clang/Basic/SourceManager.h"
|
||||
#include "clang/Basic/FileManager.h"
|
||||
#include "clang/Basic/DiagnosticLex.h"
|
||||
#include "clang/Lex/LexDiagnostic.h"
|
||||
#include <ctime>
|
||||
using namespace clang;
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
#include "clang/Lex/HeaderSearch.h"
|
||||
#include "clang/Lex/LiteralSupport.h"
|
||||
#include "clang/Lex/Preprocessor.h"
|
||||
#include "clang/Basic/DiagnosticLex.h"
|
||||
#include "clang/Lex/LexDiagnostic.h"
|
||||
#include "clang/Basic/FileManager.h"
|
||||
#include "clang/Basic/SourceManager.h"
|
||||
using namespace clang;
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
#include "clang/Lex/MacroInfo.h"
|
||||
#include "clang/Lex/Pragma.h"
|
||||
#include "clang/Lex/ScratchBuffer.h"
|
||||
#include "clang/Basic/DiagnosticLex.h"
|
||||
#include "clang/Lex/LexDiagnostic.h"
|
||||
#include "clang/Basic/SourceManager.h"
|
||||
#include "clang/Basic/TargetInfo.h"
|
||||
#include "llvm/ADT/APFloat.h"
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
|
||||
#include "clang/Lex/PreprocessorLexer.h"
|
||||
#include "clang/Lex/Preprocessor.h"
|
||||
#include "clang/Basic/DiagnosticLex.h"
|
||||
#include "clang/Lex/LexDiagnostic.h"
|
||||
#include "clang/Basic/SourceManager.h"
|
||||
using namespace clang;
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
#include "clang/Lex/MacroInfo.h"
|
||||
#include "clang/Lex/Preprocessor.h"
|
||||
#include "clang/Basic/SourceManager.h"
|
||||
#include "clang/Basic/DiagnosticLex.h"
|
||||
#include "clang/Lex/LexDiagnostic.h"
|
||||
#include "llvm/ADT/SmallVector.h"
|
||||
using namespace clang;
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "clang/Parse/DeclSpec.h"
|
||||
#include "clang/Basic/DiagnosticParse.h"
|
||||
#include "clang/Parse/ParseDiagnostic.h"
|
||||
#include "clang/Basic/LangOptions.h"
|
||||
#include "llvm/ADT/STLExtras.h"
|
||||
using namespace clang;
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
#ifndef LLVM_CLANG_PARSE_EXTENSION_RAII_OBJECT_H
|
||||
#define LLVM_CLANG_PARSE_EXTENSION_RAII_OBJECT_H
|
||||
|
||||
#include "clang/Basic/DiagnosticParse.h"
|
||||
#include "clang/Parse/ParseDiagnostic.h"
|
||||
|
||||
namespace clang {
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "clang/Basic/DiagnosticParse.h"
|
||||
#include "clang/Parse/ParseDiagnostic.h"
|
||||
#include "clang/Parse/Parser.h"
|
||||
#include "clang/Parse/DeclSpec.h"
|
||||
#include "clang/Parse/Scope.h"
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "clang/Parse/Parser.h"
|
||||
#include "clang/Basic/DiagnosticParse.h"
|
||||
#include "clang/Parse/ParseDiagnostic.h"
|
||||
#include "clang/Parse/Scope.h"
|
||||
#include "ExtensionRAIIObject.h"
|
||||
#include "AstGuard.h"
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "clang/Parse/Parser.h"
|
||||
#include "clang/Basic/DiagnosticParse.h"
|
||||
#include "clang/Parse/ParseDiagnostic.h"
|
||||
#include "clang/Parse/DeclSpec.h"
|
||||
#include "clang/Parse/Scope.h"
|
||||
#include "AstGuard.h"
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "clang/Basic/DiagnosticParse.h"
|
||||
#include "clang/Parse/ParseDiagnostic.h"
|
||||
#include "clang/Parse/Parser.h"
|
||||
#include "clang/Parse/DeclSpec.h"
|
||||
#include "AstGuard.h"
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
#include "clang/Parse/Designator.h"
|
||||
#include "clang/Parse/Parser.h"
|
||||
#include "AstGuard.h"
|
||||
#include "clang/Basic/DiagnosticParse.h"
|
||||
#include "clang/Parse/ParseDiagnostic.h"
|
||||
#include "llvm/ADT/SmallString.h"
|
||||
using namespace clang;
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
#include "clang/Parse/DeclSpec.h"
|
||||
#include "clang/Parse/Scope.h"
|
||||
#include "AstGuard.h"
|
||||
#include "clang/Basic/DiagnosticParse.h"
|
||||
#include "clang/Parse/ParseDiagnostic.h"
|
||||
#include "llvm/ADT/SmallVector.h"
|
||||
using namespace clang;
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "ParsePragma.h"
|
||||
#include "clang/Basic/DiagnosticParse.h"
|
||||
#include "clang/Parse/ParseDiagnostic.h"
|
||||
#include "clang/Lex/Preprocessor.h"
|
||||
#include "clang/Parse/Action.h"
|
||||
using namespace clang;
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "clang/Parse/Parser.h"
|
||||
#include "clang/Basic/DiagnosticParse.h"
|
||||
#include "clang/Parse/ParseDiagnostic.h"
|
||||
#include "clang/Parse/DeclSpec.h"
|
||||
#include "clang/Parse/Scope.h"
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "clang/Parse/Parser.h"
|
||||
#include "clang/Basic/DiagnosticParse.h"
|
||||
#include "clang/Parse/ParseDiagnostic.h"
|
||||
using namespace clang;
|
||||
|
||||
/// isCXXDeclarationStatement - C++-specialized function that disambiguates
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "clang/Parse/Parser.h"
|
||||
#include "clang/Basic/DiagnosticParse.h"
|
||||
#include "clang/Parse/ParseDiagnostic.h"
|
||||
#include "clang/Parse/DeclSpec.h"
|
||||
#include "clang/Parse/Scope.h"
|
||||
#include "ExtensionRAIIObject.h"
|
||||
|
|
|
@ -17,7 +17,6 @@
|
|||
#include "clang/AST/DeclObjC.h"
|
||||
#include "clang/AST/Expr.h"
|
||||
#include "clang/Lex/Preprocessor.h"
|
||||
#include "clang/Basic/DiagnosticSema.h"
|
||||
using namespace clang;
|
||||
|
||||
/// ConvertQualTypeToStringFn - This function is used to pretty print the
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
#include "SemaOverload.h"
|
||||
#include "clang/AST/DeclBase.h"
|
||||
#include "clang/Parse/Action.h"
|
||||
#include "clang/Basic/DiagnosticSema.h"
|
||||
#include "clang/Sema/SemaDiagnostic.h"
|
||||
#include "llvm/ADT/SmallVector.h"
|
||||
#include "llvm/ADT/DenseSet.h"
|
||||
#include "llvm/ADT/SmallPtrSet.h"
|
||||
|
|
|
@ -14,7 +14,6 @@
|
|||
#include "Sema.h"
|
||||
#include "clang/AST/ASTContext.h"
|
||||
#include "clang/Parse/DeclSpec.h"
|
||||
#include "clang/Basic/DiagnosticSema.h"
|
||||
#include "llvm/ADT/STLExtras.h"
|
||||
using namespace clang;
|
||||
|
||||
|
|
|
@ -18,7 +18,6 @@
|
|||
#include "clang/AST/ExprCXX.h"
|
||||
#include "clang/AST/ExprObjC.h"
|
||||
#include "clang/Lex/Preprocessor.h"
|
||||
#include "clang/Basic/DiagnosticSema.h"
|
||||
#include "SemaUtil.h"
|
||||
using namespace clang;
|
||||
|
||||
|
|
|
@ -18,7 +18,6 @@
|
|||
#include "clang/AST/DeclObjC.h"
|
||||
#include "clang/AST/ExprCXX.h"
|
||||
#include "clang/Parse/DeclSpec.h"
|
||||
#include "clang/Basic/DiagnosticSema.h"
|
||||
#include "clang/Basic/TargetInfo.h"
|
||||
#include "clang/Basic/SourceManager.h"
|
||||
// FIXME: layering (ideally, Sema shouldn't be dependent on Lex API's)
|
||||
|
|
|
@ -15,7 +15,6 @@
|
|||
#include "clang/AST/ASTContext.h"
|
||||
#include "clang/AST/DeclObjC.h"
|
||||
#include "clang/AST/Expr.h"
|
||||
#include "clang/Basic/DiagnosticSema.h"
|
||||
#include "clang/Basic/TargetInfo.h"
|
||||
#include "clang/Parse/DeclSpec.h"
|
||||
#include <llvm/ADT/StringExtras.h>
|
||||
|
|
|
@ -18,7 +18,6 @@
|
|||
#include "clang/AST/TypeOrdering.h"
|
||||
#include "clang/AST/StmtVisitor.h"
|
||||
#include "clang/Lex/Preprocessor.h"
|
||||
#include "clang/Basic/DiagnosticSema.h"
|
||||
#include "clang/Parse/DeclSpec.h"
|
||||
#include "llvm/ADT/STLExtras.h"
|
||||
#include "llvm/Support/Compiler.h"
|
||||
|
|
|
@ -14,7 +14,6 @@
|
|||
#include "Sema.h"
|
||||
#include "clang/AST/ASTContext.h"
|
||||
#include "clang/AST/DeclObjC.h"
|
||||
#include "clang/Basic/DiagnosticSema.h"
|
||||
#include "clang/Parse/DeclSpec.h"
|
||||
|
||||
using namespace clang;
|
||||
|
|
|
@ -18,7 +18,6 @@
|
|||
#include "clang/AST/ExprObjC.h"
|
||||
#include "clang/Lex/Preprocessor.h"
|
||||
#include "clang/Lex/LiteralSupport.h"
|
||||
#include "clang/Basic/DiagnosticSema.h"
|
||||
#include "clang/Basic/SourceManager.h"
|
||||
#include "clang/Basic/TargetInfo.h"
|
||||
#include "clang/Parse/DeclSpec.h"
|
||||
|
|
|
@ -16,7 +16,6 @@
|
|||
#include "clang/AST/ASTContext.h"
|
||||
#include "clang/Parse/DeclSpec.h"
|
||||
#include "clang/Lex/Preprocessor.h"
|
||||
#include "clang/Basic/DiagnosticSema.h"
|
||||
#include "clang/Basic/TargetInfo.h"
|
||||
#include "llvm/ADT/STLExtras.h"
|
||||
using namespace clang;
|
||||
|
|
|
@ -15,7 +15,6 @@
|
|||
#include "clang/AST/ASTContext.h"
|
||||
#include "clang/AST/DeclObjC.h"
|
||||
#include "clang/AST/ExprObjC.h"
|
||||
#include "clang/Basic/DiagnosticSema.h"
|
||||
using namespace clang;
|
||||
|
||||
Sema::ExprResult Sema::ParseObjCStringLiteral(SourceLocation *AtLocs,
|
||||
|
|
|
@ -19,7 +19,6 @@
|
|||
#include "clang/AST/DeclCXX.h"
|
||||
#include "clang/AST/Type.h"
|
||||
#include "clang/AST/TypeOrdering.h"
|
||||
#include "clang/Basic/DiagnosticSema.h"
|
||||
#include <algorithm>
|
||||
#include <memory>
|
||||
#include <set>
|
||||
|
|
|
@ -18,7 +18,6 @@
|
|||
#include "clang/AST/ASTContext.h"
|
||||
#include "clang/AST/Expr.h"
|
||||
#include "clang/AST/ExprCXX.h"
|
||||
#include "clang/Basic/DiagnosticSema.h"
|
||||
#include <map>
|
||||
using namespace clang;
|
||||
|
||||
|
|
|
@ -15,7 +15,6 @@
|
|||
#include "SemaInherit.h"
|
||||
#include "clang/AST/ExprCXX.h"
|
||||
#include "clang/AST/ASTContext.h"
|
||||
#include "clang/Basic/DiagnosticSema.h"
|
||||
#include "llvm/ADT/SmallVector.h"
|
||||
#include <set>
|
||||
using namespace clang;
|
||||
|
|
|
@ -17,7 +17,6 @@
|
|||
#include "clang/AST/DeclObjC.h"
|
||||
#include "clang/AST/Expr.h"
|
||||
#include "clang/Basic/TargetInfo.h"
|
||||
#include "clang/Basic/DiagnosticSema.h"
|
||||
using namespace clang;
|
||||
|
||||
Sema::OwningStmtResult Sema::ActOnExprStmt(ExprArg expr) {
|
||||
|
|
|
@ -15,7 +15,6 @@
|
|||
#include "clang/AST/ASTContext.h"
|
||||
#include "clang/AST/DeclObjC.h"
|
||||
#include "clang/AST/Expr.h"
|
||||
#include "clang/Basic/DiagnosticSema.h"
|
||||
#include "clang/Parse/DeclSpec.h"
|
||||
using namespace clang;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче