summaryrefslogtreecommitdiff
path: root/odb/context.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-06-16 09:20:40 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-06-16 09:20:40 +0200
commitbc6e269d1221f27d239044b376cc2c6e36dd1428 (patch)
treea8808c5e0e644112a7c9388ab9ae0cfbc62eb6c9 /odb/context.hxx
parentf88e9b93fd99b89e30ef702273f8272a2c8866ce (diff)
Diagnose forward use of composite object ids
Diffstat (limited to 'odb/context.hxx')
-rw-r--r--odb/context.hxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/odb/context.hxx b/odb/context.hxx
index a3a58bf..57e50a7 100644
--- a/odb/context.hxx
+++ b/odb/context.hxx
@@ -1150,6 +1150,14 @@ public:
static semantics::path
class_file (semantics::class_&);
+ // Return the location (as location_t; useful for comparison) of
+ // an "ODB class" (i.e., an object, view, or composite value),
+ // taking into account things like definition point overrides,
+ // etc.
+ //
+ location_t
+ class_location (semantics::class_&);
+
// Database names and types.
//
public: