mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-14 23:48:56 +00:00
Declare classes with matched tags, pointed out by a clang++ warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86144 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
992a637297
commit
0ff290615f
@ -495,7 +495,8 @@ public:
|
|||||||
//--------------------------------------------------
|
//--------------------------------------------------
|
||||||
// basic_parser - Super class of parsers to provide boilerplate code
|
// basic_parser - Super class of parsers to provide boilerplate code
|
||||||
//
|
//
|
||||||
struct basic_parser_impl { // non-template implementation of basic_parser<t>
|
class basic_parser_impl { // non-template implementation of basic_parser<t>
|
||||||
|
public:
|
||||||
virtual ~basic_parser_impl() {}
|
virtual ~basic_parser_impl() {}
|
||||||
|
|
||||||
enum ValueExpected getValueExpectedFlagDefault() const {
|
enum ValueExpected getValueExpectedFlagDefault() const {
|
||||||
@ -525,7 +526,8 @@ struct basic_parser_impl { // non-template implementation of basic_parser<t>
|
|||||||
// a typedef for the provided data type.
|
// a typedef for the provided data type.
|
||||||
//
|
//
|
||||||
template<class DataType>
|
template<class DataType>
|
||||||
struct basic_parser : public basic_parser_impl {
|
class basic_parser : public basic_parser_impl {
|
||||||
|
public:
|
||||||
typedef DataType parser_data_type;
|
typedef DataType parser_data_type;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user