mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 791094 - Fix some warnings about inconsistent uses of struct/class; r=sfink
This commit is contained in:
parent
57ed615248
commit
6f2f95a5cd
@ -39,7 +39,7 @@ struct StmtInfoPC : public StmtInfoBase {
|
||||
|
||||
typedef HashSet<JSAtom *> FuncStmtSet;
|
||||
struct Parser;
|
||||
struct SharedContext;
|
||||
class SharedContext;
|
||||
|
||||
typedef Vector<Definition *, 16> DeclVector;
|
||||
|
||||
|
@ -26,7 +26,7 @@ namespace frontend {
|
||||
class AnyContextFlags
|
||||
{
|
||||
// This class's data is all private and so only visible to these friends.
|
||||
friend struct SharedContext;
|
||||
friend class SharedContext;
|
||||
|
||||
// True if "use strict"; appears in the body instead of being inherited.
|
||||
bool hasExplicitUseStrict:1;
|
||||
@ -64,7 +64,7 @@ class AnyContextFlags
|
||||
class FunctionContextFlags
|
||||
{
|
||||
// This class's data is all private and so only visible to these friends.
|
||||
friend struct FunctionBox;
|
||||
friend class FunctionBox;
|
||||
|
||||
// We parsed a yield statement in the function.
|
||||
bool isGenerator:1;
|
||||
|
@ -177,7 +177,7 @@ namespace frontend {
|
||||
|
||||
struct BytecodeEmitter;
|
||||
struct Definition;
|
||||
struct FunctionBox;
|
||||
class FunctionBox;
|
||||
struct ObjectBox;
|
||||
struct Token;
|
||||
struct TokenPos;
|
||||
|
Loading…
Reference in New Issue
Block a user