1 //===-- RemarkParserImpl.h - Implementation details -------------*- C++/-*-===//
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
7 //===----------------------------------------------------------------------===//
9 // This file provides implementation details for the remark parser.
11 //===----------------------------------------------------------------------===//
13 #ifndef LLVM_REMARKS_REMARK_PARSER_IMPL_H
14 #define LLVM_REMARKS_REMARK_PARSER_IMPL_H
18 /// This is used as a base for any parser implementation.
20 enum class Kind
{ YAML
};
22 explicit ParserImpl(Kind TheParserKind
) : ParserKind(TheParserKind
) {}
23 // Virtual destructor prevents mismatched deletes
24 virtual ~ParserImpl() {}
26 // The parser kind. This is used as a tag to safely cast between
30 } // end namespace remarks
31 } // end namespace llvm
33 #endif /* LLVM_REMARKS_REMARK_PARSER_IMPL_H */