void created this revision. void added reviewers: nickdesaulniers, aaron.ballman. Herald added a project: All. void requested review of this revision. Herald added a reviewer: jdoerfert. Herald added subscribers: cfe-commits, jplehr, sstefan1. Herald added a project: clang.
This time from clang/Parse. Repository: rG LLVM Github Monorepo https://reviews.llvm.org/D159435 Files: clang/include/clang/Parse/LoopHint.h clang/include/clang/Parse/Parser.h clang/include/clang/Parse/RAIIObjectsForParser.h Index: clang/include/clang/Parse/RAIIObjectsForParser.h =================================================================== --- clang/include/clang/Parse/RAIIObjectsForParser.h +++ clang/include/clang/Parse/RAIIObjectsForParser.h @@ -15,12 +15,12 @@ #define LLVM_CLANG_PARSE_RAIIOBJECTSFORPARSER_H #include "clang/Parse/ParseDiagnostic.h" -#include "clang/Parse/Parser.h" #include "clang/Sema/DelayedDiagnostic.h" -#include "clang/Sema/ParsedTemplate.h" #include "clang/Sema/Sema.h" namespace clang { + class ParsedAttributes; + // TODO: move ParsingClassDefinition here. // TODO: move TentativeParsingAction here. Index: clang/include/clang/Parse/Parser.h =================================================================== --- clang/include/clang/Parse/Parser.h +++ clang/include/clang/Parse/Parser.h @@ -13,22 +13,13 @@ #ifndef LLVM_CLANG_PARSE_PARSER_H #define LLVM_CLANG_PARSE_PARSER_H -#include "clang/AST/Availability.h" -#include "clang/Basic/BitmaskEnum.h" -#include "clang/Basic/OpenMPKinds.h" #include "clang/Basic/OperatorPrecedence.h" -#include "clang/Basic/Specifiers.h" -#include "clang/Basic/TokenKinds.h" #include "clang/Lex/CodeCompletionHandler.h" #include "clang/Lex/Preprocessor.h" -#include "clang/Sema/DeclSpec.h" #include "clang/Sema/Sema.h" #include "llvm/ADT/SmallVector.h" #include "llvm/Frontend/OpenMP/OMPContext.h" -#include "llvm/Support/Compiler.h" -#include "llvm/Support/PrettyStackTrace.h" #include "llvm/Support/SaveAndRestore.h" -#include <memory> #include <optional> #include <stack> Index: clang/include/clang/Parse/LoopHint.h =================================================================== --- clang/include/clang/Parse/LoopHint.h +++ clang/include/clang/Parse/LoopHint.h @@ -9,13 +9,13 @@ #ifndef LLVM_CLANG_PARSE_LOOPHINT_H #define LLVM_CLANG_PARSE_LOOPHINT_H -#include "clang/Basic/IdentifierTable.h" #include "clang/Basic/SourceLocation.h" -#include "clang/Sema/Ownership.h" -#include "clang/Sema/ParsedAttr.h" namespace clang { +class Expr; +struct IdentifierLoc; + /// Loop optimization hint for loop and unroll pragmas. struct LoopHint { // Source range of the directive.
Index: clang/include/clang/Parse/RAIIObjectsForParser.h =================================================================== --- clang/include/clang/Parse/RAIIObjectsForParser.h +++ clang/include/clang/Parse/RAIIObjectsForParser.h @@ -15,12 +15,12 @@ #define LLVM_CLANG_PARSE_RAIIOBJECTSFORPARSER_H #include "clang/Parse/ParseDiagnostic.h" -#include "clang/Parse/Parser.h" #include "clang/Sema/DelayedDiagnostic.h" -#include "clang/Sema/ParsedTemplate.h" #include "clang/Sema/Sema.h" namespace clang { + class ParsedAttributes; + // TODO: move ParsingClassDefinition here. // TODO: move TentativeParsingAction here. Index: clang/include/clang/Parse/Parser.h =================================================================== --- clang/include/clang/Parse/Parser.h +++ clang/include/clang/Parse/Parser.h @@ -13,22 +13,13 @@ #ifndef LLVM_CLANG_PARSE_PARSER_H #define LLVM_CLANG_PARSE_PARSER_H -#include "clang/AST/Availability.h" -#include "clang/Basic/BitmaskEnum.h" -#include "clang/Basic/OpenMPKinds.h" #include "clang/Basic/OperatorPrecedence.h" -#include "clang/Basic/Specifiers.h" -#include "clang/Basic/TokenKinds.h" #include "clang/Lex/CodeCompletionHandler.h" #include "clang/Lex/Preprocessor.h" -#include "clang/Sema/DeclSpec.h" #include "clang/Sema/Sema.h" #include "llvm/ADT/SmallVector.h" #include "llvm/Frontend/OpenMP/OMPContext.h" -#include "llvm/Support/Compiler.h" -#include "llvm/Support/PrettyStackTrace.h" #include "llvm/Support/SaveAndRestore.h" -#include <memory> #include <optional> #include <stack> Index: clang/include/clang/Parse/LoopHint.h =================================================================== --- clang/include/clang/Parse/LoopHint.h +++ clang/include/clang/Parse/LoopHint.h @@ -9,13 +9,13 @@ #ifndef LLVM_CLANG_PARSE_LOOPHINT_H #define LLVM_CLANG_PARSE_LOOPHINT_H -#include "clang/Basic/IdentifierTable.h" #include "clang/Basic/SourceLocation.h" -#include "clang/Sema/Ownership.h" -#include "clang/Sema/ParsedAttr.h" namespace clang { +class Expr; +struct IdentifierLoc; + /// Loop optimization hint for loop and unroll pragmas. struct LoopHint { // Source range of the directive.
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits