Permalink
Browse files

Merged the pass for ignoring move ctors to the one for ignoring in ge…

…neral.

Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
  • Loading branch information...
ddobrev committed Jun 28, 2017
1 parent 75b9614 commit 3d9b8df2e3b881ca5bf1c9b34793af206fbdbf8e
@@ -301,7 +301,6 @@ public void SetupPasses(ILibrary library)
TranslationUnitPasses.AddPass(new GenerateAnonymousDelegatesPass());
TranslationUnitPasses.AddPass(new ConstructorToConversionOperatorPass());
TranslationUnitPasses.AddPass(new MarshalPrimitivePointersAsRefTypePass());
TranslationUnitPasses.AddPass(new IgnoreMoveConstructorsPass());
TranslationUnitPasses.AddPass(new CheckAmbiguousFunctions());
TranslationUnitPasses.AddPass(new CheckOperatorsOverloadsPass());
TranslationUnitPasses.AddPass(new CheckVirtualOverrideReturnCovariance());
@@ -501,8 +500,6 @@ public static void Run(ILibrary library)
library.Preprocess(driver, driver.Context.ASTContext);
driver.ProcessCode();
library.Postprocess(driver, driver.Context.ASTContext);
@@ -179,6 +179,12 @@ public override bool VisitMethodDecl(Method method)
if (!CheckIgnoredBaseOverridenMethod(method))
return false;
if (method.IsMoveConstructor)
{
method.ExplicitlyIgnore();
return true;
}
return base.VisitMethodDecl(method);
}

This file was deleted.

Oops, something went wrong.

0 comments on commit 3d9b8df

Please sign in to comment.