aboutsummaryrefslogtreecommitdiff
path: root/gcc/go/gofrontend/export.h
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2016-07-12 20:29:15 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2016-07-12 20:29:15 +0000
commit221b3e6c32a61f4491afc87ab5d926e1f6bcf464 (patch)
treeb123a9dad3c5421e8200b57f7a379cf06011320c /gcc/go/gofrontend/export.h
parent1a58b548f8e59292685497fddf5d58c7af28ea77 (diff)
downloadgcc-221b3e6c32a61f4491afc87ab5d926e1f6bcf464.zip
gcc-221b3e6c32a61f4491afc87ab5d926e1f6bcf464.tar.gz
gcc-221b3e6c32a61f4491afc87ab5d926e1f6bcf464.tar.bz2
escape: Add escape notes to export data.
Reviewed-on: https://go-review.googlesource.com/22375 From-SVN: r238266
Diffstat (limited to 'gcc/go/gofrontend/export.h')
-rw-r--r--gcc/go/gofrontend/export.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/go/gofrontend/export.h b/gcc/go/gofrontend/export.h
index 0526e9a..c3972d8 100644
--- a/gcc/go/gofrontend/export.h
+++ b/gcc/go/gofrontend/export.h
@@ -161,6 +161,11 @@ class Export : public String_dump
void
write_type(const Type*);
+ // Write the escape note to the export stream. If NOTE is NULL, write
+ // nothing.
+ void
+ write_escape(std::string* note);
+
private:
Export(const Export&);
Export& operator=(const Export&);