forked from OSchip/llvm-project
Header guard canonicalization, clang part.
Modifications made by clang-tidy with minor tweaks. llvm-svn: 215557
This commit is contained in:
parent
bdefab961a
commit
2f5db8b3db
|
@ -11,8 +11,8 @@
|
|||
|* *|
|
||||
\*===----------------------------------------------------------------------===*/
|
||||
|
||||
#ifndef CLANG_C_BUILD_SYSTEM_H
|
||||
#define CLANG_C_BUILD_SYSTEM_H
|
||||
#ifndef LLVM_CLANG_C_BUILDSYSTEM_H
|
||||
#define LLVM_CLANG_C_BUILDSYSTEM_H
|
||||
|
||||
#include "clang-c/Platform.h"
|
||||
#include "clang-c/CXErrorCode.h"
|
||||
|
|
|
@ -12,8 +12,8 @@
|
|||
|* *|
|
||||
\*===----------------------------------------------------------------------===*/
|
||||
|
||||
#ifndef CLANG_CXCOMPILATIONDATABASE_H
|
||||
#define CLANG_CXCOMPILATIONDATABASE_H
|
||||
#ifndef LLVM_CLANG_C_CXCOMPILATIONDATABASE_H
|
||||
#define LLVM_CLANG_C_CXCOMPILATIONDATABASE_H
|
||||
|
||||
#include "clang-c/Platform.h"
|
||||
#include "clang-c/CXString.h"
|
||||
|
|
|
@ -11,8 +11,8 @@
|
|||
|* *|
|
||||
\*===----------------------------------------------------------------------===*/
|
||||
|
||||
#ifndef CLANG_C_CXERRORCODE_H
|
||||
#define CLANG_C_CXERRORCODE_H
|
||||
#ifndef LLVM_CLANG_C_CXERRORCODE_H
|
||||
#define LLVM_CLANG_C_CXERRORCODE_H
|
||||
|
||||
#include "clang-c/Platform.h"
|
||||
|
||||
|
|
|
@ -11,8 +11,8 @@
|
|||
|* *|
|
||||
\*===----------------------------------------------------------------------===*/
|
||||
|
||||
#ifndef CLANG_CXSTRING_H
|
||||
#define CLANG_CXSTRING_H
|
||||
#ifndef LLVM_CLANG_C_CXSTRING_H
|
||||
#define LLVM_CLANG_C_CXSTRING_H
|
||||
|
||||
#include "clang-c/Platform.h"
|
||||
|
||||
|
|
|
@ -12,8 +12,8 @@
|
|||
|* *|
|
||||
\*===----------------------------------------------------------------------===*/
|
||||
|
||||
#ifndef CLANG_C_DOCUMENTATION_H
|
||||
#define CLANG_C_DOCUMENTATION_H
|
||||
#ifndef LLVM_CLANG_C_DOCUMENTATION_H
|
||||
#define LLVM_CLANG_C_DOCUMENTATION_H
|
||||
|
||||
#include "clang-c/Index.h"
|
||||
|
||||
|
|
|
@ -13,8 +13,8 @@
|
|||
|* *|
|
||||
\*===----------------------------------------------------------------------===*/
|
||||
|
||||
#ifndef CLANG_C_INDEX_H
|
||||
#define CLANG_C_INDEX_H
|
||||
#ifndef LLVM_CLANG_C_INDEX_H
|
||||
#define LLVM_CLANG_C_INDEX_H
|
||||
|
||||
#include <time.h>
|
||||
|
||||
|
|
|
@ -11,8 +11,8 @@
|
|||
|* *|
|
||||
\*===----------------------------------------------------------------------===*/
|
||||
|
||||
#ifndef CLANG_C_PLATFORM_H
|
||||
#define CLANG_C_PLATFORM_H
|
||||
#ifndef LLVM_CLANG_C_PLATFORM_H
|
||||
#define LLVM_CLANG_C_PLATFORM_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
|
|
@ -7,8 +7,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_CLANG_ARCMIGRATE_ARCMT_ACTION_H
|
||||
#define LLVM_CLANG_ARCMIGRATE_ARCMT_ACTION_H
|
||||
#ifndef LLVM_CLANG_ARCMIGRATE_ARCMTACTIONS_H
|
||||
#define LLVM_CLANG_ARCMIGRATE_ARCMTACTIONS_H
|
||||
|
||||
#include "clang/ARCMigrate/FileRemapper.h"
|
||||
#include "clang/Frontend/FrontendAction.h"
|
||||
|
|
|
@ -7,8 +7,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_CLANG_DIAGNOSTICAST_H
|
||||
#define LLVM_CLANG_DIAGNOSTICAST_H
|
||||
#ifndef LLVM_CLANG_AST_ASTDIAGNOSTIC_H
|
||||
#define LLVM_CLANG_AST_ASTDIAGNOSTIC_H
|
||||
|
||||
#include "clang/Basic/Diagnostic.h"
|
||||
|
||||
|
|
|
@ -12,6 +12,9 @@
|
|||
///
|
||||
//===-------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_CLANG_AST_ASTFWD_H
|
||||
#define LLVM_CLANG_AST_ASTFWD_H
|
||||
|
||||
namespace clang {
|
||||
|
||||
class Decl;
|
||||
|
@ -26,3 +29,5 @@ class Type;
|
|||
class CXXCtorInitializer;
|
||||
|
||||
} // end namespace clang
|
||||
|
||||
#endif
|
||||
|
|
|
@ -13,8 +13,8 @@
|
|||
///
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_CLANG_AST_LAMBDA_H
|
||||
#define LLVM_CLANG_AST_LAMBDA_H
|
||||
#ifndef LLVM_CLANG_AST_ASTLAMBDA_H
|
||||
#define LLVM_CLANG_AST_ASTLAMBDA_H
|
||||
|
||||
#include "clang/AST/DeclCXX.h"
|
||||
#include "clang/AST/DeclTemplate.h"
|
||||
|
@ -77,4 +77,4 @@ inline DeclContext *getLambdaAwareParentOfDeclContext(DeclContext *DC) {
|
|||
|
||||
} // clang
|
||||
|
||||
#endif // LLVM_CLANG_AST_LAMBDA_H
|
||||
#endif
|
||||
|
|
|
@ -13,8 +13,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_CLANG_AST_AST_TYPE_TRAITS_H
|
||||
#define LLVM_CLANG_AST_AST_TYPE_TRAITS_H
|
||||
#ifndef LLVM_CLANG_AST_ASTTYPETRAITS_H
|
||||
#define LLVM_CLANG_AST_ASTTYPETRAITS_H
|
||||
|
||||
#include "clang/AST/ASTFwd.h"
|
||||
#include "clang/AST/Decl.h"
|
||||
|
@ -361,4 +361,4 @@ inline const void *DynTypedNode::getMemoizationData() const {
|
|||
} // end namespace ast_type_traits
|
||||
} // end namespace clang
|
||||
|
||||
#endif // LLVM_CLANG_AST_AST_TYPE_TRAITS_H
|
||||
#endif
|
||||
|
|
|
@ -15,8 +15,8 @@
|
|||
// FIXME: Most of this is copy-and-paste from BumpVector.h and SmallVector.h.
|
||||
// We can refactor this core logic into something common.
|
||||
|
||||
#ifndef LLVM_CLANG_AST_VECTOR
|
||||
#define LLVM_CLANG_AST_VECTOR
|
||||
#ifndef LLVM_CLANG_AST_ASTVECTOR_H
|
||||
#define LLVM_CLANG_AST_ASTVECTOR_H
|
||||
|
||||
#include "clang/AST/AttrIterator.h"
|
||||
#include "llvm/ADT/PointerIntPair.h"
|
||||
|
|
|
@ -12,8 +12,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_CLANG_AST_CANONICAL_TYPE_H
|
||||
#define LLVM_CLANG_AST_CANONICAL_TYPE_H
|
||||
#ifndef LLVM_CLANG_AST_CANONICALTYPE_H
|
||||
#define LLVM_CLANG_AST_CANONICALTYPE_H
|
||||
|
||||
#include "clang/AST/Type.h"
|
||||
#include "llvm/Support/Casting.h"
|
||||
|
@ -736,4 +736,4 @@ CanTypeIterator<InputIterator>::operator->() const {
|
|||
}
|
||||
|
||||
|
||||
#endif // LLVM_CLANG_AST_CANONICAL_TYPE_H
|
||||
#endif
|
||||
|
|
|
@ -12,8 +12,8 @@
|
|||
//===----------------------------------------------------------------------===//
|
||||
|
||||
|
||||
#ifndef LLVM_CLANG_AST_BRIEF_COMMENT_PARSER_H
|
||||
#define LLVM_CLANG_AST_BRIEF_COMMENT_PARSER_H
|
||||
#ifndef LLVM_CLANG_AST_COMMENTBRIEFPARSER_H
|
||||
#define LLVM_CLANG_AST_COMMENTBRIEFPARSER_H
|
||||
|
||||
#include "clang/AST/CommentLexer.h"
|
||||
|
||||
|
|
|
@ -13,8 +13,8 @@
|
|||
//===----------------------------------------------------------------------===//
|
||||
|
||||
|
||||
#ifndef LLVM_CLANG_AST_COMMENT_COMMAND_TRAITS_H
|
||||
#define LLVM_CLANG_AST_COMMENT_COMMAND_TRAITS_H
|
||||
#ifndef LLVM_CLANG_AST_COMMENTCOMMANDTRAITS_H
|
||||
#define LLVM_CLANG_AST_COMMENTCOMMANDTRAITS_H
|
||||
|
||||
#include "clang/Basic/CommentOptions.h"
|
||||
#include "clang/Basic/LLVM.h"
|
||||
|
|
|
@ -7,8 +7,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_CLANG_COMMENTDIAGNOSTIC_H
|
||||
#define LLVM_CLANG_COMMENTDIAGNOSTIC_H
|
||||
#ifndef LLVM_CLANG_AST_COMMENTDIAGNOSTIC_H
|
||||
#define LLVM_CLANG_AST_COMMENTDIAGNOSTIC_H
|
||||
|
||||
#include "clang/Basic/Diagnostic.h"
|
||||
|
||||
|
|
|
@ -11,8 +11,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_CLANG_AST_COMMENT_LEXER_H
|
||||
#define LLVM_CLANG_AST_COMMENT_LEXER_H
|
||||
#ifndef LLVM_CLANG_AST_COMMENTLEXER_H
|
||||
#define LLVM_CLANG_AST_COMMENTLEXER_H
|
||||
|
||||
#include "clang/Basic/Diagnostic.h"
|
||||
#include "clang/Basic/SourceManager.h"
|
||||
|
|
|
@ -11,8 +11,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_CLANG_AST_COMMENT_PARSER_H
|
||||
#define LLVM_CLANG_AST_COMMENT_PARSER_H
|
||||
#ifndef LLVM_CLANG_AST_COMMENTPARSER_H
|
||||
#define LLVM_CLANG_AST_COMMENTPARSER_H
|
||||
|
||||
#include "clang/AST/Comment.h"
|
||||
#include "clang/AST/CommentLexer.h"
|
||||
|
|
|
@ -11,8 +11,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_CLANG_AST_COMMENT_SEMA_H
|
||||
#define LLVM_CLANG_AST_COMMENT_SEMA_H
|
||||
#ifndef LLVM_CLANG_AST_COMMENTSEMA_H
|
||||
#define LLVM_CLANG_AST_COMMENTSEMA_H
|
||||
|
||||
#include "clang/AST/Comment.h"
|
||||
#include "clang/Basic/Diagnostic.h"
|
||||
|
|
|
@ -12,8 +12,8 @@
|
|||
///
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_CLANG_AST_OPENMP_H
|
||||
#define LLVM_CLANG_AST_OPENMP_H
|
||||
#ifndef LLVM_CLANG_AST_DECLOPENMP_H
|
||||
#define LLVM_CLANG_AST_DECLOPENMP_H
|
||||
|
||||
#include "clang/AST/DeclBase.h"
|
||||
#include "llvm/ADT/ArrayRef.h"
|
||||
|
|
|
@ -15,8 +15,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_CLANG_AST_DEPENDENT_DIAGNOSTIC_H
|
||||
#define LLVM_CLANG_AST_DEPENDENT_DIAGNOSTIC_H
|
||||
#ifndef LLVM_CLANG_AST_DEPENDENTDIAGNOSTIC_H
|
||||
#define LLVM_CLANG_AST_DEPENDENTDIAGNOSTIC_H
|
||||
|
||||
#include "clang/AST/DeclBase.h"
|
||||
#include "clang/AST/DeclContextInternals.h"
|
||||
|
|
|
@ -11,8 +11,8 @@
|
|||
// construction of AST nodes from some external source.
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
#ifndef LLVM_CLANG_AST_EXTERNAL_AST_SOURCE_H
|
||||
#define LLVM_CLANG_AST_EXTERNAL_AST_SOURCE_H
|
||||
#ifndef LLVM_CLANG_AST_EXTERNALASTSOURCE_H
|
||||
#define LLVM_CLANG_AST_EXTERNALASTSOURCE_H
|
||||
|
||||
#include "clang/AST/CharUnits.h"
|
||||
#include "clang/AST/DeclBase.h"
|
||||
|
@ -650,4 +650,4 @@ typedef LazyOffsetPtr<CXXBaseSpecifier, uint64_t,
|
|||
|
||||
} // end namespace clang
|
||||
|
||||
#endif // LLVM_CLANG_AST_EXTERNAL_AST_SOURCE_H
|
||||
#endif
|
||||
|
|
|
@ -12,8 +12,8 @@
|
|||
// literals.
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
#ifndef LLVM_CLANG_MANGLENUMBERINGCONTEXT_H
|
||||
#define LLVM_CLANG_MANGLENUMBERINGCONTEXT_H
|
||||
#ifndef LLVM_CLANG_AST_MANGLENUMBERINGCONTEXT_H
|
||||
#define LLVM_CLANG_AST_MANGLENUMBERINGCONTEXT_H
|
||||
|
||||
#include "clang/Basic/LLVM.h"
|
||||
#include "llvm/ADT/DenseMap.h"
|
||||
|
|
|
@ -12,8 +12,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_CLANG_AST_OPERATION_KINDS_H
|
||||
#define LLVM_CLANG_AST_OPERATION_KINDS_H
|
||||
#ifndef LLVM_CLANG_AST_OPERATIONKINDS_H
|
||||
#define LLVM_CLANG_AST_OPERATIONKINDS_H
|
||||
|
||||
namespace clang {
|
||||
|
||||
|
|
|
@ -11,8 +11,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_CLANG_PARENTMAP_H
|
||||
#define LLVM_CLANG_PARENTMAP_H
|
||||
#ifndef LLVM_CLANG_AST_PARENTMAP_H
|
||||
#define LLVM_CLANG_AST_PARENTMAP_H
|
||||
|
||||
namespace clang {
|
||||
class Stmt;
|
||||
|
|
|
@ -11,8 +11,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_CLANG_AST_PRETTY_PRINTER_H
|
||||
#define LLVM_CLANG_AST_PRETTY_PRINTER_H
|
||||
#ifndef LLVM_CLANG_AST_PRETTYPRINTER_H
|
||||
#define LLVM_CLANG_AST_PRETTYPRINTER_H
|
||||
|
||||
#include "clang/Basic/LLVM.h"
|
||||
#include "clang/Basic/LangOptions.h"
|
||||
|
|
|
@ -7,8 +7,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_CLANG_AST_RAW_COMMENT_LIST_H
|
||||
#define LLVM_CLANG_AST_RAW_COMMENT_LIST_H
|
||||
#ifndef LLVM_CLANG_AST_RAWCOMMENTLIST_H
|
||||
#define LLVM_CLANG_AST_RAWCOMMENTLIST_H
|
||||
|
||||
#include "clang/Basic/CommentOptions.h"
|
||||
#include "clang/Basic/SourceManager.h"
|
||||
|
|
|
@ -11,8 +11,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_CLANG_AST_LAYOUTINFO_H
|
||||
#define LLVM_CLANG_AST_LAYOUTINFO_H
|
||||
#ifndef LLVM_CLANG_AST_RECORDLAYOUT_H
|
||||
#define LLVM_CLANG_AST_RECORDLAYOUT_H
|
||||
|
||||
#include "clang/AST/CharUnits.h"
|
||||
#include "clang/AST/DeclCXX.h"
|
||||
|
|
|
@ -12,8 +12,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_CLANG_AST_STMT_GRAPHTRAITS_H
|
||||
#define LLVM_CLANG_AST_STMT_GRAPHTRAITS_H
|
||||
#ifndef LLVM_CLANG_AST_STMTGRAPHTRAITS_H
|
||||
#define LLVM_CLANG_AST_STMTGRAPHTRAITS_H
|
||||
|
||||
#include "clang/AST/Stmt.h"
|
||||
#include "llvm/ADT/DepthFirstIterator.h"
|
||||
|
|
|
@ -11,8 +11,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_CLANG_AST_STMT_ITR_H
|
||||
#define LLVM_CLANG_AST_STMT_ITR_H
|
||||
#ifndef LLVM_CLANG_AST_STMTITERATOR_H
|
||||
#define LLVM_CLANG_AST_STMTITERATOR_H
|
||||
|
||||
#include "llvm/Support/Compiler.h"
|
||||
#include "llvm/Support/DataTypes.h"
|
||||
|
|
|
@ -16,8 +16,8 @@
|
|||
///
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_CLANG_TYPE_ORDERING_H
|
||||
#define LLVM_CLANG_TYPE_ORDERING_H
|
||||
#ifndef LLVM_CLANG_AST_TYPEORDERING_H
|
||||
#define LLVM_CLANG_AST_TYPEORDERING_H
|
||||
|
||||
#include "clang/AST/CanonicalType.h"
|
||||
#include "clang/AST/Type.h"
|
||||
|
|
|
@ -38,8 +38,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_CLANG_AST_MATCHERS_AST_MATCH_FINDER_H
|
||||
#define LLVM_CLANG_AST_MATCHERS_AST_MATCH_FINDER_H
|
||||
#ifndef LLVM_CLANG_ASTMATCHERS_ASTMATCHFINDER_H
|
||||
#define LLVM_CLANG_ASTMATCHERS_ASTMATCHFINDER_H
|
||||
|
||||
#include "clang/ASTMatchers/ASTMatchers.h"
|
||||
|
||||
|
@ -253,4 +253,4 @@ match(MatcherT Matcher, const NodeT &Node, ASTContext &Context) {
|
|||
} // end namespace ast_matchers
|
||||
} // end namespace clang
|
||||
|
||||
#endif // LLVM_CLANG_AST_MATCHERS_AST_MATCH_FINDER_H
|
||||
#endif
|
||||
|
|
|
@ -42,8 +42,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_CLANG_AST_MATCHERS_AST_MATCHERS_H
|
||||
#define LLVM_CLANG_AST_MATCHERS_AST_MATCHERS_H
|
||||
#ifndef LLVM_CLANG_ASTMATCHERS_ASTMATCHERS_H
|
||||
#define LLVM_CLANG_ASTMATCHERS_ASTMATCHERS_H
|
||||
|
||||
#include "clang/AST/DeclFriend.h"
|
||||
#include "clang/AST/DeclTemplate.h"
|
||||
|
@ -3690,4 +3690,4 @@ AST_MATCHER(Decl, hasCudaGlobalAttr) {
|
|||
} // end namespace ast_matchers
|
||||
} // end namespace clang
|
||||
|
||||
#endif // LLVM_CLANG_AST_MATCHERS_AST_MATCHERS_H
|
||||
#endif
|
||||
|
|
|
@ -32,8 +32,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_CLANG_AST_MATCHERS_AST_MATCHERS_INTERNAL_H
|
||||
#define LLVM_CLANG_AST_MATCHERS_AST_MATCHERS_INTERNAL_H
|
||||
#ifndef LLVM_CLANG_ASTMATCHERS_ASTMATCHERSINTERNAL_H
|
||||
#define LLVM_CLANG_ASTMATCHERS_ASTMATCHERSINTERNAL_H
|
||||
|
||||
#include "clang/AST/ASTTypeTraits.h"
|
||||
#include "clang/AST/Decl.h"
|
||||
|
@ -1662,4 +1662,4 @@ struct NotEqualsBoundNodePredicate {
|
|||
} // end namespace ast_matchers
|
||||
} // end namespace clang
|
||||
|
||||
#endif // LLVM_CLANG_AST_MATCHERS_AST_MATCHERS_INTERNAL_H
|
||||
#endif
|
||||
|
|
|
@ -34,8 +34,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_CLANG_AST_MATCHERS_AST_MATCHERS_MACROS_H
|
||||
#define LLVM_CLANG_AST_MATCHERS_AST_MATCHERS_MACROS_H
|
||||
#ifndef LLVM_CLANG_ASTMATCHERS_ASTMATCHERSMACROS_H
|
||||
#define LLVM_CLANG_ASTMATCHERS_ASTMATCHERSMACROS_H
|
||||
|
||||
/// \brief AST_MATCHER_FUNCTION_P(ReturnType, DefineMatcher, ParamType, Param) {
|
||||
/// defines a single-parameter function named DefineMatcher() that returns a
|
||||
|
@ -352,4 +352,4 @@
|
|||
internal::TypeLocTraverseMatcher, ReturnTypesF>::Func MatcherName##Loc; \
|
||||
AST_TYPE_TRAVERSE_MATCHER(MatcherName, FunctionName##Type, ReturnTypesF)
|
||||
|
||||
#endif // LLVM_CLANG_AST_MATCHERS_AST_MATCHERS_MACROS_H
|
||||
#endif
|
||||
|
|
|
@ -12,8 +12,8 @@
|
|||
///
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_CLANG_AST_MATCHERS_DYNAMIC_DIAGNOSTICS_H
|
||||
#define LLVM_CLANG_AST_MATCHERS_DYNAMIC_DIAGNOSTICS_H
|
||||
#ifndef LLVM_CLANG_ASTMATCHERS_DYNAMIC_DIAGNOSTICS_H
|
||||
#define LLVM_CLANG_ASTMATCHERS_DYNAMIC_DIAGNOSTICS_H
|
||||
|
||||
#include "clang/ASTMatchers/Dynamic/VariantValue.h"
|
||||
#include "clang/Basic/LLVM.h"
|
||||
|
|
|
@ -31,8 +31,8 @@
|
|||
///
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_CLANG_AST_MATCHERS_DYNAMIC_PARSER_H
|
||||
#define LLVM_CLANG_AST_MATCHERS_DYNAMIC_PARSER_H
|
||||
#ifndef LLVM_CLANG_ASTMATCHERS_DYNAMIC_PARSER_H
|
||||
#define LLVM_CLANG_ASTMATCHERS_DYNAMIC_PARSER_H
|
||||
|
||||
#include "clang/ASTMatchers/Dynamic/Diagnostics.h"
|
||||
#include "clang/ASTMatchers/Dynamic/Registry.h"
|
||||
|
|
|
@ -14,8 +14,8 @@
|
|||
///
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_CLANG_AST_MATCHERS_DYNAMIC_REGISTRY_H
|
||||
#define LLVM_CLANG_AST_MATCHERS_DYNAMIC_REGISTRY_H
|
||||
#ifndef LLVM_CLANG_ASTMATCHERS_DYNAMIC_REGISTRY_H
|
||||
#define LLVM_CLANG_ASTMATCHERS_DYNAMIC_REGISTRY_H
|
||||
|
||||
#include "clang/ASTMatchers/Dynamic/Diagnostics.h"
|
||||
#include "clang/ASTMatchers/Dynamic/VariantValue.h"
|
||||
|
|
|
@ -14,8 +14,8 @@
|
|||
///
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_CLANG_AST_MATCHERS_DYNAMIC_VARIANT_VALUE_H
|
||||
#define LLVM_CLANG_AST_MATCHERS_DYNAMIC_VARIANT_VALUE_H
|
||||
#ifndef LLVM_CLANG_ASTMATCHERS_DYNAMIC_VARIANTVALUE_H
|
||||
#define LLVM_CLANG_ASTMATCHERS_DYNAMIC_VARIANTVALUE_H
|
||||
|
||||
#include "clang/ASTMatchers/ASTMatchers.h"
|
||||
#include "clang/ASTMatchers/ASTMatchersInternal.h"
|
||||
|
|
|
@ -13,8 +13,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef CLANG_ANALYSIS_CFG_REACHABILITY
|
||||
#define CLANG_ANALYSIS_CFG_REACHABILITY
|
||||
#ifndef LLVM_CLANG_ANALYSIS_ANALYSES_CFGREACHABILITYANALYSIS_H
|
||||
#define LLVM_CLANG_ANALYSIS_ANALYSES_CFGREACHABILITYANALYSIS_H
|
||||
|
||||
#include "llvm/ADT/BitVector.h"
|
||||
#include "llvm/ADT/DenseMap.h"
|
||||
|
|
|
@ -12,8 +12,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_CLANG_CONSUMED_H
|
||||
#define LLVM_CLANG_CONSUMED_H
|
||||
#ifndef LLVM_CLANG_ANALYSIS_ANALYSES_CONSUMED_H
|
||||
#define LLVM_CLANG_ANALYSIS_ANALYSES_CONSUMED_H
|
||||
|
||||
#include "clang/AST/DeclCXX.h"
|
||||
#include "clang/AST/ExprCXX.h"
|
||||
|
|
|
@ -14,8 +14,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_CLANG_DATAFLOW_WORKLIST
|
||||
#define LLVM_CLANG_DATAFLOW_WORKLIST
|
||||
#ifndef LLVM_CLANG_ANALYSIS_ANALYSES_DATAFLOWWORKLIST_H
|
||||
#define LLVM_CLANG_ANALYSIS_ANALYSES_DATAFLOWWORKLIST_H
|
||||
|
||||
#include "clang/Analysis/Analyses/PostOrderCFGView.h"
|
||||
|
||||
|
|
|
@ -11,8 +11,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_CLANG_DOMINATORS_H
|
||||
#define LLVM_CLANG_DOMINATORS_H
|
||||
#ifndef LLVM_CLANG_ANALYSIS_ANALYSES_DOMINATORS_H
|
||||
#define LLVM_CLANG_ANALYSIS_ANALYSES_DOMINATORS_H
|
||||
|
||||
#include "clang/Analysis/AnalysisContext.h"
|
||||
#include "clang/Analysis/CFG.h"
|
||||
|
|
|
@ -16,8 +16,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_CLANG_FORMAT_H
|
||||
#define LLVM_CLANG_FORMAT_H
|
||||
#ifndef LLVM_CLANG_ANALYSIS_ANALYSES_FORMATSTRING_H
|
||||
#define LLVM_CLANG_ANALYSIS_ANALYSES_FORMATSTRING_H
|
||||
|
||||
#include "clang/AST/CanonicalType.h"
|
||||
|
||||
|
|
|
@ -11,8 +11,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_CLANG_LIVEVARIABLES_H
|
||||
#define LLVM_CLANG_LIVEVARIABLES_H
|
||||
#ifndef LLVM_CLANG_ANALYSIS_ANALYSES_LIVEVARIABLES_H
|
||||
#define LLVM_CLANG_ANALYSIS_ANALYSES_LIVEVARIABLES_H
|
||||
|
||||
#include "clang/AST/Decl.h"
|
||||
#include "clang/Analysis/AnalysisContext.h"
|
||||
|
|
|
@ -11,8 +11,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_CLANG_POSTORDER_CFGVIEW
|
||||
#define LLVM_CLANG_POSTORDER_CFGVIEW
|
||||
#ifndef LLVM_CLANG_ANALYSIS_ANALYSES_POSTORDERCFGVIEW_H
|
||||
#define LLVM_CLANG_ANALYSIS_ANALYSES_POSTORDERCFGVIEW_H
|
||||
|
||||
#include <vector>
|
||||
//#include <algorithm>
|
||||
|
|
|
@ -13,8 +13,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_CLANG_ANALYSIS_PSEUDOCONSTANTANALYSIS
|
||||
#define LLVM_CLANG_ANALYSIS_PSEUDOCONSTANTANALYSIS
|
||||
#ifndef LLVM_CLANG_ANALYSIS_ANALYSES_PSEUDOCONSTANTANALYSIS_H
|
||||
#define LLVM_CLANG_ANALYSIS_ANALYSES_PSEUDOCONSTANTANALYSIS_H
|
||||
|
||||
#include "clang/AST/Stmt.h"
|
||||
|
||||
|
|
|
@ -11,8 +11,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_CLANG_REACHABLECODE_H
|
||||
#define LLVM_CLANG_REACHABLECODE_H
|
||||
#ifndef LLVM_CLANG_ANALYSIS_ANALYSES_REACHABLECODE_H
|
||||
#define LLVM_CLANG_ANALYSIS_ANALYSES_REACHABLECODE_H
|
||||
|
||||
#include "clang/Basic/SourceLocation.h"
|
||||
|
||||
|
|
|
@ -16,8 +16,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_CLANG_THREADSAFETY_H
|
||||
#define LLVM_CLANG_THREADSAFETY_H
|
||||
#ifndef LLVM_CLANG_ANALYSIS_ANALYSES_THREADSAFETY_H
|
||||
#define LLVM_CLANG_ANALYSIS_ANALYSES_THREADSAFETY_H
|
||||
|
||||
#include "clang/Analysis/AnalysisContext.h"
|
||||
#include "clang/Basic/SourceLocation.h"
|
||||
|
|
|
@ -19,8 +19,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_CLANG_THREAD_SAFETY_COMMON_H
|
||||
#define LLVM_CLANG_THREAD_SAFETY_COMMON_H
|
||||
#ifndef LLVM_CLANG_ANALYSIS_ANALYSES_THREADSAFETYCOMMON_H
|
||||
#define LLVM_CLANG_ANALYSIS_ANALYSES_THREADSAFETYCOMMON_H
|
||||
|
||||
#include "clang/Analysis/Analyses/PostOrderCFGView.h"
|
||||
#include "clang/Analysis/Analyses/ThreadSafetyTIL.h"
|
||||
|
|
|
@ -10,8 +10,8 @@
|
|||
// that are used as part of fact-checking capability expressions.
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_CLANG_THREAD_SAFETY_LOGICAL_H
|
||||
#define LLVM_CLANG_THREAD_SAFETY_LOGICAL_H
|
||||
#ifndef LLVM_CLANG_ANALYSIS_ANALYSES_THREADSAFETYLOGICAL_H
|
||||
#define LLVM_CLANG_ANALYSIS_ANALYSES_THREADSAFETYLOGICAL_H
|
||||
|
||||
#include "clang/Analysis/Analyses/ThreadSafetyTIL.h"
|
||||
|
||||
|
@ -104,5 +104,5 @@ bool LExpr::implies(const LExpr *RHS) const {
|
|||
}
|
||||
}
|
||||
|
||||
#endif // LLVM_CLANG_THREAD_SAFETY_LOGICAL_H
|
||||
#endif
|
||||
|
||||
|
|
|
@ -44,8 +44,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_CLANG_THREAD_SAFETY_TIL_H
|
||||
#define LLVM_CLANG_THREAD_SAFETY_TIL_H
|
||||
#ifndef LLVM_CLANG_ANALYSIS_ANALYSES_THREADSAFETYTIL_H
|
||||
#define LLVM_CLANG_ANALYSIS_ANALYSES_THREADSAFETYTIL_H
|
||||
|
||||
// All clang include dependencies for this file must be put in
|
||||
// ThreadSafetyUtil.h.
|
||||
|
@ -1848,4 +1848,4 @@ void simplifyIncompleteArg(Variable *V, til::Phi *Ph);
|
|||
} // end namespace threadSafety
|
||||
} // end namespace clang
|
||||
|
||||
#endif // LLVM_CLANG_THREAD_SAFETY_TIL_H
|
||||
#endif
|
||||
|
|
|
@ -14,8 +14,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_CLANG_THREAD_SAFETY_TRAVERSE_H
|
||||
#define LLVM_CLANG_THREAD_SAFETY_TRAVERSE_H
|
||||
#ifndef LLVM_CLANG_ANALYSIS_ANALYSES_THREADSAFETYTRAVERSE_H
|
||||
#define LLVM_CLANG_ANALYSIS_ANALYSES_THREADSAFETYTRAVERSE_H
|
||||
|
||||
#include "ThreadSafetyTIL.h"
|
||||
|
||||
|
|
|
@ -11,8 +11,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_CLANG_THREAD_SAFETY_UTIL_H
|
||||
#define LLVM_CLANG_THREAD_SAFETY_UTIL_H
|
||||
#ifndef LLVM_CLANG_ANALYSIS_ANALYSES_THREADSAFETYUTIL_H
|
||||
#define LLVM_CLANG_ANALYSIS_ANALYSES_THREADSAFETYUTIL_H
|
||||
|
||||
#include "llvm/ADT/StringRef.h"
|
||||
#include "llvm/Support/AlignOf.h"
|
||||
|
|
|
@ -12,8 +12,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_CLANG_UNINIT_VALS_H
|
||||
#define LLVM_CLANG_UNINIT_VALS_H
|
||||
#ifndef LLVM_CLANG_ANALYSIS_ANALYSES_UNINITIALIZEDVALUES_H
|
||||
#define LLVM_CLANG_ANALYSIS_ANALYSES_UNINITIALIZEDVALUES_H
|
||||
|
||||
#include "clang/AST/Stmt.h"
|
||||
#include "llvm/ADT/SmallVector.h"
|
||||
|
|
|
@ -7,8 +7,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_CLANG_DIAGNOSTICANALYSIS_H
|
||||
#define LLVM_CLANG_DIAGNOSTICANALYSIS_H
|
||||
#ifndef LLVM_CLANG_ANALYSIS_ANALYSISDIAGNOSTIC_H
|
||||
#define LLVM_CLANG_ANALYSIS_ANALYSISDIAGNOSTIC_H
|
||||
|
||||
#include "clang/Basic/Diagnostic.h"
|
||||
|
||||
|
|
|
@ -12,8 +12,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_CLANG_CFG_H
|
||||
#define LLVM_CLANG_CFG_H
|
||||
#ifndef LLVM_CLANG_ANALYSIS_CFG_H
|
||||
#define LLVM_CLANG_ANALYSIS_CFG_H
|
||||
|
||||
#include "clang/AST/Stmt.h"
|
||||
#include "clang/Analysis/Support/BumpVector.h"
|
||||
|
|
|
@ -12,8 +12,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_CLANG_CFGSTMTMAP_H
|
||||
#define LLVM_CLANG_CFGSTMTMAP_H
|
||||
#ifndef LLVM_CLANG_ANALYSIS_CFGSTMTMAP_H
|
||||
#define LLVM_CLANG_ANALYSIS_CFGSTMTMAP_H
|
||||
|
||||
#include "clang/Analysis/CFG.h"
|
||||
|
||||
|
|
|
@ -14,8 +14,8 @@
|
|||
// edges to all externally available functions.
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_CLANG_ANALYSIS_CALLGRAPH
|
||||
#define LLVM_CLANG_ANALYSIS_CALLGRAPH
|
||||
#ifndef LLVM_CLANG_ANALYSIS_CALLGRAPH_H
|
||||
#define LLVM_CLANG_ANALYSIS_CALLGRAPH_H
|
||||
|
||||
#include "clang/AST/DeclBase.h"
|
||||
#include "clang/AST/RecursiveASTVisitor.h"
|
||||
|
|
|
@ -11,8 +11,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_CLANG_ANALYSIS_DS_COCOA
|
||||
#define LLVM_CLANG_ANALYSIS_DS_COCOA
|
||||
#ifndef LLVM_CLANG_ANALYSIS_DOMAINSPECIFIC_COCOACONVENTIONS_H
|
||||
#define LLVM_CLANG_ANALYSIS_DOMAINSPECIFIC_COCOACONVENTIONS_H
|
||||
|
||||
#include "clang/Basic/LLVM.h"
|
||||
#include "llvm/ADT/StringRef.h"
|
||||
|
|
|
@ -12,8 +12,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_CLANG_ANALYSIS_DS_OBJCNORETURN
|
||||
#define LLVM_CLANG_ANALYSIS_DS_OBJCNORETURN
|
||||
#ifndef LLVM_CLANG_ANALYSIS_DOMAINSPECIFIC_OBJCNORETURN_H
|
||||
#define LLVM_CLANG_ANALYSIS_DOMAINSPECIFIC_OBJCNORETURN_H
|
||||
|
||||
#include "clang/Basic/IdentifierTable.h"
|
||||
|
||||
|
|
|
@ -12,8 +12,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_CLANG_ANALYSIS_PROGRAM_POINT
|
||||
#define LLVM_CLANG_ANALYSIS_PROGRAM_POINT
|
||||
#ifndef LLVM_CLANG_ANALYSIS_PROGRAMPOINT_H
|
||||
#define LLVM_CLANG_ANALYSIS_PROGRAMPOINT_H
|
||||
|
||||
#include "clang/Analysis/AnalysisContext.h"
|
||||
#include "clang/Analysis/CFG.h"
|
||||
|
|
|
@ -16,8 +16,8 @@
|
|||
// refactor this core logic into something common that is shared between
|
||||
// the two. The main thing that is different is the allocation strategy.
|
||||
|
||||
#ifndef LLVM_CLANG_BUMP_VECTOR
|
||||
#define LLVM_CLANG_BUMP_VECTOR
|
||||
#ifndef LLVM_CLANG_ANALYSIS_SUPPORT_BUMPVECTOR_H
|
||||
#define LLVM_CLANG_ANALYSIS_SUPPORT_BUMPVECTOR_H
|
||||
|
||||
#include "llvm/ADT/PointerIntPair.h"
|
||||
#include "llvm/Support/Allocator.h"
|
||||
|
@ -241,4 +241,4 @@ void BumpVector<T>::grow(BumpVectorContext &C, size_t MinSize) {
|
|||
}
|
||||
|
||||
} // end: clang namespace
|
||||
#endif // end: LLVM_CLANG_BUMP_VECTOR
|
||||
#endif
|
||||
|
|
|
@ -13,8 +13,8 @@
|
|||
///
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef CLANG_BASIC_ABI_H
|
||||
#define CLANG_BASIC_ABI_H
|
||||
#ifndef LLVM_CLANG_BASIC_ABI_H
|
||||
#define LLVM_CLANG_BASIC_ABI_H
|
||||
|
||||
#include "llvm/Support/DataTypes.h"
|
||||
|
||||
|
@ -204,4 +204,4 @@ struct ThunkInfo {
|
|||
|
||||
} // end namespace clang
|
||||
|
||||
#endif // CLANG_BASIC_ABI_H
|
||||
#endif
|
||||
|
|
|
@ -12,8 +12,8 @@
|
|||
///
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_CLANG_ALL_DIAGNOSTICS_H
|
||||
#define LLVM_CLANG_ALL_DIAGNOSTICS_H
|
||||
#ifndef LLVM_CLANG_BASIC_ALLDIAGNOSTICS_H
|
||||
#define LLVM_CLANG_BASIC_ALLDIAGNOSTICS_H
|
||||
|
||||
#include "clang/AST/ASTDiagnostic.h"
|
||||
#include "clang/AST/CommentDiagnostic.h"
|
||||
|
|
|
@ -12,8 +12,8 @@
|
|||
///
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_CLANG_ATTRKINDS_H
|
||||
#define LLVM_CLANG_ATTRKINDS_H
|
||||
#ifndef LLVM_CLANG_BASIC_ATTRKINDS_H
|
||||
#define LLVM_CLANG_BASIC_ATTRKINDS_H
|
||||
|
||||
namespace clang {
|
||||
|
||||
|
|
|
@ -7,8 +7,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef CLANG_BASIC_CHARINFO_H
|
||||
#define CLANG_BASIC_CHARINFO_H
|
||||
#ifndef LLVM_CLANG_BASIC_CHARINFO_H
|
||||
#define LLVM_CLANG_BASIC_CHARINFO_H
|
||||
|
||||
#include "clang/Basic/LLVM.h"
|
||||
#include "llvm/ADT/StringRef.h"
|
||||
|
|
|
@ -12,8 +12,8 @@
|
|||
///
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_CLANG_COMMENTOPTIONS_H
|
||||
#define LLVM_CLANG_COMMENTOPTIONS_H
|
||||
#ifndef LLVM_CLANG_BASIC_COMMENTOPTIONS_H
|
||||
#define LLVM_CLANG_BASIC_COMMENTOPTIONS_H
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
|
|
@ -12,8 +12,8 @@
|
|||
///
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_CLANG_DIAGNOSTIC_H
|
||||
#define LLVM_CLANG_DIAGNOSTIC_H
|
||||
#ifndef LLVM_CLANG_BASIC_DIAGNOSTIC_H
|
||||
#define LLVM_CLANG_BASIC_DIAGNOSTIC_H
|
||||
|
||||
#include "clang/Basic/DiagnosticIDs.h"
|
||||
#include "clang/Basic/DiagnosticOptions.h"
|
||||
|
|
|
@ -12,8 +12,8 @@
|
|||
///
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_CLANG_DIAGNOSTICIDS_H
|
||||
#define LLVM_CLANG_DIAGNOSTICIDS_H
|
||||
#ifndef LLVM_CLANG_BASIC_DIAGNOSTICIDS_H
|
||||
#define LLVM_CLANG_BASIC_DIAGNOSTICIDS_H
|
||||
|
||||
#include "clang/Basic/LLVM.h"
|
||||
#include "llvm/ADT/IntrusiveRefCntPtr.h"
|
||||
|
|
|
@ -12,8 +12,8 @@
|
|||
///
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_CLANG_EXPRESSIONTRAITS_H
|
||||
#define LLVM_CLANG_EXPRESSIONTRAITS_H
|
||||
#ifndef LLVM_CLANG_BASIC_EXPRESSIONTRAITS_H
|
||||
#define LLVM_CLANG_BASIC_EXPRESSIONTRAITS_H
|
||||
|
||||
namespace clang {
|
||||
|
||||
|
|
|
@ -12,8 +12,8 @@
|
|||
///
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_CLANG_FILEMANAGER_H
|
||||
#define LLVM_CLANG_FILEMANAGER_H
|
||||
#ifndef LLVM_CLANG_BASIC_FILEMANAGER_H
|
||||
#define LLVM_CLANG_BASIC_FILEMANAGER_H
|
||||
|
||||
#include "clang/Basic/FileSystemOptions.h"
|
||||
#include "clang/Basic/LLVM.h"
|
||||
|
|
|
@ -12,8 +12,8 @@
|
|||
///
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_CLANG_FILESYSTEMSTATCACHE_H
|
||||
#define LLVM_CLANG_FILESYSTEMSTATCACHE_H
|
||||
#ifndef LLVM_CLANG_BASIC_FILESYSTEMSTATCACHE_H
|
||||
#define LLVM_CLANG_BASIC_FILESYSTEMSTATCACHE_H
|
||||
|
||||
#include "clang/Basic/LLVM.h"
|
||||
#include "llvm/ADT/StringMap.h"
|
||||
|
|
|
@ -13,8 +13,8 @@
|
|||
///
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef CLANG_BASIC_LLVM_H
|
||||
#define CLANG_BASIC_LLVM_H
|
||||
#ifndef LLVM_CLANG_BASIC_LLVM_H
|
||||
#define LLVM_CLANG_BASIC_LLVM_H
|
||||
|
||||
// Do not proliferate #includes here, require clients to #include their
|
||||
// dependencies.
|
||||
|
|
|
@ -12,8 +12,8 @@
|
|||
///
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_CLANG_LANGOPTIONS_H
|
||||
#define LLVM_CLANG_LANGOPTIONS_H
|
||||
#ifndef LLVM_CLANG_BASIC_LANGOPTIONS_H
|
||||
#define LLVM_CLANG_BASIC_LANGOPTIONS_H
|
||||
|
||||
#include "clang/Basic/CommentOptions.h"
|
||||
#include "clang/Basic/LLVM.h"
|
||||
|
|
|
@ -12,8 +12,8 @@
|
|||
///
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_CLANG_OBJCRUNTIME_H
|
||||
#define LLVM_CLANG_OBJCRUNTIME_H
|
||||
#ifndef LLVM_CLANG_BASIC_OBJCRUNTIME_H
|
||||
#define LLVM_CLANG_BASIC_OBJCRUNTIME_H
|
||||
|
||||
#include "clang/Basic/VersionTuple.h"
|
||||
#include "llvm/ADT/Triple.h"
|
||||
|
|
|
@ -12,8 +12,8 @@
|
|||
///
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_CLANG_BASIC_OPERATOR_KINDS_H
|
||||
#define LLVM_CLANG_BASIC_OPERATOR_KINDS_H
|
||||
#ifndef LLVM_CLANG_BASIC_OPERATORKINDS_H
|
||||
#define LLVM_CLANG_BASIC_OPERATORKINDS_H
|
||||
|
||||
namespace clang {
|
||||
|
||||
|
|
|
@ -12,8 +12,8 @@
|
|||
///
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_CLANG_OPERATOR_PRECEDENCE_H
|
||||
#define LLVM_CLANG_OPERATOR_PRECEDENCE_H
|
||||
#ifndef LLVM_CLANG_BASIC_OPERATORPRECEDENCE_H
|
||||
#define LLVM_CLANG_BASIC_OPERATORPRECEDENCE_H
|
||||
|
||||
#include "clang/Basic/TokenKinds.h"
|
||||
|
||||
|
|
|
@ -13,8 +13,8 @@
|
|||
///
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_CLANG_PARTIALDIAGNOSTIC_H
|
||||
#define LLVM_CLANG_PARTIALDIAGNOSTIC_H
|
||||
#ifndef LLVM_CLANG_BASIC_PARTIALDIAGNOSTIC_H
|
||||
#define LLVM_CLANG_BASIC_PARTIALDIAGNOSTIC_H
|
||||
|
||||
#include "clang/Basic/Diagnostic.h"
|
||||
#include "clang/Basic/SourceLocation.h"
|
||||
|
|
|
@ -7,8 +7,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_CLANG_PLISTSUPPORT_H
|
||||
#define LLVM_CLANG_PLISTSUPPORT_H
|
||||
#ifndef LLVM_CLANG_BASIC_PLISTSUPPORT_H
|
||||
#define LLVM_CLANG_BASIC_PLISTSUPPORT_H
|
||||
|
||||
#include "clang/Basic/FileManager.h"
|
||||
#include "clang/Basic/SourceManager.h"
|
||||
|
|
|
@ -14,8 +14,8 @@
|
|||
///
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef CLANG_BASIC_PRETTYSTACKTRACE_H
|
||||
#define CLANG_BASIC_PRETTYSTACKTRACE_H
|
||||
#ifndef LLVM_CLANG_BASIC_PRETTYSTACKTRACE_H
|
||||
#define LLVM_CLANG_BASIC_PRETTYSTACKTRACE_H
|
||||
|
||||
#include "clang/Basic/SourceLocation.h"
|
||||
#include "llvm/Support/PrettyStackTrace.h"
|
||||
|
|
|
@ -12,8 +12,8 @@
|
|||
///
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_CLANG_SOURCELOCATION_H
|
||||
#define LLVM_CLANG_SOURCELOCATION_H
|
||||
#ifndef LLVM_CLANG_BASIC_SOURCELOCATION_H
|
||||
#define LLVM_CLANG_BASIC_SOURCELOCATION_H
|
||||
|
||||
#include "clang/Basic/LLVM.h"
|
||||
#include "llvm/Support/Compiler.h"
|
||||
|
|
|
@ -32,8 +32,8 @@
|
|||
///
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_CLANG_SOURCEMANAGER_H
|
||||
#define LLVM_CLANG_SOURCEMANAGER_H
|
||||
#ifndef LLVM_CLANG_BASIC_SOURCEMANAGER_H
|
||||
#define LLVM_CLANG_BASIC_SOURCEMANAGER_H
|
||||
|
||||
#include "clang/Basic/FileManager.h"
|
||||
#include "clang/Basic/LLVM.h"
|
||||
|
|
|
@ -12,8 +12,8 @@
|
|||
///
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_CLANG_SOURCEMANAGER_INTERNALS_H
|
||||
#define LLVM_CLANG_SOURCEMANAGER_INTERNALS_H
|
||||
#ifndef LLVM_CLANG_BASIC_SOURCEMANAGERINTERNALS_H
|
||||
#define LLVM_CLANG_BASIC_SOURCEMANAGERINTERNALS_H
|
||||
|
||||
#include "clang/Basic/SourceLocation.h"
|
||||
#include "clang/Basic/SourceManager.h"
|
||||
|
|
|
@ -13,8 +13,8 @@
|
|||
///
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_CLANG_BASIC_TARGET_BUILTINS_H
|
||||
#define LLVM_CLANG_BASIC_TARGET_BUILTINS_H
|
||||
#ifndef LLVM_CLANG_BASIC_TARGETBUILTINS_H
|
||||
#define LLVM_CLANG_BASIC_TARGETBUILTINS_H
|
||||
|
||||
#include "clang/Basic/Builtins.h"
|
||||
#undef PPC
|
||||
|
|
|
@ -13,8 +13,8 @@
|
|||
///
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_CLANG_TARGETCXXABI_H
|
||||
#define LLVM_CLANG_TARGETCXXABI_H
|
||||
#ifndef LLVM_CLANG_BASIC_TARGETCXXABI_H
|
||||
#define LLVM_CLANG_BASIC_TARGETCXXABI_H
|
||||
|
||||
#include "llvm/ADT/Triple.h"
|
||||
#include "llvm/Support/ErrorHandling.h"
|
||||
|
|
|
@ -12,8 +12,8 @@
|
|||
///
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_CLANG_FRONTEND_TARGETOPTIONS_H
|
||||
#define LLVM_CLANG_FRONTEND_TARGETOPTIONS_H
|
||||
#ifndef LLVM_CLANG_BASIC_TARGETOPTIONS_H
|
||||
#define LLVM_CLANG_BASIC_TARGETOPTIONS_H
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
|
|
@ -11,8 +11,8 @@
|
|||
/// \brief Defines the clang::TemplateNameKind enum.
|
||||
///
|
||||
//===----------------------------------------------------------------------===//
|
||||
#ifndef LLVM_CLANG_TEMPLATEKINDS_H
|
||||
#define LLVM_CLANG_TEMPLATEKINDS_H
|
||||
#ifndef LLVM_CLANG_BASIC_TEMPLATEKINDS_H
|
||||
#define LLVM_CLANG_BASIC_TEMPLATEKINDS_H
|
||||
|
||||
namespace clang {
|
||||
|
||||
|
|
|
@ -12,8 +12,8 @@
|
|||
///
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_CLANG_TOKENKINDS_H
|
||||
#define LLVM_CLANG_TOKENKINDS_H
|
||||
#ifndef LLVM_CLANG_BASIC_TOKENKINDS_H
|
||||
#define LLVM_CLANG_BASIC_TOKENKINDS_H
|
||||
|
||||
#include "llvm/Support/Compiler.h"
|
||||
|
||||
|
|
|
@ -12,8 +12,8 @@
|
|||
///
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_CLANG_TYPETRAITS_H
|
||||
#define LLVM_CLANG_TYPETRAITS_H
|
||||
#ifndef LLVM_CLANG_BASIC_TYPETRAITS_H
|
||||
#define LLVM_CLANG_BASIC_TYPETRAITS_H
|
||||
|
||||
namespace clang {
|
||||
|
||||
|
|
|
@ -10,8 +10,8 @@
|
|||
/// \brief Defines the virtual file system interface vfs::FileSystem.
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_CLANG_BASIC_VIRTUAL_FILE_SYSTEM_H
|
||||
#define LLVM_CLANG_BASIC_VIRTUAL_FILE_SYSTEM_H
|
||||
#ifndef LLVM_CLANG_BASIC_VIRTUALFILESYSTEM_H
|
||||
#define LLVM_CLANG_BASIC_VIRTUALFILESYSTEM_H
|
||||
|
||||
#include "clang/Basic/LLVM.h"
|
||||
#include "llvm/ADT/IntrusiveRefCntPtr.h"
|
||||
|
@ -280,4 +280,4 @@ public:
|
|||
|
||||
} // end namespace vfs
|
||||
} // end namespace clang
|
||||
#endif // LLVM_CLANG_BASIC_VIRTUAL_FILE_SYSTEM_H
|
||||
#endif
|
||||
|
|
|
@ -7,8 +7,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_CLANG_CODEGEN_BACKEND_UTIL_H
|
||||
#define LLVM_CLANG_CODEGEN_BACKEND_UTIL_H
|
||||
#ifndef LLVM_CLANG_CODEGEN_BACKENDUTIL_H
|
||||
#define LLVM_CLANG_CODEGEN_BACKENDUTIL_H
|
||||
|
||||
#include "clang/Basic/LLVM.h"
|
||||
|
||||
|
|
|
@ -13,8 +13,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_CLANG_CODEGEN_FUNCTION_INFO_H
|
||||
#define LLVM_CLANG_CODEGEN_FUNCTION_INFO_H
|
||||
#ifndef LLVM_CLANG_CODEGEN_CGFUNCTIONINFO_H
|
||||
#define LLVM_CLANG_CODEGEN_CGFUNCTIONINFO_H
|
||||
|
||||
#include "clang/AST/CanonicalType.h"
|
||||
#include "clang/AST/Type.h"
|
||||
|
|
|
@ -21,8 +21,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_CLANG_CODEGEN_ABITYPES_H
|
||||
#define LLVM_CLANG_CODEGEN_ABITYPES_H
|
||||
#ifndef LLVM_CLANG_CODEGEN_CODEGENABITYPES_H
|
||||
#define LLVM_CLANG_CODEGEN_CODEGENABITYPES_H
|
||||
|
||||
#include "clang/AST/CanonicalType.h"
|
||||
#include "clang/AST/Type.h"
|
||||
|
|
|
@ -7,8 +7,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_CLANG_CODEGEN_CODE_GEN_ACTION_H
|
||||
#define LLVM_CLANG_CODEGEN_CODE_GEN_ACTION_H
|
||||
#ifndef LLVM_CLANG_CODEGEN_CODEGENACTION_H
|
||||
#define LLVM_CLANG_CODEGEN_CODEGENACTION_H
|
||||
|
||||
#include "clang/Frontend/FrontendAction.h"
|
||||
#include <memory>
|
||||
|
|
|
@ -7,8 +7,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef CLANG_DRIVER_ACTION_H_
|
||||
#define CLANG_DRIVER_ACTION_H_
|
||||
#ifndef LLVM_CLANG_DRIVER_ACTION_H
|
||||
#define LLVM_CLANG_DRIVER_ACTION_H
|
||||
|
||||
#include "clang/Driver/Types.h"
|
||||
#include "clang/Driver/Util.h"
|
||||
|
|
|
@ -7,8 +7,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef CLANG_DRIVER_COMPILATION_H_
|
||||
#define CLANG_DRIVER_COMPILATION_H_
|
||||
#ifndef LLVM_CLANG_DRIVER_COMPILATION_H
|
||||
#define LLVM_CLANG_DRIVER_COMPILATION_H
|
||||
|
||||
#include "clang/Driver/Job.h"
|
||||
#include "clang/Driver/Util.h"
|
||||
|
|
|
@ -7,8 +7,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef CLANG_DRIVER_DRIVER_H_
|
||||
#define CLANG_DRIVER_DRIVER_H_
|
||||
#ifndef LLVM_CLANG_DRIVER_DRIVER_H
|
||||
#define LLVM_CLANG_DRIVER_DRIVER_H
|
||||
|
||||
#include "clang/Basic/Diagnostic.h"
|
||||
#include "clang/Basic/LLVM.h"
|
||||
|
|
|
@ -7,8 +7,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_CLANG_DRIVERDIAGNOSTIC_H
|
||||
#define LLVM_CLANG_DRIVERDIAGNOSTIC_H
|
||||
#ifndef LLVM_CLANG_DRIVER_DRIVERDIAGNOSTIC_H
|
||||
#define LLVM_CLANG_DRIVER_DRIVERDIAGNOSTIC_H
|
||||
|
||||
#include "clang/Basic/Diagnostic.h"
|
||||
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue