[vala/wip/attributes: 26/39] Drop Symbol.process_experimental_attribute
- From: Luca Bruno <lucabru src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/wip/attributes: 26/39] Drop Symbol.process_experimental_attribute
- Date: Mon, 1 Aug 2011 13:40:58 +0000 (UTC)
commit 9a67c87367e653938225319495d68f6185a191f3
Author: Luca Bruno <lucabru src gnome org>
Date: Thu Jul 7 15:54:52 2011 +0200
Drop Symbol.process_experimental_attribute
vala/valaclass.vala | 2 --
vala/valaconstant.vala | 2 --
vala/valadelegate.vala | 2 --
vala/valaerrordomain.vala | 2 --
vala/valafield.vala | 2 --
vala/valainterface.vala | 2 --
vala/valamethod.vala | 2 --
vala/valasignal.vala | 2 --
vala/valastruct.vala | 2 --
vala/valasymbol.vala | 9 ---------
10 files changed, 0 insertions(+), 27 deletions(-)
---
diff --git a/vala/valaclass.vala b/vala/valaclass.vala
index 000f9ad..038550e 100644
--- a/vala/valaclass.vala
+++ b/vala/valaclass.vala
@@ -755,8 +755,6 @@ public class Vala.Class : ObjectTypeSymbol {
process_ccode_attribute (a);
} else if (a.name == "GIR") {
process_gir_attribute (a);
- } else if (a.name == "Experimental") {
- process_experimental_attribute (a);
}
}
}
diff --git a/vala/valaconstant.vala b/vala/valaconstant.vala
index e0c7d21..0934ac0 100644
--- a/vala/valaconstant.vala
+++ b/vala/valaconstant.vala
@@ -157,8 +157,6 @@ public class Vala.Constant : Symbol, Lockable {
foreach (Attribute a in attributes) {
if (a.name == "CCode") {
process_ccode_attribute (a);
- } else if (a.name == "Experimental") {
- process_experimental_attribute (a);
}
}
}
diff --git a/vala/valadelegate.vala b/vala/valadelegate.vala
index 9e53267..d4cfaa0 100644
--- a/vala/valadelegate.vala
+++ b/vala/valadelegate.vala
@@ -332,8 +332,6 @@ public class Vala.Delegate : TypeSymbol {
foreach (Attribute a in attributes) {
if (a.name == "CCode") {
process_ccode_attribute (a);
- } else if (a.name == "Experimental") {
- process_experimental_attribute (a);
}
}
}
diff --git a/vala/valaerrordomain.vala b/vala/valaerrordomain.vala
index 92bcf7d..2ac860c 100644
--- a/vala/valaerrordomain.vala
+++ b/vala/valaerrordomain.vala
@@ -195,8 +195,6 @@ public class Vala.ErrorDomain : TypeSymbol {
foreach (Attribute a in attributes) {
if (a.name == "CCode") {
process_ccode_attribute (a);
- } else if (a.name == "Experimental") {
- process_experimental_attribute (a);
}
}
}
diff --git a/vala/valafield.vala b/vala/valafield.vala
index 31c05c1..5926a31 100644
--- a/vala/valafield.vala
+++ b/vala/valafield.vala
@@ -122,8 +122,6 @@ public class Vala.Field : Variable, Lockable {
foreach (Attribute a in attributes) {
if (a.name == "CCode") {
process_ccode_attribute (a);
- } else if (a.name == "Experimental") {
- process_experimental_attribute (a);
}
}
}
diff --git a/vala/valainterface.vala b/vala/valainterface.vala
index edbd120..e738e79 100644
--- a/vala/valainterface.vala
+++ b/vala/valainterface.vala
@@ -491,8 +491,6 @@ public class Vala.Interface : ObjectTypeSymbol {
foreach (Attribute a in attributes) {
if (a.name == "CCode") {
process_ccode_attribute (a);
- } else if (a.name == "Experimental") {
- process_experimental_attribute (a);
}
}
}
diff --git a/vala/valamethod.vala b/vala/valamethod.vala
index a907105..a0bf8bc 100644
--- a/vala/valamethod.vala
+++ b/vala/valamethod.vala
@@ -501,8 +501,6 @@ public class Vala.Method : Subroutine {
no_array_length = true;
} else if (a.name == "NoThrow") {
get_error_types ().clear ();
- } else if (a.name == "Experimental") {
- process_experimental_attribute (a);
} else if (a.name == "DestroysInstance") {
this_parameter.variable_type.value_owned = true;
}
diff --git a/vala/valasignal.vala b/vala/valasignal.vala
index 9b27d3d..e041ec0 100644
--- a/vala/valasignal.vala
+++ b/vala/valasignal.vala
@@ -268,8 +268,6 @@ public class Vala.Signal : Symbol, Lockable {
has_emitter = true;
} else if (a.name == "Signal") {
process_signal_attribute (a);
- } else if (a.name == "Experimental") {
- process_experimental_attribute (a);
}
}
}
diff --git a/vala/valastruct.vala b/vala/valastruct.vala
index ed8d992..c5178b9 100644
--- a/vala/valastruct.vala
+++ b/vala/valastruct.vala
@@ -532,8 +532,6 @@ public class Vala.Struct : TypeSymbol {
process_ccode_attribute (a);
} else if (a.name == "GIR") {
process_gir_attribute (a);
- } else if (a.name == "Experimental") {
- process_experimental_attribute (a);
}
}
}
diff --git a/vala/valasymbol.vala b/vala/valasymbol.vala
index 42ffd00..46e26c2 100644
--- a/vala/valasymbol.vala
+++ b/vala/valasymbol.vala
@@ -527,15 +527,6 @@ public abstract class Vala.Symbol : CodeNode {
}
/**
- * Process a [Experimental] attribute
- */
- public virtual void process_experimental_attribute (Attribute attr) {
- if (attr.name != "Experimental") {
- return;
- }
- }
-
- /**
* Check to see if the symbol is experimental, and emit a warning
* if it is.
*/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]