Browse Source

Re-generated the parser bindings and bootstrap code.

pull/1192/head
Joao Matos 8 years ago
parent
commit
3ea7e97241
  1. 1
      src/AST/Stmt.cs
  2. 10
      src/CppParser/Bindings/CLI/Stmt.cpp
  3. 6
      src/CppParser/Bindings/CLI/Stmt.h
  4. 4854
      src/CppParser/Bindings/CSharp/i686-apple-darwin12.4.0/CppSharp.CppParser.cs
  5. 4846
      src/CppParser/Bindings/CSharp/i686-pc-win32-msvc/CppSharp.CppParser.cs
  6. 4894
      src/CppParser/Bindings/CSharp/x86_64-apple-darwin12.4.0/CppSharp.CppParser.cs
  7. 4892
      src/CppParser/Bindings/CSharp/x86_64-linux-gnu-cxx11abi/CppSharp.CppParser.cs
  8. 4892
      src/CppParser/Bindings/CSharp/x86_64-linux-gnu/CppSharp.CppParser.cs
  9. 4892
      src/CppParser/Bindings/CSharp/x86_64-pc-win32-msvc/CppSharp.CppParser.cs
  10. 95
      src/CppParser/ParseExpr.cpp
  11. 30
      src/CppParser/ParseStmt.cpp
  12. 2
      src/CppParser/Stmt.cpp
  13. 1
      src/CppParser/Stmt.h
  14. 95
      src/Parser/ASTConverter.Expr.cs
  15. 30
      src/Parser/ASTConverter.Stmt.cs

1
src/AST/Stmt.cs

@ -149,7 +149,6 @@ namespace CppSharp.AST @@ -149,7 +149,6 @@ namespace CppSharp.AST
public SourceRange SourceRange { get; set; }
public SourceLocation BeginLoc { get; set; }
public SourceLocation EndLoc { get; set; }
public Stmt StripLabelLikeStatements { get; set; }
public abstract T Visit<T>(IStmtVisitor<T> visitor);
}

10
src/CppParser/Bindings/CLI/Stmt.cpp

@ -113,16 +113,6 @@ void CppSharp::Parser::AST::Stmt::EndLoc::set(CppSharp::Parser::SourceLocation v @@ -113,16 +113,6 @@ void CppSharp::Parser::AST::Stmt::EndLoc::set(CppSharp::Parser::SourceLocation v
((::CppSharp::CppParser::AST::Stmt*)NativePtr)->endLoc = _marshal0;
}
CppSharp::Parser::AST::Stmt^ CppSharp::Parser::AST::Stmt::StripLabelLikeStatements::get()
{
return (((::CppSharp::CppParser::AST::Stmt*)NativePtr)->stripLabelLikeStatements == nullptr) ? nullptr : gcnew CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)((::CppSharp::CppParser::AST::Stmt*)NativePtr)->stripLabelLikeStatements);
}
void CppSharp::Parser::AST::Stmt::StripLabelLikeStatements::set(CppSharp::Parser::AST::Stmt^ value)
{
((::CppSharp::CppParser::AST::Stmt*)NativePtr)->stripLabelLikeStatements = (::CppSharp::CppParser::AST::Stmt*)value->NativePtr;
}
CppSharp::Parser::AST::DeclStmt::DeclStmt(::CppSharp::CppParser::AST::DeclStmt* native)
: CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)native)
{

6
src/CppParser/Bindings/CLI/Stmt.h

@ -239,12 +239,6 @@ namespace CppSharp @@ -239,12 +239,6 @@ namespace CppSharp
void set(CppSharp::Parser::SourceLocation);
}
property CppSharp::Parser::AST::Stmt^ StripLabelLikeStatements
{
CppSharp::Parser::AST::Stmt^ get();
void set(CppSharp::Parser::AST::Stmt^);
}
static operator CppSharp::Parser::AST::Stmt^(CppSharp::Parser::AST::StmtClass klass);
protected:

4854
src/CppParser/Bindings/CSharp/i686-apple-darwin12.4.0/CppSharp.CppParser.cs

File diff suppressed because it is too large Load Diff

4846
src/CppParser/Bindings/CSharp/i686-pc-win32-msvc/CppSharp.CppParser.cs

File diff suppressed because it is too large Load Diff

4894
src/CppParser/Bindings/CSharp/x86_64-apple-darwin12.4.0/CppSharp.CppParser.cs

File diff suppressed because it is too large Load Diff

4892
src/CppParser/Bindings/CSharp/x86_64-linux-gnu-cxx11abi/CppSharp.CppParser.cs

File diff suppressed because it is too large Load Diff

4892
src/CppParser/Bindings/CSharp/x86_64-linux-gnu/CppSharp.CppParser.cs

File diff suppressed because it is too large Load Diff

4892
src/CppParser/Bindings/CSharp/x86_64-pc-win32-msvc/CppSharp.CppParser.cs

File diff suppressed because it is too large Load Diff

95
src/CppParser/ParseExpr.cpp

@ -26,7 +26,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr) @@ -26,7 +26,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr)
{
auto S = const_cast<clang::ConstantExpr*>(llvm::cast<clang::ConstantExpr>(Expr));
auto _S = new AST::ConstantExpr();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->type = GetQualifiedType(S->getType());
_S->valueDependent = S->isValueDependent();
_S->typeDependent = S->isTypeDependent();
@ -48,7 +47,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr) @@ -48,7 +47,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr)
{
auto S = const_cast<clang::OpaqueValueExpr*>(llvm::cast<clang::OpaqueValueExpr>(Expr));
auto _S = new AST::OpaqueValueExpr();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->type = GetQualifiedType(S->getType());
_S->valueDependent = S->isValueDependent();
_S->typeDependent = S->isTypeDependent();
@ -71,7 +69,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr) @@ -71,7 +69,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr)
{
auto S = const_cast<clang::DeclRefExpr*>(llvm::cast<clang::DeclRefExpr>(Expr));
auto _S = new AST::DeclRefExpr();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->type = GetQualifiedType(S->getType());
_S->valueDependent = S->isValueDependent();
_S->typeDependent = S->isTypeDependent();
@ -100,7 +97,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr) @@ -100,7 +97,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr)
{
auto S = const_cast<clang::IntegerLiteral*>(llvm::cast<clang::IntegerLiteral>(Expr));
auto _S = new AST::IntegerLiteral();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->type = GetQualifiedType(S->getType());
_S->valueDependent = S->isValueDependent();
_S->typeDependent = S->isTypeDependent();
@ -122,7 +118,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr) @@ -122,7 +118,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr)
{
auto S = const_cast<clang::FixedPointLiteral*>(llvm::cast<clang::FixedPointLiteral>(Expr));
auto _S = new AST::FixedPointLiteral();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->type = GetQualifiedType(S->getType());
_S->valueDependent = S->isValueDependent();
_S->typeDependent = S->isTypeDependent();
@ -144,7 +139,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr) @@ -144,7 +139,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr)
{
auto S = const_cast<clang::CharacterLiteral*>(llvm::cast<clang::CharacterLiteral>(Expr));
auto _S = new AST::CharacterLiteral();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->type = GetQualifiedType(S->getType());
_S->valueDependent = S->isValueDependent();
_S->typeDependent = S->isTypeDependent();
@ -167,7 +161,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr) @@ -167,7 +161,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr)
{
auto S = const_cast<clang::FloatingLiteral*>(llvm::cast<clang::FloatingLiteral>(Expr));
auto _S = new AST::FloatingLiteral();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->type = GetQualifiedType(S->getType());
_S->valueDependent = S->isValueDependent();
_S->typeDependent = S->isTypeDependent();
@ -190,7 +183,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr) @@ -190,7 +183,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr)
{
auto S = const_cast<clang::ImaginaryLiteral*>(llvm::cast<clang::ImaginaryLiteral>(Expr));
auto _S = new AST::ImaginaryLiteral();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->type = GetQualifiedType(S->getType());
_S->valueDependent = S->isValueDependent();
_S->typeDependent = S->isTypeDependent();
@ -212,7 +204,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr) @@ -212,7 +204,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr)
{
auto S = const_cast<clang::StringLiteral*>(llvm::cast<clang::StringLiteral>(Expr));
auto _S = new AST::StringLiteral();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->type = GetQualifiedType(S->getType());
_S->valueDependent = S->isValueDependent();
_S->typeDependent = S->isTypeDependent();
@ -248,7 +239,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr) @@ -248,7 +239,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr)
{
auto S = const_cast<clang::PredefinedExpr*>(llvm::cast<clang::PredefinedExpr>(Expr));
auto _S = new AST::PredefinedExpr();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->type = GetQualifiedType(S->getType());
_S->valueDependent = S->isValueDependent();
_S->typeDependent = S->isTypeDependent();
@ -270,7 +260,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr) @@ -270,7 +260,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr)
{
auto S = const_cast<clang::ParenExpr*>(llvm::cast<clang::ParenExpr>(Expr));
auto _S = new AST::ParenExpr();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->type = GetQualifiedType(S->getType());
_S->valueDependent = S->isValueDependent();
_S->typeDependent = S->isTypeDependent();
@ -292,7 +281,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr) @@ -292,7 +281,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr)
{
auto S = const_cast<clang::UnaryOperator*>(llvm::cast<clang::UnaryOperator>(Expr));
auto _S = new AST::UnaryOperator();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->type = GetQualifiedType(S->getType());
_S->valueDependent = S->isValueDependent();
_S->typeDependent = S->isTypeDependent();
@ -322,7 +310,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr) @@ -322,7 +310,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr)
{
auto S = const_cast<clang::OffsetOfExpr*>(llvm::cast<clang::OffsetOfExpr>(Expr));
auto _S = new AST::OffsetOfExpr();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->type = GetQualifiedType(S->getType());
_S->valueDependent = S->isValueDependent();
_S->typeDependent = S->isTypeDependent();
@ -345,7 +332,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr) @@ -345,7 +332,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr)
{
auto S = const_cast<clang::UnaryExprOrTypeTraitExpr*>(llvm::cast<clang::UnaryExprOrTypeTraitExpr>(Expr));
auto _S = new AST::UnaryExprOrTypeTraitExpr();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->type = GetQualifiedType(S->getType());
_S->valueDependent = S->isValueDependent();
_S->typeDependent = S->isTypeDependent();
@ -372,7 +358,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr) @@ -372,7 +358,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr)
{
auto S = const_cast<clang::ArraySubscriptExpr*>(llvm::cast<clang::ArraySubscriptExpr>(Expr));
auto _S = new AST::ArraySubscriptExpr();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->type = GetQualifiedType(S->getType());
_S->valueDependent = S->isValueDependent();
_S->typeDependent = S->isTypeDependent();
@ -397,7 +382,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr) @@ -397,7 +382,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr)
{
auto S = const_cast<clang::CallExpr*>(llvm::cast<clang::CallExpr>(Expr));
auto _S = new AST::CallExpr();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->type = GetQualifiedType(S->getType());
_S->valueDependent = S->isValueDependent();
_S->typeDependent = S->isTypeDependent();
@ -430,7 +414,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr) @@ -430,7 +414,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr)
{
auto S = const_cast<clang::MemberExpr*>(llvm::cast<clang::MemberExpr>(Expr));
auto _S = new AST::MemberExpr();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->type = GetQualifiedType(S->getType());
_S->valueDependent = S->isValueDependent();
_S->typeDependent = S->isTypeDependent();
@ -459,7 +442,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr) @@ -459,7 +442,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr)
{
auto S = const_cast<clang::CompoundLiteralExpr*>(llvm::cast<clang::CompoundLiteralExpr>(Expr));
auto _S = new AST::CompoundLiteralExpr();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->type = GetQualifiedType(S->getType());
_S->valueDependent = S->isValueDependent();
_S->typeDependent = S->isTypeDependent();
@ -482,7 +464,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr) @@ -482,7 +464,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr)
{
auto S = const_cast<clang::ImplicitCastExpr*>(llvm::cast<clang::ImplicitCastExpr>(Expr));
auto _S = new AST::ImplicitCastExpr();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->type = GetQualifiedType(S->getType());
_S->valueDependent = S->isValueDependent();
_S->typeDependent = S->isTypeDependent();
@ -511,7 +492,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr) @@ -511,7 +492,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr)
{
auto S = const_cast<clang::CStyleCastExpr*>(llvm::cast<clang::CStyleCastExpr>(Expr));
auto _S = new AST::CStyleCastExpr();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->type = GetQualifiedType(S->getType());
_S->valueDependent = S->isValueDependent();
_S->typeDependent = S->isTypeDependent();
@ -540,7 +520,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr) @@ -540,7 +520,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr)
{
auto S = const_cast<clang::BinaryOperator*>(llvm::cast<clang::BinaryOperator>(Expr));
auto _S = new AST::BinaryOperator();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->type = GetQualifiedType(S->getType());
_S->valueDependent = S->isValueDependent();
_S->typeDependent = S->isTypeDependent();
@ -579,7 +558,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr) @@ -579,7 +558,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr)
{
auto S = const_cast<clang::CompoundAssignOperator*>(llvm::cast<clang::CompoundAssignOperator>(Expr));
auto _S = new AST::CompoundAssignOperator();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->type = GetQualifiedType(S->getType());
_S->valueDependent = S->isValueDependent();
_S->typeDependent = S->isTypeDependent();
@ -620,7 +598,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr) @@ -620,7 +598,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr)
{
auto S = const_cast<clang::ConditionalOperator*>(llvm::cast<clang::ConditionalOperator>(Expr));
auto _S = new AST::ConditionalOperator();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->type = GetQualifiedType(S->getType());
_S->valueDependent = S->isValueDependent();
_S->typeDependent = S->isTypeDependent();
@ -649,7 +626,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr) @@ -649,7 +626,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr)
{
auto S = const_cast<clang::BinaryConditionalOperator*>(llvm::cast<clang::BinaryConditionalOperator>(Expr));
auto _S = new AST::BinaryConditionalOperator();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->type = GetQualifiedType(S->getType());
_S->valueDependent = S->isValueDependent();
_S->typeDependent = S->isTypeDependent();
@ -678,7 +654,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr) @@ -678,7 +654,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr)
{
auto S = const_cast<clang::AddrLabelExpr*>(llvm::cast<clang::AddrLabelExpr>(Expr));
auto _S = new AST::AddrLabelExpr();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->type = GetQualifiedType(S->getType());
_S->valueDependent = S->isValueDependent();
_S->typeDependent = S->isTypeDependent();
@ -699,7 +674,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr) @@ -699,7 +674,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr)
{
auto S = const_cast<clang::StmtExpr*>(llvm::cast<clang::StmtExpr>(Expr));
auto _S = new AST::StmtExpr();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->type = GetQualifiedType(S->getType());
_S->valueDependent = S->isValueDependent();
_S->typeDependent = S->isTypeDependent();
@ -721,7 +695,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr) @@ -721,7 +695,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr)
{
auto S = const_cast<clang::ShuffleVectorExpr*>(llvm::cast<clang::ShuffleVectorExpr>(Expr));
auto _S = new AST::ShuffleVectorExpr();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->type = GetQualifiedType(S->getType());
_S->valueDependent = S->isValueDependent();
_S->typeDependent = S->isTypeDependent();
@ -743,7 +716,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr) @@ -743,7 +716,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr)
{
auto S = const_cast<clang::ConvertVectorExpr*>(llvm::cast<clang::ConvertVectorExpr>(Expr));
auto _S = new AST::ConvertVectorExpr();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->type = GetQualifiedType(S->getType());
_S->valueDependent = S->isValueDependent();
_S->typeDependent = S->isTypeDependent();
@ -765,7 +737,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr) @@ -765,7 +737,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr)
{
auto S = const_cast<clang::ChooseExpr*>(llvm::cast<clang::ChooseExpr>(Expr));
auto _S = new AST::ChooseExpr();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->type = GetQualifiedType(S->getType());
_S->valueDependent = S->isValueDependent();
_S->typeDependent = S->isTypeDependent();
@ -792,7 +763,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr) @@ -792,7 +763,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr)
{
auto S = const_cast<clang::GNUNullExpr*>(llvm::cast<clang::GNUNullExpr>(Expr));
auto _S = new AST::GNUNullExpr();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->type = GetQualifiedType(S->getType());
_S->valueDependent = S->isValueDependent();
_S->typeDependent = S->isTypeDependent();
@ -813,7 +783,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr) @@ -813,7 +783,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr)
{
auto S = const_cast<clang::VAArgExpr*>(llvm::cast<clang::VAArgExpr>(Expr));
auto _S = new AST::VAArgExpr();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->type = GetQualifiedType(S->getType());
_S->valueDependent = S->isValueDependent();
_S->typeDependent = S->isTypeDependent();
@ -836,7 +805,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr) @@ -836,7 +805,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr)
{
auto S = const_cast<clang::InitListExpr*>(llvm::cast<clang::InitListExpr>(Expr));
auto _S = new AST::InitListExpr();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->type = GetQualifiedType(S->getType());
_S->valueDependent = S->isValueDependent();
_S->typeDependent = S->isTypeDependent();
@ -869,7 +837,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr) @@ -869,7 +837,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr)
{
auto S = const_cast<clang::DesignatedInitExpr*>(llvm::cast<clang::DesignatedInitExpr>(Expr));
auto _S = new AST::DesignatedInitExpr();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->type = GetQualifiedType(S->getType());
_S->valueDependent = S->isValueDependent();
_S->typeDependent = S->isTypeDependent();
@ -894,7 +861,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr) @@ -894,7 +861,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr)
{
auto S = const_cast<clang::NoInitExpr*>(llvm::cast<clang::NoInitExpr>(Expr));
auto _S = new AST::NoInitExpr();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->type = GetQualifiedType(S->getType());
_S->valueDependent = S->isValueDependent();
_S->typeDependent = S->isTypeDependent();
@ -915,7 +881,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr) @@ -915,7 +881,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr)
{
auto S = const_cast<clang::DesignatedInitUpdateExpr*>(llvm::cast<clang::DesignatedInitUpdateExpr>(Expr));
auto _S = new AST::DesignatedInitUpdateExpr();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->type = GetQualifiedType(S->getType());
_S->valueDependent = S->isValueDependent();
_S->typeDependent = S->isTypeDependent();
@ -938,7 +903,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr) @@ -938,7 +903,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr)
{
auto S = const_cast<clang::ArrayInitLoopExpr*>(llvm::cast<clang::ArrayInitLoopExpr>(Expr));
auto _S = new AST::ArrayInitLoopExpr();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->type = GetQualifiedType(S->getType());
_S->valueDependent = S->isValueDependent();
_S->typeDependent = S->isTypeDependent();
@ -961,7 +925,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr) @@ -961,7 +925,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr)
{
auto S = const_cast<clang::ArrayInitIndexExpr*>(llvm::cast<clang::ArrayInitIndexExpr>(Expr));
auto _S = new AST::ArrayInitIndexExpr();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->type = GetQualifiedType(S->getType());
_S->valueDependent = S->isValueDependent();
_S->typeDependent = S->isTypeDependent();
@ -982,7 +945,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr) @@ -982,7 +945,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr)
{
auto S = const_cast<clang::ImplicitValueInitExpr*>(llvm::cast<clang::ImplicitValueInitExpr>(Expr));
auto _S = new AST::ImplicitValueInitExpr();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->type = GetQualifiedType(S->getType());
_S->valueDependent = S->isValueDependent();
_S->typeDependent = S->isTypeDependent();
@ -1003,7 +965,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr) @@ -1003,7 +965,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr)
{
auto S = const_cast<clang::ParenListExpr*>(llvm::cast<clang::ParenListExpr>(Expr));
auto _S = new AST::ParenListExpr();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->type = GetQualifiedType(S->getType());
_S->valueDependent = S->isValueDependent();
_S->typeDependent = S->isTypeDependent();
@ -1025,7 +986,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr) @@ -1025,7 +986,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr)
{
auto S = const_cast<clang::GenericSelectionExpr*>(llvm::cast<clang::GenericSelectionExpr>(Expr));
auto _S = new AST::GenericSelectionExpr();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->type = GetQualifiedType(S->getType());
_S->valueDependent = S->isValueDependent();
_S->typeDependent = S->isTypeDependent();
@ -1051,7 +1011,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr) @@ -1051,7 +1011,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr)
{
auto S = const_cast<clang::ExtVectorElementExpr*>(llvm::cast<clang::ExtVectorElementExpr>(Expr));
auto _S = new AST::ExtVectorElementExpr();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->type = GetQualifiedType(S->getType());
_S->valueDependent = S->isValueDependent();
_S->typeDependent = S->isTypeDependent();
@ -1076,7 +1035,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr) @@ -1076,7 +1035,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr)
{
auto S = const_cast<clang::BlockExpr*>(llvm::cast<clang::BlockExpr>(Expr));
auto _S = new AST::BlockExpr();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->type = GetQualifiedType(S->getType());
_S->valueDependent = S->isValueDependent();
_S->typeDependent = S->isTypeDependent();
@ -1098,7 +1056,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr) @@ -1098,7 +1056,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr)
{
auto S = const_cast<clang::AsTypeExpr*>(llvm::cast<clang::AsTypeExpr>(Expr));
auto _S = new AST::AsTypeExpr();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->type = GetQualifiedType(S->getType());
_S->valueDependent = S->isValueDependent();
_S->typeDependent = S->isTypeDependent();
@ -1120,7 +1077,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr) @@ -1120,7 +1077,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr)
{
auto S = const_cast<clang::PseudoObjectExpr*>(llvm::cast<clang::PseudoObjectExpr>(Expr));
auto _S = new AST::PseudoObjectExpr();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->type = GetQualifiedType(S->getType());
_S->valueDependent = S->isValueDependent();
_S->typeDependent = S->isTypeDependent();
@ -1145,7 +1101,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr) @@ -1145,7 +1101,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr)
{
auto S = const_cast<clang::AtomicExpr*>(llvm::cast<clang::AtomicExpr>(Expr));
auto _S = new AST::AtomicExpr();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->type = GetQualifiedType(S->getType());
_S->valueDependent = S->isValueDependent();
_S->typeDependent = S->isTypeDependent();
@ -1179,7 +1134,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr) @@ -1179,7 +1134,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr)
{
auto S = const_cast<clang::TypoExpr*>(llvm::cast<clang::TypoExpr>(Expr));
auto _S = new AST::TypoExpr();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->type = GetQualifiedType(S->getType());
_S->valueDependent = S->isValueDependent();
_S->typeDependent = S->isTypeDependent();
@ -1200,7 +1154,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr) @@ -1200,7 +1154,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr)
{
auto S = const_cast<clang::CXXOperatorCallExpr*>(llvm::cast<clang::CXXOperatorCallExpr>(Expr));
auto _S = new AST::CXXOperatorCallExpr();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->type = GetQualifiedType(S->getType());
_S->valueDependent = S->isValueDependent();
_S->typeDependent = S->isTypeDependent();
@ -1237,7 +1190,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr) @@ -1237,7 +1190,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr)
{
auto S = const_cast<clang::CXXMemberCallExpr*>(llvm::cast<clang::CXXMemberCallExpr>(Expr));
auto _S = new AST::CXXMemberCallExpr();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->type = GetQualifiedType(S->getType());
_S->valueDependent = S->isValueDependent();
_S->typeDependent = S->isTypeDependent();
@ -1272,7 +1224,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr) @@ -1272,7 +1224,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr)
{
auto S = const_cast<clang::CUDAKernelCallExpr*>(llvm::cast<clang::CUDAKernelCallExpr>(Expr));
auto _S = new AST::CUDAKernelCallExpr();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->type = GetQualifiedType(S->getType());
_S->valueDependent = S->isValueDependent();
_S->typeDependent = S->isTypeDependent();
@ -1306,7 +1257,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr) @@ -1306,7 +1257,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr)
{
auto S = const_cast<clang::CXXStaticCastExpr*>(llvm::cast<clang::CXXStaticCastExpr>(Expr));
auto _S = new AST::CXXStaticCastExpr();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->type = GetQualifiedType(S->getType());
_S->valueDependent = S->isValueDependent();
_S->typeDependent = S->isTypeDependent();
@ -1336,7 +1286,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr) @@ -1336,7 +1286,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr)
{
auto S = const_cast<clang::CXXDynamicCastExpr*>(llvm::cast<clang::CXXDynamicCastExpr>(Expr));
auto _S = new AST::CXXDynamicCastExpr();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->type = GetQualifiedType(S->getType());
_S->valueDependent = S->isValueDependent();
_S->typeDependent = S->isTypeDependent();
@ -1367,7 +1316,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr) @@ -1367,7 +1316,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr)
{
auto S = const_cast<clang::CXXReinterpretCastExpr*>(llvm::cast<clang::CXXReinterpretCastExpr>(Expr));
auto _S = new AST::CXXReinterpretCastExpr();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->type = GetQualifiedType(S->getType());
_S->valueDependent = S->isValueDependent();
_S->typeDependent = S->isTypeDependent();
@ -1397,7 +1345,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr) @@ -1397,7 +1345,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr)
{
auto S = const_cast<clang::CXXConstCastExpr*>(llvm::cast<clang::CXXConstCastExpr>(Expr));
auto _S = new AST::CXXConstCastExpr();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->type = GetQualifiedType(S->getType());
_S->valueDependent = S->isValueDependent();
_S->typeDependent = S->isTypeDependent();
@ -1427,7 +1374,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr) @@ -1427,7 +1374,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr)
{
auto S = const_cast<clang::UserDefinedLiteral*>(llvm::cast<clang::UserDefinedLiteral>(Expr));
auto _S = new AST::UserDefinedLiteral();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->type = GetQualifiedType(S->getType());
_S->valueDependent = S->isValueDependent();
_S->typeDependent = S->isTypeDependent();
@ -1462,7 +1408,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr) @@ -1462,7 +1408,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr)
{
auto S = const_cast<clang::CXXBoolLiteralExpr*>(llvm::cast<clang::CXXBoolLiteralExpr>(Expr));
auto _S = new AST::CXXBoolLiteralExpr();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->type = GetQualifiedType(S->getType());
_S->valueDependent = S->isValueDependent();
_S->typeDependent = S->isTypeDependent();
@ -1484,7 +1429,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr) @@ -1484,7 +1429,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr)
{
auto S = const_cast<clang::CXXNullPtrLiteralExpr*>(llvm::cast<clang::CXXNullPtrLiteralExpr>(Expr));
auto _S = new AST::CXXNullPtrLiteralExpr();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->type = GetQualifiedType(S->getType());
_S->valueDependent = S->isValueDependent();
_S->typeDependent = S->isTypeDependent();
@ -1505,7 +1449,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr) @@ -1505,7 +1449,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr)
{
auto S = const_cast<clang::CXXStdInitializerListExpr*>(llvm::cast<clang::CXXStdInitializerListExpr>(Expr));
auto _S = new AST::CXXStdInitializerListExpr();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->type = GetQualifiedType(S->getType());
_S->valueDependent = S->isValueDependent();
_S->typeDependent = S->isTypeDependent();
@ -1527,7 +1470,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr) @@ -1527,7 +1470,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr)
{
auto S = const_cast<clang::CXXTypeidExpr*>(llvm::cast<clang::CXXTypeidExpr>(Expr));
auto _S = new AST::CXXTypeidExpr();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->type = GetQualifiedType(S->getType());
_S->valueDependent = S->isValueDependent();
_S->typeDependent = S->isTypeDependent();
@ -1551,7 +1493,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr) @@ -1551,7 +1493,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr)
{
auto S = const_cast<clang::MSPropertyRefExpr*>(llvm::cast<clang::MSPropertyRefExpr>(Expr));
auto _S = new AST::MSPropertyRefExpr();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->type = GetQualifiedType(S->getType());
_S->valueDependent = S->isValueDependent();
_S->typeDependent = S->isTypeDependent();
@ -1575,7 +1516,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr) @@ -1575,7 +1516,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr)
{
auto S = const_cast<clang::MSPropertySubscriptExpr*>(llvm::cast<clang::MSPropertySubscriptExpr>(Expr));
auto _S = new AST::MSPropertySubscriptExpr();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->type = GetQualifiedType(S->getType());
_S->valueDependent = S->isValueDependent();
_S->typeDependent = S->isTypeDependent();
@ -1598,7 +1538,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr) @@ -1598,7 +1538,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr)
{
auto S = const_cast<clang::CXXUuidofExpr*>(llvm::cast<clang::CXXUuidofExpr>(Expr));
auto _S = new AST::CXXUuidofExpr();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->type = GetQualifiedType(S->getType());
_S->valueDependent = S->isValueDependent();
_S->typeDependent = S->isTypeDependent();
@ -1622,7 +1561,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr) @@ -1622,7 +1561,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr)
{
auto S = const_cast<clang::CXXThisExpr*>(llvm::cast<clang::CXXThisExpr>(Expr));
auto _S = new AST::CXXThisExpr();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->type = GetQualifiedType(S->getType());
_S->valueDependent = S->isValueDependent();
_S->typeDependent = S->isTypeDependent();
@ -1644,7 +1582,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr) @@ -1644,7 +1582,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr)
{
auto S = const_cast<clang::CXXThrowExpr*>(llvm::cast<clang::CXXThrowExpr>(Expr));
auto _S = new AST::CXXThrowExpr();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->type = GetQualifiedType(S->getType());
_S->valueDependent = S->isValueDependent();
_S->typeDependent = S->isTypeDependent();
@ -1667,7 +1604,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr) @@ -1667,7 +1604,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr)
{
auto S = const_cast<clang::CXXDefaultArgExpr*>(llvm::cast<clang::CXXDefaultArgExpr>(Expr));
auto _S = new AST::CXXDefaultArgExpr();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->type = GetQualifiedType(S->getType());
_S->valueDependent = S->isValueDependent();
_S->typeDependent = S->isTypeDependent();
@ -1689,7 +1625,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr) @@ -1689,7 +1625,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr)
{
auto S = const_cast<clang::CXXDefaultInitExpr*>(llvm::cast<clang::CXXDefaultInitExpr>(Expr));
auto _S = new AST::CXXDefaultInitExpr();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->type = GetQualifiedType(S->getType());
_S->valueDependent = S->isValueDependent();
_S->typeDependent = S->isTypeDependent();
@ -1712,7 +1647,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr) @@ -1712,7 +1647,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr)
{
auto S = const_cast<clang::CXXBindTemporaryExpr*>(llvm::cast<clang::CXXBindTemporaryExpr>(Expr));
auto _S = new AST::CXXBindTemporaryExpr();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->type = GetQualifiedType(S->getType());
_S->valueDependent = S->isValueDependent();
_S->typeDependent = S->isTypeDependent();
@ -1734,7 +1668,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr) @@ -1734,7 +1668,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr)
{
auto S = const_cast<clang::CXXConstructExpr*>(llvm::cast<clang::CXXConstructExpr>(Expr));
auto _S = new AST::CXXConstructExpr();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->type = GetQualifiedType(S->getType());
_S->valueDependent = S->isValueDependent();
_S->typeDependent = S->isTypeDependent();
@ -1766,7 +1699,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr) @@ -1766,7 +1699,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr)
{
auto S = const_cast<clang::CXXInheritedCtorInitExpr*>(llvm::cast<clang::CXXInheritedCtorInitExpr>(Expr));
auto _S = new AST::CXXInheritedCtorInitExpr();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->type = GetQualifiedType(S->getType());
_S->valueDependent = S->isValueDependent();
_S->typeDependent = S->isTypeDependent();
@ -1789,7 +1721,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr) @@ -1789,7 +1721,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr)
{
auto S = const_cast<clang::CXXFunctionalCastExpr*>(llvm::cast<clang::CXXFunctionalCastExpr>(Expr));
auto _S = new AST::CXXFunctionalCastExpr();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->type = GetQualifiedType(S->getType());
_S->valueDependent = S->isValueDependent();
_S->typeDependent = S->isTypeDependent();
@ -1819,7 +1750,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr) @@ -1819,7 +1750,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr)
{
auto S = const_cast<clang::CXXTemporaryObjectExpr*>(llvm::cast<clang::CXXTemporaryObjectExpr>(Expr));
auto _S = new AST::CXXTemporaryObjectExpr();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->type = GetQualifiedType(S->getType());
_S->valueDependent = S->isValueDependent();
_S->typeDependent = S->isTypeDependent();
@ -1851,7 +1781,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr) @@ -1851,7 +1781,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr)
{
auto S = const_cast<clang::LambdaExpr*>(llvm::cast<clang::LambdaExpr>(Expr));
auto _S = new AST::LambdaExpr();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->type = GetQualifiedType(S->getType());
_S->valueDependent = S->isValueDependent();
_S->typeDependent = S->isTypeDependent();
@ -1884,7 +1813,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr) @@ -1884,7 +1813,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr)
{
auto S = const_cast<clang::CXXScalarValueInitExpr*>(llvm::cast<clang::CXXScalarValueInitExpr>(Expr));
auto _S = new AST::CXXScalarValueInitExpr();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->type = GetQualifiedType(S->getType());
_S->valueDependent = S->isValueDependent();
_S->typeDependent = S->isTypeDependent();
@ -1905,7 +1833,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr) @@ -1905,7 +1833,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr)
{
auto S = const_cast<clang::CXXNewExpr*>(llvm::cast<clang::CXXNewExpr>(Expr));
auto _S = new AST::CXXNewExpr();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->type = GetQualifiedType(S->getType());
_S->valueDependent = S->isValueDependent();
_S->typeDependent = S->isTypeDependent();
@ -1943,7 +1870,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr) @@ -1943,7 +1870,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr)
{
auto S = const_cast<clang::CXXDeleteExpr*>(llvm::cast<clang::CXXDeleteExpr>(Expr));
auto _S = new AST::CXXDeleteExpr();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->type = GetQualifiedType(S->getType());
_S->valueDependent = S->isValueDependent();
_S->typeDependent = S->isTypeDependent();
@ -1970,7 +1896,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr) @@ -1970,7 +1896,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr)
{
auto S = const_cast<clang::CXXPseudoDestructorExpr*>(llvm::cast<clang::CXXPseudoDestructorExpr>(Expr));
auto _S = new AST::CXXPseudoDestructorExpr();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->type = GetQualifiedType(S->getType());
_S->valueDependent = S->isValueDependent();
_S->typeDependent = S->isTypeDependent();
@ -1995,7 +1920,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr) @@ -1995,7 +1920,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr)
{
auto S = const_cast<clang::TypeTraitExpr*>(llvm::cast<clang::TypeTraitExpr>(Expr));
auto _S = new AST::TypeTraitExpr();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->type = GetQualifiedType(S->getType());
_S->valueDependent = S->isValueDependent();
_S->typeDependent = S->isTypeDependent();
@ -2018,7 +1942,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr) @@ -2018,7 +1942,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr)
{
auto S = const_cast<clang::ArrayTypeTraitExpr*>(llvm::cast<clang::ArrayTypeTraitExpr>(Expr));
auto _S = new AST::ArrayTypeTraitExpr();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->type = GetQualifiedType(S->getType());
_S->valueDependent = S->isValueDependent();
_S->typeDependent = S->isTypeDependent();
@ -2042,7 +1965,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr) @@ -2042,7 +1965,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr)
{
auto S = const_cast<clang::ExpressionTraitExpr*>(llvm::cast<clang::ExpressionTraitExpr>(Expr));
auto _S = new AST::ExpressionTraitExpr();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->type = GetQualifiedType(S->getType());
_S->valueDependent = S->isValueDependent();
_S->typeDependent = S->isTypeDependent();
@ -2065,7 +1987,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr) @@ -2065,7 +1987,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr)
{
auto S = const_cast<clang::UnresolvedLookupExpr*>(llvm::cast<clang::UnresolvedLookupExpr>(Expr));
auto _S = new AST::UnresolvedLookupExpr();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->type = GetQualifiedType(S->getType());
_S->valueDependent = S->isValueDependent();
_S->typeDependent = S->isTypeDependent();
@ -2092,7 +2013,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr) @@ -2092,7 +2013,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr)
{
auto S = const_cast<clang::DependentScopeDeclRefExpr*>(llvm::cast<clang::DependentScopeDeclRefExpr>(Expr));
auto _S = new AST::DependentScopeDeclRefExpr();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->type = GetQualifiedType(S->getType());
_S->valueDependent = S->isValueDependent();
_S->typeDependent = S->isTypeDependent();
@ -2116,7 +2036,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr) @@ -2116,7 +2036,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr)
{
auto S = const_cast<clang::ExprWithCleanups*>(llvm::cast<clang::ExprWithCleanups>(Expr));
auto _S = new AST::ExprWithCleanups();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->type = GetQualifiedType(S->getType());
_S->valueDependent = S->isValueDependent();
_S->typeDependent = S->isTypeDependent();
@ -2140,7 +2059,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr) @@ -2140,7 +2059,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr)
{
auto S = const_cast<clang::CXXUnresolvedConstructExpr*>(llvm::cast<clang::CXXUnresolvedConstructExpr>(Expr));
auto _S = new AST::CXXUnresolvedConstructExpr();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->type = GetQualifiedType(S->getType());
_S->valueDependent = S->isValueDependent();
_S->typeDependent = S->isTypeDependent();
@ -2169,7 +2087,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr) @@ -2169,7 +2087,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr)
{
auto S = const_cast<clang::CXXDependentScopeMemberExpr*>(llvm::cast<clang::CXXDependentScopeMemberExpr>(Expr));
auto _S = new AST::CXXDependentScopeMemberExpr();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->type = GetQualifiedType(S->getType());
_S->valueDependent = S->isValueDependent();
_S->typeDependent = S->isTypeDependent();
@ -2198,7 +2115,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr) @@ -2198,7 +2115,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr)
{
auto S = const_cast<clang::UnresolvedMemberExpr*>(llvm::cast<clang::UnresolvedMemberExpr>(Expr));
auto _S = new AST::UnresolvedMemberExpr();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->type = GetQualifiedType(S->getType());
_S->valueDependent = S->isValueDependent();
_S->typeDependent = S->isTypeDependent();
@ -2228,7 +2144,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr) @@ -2228,7 +2144,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr)
{
auto S = const_cast<clang::CXXNoexceptExpr*>(llvm::cast<clang::CXXNoexceptExpr>(Expr));
auto _S = new AST::CXXNoexceptExpr();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->type = GetQualifiedType(S->getType());
_S->valueDependent = S->isValueDependent();
_S->typeDependent = S->isTypeDependent();
@ -2251,7 +2166,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr) @@ -2251,7 +2166,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr)
{
auto S = const_cast<clang::PackExpansionExpr*>(llvm::cast<clang::PackExpansionExpr>(Expr));
auto _S = new AST::PackExpansionExpr();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->type = GetQualifiedType(S->getType());
_S->valueDependent = S->isValueDependent();
_S->typeDependent = S->isTypeDependent();
@ -2273,7 +2187,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr) @@ -2273,7 +2187,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr)
{
auto S = const_cast<clang::SizeOfPackExpr*>(llvm::cast<clang::SizeOfPackExpr>(Expr));
auto _S = new AST::SizeOfPackExpr();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->type = GetQualifiedType(S->getType());
_S->valueDependent = S->isValueDependent();
_S->typeDependent = S->isTypeDependent();
@ -2297,7 +2210,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr) @@ -2297,7 +2210,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr)
{
auto S = const_cast<clang::SubstNonTypeTemplateParmExpr*>(llvm::cast<clang::SubstNonTypeTemplateParmExpr>(Expr));
auto _S = new AST::SubstNonTypeTemplateParmExpr();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->type = GetQualifiedType(S->getType());
_S->valueDependent = S->isValueDependent();
_S->typeDependent = S->isTypeDependent();
@ -2319,7 +2231,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr) @@ -2319,7 +2231,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr)
{
auto S = const_cast<clang::SubstNonTypeTemplateParmPackExpr*>(llvm::cast<clang::SubstNonTypeTemplateParmPackExpr>(Expr));
auto _S = new AST::SubstNonTypeTemplateParmPackExpr();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->type = GetQualifiedType(S->getType());
_S->valueDependent = S->isValueDependent();
_S->typeDependent = S->isTypeDependent();
@ -2341,7 +2252,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr) @@ -2341,7 +2252,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr)
{
auto S = const_cast<clang::FunctionParmPackExpr*>(llvm::cast<clang::FunctionParmPackExpr>(Expr));
auto _S = new AST::FunctionParmPackExpr();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->type = GetQualifiedType(S->getType());
_S->valueDependent = S->isValueDependent();
_S->typeDependent = S->isTypeDependent();
@ -2363,7 +2273,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr) @@ -2363,7 +2273,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr)
{
auto S = const_cast<clang::MaterializeTemporaryExpr*>(llvm::cast<clang::MaterializeTemporaryExpr>(Expr));
auto _S = new AST::MaterializeTemporaryExpr();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->type = GetQualifiedType(S->getType());
_S->valueDependent = S->isValueDependent();
_S->typeDependent = S->isTypeDependent();
@ -2388,7 +2297,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr) @@ -2388,7 +2297,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr)
{
auto S = const_cast<clang::CXXFoldExpr*>(llvm::cast<clang::CXXFoldExpr>(Expr));
auto _S = new AST::CXXFoldExpr();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->type = GetQualifiedType(S->getType());
_S->valueDependent = S->isValueDependent();
_S->typeDependent = S->isTypeDependent();
@ -2416,7 +2324,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr) @@ -2416,7 +2324,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr)
{
auto S = const_cast<clang::CoawaitExpr*>(llvm::cast<clang::CoawaitExpr>(Expr));
auto _S = new AST::CoawaitExpr();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->type = GetQualifiedType(S->getType());
_S->valueDependent = S->isValueDependent();
_S->typeDependent = S->isTypeDependent();
@ -2444,7 +2351,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr) @@ -2444,7 +2351,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr)
{
auto S = const_cast<clang::DependentCoawaitExpr*>(llvm::cast<clang::DependentCoawaitExpr>(Expr));
auto _S = new AST::DependentCoawaitExpr();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->type = GetQualifiedType(S->getType());
_S->valueDependent = S->isValueDependent();
_S->typeDependent = S->isTypeDependent();
@ -2467,7 +2373,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr) @@ -2467,7 +2373,6 @@ AST::Expr* Parser::WalkExpression(const clang::Expr* Expr)
{
auto S = const_cast<clang::CoyieldExpr*>(llvm::cast<clang::CoyieldExpr>(Expr));
auto _S = new AST::CoyieldExpr();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->type = GetQualifiedType(S->getType());
_S->valueDependent = S->isValueDependent();
_S->typeDependent = S->isTypeDependent();

30
src/CppParser/ParseStmt.cpp

@ -26,7 +26,6 @@ AST::Stmt* Parser::WalkStatement(const clang::Stmt* Stmt) @@ -26,7 +26,6 @@ AST::Stmt* Parser::WalkStatement(const clang::Stmt* Stmt)
{
auto S = const_cast<clang::DeclStmt*>(llvm::cast<clang::DeclStmt>(Stmt));
auto _S = new AST::DeclStmt();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->isSingleDecl = S->isSingleDecl();
if (S->isSingleDecl())
_S->singleDecl = static_cast<AST::Declaration*>(WalkDeclaration(S->getSingleDecl()));
@ -42,7 +41,6 @@ AST::Stmt* Parser::WalkStatement(const clang::Stmt* Stmt) @@ -42,7 +41,6 @@ AST::Stmt* Parser::WalkStatement(const clang::Stmt* Stmt)
{
auto S = const_cast<clang::NullStmt*>(llvm::cast<clang::NullStmt>(Stmt));
auto _S = new AST::NullStmt();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->hasLeadingEmptyMacro = S->hasLeadingEmptyMacro();
_Stmt = _S;
break;
@ -51,7 +49,6 @@ AST::Stmt* Parser::WalkStatement(const clang::Stmt* Stmt) @@ -51,7 +49,6 @@ AST::Stmt* Parser::WalkStatement(const clang::Stmt* Stmt)
{
auto S = const_cast<clang::CompoundStmt*>(llvm::cast<clang::CompoundStmt>(Stmt));
auto _S = new AST::CompoundStmt();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->body_empty = S->body_empty();
_S->size = S->size();
_S->body_front = static_cast<AST::Stmt*>(WalkStatement(S->body_front()));
@ -68,7 +65,6 @@ AST::Stmt* Parser::WalkStatement(const clang::Stmt* Stmt) @@ -68,7 +65,6 @@ AST::Stmt* Parser::WalkStatement(const clang::Stmt* Stmt)
{
auto S = const_cast<clang::CaseStmt*>(llvm::cast<clang::CaseStmt>(Stmt));
auto _S = new AST::CaseStmt();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->subStmt = static_cast<AST::Stmt*>(WalkStatement(S->getSubStmt()));
_S->lHS = static_cast<AST::Expr*>(WalkExpression(S->getLHS()));
_S->rHS = static_cast<AST::Expr*>(WalkExpression(S->getRHS()));
@ -81,7 +77,6 @@ AST::Stmt* Parser::WalkStatement(const clang::Stmt* Stmt) @@ -81,7 +77,6 @@ AST::Stmt* Parser::WalkStatement(const clang::Stmt* Stmt)
{
auto S = const_cast<clang::DefaultStmt*>(llvm::cast<clang::DefaultStmt>(Stmt));
auto _S = new AST::DefaultStmt();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->subStmt = static_cast<AST::Stmt*>(WalkStatement(S->getSubStmt()));
_S->subStmt = static_cast<AST::Stmt*>(WalkStatement(S->getSubStmt()));
_Stmt = _S;
@ -91,7 +86,6 @@ AST::Stmt* Parser::WalkStatement(const clang::Stmt* Stmt) @@ -91,7 +86,6 @@ AST::Stmt* Parser::WalkStatement(const clang::Stmt* Stmt)
{
auto S = const_cast<clang::LabelStmt*>(llvm::cast<clang::LabelStmt>(Stmt));
auto _S = new AST::LabelStmt();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->subStmt = static_cast<AST::Stmt*>(WalkStatement(S->getSubStmt()));
_S->name = S->getName();
_Stmt = _S;
@ -101,7 +95,6 @@ AST::Stmt* Parser::WalkStatement(const clang::Stmt* Stmt) @@ -101,7 +95,6 @@ AST::Stmt* Parser::WalkStatement(const clang::Stmt* Stmt)
{
auto S = const_cast<clang::AttributedStmt*>(llvm::cast<clang::AttributedStmt>(Stmt));
auto _S = new AST::AttributedStmt();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->subStmt = static_cast<AST::Stmt*>(WalkStatement(S->getSubStmt()));
_Stmt = _S;
break;
@ -110,7 +103,6 @@ AST::Stmt* Parser::WalkStatement(const clang::Stmt* Stmt) @@ -110,7 +103,6 @@ AST::Stmt* Parser::WalkStatement(const clang::Stmt* Stmt)
{
auto S = const_cast<clang::IfStmt*>(llvm::cast<clang::IfStmt>(Stmt));
auto _S = new AST::IfStmt();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->cond = static_cast<AST::Expr*>(WalkExpression(S->getCond()));
_S->then = static_cast<AST::Stmt*>(WalkStatement(S->getThen()));
_S->_else = static_cast<AST::Stmt*>(WalkStatement(S->getElse()));
@ -128,7 +120,6 @@ AST::Stmt* Parser::WalkStatement(const clang::Stmt* Stmt) @@ -128,7 +120,6 @@ AST::Stmt* Parser::WalkStatement(const clang::Stmt* Stmt)
{
auto S = const_cast<clang::SwitchStmt*>(llvm::cast<clang::SwitchStmt>(Stmt));
auto _S = new AST::SwitchStmt();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->cond = static_cast<AST::Expr*>(WalkExpression(S->getCond()));
_S->body = static_cast<AST::Stmt*>(WalkStatement(S->getBody()));
_S->init = static_cast<AST::Stmt*>(WalkStatement(S->getInit()));
@ -143,7 +134,6 @@ AST::Stmt* Parser::WalkStatement(const clang::Stmt* Stmt) @@ -143,7 +134,6 @@ AST::Stmt* Parser::WalkStatement(const clang::Stmt* Stmt)
{
auto S = const_cast<clang::WhileStmt*>(llvm::cast<clang::WhileStmt>(Stmt));
auto _S = new AST::WhileStmt();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->cond = static_cast<AST::Expr*>(WalkExpression(S->getCond()));
_S->body = static_cast<AST::Stmt*>(WalkStatement(S->getBody()));
_S->hasVarStorage = S->hasVarStorage();
@ -155,7 +145,6 @@ AST::Stmt* Parser::WalkStatement(const clang::Stmt* Stmt) @@ -155,7 +145,6 @@ AST::Stmt* Parser::WalkStatement(const clang::Stmt* Stmt)
{
auto S = const_cast<clang::DoStmt*>(llvm::cast<clang::DoStmt>(Stmt));
auto _S = new AST::DoStmt();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->cond = static_cast<AST::Expr*>(WalkExpression(S->getCond()));
_S->body = static_cast<AST::Stmt*>(WalkStatement(S->getBody()));
_Stmt = _S;
@ -165,7 +154,6 @@ AST::Stmt* Parser::WalkStatement(const clang::Stmt* Stmt) @@ -165,7 +154,6 @@ AST::Stmt* Parser::WalkStatement(const clang::Stmt* Stmt)
{
auto S = const_cast<clang::ForStmt*>(llvm::cast<clang::ForStmt>(Stmt));
auto _S = new AST::ForStmt();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->init = static_cast<AST::Stmt*>(WalkStatement(S->getInit()));
_S->cond = static_cast<AST::Expr*>(WalkExpression(S->getCond()));
_S->inc = static_cast<AST::Expr*>(WalkExpression(S->getInc()));
@ -178,7 +166,6 @@ AST::Stmt* Parser::WalkStatement(const clang::Stmt* Stmt) @@ -178,7 +166,6 @@ AST::Stmt* Parser::WalkStatement(const clang::Stmt* Stmt)
{
auto S = const_cast<clang::GotoStmt*>(llvm::cast<clang::GotoStmt>(Stmt));
auto _S = new AST::GotoStmt();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_Stmt = _S;
break;
}
@ -186,7 +173,6 @@ AST::Stmt* Parser::WalkStatement(const clang::Stmt* Stmt) @@ -186,7 +173,6 @@ AST::Stmt* Parser::WalkStatement(const clang::Stmt* Stmt)
{
auto S = const_cast<clang::IndirectGotoStmt*>(llvm::cast<clang::IndirectGotoStmt>(Stmt));
auto _S = new AST::IndirectGotoStmt();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->target = static_cast<AST::Expr*>(WalkExpression(S->getTarget()));
_Stmt = _S;
break;
@ -195,7 +181,6 @@ AST::Stmt* Parser::WalkStatement(const clang::Stmt* Stmt) @@ -195,7 +181,6 @@ AST::Stmt* Parser::WalkStatement(const clang::Stmt* Stmt)
{
auto S = const_cast<clang::ContinueStmt*>(llvm::cast<clang::ContinueStmt>(Stmt));
auto _S = new AST::ContinueStmt();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_Stmt = _S;
break;
}
@ -203,7 +188,6 @@ AST::Stmt* Parser::WalkStatement(const clang::Stmt* Stmt) @@ -203,7 +188,6 @@ AST::Stmt* Parser::WalkStatement(const clang::Stmt* Stmt)
{
auto S = const_cast<clang::BreakStmt*>(llvm::cast<clang::BreakStmt>(Stmt));
auto _S = new AST::BreakStmt();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_Stmt = _S;
break;
}
@ -211,7 +195,6 @@ AST::Stmt* Parser::WalkStatement(const clang::Stmt* Stmt) @@ -211,7 +195,6 @@ AST::Stmt* Parser::WalkStatement(const clang::Stmt* Stmt)
{
auto S = const_cast<clang::ReturnStmt*>(llvm::cast<clang::ReturnStmt>(Stmt));
auto _S = new AST::ReturnStmt();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->retValue = static_cast<AST::Expr*>(WalkExpression(S->getRetValue()));
_Stmt = _S;
break;
@ -220,7 +203,6 @@ AST::Stmt* Parser::WalkStatement(const clang::Stmt* Stmt) @@ -220,7 +203,6 @@ AST::Stmt* Parser::WalkStatement(const clang::Stmt* Stmt)
{
auto S = const_cast<clang::GCCAsmStmt*>(llvm::cast<clang::GCCAsmStmt>(Stmt));
auto _S = new AST::GCCAsmStmt();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->simple = S->isSimple();
_S->_volatile = S->isVolatile();
_S->numOutputs = S->getNumOutputs();
@ -244,7 +226,6 @@ AST::Stmt* Parser::WalkStatement(const clang::Stmt* Stmt) @@ -244,7 +226,6 @@ AST::Stmt* Parser::WalkStatement(const clang::Stmt* Stmt)
{
auto S = const_cast<clang::MSAsmStmt*>(llvm::cast<clang::MSAsmStmt>(Stmt));
auto _S = new AST::MSAsmStmt();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->simple = S->isSimple();
_S->_volatile = S->isVolatile();
_S->numOutputs = S->getNumOutputs();
@ -271,7 +252,6 @@ AST::Stmt* Parser::WalkStatement(const clang::Stmt* Stmt) @@ -271,7 +252,6 @@ AST::Stmt* Parser::WalkStatement(const clang::Stmt* Stmt)
{
auto S = const_cast<clang::SEHExceptStmt*>(llvm::cast<clang::SEHExceptStmt>(Stmt));
auto _S = new AST::SEHExceptStmt();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->filterExpr = static_cast<AST::Expr*>(WalkExpression(S->getFilterExpr()));
_S->block = static_cast<AST::CompoundStmt*>(WalkStatement(S->getBlock()));
_Stmt = _S;
@ -281,7 +261,6 @@ AST::Stmt* Parser::WalkStatement(const clang::Stmt* Stmt) @@ -281,7 +261,6 @@ AST::Stmt* Parser::WalkStatement(const clang::Stmt* Stmt)
{
auto S = const_cast<clang::SEHFinallyStmt*>(llvm::cast<clang::SEHFinallyStmt>(Stmt));
auto _S = new AST::SEHFinallyStmt();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->block = static_cast<AST::CompoundStmt*>(WalkStatement(S->getBlock()));
_Stmt = _S;
break;
@ -290,7 +269,6 @@ AST::Stmt* Parser::WalkStatement(const clang::Stmt* Stmt) @@ -290,7 +269,6 @@ AST::Stmt* Parser::WalkStatement(const clang::Stmt* Stmt)
{
auto S = const_cast<clang::SEHTryStmt*>(llvm::cast<clang::SEHTryStmt>(Stmt));
auto _S = new AST::SEHTryStmt();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->isCXXTry = S->getIsCXXTry();
_S->tryBlock = static_cast<AST::CompoundStmt*>(WalkStatement(S->getTryBlock()));
_S->handler = static_cast<AST::Stmt*>(WalkStatement(S->getHandler()));
@ -303,7 +281,6 @@ AST::Stmt* Parser::WalkStatement(const clang::Stmt* Stmt) @@ -303,7 +281,6 @@ AST::Stmt* Parser::WalkStatement(const clang::Stmt* Stmt)
{
auto S = const_cast<clang::SEHLeaveStmt*>(llvm::cast<clang::SEHLeaveStmt>(Stmt));
auto _S = new AST::SEHLeaveStmt();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_Stmt = _S;
break;
}
@ -311,7 +288,6 @@ AST::Stmt* Parser::WalkStatement(const clang::Stmt* Stmt) @@ -311,7 +288,6 @@ AST::Stmt* Parser::WalkStatement(const clang::Stmt* Stmt)
{
auto S = const_cast<clang::CapturedStmt*>(llvm::cast<clang::CapturedStmt>(Stmt));
auto _S = new AST::CapturedStmt();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->capturedStmt = static_cast<AST::Stmt*>(WalkStatement(S->getCapturedStmt()));
_S->capture_size = S->capture_size();
for (auto _E : S->capture_inits())
@ -326,7 +302,6 @@ AST::Stmt* Parser::WalkStatement(const clang::Stmt* Stmt) @@ -326,7 +302,6 @@ AST::Stmt* Parser::WalkStatement(const clang::Stmt* Stmt)
{
auto S = const_cast<clang::CXXCatchStmt*>(llvm::cast<clang::CXXCatchStmt>(Stmt));
auto _S = new AST::CXXCatchStmt();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->caughtType = GetQualifiedType(S->getCaughtType());
_S->handlerBlock = static_cast<AST::Stmt*>(WalkStatement(S->getHandlerBlock()));
_Stmt = _S;
@ -336,7 +311,6 @@ AST::Stmt* Parser::WalkStatement(const clang::Stmt* Stmt) @@ -336,7 +311,6 @@ AST::Stmt* Parser::WalkStatement(const clang::Stmt* Stmt)
{
auto S = const_cast<clang::CXXTryStmt*>(llvm::cast<clang::CXXTryStmt>(Stmt));
auto _S = new AST::CXXTryStmt();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->tryBlock = static_cast<AST::CompoundStmt*>(WalkStatement(S->getTryBlock()));
_S->numHandlers = S->getNumHandlers();
_Stmt = _S;
@ -346,7 +320,6 @@ AST::Stmt* Parser::WalkStatement(const clang::Stmt* Stmt) @@ -346,7 +320,6 @@ AST::Stmt* Parser::WalkStatement(const clang::Stmt* Stmt)
{
auto S = const_cast<clang::CXXForRangeStmt*>(llvm::cast<clang::CXXForRangeStmt>(Stmt));
auto _S = new AST::CXXForRangeStmt();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->init = static_cast<AST::Stmt*>(WalkStatement(S->getInit()));
_S->rangeInit = static_cast<AST::Expr*>(WalkExpression(S->getRangeInit()));
_S->cond = static_cast<AST::Expr*>(WalkExpression(S->getCond()));
@ -363,7 +336,6 @@ AST::Stmt* Parser::WalkStatement(const clang::Stmt* Stmt) @@ -363,7 +336,6 @@ AST::Stmt* Parser::WalkStatement(const clang::Stmt* Stmt)
{
auto S = const_cast<clang::MSDependentExistsStmt*>(llvm::cast<clang::MSDependentExistsStmt>(Stmt));
auto _S = new AST::MSDependentExistsStmt();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->isIfExists = S->isIfExists();
_S->isIfNotExists = S->isIfNotExists();
_S->subStmt = static_cast<AST::CompoundStmt*>(WalkStatement(S->getSubStmt()));
@ -374,7 +346,6 @@ AST::Stmt* Parser::WalkStatement(const clang::Stmt* Stmt) @@ -374,7 +346,6 @@ AST::Stmt* Parser::WalkStatement(const clang::Stmt* Stmt)
{
auto S = const_cast<clang::CoroutineBodyStmt*>(llvm::cast<clang::CoroutineBodyStmt>(Stmt));
auto _S = new AST::CoroutineBodyStmt();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->hasDependentPromiseType = S->hasDependentPromiseType();
_S->body = static_cast<AST::Stmt*>(WalkStatement(S->getBody()));
_S->promiseDeclStmt = static_cast<AST::Stmt*>(WalkStatement(S->getPromiseDeclStmt()));
@ -395,7 +366,6 @@ AST::Stmt* Parser::WalkStatement(const clang::Stmt* Stmt) @@ -395,7 +366,6 @@ AST::Stmt* Parser::WalkStatement(const clang::Stmt* Stmt)
{
auto S = const_cast<clang::CoreturnStmt*>(llvm::cast<clang::CoreturnStmt>(Stmt));
auto _S = new AST::CoreturnStmt();
_S->stripLabelLikeStatements = static_cast<AST::Stmt*>(WalkStatement(S->stripLabelLikeStatements()));
_S->isImplicit = S->isImplicit();
_S->operand = static_cast<AST::Expr*>(WalkExpression(S->getOperand()));
_S->promiseCall = static_cast<AST::Expr*>(WalkExpression(S->getPromiseCall()));

2
src/CppParser/Stmt.cpp

@ -16,7 +16,6 @@ Stmt::Stmt() @@ -16,7 +16,6 @@ Stmt::Stmt()
, sourceRange(SourceRange())
, beginLoc(SourceLocation())
, endLoc(SourceLocation())
, stripLabelLikeStatements(nullptr)
{
}
@ -25,7 +24,6 @@ Stmt::Stmt(StmtClass klass) @@ -25,7 +24,6 @@ Stmt::Stmt(StmtClass klass)
, sourceRange(SourceRange())
, beginLoc(SourceLocation())
, endLoc(SourceLocation())
, stripLabelLikeStatements(nullptr)
{
}

1
src/CppParser/Stmt.h

@ -155,7 +155,6 @@ public: @@ -155,7 +155,6 @@ public:
SourceRange sourceRange;
SourceLocation beginLoc;
SourceLocation endLoc;
Stmt* stripLabelLikeStatements;
};
class CS_API DeclStmt : public Stmt

95
src/Parser/ASTConverter.Expr.cs

@ -607,7 +607,6 @@ namespace CppSharp @@ -607,7 +607,6 @@ namespace CppSharp
_expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type);
_expr.ValueDependent = expr.ValueDependent;
_expr.TypeDependent = expr.TypeDependent;
@ -632,7 +631,6 @@ namespace CppSharp @@ -632,7 +631,6 @@ namespace CppSharp
_expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type);
_expr.ValueDependent = expr.ValueDependent;
_expr.TypeDependent = expr.TypeDependent;
@ -659,7 +657,6 @@ namespace CppSharp @@ -659,7 +657,6 @@ namespace CppSharp
_expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type);
_expr.ValueDependent = expr.ValueDependent;
_expr.TypeDependent = expr.TypeDependent;
@ -695,7 +692,6 @@ namespace CppSharp @@ -695,7 +692,6 @@ namespace CppSharp
_expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type);
_expr.ValueDependent = expr.ValueDependent;
_expr.TypeDependent = expr.TypeDependent;
@ -721,7 +717,6 @@ namespace CppSharp @@ -721,7 +717,6 @@ namespace CppSharp
_expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type);
_expr.ValueDependent = expr.ValueDependent;
_expr.TypeDependent = expr.TypeDependent;
@ -747,7 +742,6 @@ namespace CppSharp @@ -747,7 +742,6 @@ namespace CppSharp
_expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type);
_expr.ValueDependent = expr.ValueDependent;
_expr.TypeDependent = expr.TypeDependent;
@ -774,7 +768,6 @@ namespace CppSharp @@ -774,7 +768,6 @@ namespace CppSharp
_expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type);
_expr.ValueDependent = expr.ValueDependent;
_expr.TypeDependent = expr.TypeDependent;
@ -801,7 +794,6 @@ namespace CppSharp @@ -801,7 +794,6 @@ namespace CppSharp
_expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type);
_expr.ValueDependent = expr.ValueDependent;
_expr.TypeDependent = expr.TypeDependent;
@ -826,7 +818,6 @@ namespace CppSharp @@ -826,7 +818,6 @@ namespace CppSharp
_expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type);
_expr.ValueDependent = expr.ValueDependent;
_expr.TypeDependent = expr.TypeDependent;
@ -865,7 +856,6 @@ namespace CppSharp @@ -865,7 +856,6 @@ namespace CppSharp
_expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type);
_expr.ValueDependent = expr.ValueDependent;
_expr.TypeDependent = expr.TypeDependent;
@ -891,7 +881,6 @@ namespace CppSharp @@ -891,7 +881,6 @@ namespace CppSharp
_expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type);
_expr.ValueDependent = expr.ValueDependent;
_expr.TypeDependent = expr.TypeDependent;
@ -918,7 +907,6 @@ namespace CppSharp @@ -918,7 +907,6 @@ namespace CppSharp
_expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type);
_expr.ValueDependent = expr.ValueDependent;
_expr.TypeDependent = expr.TypeDependent;
@ -952,7 +940,6 @@ namespace CppSharp @@ -952,7 +940,6 @@ namespace CppSharp
_expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type);
_expr.ValueDependent = expr.ValueDependent;
_expr.TypeDependent = expr.TypeDependent;
@ -980,7 +967,6 @@ namespace CppSharp @@ -980,7 +967,6 @@ namespace CppSharp
_expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type);
_expr.ValueDependent = expr.ValueDependent;
_expr.TypeDependent = expr.TypeDependent;
@ -1011,7 +997,6 @@ namespace CppSharp @@ -1011,7 +997,6 @@ namespace CppSharp
_expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type);
_expr.ValueDependent = expr.ValueDependent;
_expr.TypeDependent = expr.TypeDependent;
@ -1040,7 +1025,6 @@ namespace CppSharp @@ -1040,7 +1025,6 @@ namespace CppSharp
_expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type);
_expr.ValueDependent = expr.ValueDependent;
_expr.TypeDependent = expr.TypeDependent;
@ -1077,7 +1061,6 @@ namespace CppSharp @@ -1077,7 +1061,6 @@ namespace CppSharp
_expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type);
_expr.ValueDependent = expr.ValueDependent;
_expr.TypeDependent = expr.TypeDependent;
@ -1114,7 +1097,6 @@ namespace CppSharp @@ -1114,7 +1097,6 @@ namespace CppSharp
_expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type);
_expr.ValueDependent = expr.ValueDependent;
_expr.TypeDependent = expr.TypeDependent;
@ -1141,7 +1123,6 @@ namespace CppSharp @@ -1141,7 +1123,6 @@ namespace CppSharp
_expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type);
_expr.ValueDependent = expr.ValueDependent;
_expr.TypeDependent = expr.TypeDependent;
@ -1173,7 +1154,6 @@ namespace CppSharp @@ -1173,7 +1154,6 @@ namespace CppSharp
_expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type);
_expr.ValueDependent = expr.ValueDependent;
_expr.TypeDependent = expr.TypeDependent;
@ -1207,7 +1187,6 @@ namespace CppSharp @@ -1207,7 +1187,6 @@ namespace CppSharp
_expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type);
_expr.ValueDependent = expr.ValueDependent;
_expr.TypeDependent = expr.TypeDependent;
@ -1250,7 +1229,6 @@ namespace CppSharp @@ -1250,7 +1229,6 @@ namespace CppSharp
_expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type);
_expr.ValueDependent = expr.ValueDependent;
_expr.TypeDependent = expr.TypeDependent;
@ -1295,7 +1273,6 @@ namespace CppSharp @@ -1295,7 +1273,6 @@ namespace CppSharp
_expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type);
_expr.ValueDependent = expr.ValueDependent;
_expr.TypeDependent = expr.TypeDependent;
@ -1326,7 +1303,6 @@ namespace CppSharp @@ -1326,7 +1303,6 @@ namespace CppSharp
_expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type);
_expr.ValueDependent = expr.ValueDependent;
_expr.TypeDependent = expr.TypeDependent;
@ -1357,7 +1333,6 @@ namespace CppSharp @@ -1357,7 +1333,6 @@ namespace CppSharp
_expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type);
_expr.ValueDependent = expr.ValueDependent;
_expr.TypeDependent = expr.TypeDependent;
@ -1383,7 +1358,6 @@ namespace CppSharp @@ -1383,7 +1358,6 @@ namespace CppSharp
_expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type);
_expr.ValueDependent = expr.ValueDependent;
_expr.TypeDependent = expr.TypeDependent;
@ -1410,7 +1384,6 @@ namespace CppSharp @@ -1410,7 +1384,6 @@ namespace CppSharp
_expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type);
_expr.ValueDependent = expr.ValueDependent;
_expr.TypeDependent = expr.TypeDependent;
@ -1437,7 +1410,6 @@ namespace CppSharp @@ -1437,7 +1410,6 @@ namespace CppSharp
_expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type);
_expr.ValueDependent = expr.ValueDependent;
_expr.TypeDependent = expr.TypeDependent;
@ -1464,7 +1436,6 @@ namespace CppSharp @@ -1464,7 +1436,6 @@ namespace CppSharp
_expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type);
_expr.ValueDependent = expr.ValueDependent;
_expr.TypeDependent = expr.TypeDependent;
@ -1496,7 +1467,6 @@ namespace CppSharp @@ -1496,7 +1467,6 @@ namespace CppSharp
_expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type);
_expr.ValueDependent = expr.ValueDependent;
_expr.TypeDependent = expr.TypeDependent;
@ -1521,7 +1491,6 @@ namespace CppSharp @@ -1521,7 +1491,6 @@ namespace CppSharp
_expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type);
_expr.ValueDependent = expr.ValueDependent;
_expr.TypeDependent = expr.TypeDependent;
@ -1549,7 +1518,6 @@ namespace CppSharp @@ -1549,7 +1518,6 @@ namespace CppSharp
_expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type);
_expr.ValueDependent = expr.ValueDependent;
_expr.TypeDependent = expr.TypeDependent;
@ -1585,7 +1553,6 @@ namespace CppSharp @@ -1585,7 +1553,6 @@ namespace CppSharp
_expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type);
_expr.ValueDependent = expr.ValueDependent;
_expr.TypeDependent = expr.TypeDependent;
@ -1615,7 +1582,6 @@ namespace CppSharp @@ -1615,7 +1582,6 @@ namespace CppSharp
_expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type);
_expr.ValueDependent = expr.ValueDependent;
_expr.TypeDependent = expr.TypeDependent;
@ -1639,7 +1605,6 @@ namespace CppSharp @@ -1639,7 +1605,6 @@ namespace CppSharp
_expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type);
_expr.ValueDependent = expr.ValueDependent;
_expr.TypeDependent = expr.TypeDependent;
@ -1665,7 +1630,6 @@ namespace CppSharp @@ -1665,7 +1630,6 @@ namespace CppSharp
_expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type);
_expr.ValueDependent = expr.ValueDependent;
_expr.TypeDependent = expr.TypeDependent;
@ -1691,7 +1655,6 @@ namespace CppSharp @@ -1691,7 +1655,6 @@ namespace CppSharp
_expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type);
_expr.ValueDependent = expr.ValueDependent;
_expr.TypeDependent = expr.TypeDependent;
@ -1715,7 +1678,6 @@ namespace CppSharp @@ -1715,7 +1678,6 @@ namespace CppSharp
_expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type);
_expr.ValueDependent = expr.ValueDependent;
_expr.TypeDependent = expr.TypeDependent;
@ -1739,7 +1701,6 @@ namespace CppSharp @@ -1739,7 +1701,6 @@ namespace CppSharp
_expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type);
_expr.ValueDependent = expr.ValueDependent;
_expr.TypeDependent = expr.TypeDependent;
@ -1766,7 +1727,6 @@ namespace CppSharp @@ -1766,7 +1727,6 @@ namespace CppSharp
_expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type);
_expr.ValueDependent = expr.ValueDependent;
_expr.TypeDependent = expr.TypeDependent;
@ -1798,7 +1758,6 @@ namespace CppSharp @@ -1798,7 +1758,6 @@ namespace CppSharp
_expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type);
_expr.ValueDependent = expr.ValueDependent;
_expr.TypeDependent = expr.TypeDependent;
@ -1827,7 +1786,6 @@ namespace CppSharp @@ -1827,7 +1786,6 @@ namespace CppSharp
_expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type);
_expr.ValueDependent = expr.ValueDependent;
_expr.TypeDependent = expr.TypeDependent;
@ -1853,7 +1811,6 @@ namespace CppSharp @@ -1853,7 +1811,6 @@ namespace CppSharp
_expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type);
_expr.ValueDependent = expr.ValueDependent;
_expr.TypeDependent = expr.TypeDependent;
@ -1880,7 +1837,6 @@ namespace CppSharp @@ -1880,7 +1837,6 @@ namespace CppSharp
_expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type);
_expr.ValueDependent = expr.ValueDependent;
_expr.TypeDependent = expr.TypeDependent;
@ -1908,7 +1864,6 @@ namespace CppSharp @@ -1908,7 +1864,6 @@ namespace CppSharp
_expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type);
_expr.ValueDependent = expr.ValueDependent;
_expr.TypeDependent = expr.TypeDependent;
@ -1947,7 +1902,6 @@ namespace CppSharp @@ -1947,7 +1902,6 @@ namespace CppSharp
_expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type);
_expr.ValueDependent = expr.ValueDependent;
_expr.TypeDependent = expr.TypeDependent;
@ -1971,7 +1925,6 @@ namespace CppSharp @@ -1971,7 +1925,6 @@ namespace CppSharp
_expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type);
_expr.ValueDependent = expr.ValueDependent;
_expr.TypeDependent = expr.TypeDependent;
@ -2013,7 +1966,6 @@ namespace CppSharp @@ -2013,7 +1966,6 @@ namespace CppSharp
_expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type);
_expr.ValueDependent = expr.ValueDependent;
_expr.TypeDependent = expr.TypeDependent;
@ -2052,7 +2004,6 @@ namespace CppSharp @@ -2052,7 +2004,6 @@ namespace CppSharp
_expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type);
_expr.ValueDependent = expr.ValueDependent;
_expr.TypeDependent = expr.TypeDependent;
@ -2090,7 +2041,6 @@ namespace CppSharp @@ -2090,7 +2041,6 @@ namespace CppSharp
_expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type);
_expr.ValueDependent = expr.ValueDependent;
_expr.TypeDependent = expr.TypeDependent;
@ -2126,7 +2076,6 @@ namespace CppSharp @@ -2126,7 +2076,6 @@ namespace CppSharp
_expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type);
_expr.ValueDependent = expr.ValueDependent;
_expr.TypeDependent = expr.TypeDependent;
@ -2163,7 +2112,6 @@ namespace CppSharp @@ -2163,7 +2112,6 @@ namespace CppSharp
_expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type);
_expr.ValueDependent = expr.ValueDependent;
_expr.TypeDependent = expr.TypeDependent;
@ -2199,7 +2147,6 @@ namespace CppSharp @@ -2199,7 +2147,6 @@ namespace CppSharp
_expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type);
_expr.ValueDependent = expr.ValueDependent;
_expr.TypeDependent = expr.TypeDependent;
@ -2235,7 +2182,6 @@ namespace CppSharp @@ -2235,7 +2182,6 @@ namespace CppSharp
_expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type);
_expr.ValueDependent = expr.ValueDependent;
_expr.TypeDependent = expr.TypeDependent;
@ -2275,7 +2221,6 @@ namespace CppSharp @@ -2275,7 +2221,6 @@ namespace CppSharp
_expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type);
_expr.ValueDependent = expr.ValueDependent;
_expr.TypeDependent = expr.TypeDependent;
@ -2301,7 +2246,6 @@ namespace CppSharp @@ -2301,7 +2246,6 @@ namespace CppSharp
_expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type);
_expr.ValueDependent = expr.ValueDependent;
_expr.TypeDependent = expr.TypeDependent;
@ -2326,7 +2270,6 @@ namespace CppSharp @@ -2326,7 +2270,6 @@ namespace CppSharp
_expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type);
_expr.ValueDependent = expr.ValueDependent;
_expr.TypeDependent = expr.TypeDependent;
@ -2351,7 +2294,6 @@ namespace CppSharp @@ -2351,7 +2294,6 @@ namespace CppSharp
_expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type);
_expr.ValueDependent = expr.ValueDependent;
_expr.TypeDependent = expr.TypeDependent;
@ -2378,7 +2320,6 @@ namespace CppSharp @@ -2378,7 +2320,6 @@ namespace CppSharp
_expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type);
_expr.ValueDependent = expr.ValueDependent;
_expr.TypeDependent = expr.TypeDependent;
@ -2406,7 +2347,6 @@ namespace CppSharp @@ -2406,7 +2347,6 @@ namespace CppSharp
_expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type);
_expr.ValueDependent = expr.ValueDependent;
_expr.TypeDependent = expr.TypeDependent;
@ -2433,7 +2373,6 @@ namespace CppSharp @@ -2433,7 +2373,6 @@ namespace CppSharp
_expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type);
_expr.ValueDependent = expr.ValueDependent;
_expr.TypeDependent = expr.TypeDependent;
@ -2460,7 +2399,6 @@ namespace CppSharp @@ -2460,7 +2399,6 @@ namespace CppSharp
_expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type);
_expr.ValueDependent = expr.ValueDependent;
_expr.TypeDependent = expr.TypeDependent;
@ -2486,7 +2424,6 @@ namespace CppSharp @@ -2486,7 +2424,6 @@ namespace CppSharp
_expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type);
_expr.ValueDependent = expr.ValueDependent;
_expr.TypeDependent = expr.TypeDependent;
@ -2513,7 +2450,6 @@ namespace CppSharp @@ -2513,7 +2450,6 @@ namespace CppSharp
_expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type);
_expr.ValueDependent = expr.ValueDependent;
_expr.TypeDependent = expr.TypeDependent;
@ -2539,7 +2475,6 @@ namespace CppSharp @@ -2539,7 +2475,6 @@ namespace CppSharp
_expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type);
_expr.ValueDependent = expr.ValueDependent;
_expr.TypeDependent = expr.TypeDependent;
@ -2565,7 +2500,6 @@ namespace CppSharp @@ -2565,7 +2500,6 @@ namespace CppSharp
_expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type);
_expr.ValueDependent = expr.ValueDependent;
_expr.TypeDependent = expr.TypeDependent;
@ -2590,7 +2524,6 @@ namespace CppSharp @@ -2590,7 +2524,6 @@ namespace CppSharp
_expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type);
_expr.ValueDependent = expr.ValueDependent;
_expr.TypeDependent = expr.TypeDependent;
@ -2627,7 +2560,6 @@ namespace CppSharp @@ -2627,7 +2560,6 @@ namespace CppSharp
_expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type);
_expr.ValueDependent = expr.ValueDependent;
_expr.TypeDependent = expr.TypeDependent;
@ -2654,7 +2586,6 @@ namespace CppSharp @@ -2654,7 +2586,6 @@ namespace CppSharp
_expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type);
_expr.ValueDependent = expr.ValueDependent;
_expr.TypeDependent = expr.TypeDependent;
@ -2689,7 +2620,6 @@ namespace CppSharp @@ -2689,7 +2620,6 @@ namespace CppSharp
_expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type);
_expr.ValueDependent = expr.ValueDependent;
_expr.TypeDependent = expr.TypeDependent;
@ -2726,7 +2656,6 @@ namespace CppSharp @@ -2726,7 +2656,6 @@ namespace CppSharp
_expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type);
_expr.ValueDependent = expr.ValueDependent;
_expr.TypeDependent = expr.TypeDependent;
@ -2764,7 +2693,6 @@ namespace CppSharp @@ -2764,7 +2693,6 @@ namespace CppSharp
_expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type);
_expr.ValueDependent = expr.ValueDependent;
_expr.TypeDependent = expr.TypeDependent;
@ -2789,7 +2717,6 @@ namespace CppSharp @@ -2789,7 +2717,6 @@ namespace CppSharp
_expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type);
_expr.ValueDependent = expr.ValueDependent;
_expr.TypeDependent = expr.TypeDependent;
@ -2832,7 +2759,6 @@ namespace CppSharp @@ -2832,7 +2759,6 @@ namespace CppSharp
_expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type);
_expr.ValueDependent = expr.ValueDependent;
_expr.TypeDependent = expr.TypeDependent;
@ -2862,7 +2788,6 @@ namespace CppSharp @@ -2862,7 +2788,6 @@ namespace CppSharp
_expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type);
_expr.ValueDependent = expr.ValueDependent;
_expr.TypeDependent = expr.TypeDependent;
@ -2894,7 +2819,6 @@ namespace CppSharp @@ -2894,7 +2819,6 @@ namespace CppSharp
_expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type);
_expr.ValueDependent = expr.ValueDependent;
_expr.TypeDependent = expr.TypeDependent;
@ -2920,7 +2844,6 @@ namespace CppSharp @@ -2920,7 +2844,6 @@ namespace CppSharp
_expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type);
_expr.ValueDependent = expr.ValueDependent;
_expr.TypeDependent = expr.TypeDependent;
@ -2947,7 +2870,6 @@ namespace CppSharp @@ -2947,7 +2870,6 @@ namespace CppSharp
_expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type);
_expr.ValueDependent = expr.ValueDependent;
_expr.TypeDependent = expr.TypeDependent;
@ -2973,7 +2895,6 @@ namespace CppSharp @@ -2973,7 +2895,6 @@ namespace CppSharp
_expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type);
_expr.ValueDependent = expr.ValueDependent;
_expr.TypeDependent = expr.TypeDependent;
@ -3007,7 +2928,6 @@ namespace CppSharp @@ -3007,7 +2928,6 @@ namespace CppSharp
_expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type);
_expr.ValueDependent = expr.ValueDependent;
_expr.TypeDependent = expr.TypeDependent;
@ -3038,7 +2958,6 @@ namespace CppSharp @@ -3038,7 +2958,6 @@ namespace CppSharp
_expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type);
_expr.ValueDependent = expr.ValueDependent;
_expr.TypeDependent = expr.TypeDependent;
@ -3065,7 +2984,6 @@ namespace CppSharp @@ -3065,7 +2984,6 @@ namespace CppSharp
_expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type);
_expr.ValueDependent = expr.ValueDependent;
_expr.TypeDependent = expr.TypeDependent;
@ -3099,7 +3017,6 @@ namespace CppSharp @@ -3099,7 +3017,6 @@ namespace CppSharp
_expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type);
_expr.ValueDependent = expr.ValueDependent;
_expr.TypeDependent = expr.TypeDependent;
@ -3136,7 +3053,6 @@ namespace CppSharp @@ -3136,7 +3053,6 @@ namespace CppSharp
_expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type);
_expr.ValueDependent = expr.ValueDependent;
_expr.TypeDependent = expr.TypeDependent;
@ -3175,7 +3091,6 @@ namespace CppSharp @@ -3175,7 +3091,6 @@ namespace CppSharp
_expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type);
_expr.ValueDependent = expr.ValueDependent;
_expr.TypeDependent = expr.TypeDependent;
@ -3201,7 +3116,6 @@ namespace CppSharp @@ -3201,7 +3116,6 @@ namespace CppSharp
_expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type);
_expr.ValueDependent = expr.ValueDependent;
_expr.TypeDependent = expr.TypeDependent;
@ -3227,7 +3141,6 @@ namespace CppSharp @@ -3227,7 +3141,6 @@ namespace CppSharp
_expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type);
_expr.ValueDependent = expr.ValueDependent;
_expr.TypeDependent = expr.TypeDependent;
@ -3257,7 +3170,6 @@ namespace CppSharp @@ -3257,7 +3170,6 @@ namespace CppSharp
_expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type);
_expr.ValueDependent = expr.ValueDependent;
_expr.TypeDependent = expr.TypeDependent;
@ -3283,7 +3195,6 @@ namespace CppSharp @@ -3283,7 +3195,6 @@ namespace CppSharp
_expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type);
_expr.ValueDependent = expr.ValueDependent;
_expr.TypeDependent = expr.TypeDependent;
@ -3309,7 +3220,6 @@ namespace CppSharp @@ -3309,7 +3220,6 @@ namespace CppSharp
_expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type);
_expr.ValueDependent = expr.ValueDependent;
_expr.TypeDependent = expr.TypeDependent;
@ -3335,7 +3245,6 @@ namespace CppSharp @@ -3335,7 +3245,6 @@ namespace CppSharp
_expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type);
_expr.ValueDependent = expr.ValueDependent;
_expr.TypeDependent = expr.TypeDependent;
@ -3363,7 +3272,6 @@ namespace CppSharp @@ -3363,7 +3272,6 @@ namespace CppSharp
_expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type);
_expr.ValueDependent = expr.ValueDependent;
_expr.TypeDependent = expr.TypeDependent;
@ -3395,7 +3303,6 @@ namespace CppSharp @@ -3395,7 +3303,6 @@ namespace CppSharp
_expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type);
_expr.ValueDependent = expr.ValueDependent;
_expr.TypeDependent = expr.TypeDependent;
@ -3427,7 +3334,6 @@ namespace CppSharp @@ -3427,7 +3334,6 @@ namespace CppSharp
_expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type);
_expr.ValueDependent = expr.ValueDependent;
_expr.TypeDependent = expr.TypeDependent;
@ -3454,7 +3360,6 @@ namespace CppSharp @@ -3454,7 +3360,6 @@ namespace CppSharp
_expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type);
_expr.ValueDependent = expr.ValueDependent;
_expr.TypeDependent = expr.TypeDependent;

30
src/Parser/ASTConverter.Stmt.cs

@ -692,7 +692,6 @@ namespace CppSharp @@ -692,7 +692,6 @@ namespace CppSharp
_stmt.SourceRange = VisitSourceRange(stmt.SourceRange);
_stmt.BeginLoc = VisitSourceLocation(stmt.BeginLoc);
_stmt.EndLoc = VisitSourceLocation(stmt.EndLoc);
_stmt.StripLabelLikeStatements = VisitStatement(stmt.StripLabelLikeStatements) as AST.Stmt;
_stmt.IsSingleDecl = stmt.IsSingleDecl;
_stmt.SingleDecl = VisitDeclaration(stmt.SingleDecl) as AST.Declaration;
for (uint i = 0; i < stmt.GetdeclsCount; i++)
@ -709,7 +708,6 @@ namespace CppSharp @@ -709,7 +708,6 @@ namespace CppSharp
_stmt.SourceRange = VisitSourceRange(stmt.SourceRange);
_stmt.BeginLoc = VisitSourceLocation(stmt.BeginLoc);
_stmt.EndLoc = VisitSourceLocation(stmt.EndLoc);
_stmt.StripLabelLikeStatements = VisitStatement(stmt.StripLabelLikeStatements) as AST.Stmt;
_stmt.SemiLoc = VisitSourceLocation(stmt.SemiLoc);
_stmt.HasLeadingEmptyMacro = stmt.HasLeadingEmptyMacro;
return _stmt;
@ -721,7 +719,6 @@ namespace CppSharp @@ -721,7 +719,6 @@ namespace CppSharp
_stmt.SourceRange = VisitSourceRange(stmt.SourceRange);
_stmt.BeginLoc = VisitSourceLocation(stmt.BeginLoc);
_stmt.EndLoc = VisitSourceLocation(stmt.EndLoc);
_stmt.StripLabelLikeStatements = VisitStatement(stmt.StripLabelLikeStatements) as AST.Stmt;
_stmt.BodyEmpty = stmt.BodyEmpty;
_stmt.Size = stmt.Size;
_stmt.BodyFront = VisitStatement(stmt.BodyFront) as AST.Stmt;
@ -742,7 +739,6 @@ namespace CppSharp @@ -742,7 +739,6 @@ namespace CppSharp
_stmt.SourceRange = VisitSourceRange(stmt.SourceRange);
_stmt.BeginLoc = VisitSourceLocation(stmt.BeginLoc);
_stmt.EndLoc = VisitSourceLocation(stmt.EndLoc);
_stmt.StripLabelLikeStatements = VisitStatement(stmt.StripLabelLikeStatements) as AST.Stmt;
_stmt.KeywordLoc = VisitSourceLocation(stmt.KeywordLoc);
_stmt.ColonLoc = VisitSourceLocation(stmt.ColonLoc);
_stmt.SubStmt = VisitStatement(stmt.SubStmt) as AST.Stmt;
@ -760,7 +756,6 @@ namespace CppSharp @@ -760,7 +756,6 @@ namespace CppSharp
_stmt.SourceRange = VisitSourceRange(stmt.SourceRange);
_stmt.BeginLoc = VisitSourceLocation(stmt.BeginLoc);
_stmt.EndLoc = VisitSourceLocation(stmt.EndLoc);
_stmt.StripLabelLikeStatements = VisitStatement(stmt.StripLabelLikeStatements) as AST.Stmt;
_stmt.KeywordLoc = VisitSourceLocation(stmt.KeywordLoc);
_stmt.ColonLoc = VisitSourceLocation(stmt.ColonLoc);
_stmt.SubStmt = VisitStatement(stmt.SubStmt) as AST.Stmt;
@ -774,7 +769,6 @@ namespace CppSharp @@ -774,7 +769,6 @@ namespace CppSharp
_stmt.SourceRange = VisitSourceRange(stmt.SourceRange);
_stmt.BeginLoc = VisitSourceLocation(stmt.BeginLoc);
_stmt.EndLoc = VisitSourceLocation(stmt.EndLoc);
_stmt.StripLabelLikeStatements = VisitStatement(stmt.StripLabelLikeStatements) as AST.Stmt;
_stmt.IdentLoc = VisitSourceLocation(stmt.IdentLoc);
_stmt.SubStmt = VisitStatement(stmt.SubStmt) as AST.Stmt;
_stmt.Name = stmt.Name;
@ -787,7 +781,6 @@ namespace CppSharp @@ -787,7 +781,6 @@ namespace CppSharp
_stmt.SourceRange = VisitSourceRange(stmt.SourceRange);
_stmt.BeginLoc = VisitSourceLocation(stmt.BeginLoc);
_stmt.EndLoc = VisitSourceLocation(stmt.EndLoc);
_stmt.StripLabelLikeStatements = VisitStatement(stmt.StripLabelLikeStatements) as AST.Stmt;
_stmt.AttrLoc = VisitSourceLocation(stmt.AttrLoc);
_stmt.SubStmt = VisitStatement(stmt.SubStmt) as AST.Stmt;
return _stmt;
@ -799,7 +792,6 @@ namespace CppSharp @@ -799,7 +792,6 @@ namespace CppSharp
_stmt.SourceRange = VisitSourceRange(stmt.SourceRange);
_stmt.BeginLoc = VisitSourceLocation(stmt.BeginLoc);
_stmt.EndLoc = VisitSourceLocation(stmt.EndLoc);
_stmt.StripLabelLikeStatements = VisitStatement(stmt.StripLabelLikeStatements) as AST.Stmt;
_stmt.Cond = VisitExpression(stmt.Cond) as AST.Expr;
_stmt.Then = VisitStatement(stmt.Then) as AST.Stmt;
_stmt.Else = VisitStatement(stmt.Else) as AST.Stmt;
@ -821,7 +813,6 @@ namespace CppSharp @@ -821,7 +813,6 @@ namespace CppSharp
_stmt.SourceRange = VisitSourceRange(stmt.SourceRange);
_stmt.BeginLoc = VisitSourceLocation(stmt.BeginLoc);
_stmt.EndLoc = VisitSourceLocation(stmt.EndLoc);
_stmt.StripLabelLikeStatements = VisitStatement(stmt.StripLabelLikeStatements) as AST.Stmt;
_stmt.Cond = VisitExpression(stmt.Cond) as AST.Expr;
_stmt.Body = VisitStatement(stmt.Body) as AST.Stmt;
_stmt.Init = VisitStatement(stmt.Init) as AST.Stmt;
@ -839,7 +830,6 @@ namespace CppSharp @@ -839,7 +830,6 @@ namespace CppSharp
_stmt.SourceRange = VisitSourceRange(stmt.SourceRange);
_stmt.BeginLoc = VisitSourceLocation(stmt.BeginLoc);
_stmt.EndLoc = VisitSourceLocation(stmt.EndLoc);
_stmt.StripLabelLikeStatements = VisitStatement(stmt.StripLabelLikeStatements) as AST.Stmt;
_stmt.Cond = VisitExpression(stmt.Cond) as AST.Expr;
_stmt.Body = VisitStatement(stmt.Body) as AST.Stmt;
_stmt.WhileLoc = VisitSourceLocation(stmt.WhileLoc);
@ -854,7 +844,6 @@ namespace CppSharp @@ -854,7 +844,6 @@ namespace CppSharp
_stmt.SourceRange = VisitSourceRange(stmt.SourceRange);
_stmt.BeginLoc = VisitSourceLocation(stmt.BeginLoc);
_stmt.EndLoc = VisitSourceLocation(stmt.EndLoc);
_stmt.StripLabelLikeStatements = VisitStatement(stmt.StripLabelLikeStatements) as AST.Stmt;
_stmt.Cond = VisitExpression(stmt.Cond) as AST.Expr;
_stmt.Body = VisitStatement(stmt.Body) as AST.Stmt;
_stmt.DoLoc = VisitSourceLocation(stmt.DoLoc);
@ -869,7 +858,6 @@ namespace CppSharp @@ -869,7 +858,6 @@ namespace CppSharp
_stmt.SourceRange = VisitSourceRange(stmt.SourceRange);
_stmt.BeginLoc = VisitSourceLocation(stmt.BeginLoc);
_stmt.EndLoc = VisitSourceLocation(stmt.EndLoc);
_stmt.StripLabelLikeStatements = VisitStatement(stmt.StripLabelLikeStatements) as AST.Stmt;
_stmt.Init = VisitStatement(stmt.Init) as AST.Stmt;
_stmt.Cond = VisitExpression(stmt.Cond) as AST.Expr;
_stmt.Inc = VisitExpression(stmt.Inc) as AST.Expr;
@ -887,7 +875,6 @@ namespace CppSharp @@ -887,7 +875,6 @@ namespace CppSharp
_stmt.SourceRange = VisitSourceRange(stmt.SourceRange);
_stmt.BeginLoc = VisitSourceLocation(stmt.BeginLoc);
_stmt.EndLoc = VisitSourceLocation(stmt.EndLoc);
_stmt.StripLabelLikeStatements = VisitStatement(stmt.StripLabelLikeStatements) as AST.Stmt;
_stmt.GotoLoc = VisitSourceLocation(stmt.GotoLoc);
_stmt.LabelLoc = VisitSourceLocation(stmt.LabelLoc);
return _stmt;
@ -899,7 +886,6 @@ namespace CppSharp @@ -899,7 +886,6 @@ namespace CppSharp
_stmt.SourceRange = VisitSourceRange(stmt.SourceRange);
_stmt.BeginLoc = VisitSourceLocation(stmt.BeginLoc);
_stmt.EndLoc = VisitSourceLocation(stmt.EndLoc);
_stmt.StripLabelLikeStatements = VisitStatement(stmt.StripLabelLikeStatements) as AST.Stmt;
_stmt.GotoLoc = VisitSourceLocation(stmt.GotoLoc);
_stmt.StarLoc = VisitSourceLocation(stmt.StarLoc);
_stmt.Target = VisitExpression(stmt.Target) as AST.Expr;
@ -912,7 +898,6 @@ namespace CppSharp @@ -912,7 +898,6 @@ namespace CppSharp
_stmt.SourceRange = VisitSourceRange(stmt.SourceRange);
_stmt.BeginLoc = VisitSourceLocation(stmt.BeginLoc);
_stmt.EndLoc = VisitSourceLocation(stmt.EndLoc);
_stmt.StripLabelLikeStatements = VisitStatement(stmt.StripLabelLikeStatements) as AST.Stmt;
_stmt.ContinueLoc = VisitSourceLocation(stmt.ContinueLoc);
return _stmt;
}
@ -923,7 +908,6 @@ namespace CppSharp @@ -923,7 +908,6 @@ namespace CppSharp
_stmt.SourceRange = VisitSourceRange(stmt.SourceRange);
_stmt.BeginLoc = VisitSourceLocation(stmt.BeginLoc);
_stmt.EndLoc = VisitSourceLocation(stmt.EndLoc);
_stmt.StripLabelLikeStatements = VisitStatement(stmt.StripLabelLikeStatements) as AST.Stmt;
_stmt.BreakLoc = VisitSourceLocation(stmt.BreakLoc);
return _stmt;
}
@ -934,7 +918,6 @@ namespace CppSharp @@ -934,7 +918,6 @@ namespace CppSharp
_stmt.SourceRange = VisitSourceRange(stmt.SourceRange);
_stmt.BeginLoc = VisitSourceLocation(stmt.BeginLoc);
_stmt.EndLoc = VisitSourceLocation(stmt.EndLoc);
_stmt.StripLabelLikeStatements = VisitStatement(stmt.StripLabelLikeStatements) as AST.Stmt;
_stmt.RetValue = VisitExpression(stmt.RetValue) as AST.Expr;
_stmt.ReturnLoc = VisitSourceLocation(stmt.ReturnLoc);
return _stmt;
@ -946,7 +929,6 @@ namespace CppSharp @@ -946,7 +929,6 @@ namespace CppSharp
_stmt.SourceRange = VisitSourceRange(stmt.SourceRange);
_stmt.BeginLoc = VisitSourceLocation(stmt.BeginLoc);
_stmt.EndLoc = VisitSourceLocation(stmt.EndLoc);
_stmt.StripLabelLikeStatements = VisitStatement(stmt.StripLabelLikeStatements) as AST.Stmt;
_stmt.AsmLoc = VisitSourceLocation(stmt.AsmLoc);
_stmt.Simple = stmt.Simple;
_stmt.Volatile = stmt.Volatile;
@ -974,7 +956,6 @@ namespace CppSharp @@ -974,7 +956,6 @@ namespace CppSharp
_stmt.SourceRange = VisitSourceRange(stmt.SourceRange);
_stmt.BeginLoc = VisitSourceLocation(stmt.BeginLoc);
_stmt.EndLoc = VisitSourceLocation(stmt.EndLoc);
_stmt.StripLabelLikeStatements = VisitStatement(stmt.StripLabelLikeStatements) as AST.Stmt;
_stmt.AsmLoc = VisitSourceLocation(stmt.AsmLoc);
_stmt.Simple = stmt.Simple;
_stmt.Volatile = stmt.Volatile;
@ -1005,7 +986,6 @@ namespace CppSharp @@ -1005,7 +986,6 @@ namespace CppSharp
_stmt.SourceRange = VisitSourceRange(stmt.SourceRange);
_stmt.BeginLoc = VisitSourceLocation(stmt.BeginLoc);
_stmt.EndLoc = VisitSourceLocation(stmt.EndLoc);
_stmt.StripLabelLikeStatements = VisitStatement(stmt.StripLabelLikeStatements) as AST.Stmt;
_stmt.ExceptLoc = VisitSourceLocation(stmt.ExceptLoc);
_stmt.FilterExpr = VisitExpression(stmt.FilterExpr) as AST.Expr;
_stmt.Block = VisitStatement(stmt.Block) as AST.CompoundStmt;
@ -1018,7 +998,6 @@ namespace CppSharp @@ -1018,7 +998,6 @@ namespace CppSharp
_stmt.SourceRange = VisitSourceRange(stmt.SourceRange);
_stmt.BeginLoc = VisitSourceLocation(stmt.BeginLoc);
_stmt.EndLoc = VisitSourceLocation(stmt.EndLoc);
_stmt.StripLabelLikeStatements = VisitStatement(stmt.StripLabelLikeStatements) as AST.Stmt;
_stmt.FinallyLoc = VisitSourceLocation(stmt.FinallyLoc);
_stmt.Block = VisitStatement(stmt.Block) as AST.CompoundStmt;
return _stmt;
@ -1030,7 +1009,6 @@ namespace CppSharp @@ -1030,7 +1009,6 @@ namespace CppSharp
_stmt.SourceRange = VisitSourceRange(stmt.SourceRange);
_stmt.BeginLoc = VisitSourceLocation(stmt.BeginLoc);
_stmt.EndLoc = VisitSourceLocation(stmt.EndLoc);
_stmt.StripLabelLikeStatements = VisitStatement(stmt.StripLabelLikeStatements) as AST.Stmt;
_stmt.TryLoc = VisitSourceLocation(stmt.TryLoc);
_stmt.IsCXXTry = stmt.IsCXXTry;
_stmt.TryBlock = VisitStatement(stmt.TryBlock) as AST.CompoundStmt;
@ -1046,7 +1024,6 @@ namespace CppSharp @@ -1046,7 +1024,6 @@ namespace CppSharp
_stmt.SourceRange = VisitSourceRange(stmt.SourceRange);
_stmt.BeginLoc = VisitSourceLocation(stmt.BeginLoc);
_stmt.EndLoc = VisitSourceLocation(stmt.EndLoc);
_stmt.StripLabelLikeStatements = VisitStatement(stmt.StripLabelLikeStatements) as AST.Stmt;
_stmt.LeaveLoc = VisitSourceLocation(stmt.LeaveLoc);
return _stmt;
}
@ -1057,7 +1034,6 @@ namespace CppSharp @@ -1057,7 +1034,6 @@ namespace CppSharp
_stmt.SourceRange = VisitSourceRange(stmt.SourceRange);
_stmt.BeginLoc = VisitSourceLocation(stmt.BeginLoc);
_stmt.EndLoc = VisitSourceLocation(stmt.EndLoc);
_stmt.StripLabelLikeStatements = VisitStatement(stmt.StripLabelLikeStatements) as AST.Stmt;
_stmt.capturedStmt = VisitStatement(stmt.capturedStmt) as AST.Stmt;
_stmt.CaptureSize = stmt.CaptureSize;
for (uint i = 0; i < stmt.GetcaptureInitsCount; i++)
@ -1074,7 +1050,6 @@ namespace CppSharp @@ -1074,7 +1050,6 @@ namespace CppSharp
_stmt.SourceRange = VisitSourceRange(stmt.SourceRange);
_stmt.BeginLoc = VisitSourceLocation(stmt.BeginLoc);
_stmt.EndLoc = VisitSourceLocation(stmt.EndLoc);
_stmt.StripLabelLikeStatements = VisitStatement(stmt.StripLabelLikeStatements) as AST.Stmt;
_stmt.CatchLoc = VisitSourceLocation(stmt.CatchLoc);
_stmt.CaughtType = VisitQualifiedType(stmt.CaughtType);
_stmt.HandlerBlock = VisitStatement(stmt.HandlerBlock) as AST.Stmt;
@ -1087,7 +1062,6 @@ namespace CppSharp @@ -1087,7 +1062,6 @@ namespace CppSharp
_stmt.SourceRange = VisitSourceRange(stmt.SourceRange);
_stmt.BeginLoc = VisitSourceLocation(stmt.BeginLoc);
_stmt.EndLoc = VisitSourceLocation(stmt.EndLoc);
_stmt.StripLabelLikeStatements = VisitStatement(stmt.StripLabelLikeStatements) as AST.Stmt;
_stmt.TryLoc = VisitSourceLocation(stmt.TryLoc);
_stmt.TryBlock = VisitStatement(stmt.TryBlock) as AST.CompoundStmt;
_stmt.NumHandlers = stmt.NumHandlers;
@ -1100,7 +1074,6 @@ namespace CppSharp @@ -1100,7 +1074,6 @@ namespace CppSharp
_stmt.SourceRange = VisitSourceRange(stmt.SourceRange);
_stmt.BeginLoc = VisitSourceLocation(stmt.BeginLoc);
_stmt.EndLoc = VisitSourceLocation(stmt.EndLoc);
_stmt.StripLabelLikeStatements = VisitStatement(stmt.StripLabelLikeStatements) as AST.Stmt;
_stmt.Init = VisitStatement(stmt.Init) as AST.Stmt;
_stmt.RangeInit = VisitExpression(stmt.RangeInit) as AST.Expr;
_stmt.Cond = VisitExpression(stmt.Cond) as AST.Expr;
@ -1123,7 +1096,6 @@ namespace CppSharp @@ -1123,7 +1096,6 @@ namespace CppSharp
_stmt.SourceRange = VisitSourceRange(stmt.SourceRange);
_stmt.BeginLoc = VisitSourceLocation(stmt.BeginLoc);
_stmt.EndLoc = VisitSourceLocation(stmt.EndLoc);
_stmt.StripLabelLikeStatements = VisitStatement(stmt.StripLabelLikeStatements) as AST.Stmt;
_stmt.KeywordLoc = VisitSourceLocation(stmt.KeywordLoc);
_stmt.IsIfExists = stmt.IsIfExists;
_stmt.IsIfNotExists = stmt.IsIfNotExists;
@ -1137,7 +1109,6 @@ namespace CppSharp @@ -1137,7 +1109,6 @@ namespace CppSharp
_stmt.SourceRange = VisitSourceRange(stmt.SourceRange);
_stmt.BeginLoc = VisitSourceLocation(stmt.BeginLoc);
_stmt.EndLoc = VisitSourceLocation(stmt.EndLoc);
_stmt.StripLabelLikeStatements = VisitStatement(stmt.StripLabelLikeStatements) as AST.Stmt;
_stmt.HasDependentPromiseType = stmt.HasDependentPromiseType;
_stmt.Body = VisitStatement(stmt.Body) as AST.Stmt;
_stmt.PromiseDeclStmt = VisitStatement(stmt.PromiseDeclStmt) as AST.Stmt;
@ -1160,7 +1131,6 @@ namespace CppSharp @@ -1160,7 +1131,6 @@ namespace CppSharp
_stmt.SourceRange = VisitSourceRange(stmt.SourceRange);
_stmt.BeginLoc = VisitSourceLocation(stmt.BeginLoc);
_stmt.EndLoc = VisitSourceLocation(stmt.EndLoc);
_stmt.StripLabelLikeStatements = VisitStatement(stmt.StripLabelLikeStatements) as AST.Stmt;
_stmt.IsImplicit = stmt.IsImplicit;
_stmt.KeywordLoc = VisitSourceLocation(stmt.KeywordLoc);
_stmt.Operand = VisitExpression(stmt.Operand) as AST.Expr;

Loading…
Cancel
Save