Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d2364572 authored by Eric Holk's avatar Eric Holk
Browse files

[view compiler] Cleanup: Delete duplicate LayoutValidationVisitor::VisitStartTag

Change-Id: I9f83b2a5d61e92dee9cded239626dcaa0ebb1993
parent 83bb5125
Loading
Loading
Loading
Loading
+0 −19
Original line number Diff line number Diff line
@@ -23,25 +23,6 @@ namespace startop {

using android::base::StringPrintf;

void LayoutValidationVisitor::VisitStartTag(const std::u16string& name) {
  if (0 == name.compare(u"merge")) {
    message_ = "Merge tags are not supported";
    can_compile_ = false;
  }
  if (0 == name.compare(u"include")) {
    message_ = "Include tags are not supported";
    can_compile_ = false;
  }
  if (0 == name.compare(u"view")) {
    message_ = "View tags are not supported";
    can_compile_ = false;
  }
  if (0 == name.compare(u"fragment")) {
    message_ = "Fragment tags are not supported";
    can_compile_ = false;
  }
}

DexViewBuilder::DexViewBuilder(dex::MethodBuilder* method)
    : method_{method},
      context_{dex::Value::Parameter(0)},