aboutsummaryrefslogtreecommitdiff
path: root/odb/pragma.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/pragma.hxx')
-rw-r--r--odb/pragma.hxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/odb/pragma.hxx b/odb/pragma.hxx
index bde438f..d6b0f42 100644
--- a/odb/pragma.hxx
+++ b/odb/pragma.hxx
@@ -21,12 +21,16 @@
struct virt_declaration
{
virt_declaration (location_t l,
+ location_t o,
+ int ob,
std::string const& n,
gcc_tree_code_type tc,
tree t)
- : loc (l), name (n), tree_code (tc), type (t) {}
+ : loc (l), ord (o), ord_bias (ob), name (n), tree_code (tc), type (t) {}
location_t loc;
+ location_t ord; // Ordering location for before/after support.
+ int ord_bias; // Ordering bias for the same locations.
std::string name;
gcc_tree_code_type tree_code;
tree type; // Declaration's type.