aboutsummaryrefslogtreecommitdiff
path: root/gcc/go/gofrontend/export.h
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2012-02-17 22:36:10 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2012-02-17 22:36:10 +0000
commitb2c4b7b9408b401e4ad668a3a005516d9af32c53 (patch)
tree0ee6ebaf6cb2e24a987c173ccd14c68971ead20d /gcc/go/gofrontend/export.h
parent0a9115099d8f130f3649b2fad1a59535e563ac1e (diff)
downloadgcc-b2c4b7b9408b401e4ad668a3a005516d9af32c53.zip
gcc-b2c4b7b9408b401e4ad668a3a005516d9af32c53.tar.gz
gcc-b2c4b7b9408b401e4ad668a3a005516d9af32c53.tar.bz2
compiler: Add parameter names to export information.
* Make-lang.in (go/import.o): Add dependency on $(GO_LEX_H). From-SVN: r184353
Diffstat (limited to 'gcc/go/gofrontend/export.h')
-rw-r--r--gcc/go/gofrontend/export.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/go/gofrontend/export.h b/gcc/go/gofrontend/export.h
index 087f477..a558510 100644
--- a/gcc/go/gofrontend/export.h
+++ b/gcc/go/gofrontend/export.h
@@ -145,6 +145,10 @@ class Export : public String_dump
write_bytes(const char* bytes, size_t length)
{ this->stream_->write_bytes(bytes, length); }
+ // Write a name to the export stream. If NAME is empty, write "?".
+ void
+ write_name(const std::string& name);
+
// Write out a type. This handles references back to previous
// definitions.
void