blob: 6804657f9bff3c96c74487ef020b11b760e5f5f9 [file] [log] [blame]
Francis Visoiu Mistrih5a05cc02019-03-19 21:11:07 +00001//===-- RemarkParserImpl.h - Implementation details -------------*- C++/-*-===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8//
9// This file provides implementation details for the remark parser.
10//
11//===----------------------------------------------------------------------===//
12
13#ifndef LLVM_REMARKS_REMARK_PARSER_IMPL_H
14#define LLVM_REMARKS_REMARK_PARSER_IMPL_H
15
16namespace llvm {
17namespace remarks {
18/// This is used as a base for any parser implementation.
19struct ParserImpl {
20 enum class Kind { YAML };
21
22 // The parser kind. This is used as a tag to safely cast between
23 // implementations.
Douglas Yung16a8c542019-03-20 01:52:40 +000024 Kind ParserKind;
Francis Visoiu Mistrih5a05cc02019-03-19 21:11:07 +000025};
26} // end namespace remarks
27} // end namespace llvm
28
29#endif /* LLVM_REMARKS_REMARK_PARSER_IMPL_H */