[NFC] remove unneded header includes

This time from clang/Parse.

Differential Revision: https://reviews.llvm.org/D159435
This commit is contained in:
Bill Wendling 2023-09-04 17:52:12 -07:00
parent 7d6283fd09
commit b0cbf3a0da
3 changed files with 5 additions and 14 deletions

View File

@ -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.

View File

@ -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>

View File

@ -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.