mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-27 14:07:32 +00:00
Declare classes with matched tags, pointed out by a clang++ warning.
llvm-svn: 86144
This commit is contained in:
parent
a38019a3de
commit
d04294d7b8
@ -495,7 +495,8 @@ public:
|
||||
//--------------------------------------------------
|
||||
// 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() {}
|
||||
|
||||
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.
|
||||
//
|
||||
template<class DataType>
|
||||
struct basic_parser : public basic_parser_impl {
|
||||
class basic_parser : public basic_parser_impl {
|
||||
public:
|
||||
typedef DataType parser_data_type;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user