THRIFT-2471 Make cpp.ref annotation language agnostic
Client: compiler general
Patch: Dave Watson
This closes #113
commit 52b99af4ee1574253dcb77933d76a7ebb2d830df
Author: Dave Watson <davejwatson@fb.com>
Date: 2014-04-23T20:05:56Z
change cpp.ref to &
commit 3f9d31cc6140367529fd8f7b1b67056ec321786f
Author: Dave Watson <davejwatson@fb.com>
Date: 2014-04-23T21:50:29Z
Recursion depth limit
commit 61468e4534ce9e6a4f4f643bfd00542d13600d83
Author: Dave Watson <davejwatson@fb.com>
Date: 2014-04-25T19:59:18Z
shared_ptr for reference type
diff --git a/test/Recursive.thrift b/test/Recursive.thrift
index c55541b..9c29983 100644
--- a/test/Recursive.thrift
+++ b/test/Recursive.thrift
@@ -23,12 +23,12 @@
}
struct RecList {
- 1: RecList nextitem (cpp.ref = "true")
+ 1: RecList & nextitem
3: i16 item
}
struct CoRec {
- 1: CoRec2 other (cpp.ref = "true")
+ 1: CoRec2 & other
}
struct CoRec2 {