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
d9d8826fca
commit
2e96807a7f
@ -39,7 +39,7 @@ struct StmtInfoPC : public StmtInfoBase {
|
|||||||
|
|
||||||
typedef HashSet<JSAtom *> FuncStmtSet;
|
typedef HashSet<JSAtom *> FuncStmtSet;
|
||||||
struct Parser;
|
struct Parser;
|
||||||
struct SharedContext;
|
class SharedContext;
|
||||||
|
|
||||||
typedef Vector<Definition *, 16> DeclVector;
|
typedef Vector<Definition *, 16> DeclVector;
|
||||||
|
|
||||||
|
@ -26,7 +26,7 @@ namespace frontend {
|
|||||||
class AnyContextFlags
|
class AnyContextFlags
|
||||||
{
|
{
|
||||||
// This class's data is all private and so only visible to these friends.
|
// 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.
|
// True if "use strict"; appears in the body instead of being inherited.
|
||||||
bool hasExplicitUseStrict:1;
|
bool hasExplicitUseStrict:1;
|
||||||
@ -64,7 +64,7 @@ class AnyContextFlags
|
|||||||
class FunctionContextFlags
|
class FunctionContextFlags
|
||||||
{
|
{
|
||||||
// This class's data is all private and so only visible to these friends.
|
// 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.
|
// We parsed a yield statement in the function.
|
||||||
bool isGenerator:1;
|
bool isGenerator:1;
|
||||||
|
@ -177,7 +177,7 @@ namespace frontend {
|
|||||||
|
|
||||||
struct BytecodeEmitter;
|
struct BytecodeEmitter;
|
||||||
struct Definition;
|
struct Definition;
|
||||||
struct FunctionBox;
|
class FunctionBox;
|
||||||
struct ObjectBox;
|
struct ObjectBox;
|
||||||
struct Token;
|
struct Token;
|
||||||
struct TokenPos;
|
struct TokenPos;
|
||||||
|
Loading…
Reference in New Issue
Block a user