[pseudo] Move grammar-related headers to a separate dir, NFC.

We did that for .cpp, but forgot the headers.

Differential Revision: https://reviews.llvm.org/D127388
This commit is contained in:
Haojian Wu 2022-06-09 12:16:14 +02:00
parent a7bd1ab776
commit c70aeaad2b
19 changed files with 37 additions and 37 deletions

View File

@ -9,9 +9,9 @@
#include "clang-pseudo/DirectiveTree.h"
#include "clang-pseudo/Forest.h"
#include "clang-pseudo/GLR.h"
#include "clang-pseudo/Grammar.h"
#include "clang-pseudo/LRTable.h"
#include "clang-pseudo/Token.h"
#include "clang-pseudo/grammar/Grammar.h"
#include "clang-pseudo/grammar/LRTable.h"
#include "clang/Basic/LangOptions.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/MemoryBuffer.h"

View File

@ -12,7 +12,7 @@
//
//===----------------------------------------------------------------------===//
#include "clang-pseudo/Grammar.h"
#include "clang-pseudo/grammar/Grammar.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/FileSystem.h"

View File

@ -20,8 +20,8 @@
#ifndef CLANG_PSEUDO_FOREST_H
#define CLANG_PSEUDO_FOREST_H
#include "clang-pseudo/Grammar.h"
#include "clang-pseudo/Token.h"
#include "clang-pseudo/grammar/Grammar.h"
#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/Support/Allocator.h"

View File

@ -30,8 +30,8 @@
#define CLANG_PSEUDO_GLR_H
#include "clang-pseudo/Forest.h"
#include "clang-pseudo/Grammar.h"
#include "clang-pseudo/LRTable.h"
#include "clang-pseudo/grammar/Grammar.h"
#include "clang-pseudo/grammar/LRTable.h"
#include "llvm/Support/Allocator.h"
#include <vector>

View File

@ -23,7 +23,7 @@
#ifndef CLANG_PSEUDO_CXX_CXX_H
#define CLANG_PSEUDO_CXX_CXX_H
#include "clang-pseudo/Grammar.h"
#include "clang-pseudo/grammar/Grammar.h"
namespace clang {
namespace pseudo {

View File

@ -49,8 +49,8 @@
//
//===----------------------------------------------------------------------===//
#ifndef CLANG_PSEUDO_GRAMMAR_H
#define CLANG_PSEUDO_GRAMMAR_H
#ifndef CLANG_PSEUDO_GRAMMAR_GRAMMAR_H
#define CLANG_PSEUDO_GRAMMAR_GRAMMAR_H
#include "clang/Basic/TokenKinds.h"
#include "llvm/ADT/ArrayRef.h"
@ -221,4 +221,4 @@ struct GrammarTable {
} // namespace pseudo
} // namespace clang
#endif // CLANG_PSEUDO_GRAMMAR_H
#endif // CLANG_PSEUDO_GRAMMAR_GRAMMAR_H

View File

@ -28,10 +28,10 @@
// in making decisions.
//===----------------------------------------------------------------------===//
#ifndef CLANG_PSEUDO_LRGRAPH_H
#define CLANG_PSEUDO_LRGRAPH_H
#ifndef CLANG_PSEUDO_GRAMMAR_LRGRAPH_H
#define CLANG_PSEUDO_GRAMMAR_LRGRAPH_H
#include "clang-pseudo/Grammar.h"
#include "clang-pseudo/grammar/Grammar.h"
#include "llvm/ADT/Hashing.h"
#include <vector>
@ -178,4 +178,4 @@ template <> struct DenseMapInfo<clang::pseudo::Item> {
};
} // namespace llvm
#endif // CLANG_PSEUDO_LRGRAPH_H
#endif // CLANG_PSEUDO_GRAMMAR_LRGRAPH_H

View File

@ -33,10 +33,10 @@
//
//===----------------------------------------------------------------------===//
#ifndef CLANG_PSEUDO_LRTABLE_H
#define CLANG_PSEUDO_LRTABLE_H
#ifndef CLANG_PSEUDO_GRAMMAR_LRTABLE_H
#define CLANG_PSEUDO_GRAMMAR_LRTABLE_H
#include "clang-pseudo/Grammar.h"
#include "clang-pseudo/grammar/Grammar.h"
#include "llvm/ADT/ArrayRef.h"
#include <cstdint>
#include <vector>
@ -189,4 +189,4 @@ llvm::raw_ostream &operator<<(llvm::raw_ostream &, const LRTable::Action &);
} // namespace pseudo
} // namespace clang
#endif // CLANG_PSEUDO_LRTABLE_H
#endif // CLANG_PSEUDO_GRAMMAR_LRTABLE_H

View File

@ -7,8 +7,8 @@
//===----------------------------------------------------------------------===//
#include "clang-pseudo/GLR.h"
#include "clang-pseudo/Grammar.h"
#include "clang-pseudo/LRTable.h"
#include "clang-pseudo/grammar/Grammar.h"
#include "clang-pseudo/grammar/LRTable.h"
#include "clang/Basic/TokenKinds.h"
#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/STLExtras.h"

View File

@ -7,7 +7,7 @@
//===----------------------------------------------------------------------===//
#include "clang-pseudo/cxx/CXX.h"
#include "clang-pseudo/LRTable.h"
#include "clang-pseudo/grammar/LRTable.h"
namespace clang {
namespace pseudo {

View File

@ -6,7 +6,7 @@
//
//===----------------------------------------------------------------------===//
#include "clang-pseudo/Grammar.h"
#include "clang-pseudo/grammar/Grammar.h"
#include "clang/Basic/TokenKinds.h"
#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/STLExtras.h"

View File

@ -6,7 +6,7 @@
//
//===----------------------------------------------------------------------===//
#include "clang-pseudo/Grammar.h"
#include "clang-pseudo/grammar/Grammar.h"
#include "clang/Basic/TokenKinds.h"
#include "llvm/ADT/DenseSet.h"
#include "llvm/ADT/STLExtras.h"

View File

@ -6,8 +6,8 @@
//
//===----------------------------------------------------------------------===//
#include "clang-pseudo/LRGraph.h"
#include "clang-pseudo/Grammar.h"
#include "clang-pseudo/grammar/LRGraph.h"
#include "clang-pseudo/grammar/Grammar.h"
#include "llvm/ADT/DenseSet.h"
#include "llvm/ADT/Hashing.h"
#include "llvm/ADT/STLExtras.h"

View File

@ -6,8 +6,8 @@
//
//===----------------------------------------------------------------------===//
#include "clang-pseudo/LRTable.h"
#include "clang-pseudo/Grammar.h"
#include "clang-pseudo/grammar/LRTable.h"
#include "clang-pseudo/grammar/Grammar.h"
#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/Support/ErrorHandling.h"

View File

@ -6,9 +6,9 @@
//
//===----------------------------------------------------------------------===//
#include "clang-pseudo/Grammar.h"
#include "clang-pseudo/LRGraph.h"
#include "clang-pseudo/LRTable.h"
#include "clang-pseudo/grammar/Grammar.h"
#include "clang-pseudo/grammar/LRGraph.h"
#include "clang-pseudo/grammar/LRTable.h"
#include "clang/Basic/TokenKinds.h"
#include <cstdint>

View File

@ -9,10 +9,10 @@
#include "clang-pseudo/Bracket.h"
#include "clang-pseudo/DirectiveTree.h"
#include "clang-pseudo/GLR.h"
#include "clang-pseudo/Grammar.h"
#include "clang-pseudo/LRGraph.h"
#include "clang-pseudo/LRTable.h"
#include "clang-pseudo/Token.h"
#include "clang-pseudo/grammar/Grammar.h"
#include "clang-pseudo/grammar/LRGraph.h"
#include "clang-pseudo/grammar/LRTable.h"
#include "clang/Basic/LangOptions.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/Support/CommandLine.h"

View File

@ -7,7 +7,7 @@
//===----------------------------------------------------------------------===//
#include "clang-pseudo/GLR.h"
#include "clang-pseudo/Grammar.h"
#include "clang-pseudo/grammar/Grammar.h"
#include "clang-pseudo/Token.h"
#include "clang/Basic/LangOptions.h"
#include "clang/Basic/TokenKinds.h"

View File

@ -6,7 +6,7 @@
//
//===----------------------------------------------------------------------===//
#include "clang-pseudo/Grammar.h"
#include "clang-pseudo/grammar/Grammar.h"
#include "gmock/gmock.h"
#include "gtest/gtest.h"
#include <memory>

View File

@ -6,8 +6,8 @@
//
//===----------------------------------------------------------------------===//
#include "clang-pseudo/LRTable.h"
#include "clang-pseudo/Grammar.h"
#include "clang-pseudo/grammar/LRTable.h"
#include "clang-pseudo/grammar/Grammar.h"
#include "clang/Basic/TokenKinds.h"
#include "gmock/gmock.h"
#include "gtest/gtest.h"