From 19fcec84d8d7d21e796c7624e521b60d28ee21ed Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 20:45:59 +0200 Subject: Adding upstream version 16.2.11+ds. Signed-off-by: Daniel Baumann --- .../thrift/compiler/cpp/test/keyword-samples/const1_return.thrift | 1 + .../thrift/compiler/cpp/test/keyword-samples/enum1_return.thrift | 2 ++ .../thrift/compiler/cpp/test/keyword-samples/enum2_return.thrift | 3 +++ .../compiler/cpp/test/keyword-samples/exception1_return.thrift | 1 + .../compiler/cpp/test/keyword-samples/exception2_return.thrift | 3 +++ .../thrift/compiler/cpp/test/keyword-samples/service1_return.thrift | 1 + .../thrift/compiler/cpp/test/keyword-samples/service2_return.thrift | 3 +++ .../thrift/compiler/cpp/test/keyword-samples/service3_return.thrift | 3 +++ .../thrift/compiler/cpp/test/keyword-samples/service4_return.thrift | 5 +++++ .../thrift/compiler/cpp/test/keyword-samples/struct1_return.thrift | 1 + .../thrift/compiler/cpp/test/keyword-samples/struct2_return.thrift | 3 +++ .../thrift/compiler/cpp/test/keyword-samples/typedef1_return.thrift | 1 + .../thrift/compiler/cpp/test/keyword-samples/union1_return.thrift | 1 + .../thrift/compiler/cpp/test/keyword-samples/union2_return.thrift | 3 +++ 14 files changed, 31 insertions(+) create mode 100644 src/jaegertracing/thrift/compiler/cpp/test/keyword-samples/const1_return.thrift create mode 100644 src/jaegertracing/thrift/compiler/cpp/test/keyword-samples/enum1_return.thrift create mode 100644 src/jaegertracing/thrift/compiler/cpp/test/keyword-samples/enum2_return.thrift create mode 100644 src/jaegertracing/thrift/compiler/cpp/test/keyword-samples/exception1_return.thrift create mode 100644 src/jaegertracing/thrift/compiler/cpp/test/keyword-samples/exception2_return.thrift create mode 100644 src/jaegertracing/thrift/compiler/cpp/test/keyword-samples/service1_return.thrift create mode 100644 src/jaegertracing/thrift/compiler/cpp/test/keyword-samples/service2_return.thrift create mode 100644 src/jaegertracing/thrift/compiler/cpp/test/keyword-samples/service3_return.thrift create mode 100644 src/jaegertracing/thrift/compiler/cpp/test/keyword-samples/service4_return.thrift create mode 100644 src/jaegertracing/thrift/compiler/cpp/test/keyword-samples/struct1_return.thrift create mode 100644 src/jaegertracing/thrift/compiler/cpp/test/keyword-samples/struct2_return.thrift create mode 100644 src/jaegertracing/thrift/compiler/cpp/test/keyword-samples/typedef1_return.thrift create mode 100644 src/jaegertracing/thrift/compiler/cpp/test/keyword-samples/union1_return.thrift create mode 100644 src/jaegertracing/thrift/compiler/cpp/test/keyword-samples/union2_return.thrift (limited to 'src/jaegertracing/thrift/compiler/cpp/test/keyword-samples') diff --git a/src/jaegertracing/thrift/compiler/cpp/test/keyword-samples/const1_return.thrift b/src/jaegertracing/thrift/compiler/cpp/test/keyword-samples/const1_return.thrift new file mode 100644 index 000000000..735e4acd8 --- /dev/null +++ b/src/jaegertracing/thrift/compiler/cpp/test/keyword-samples/const1_return.thrift @@ -0,0 +1 @@ +const bool return = 0 diff --git a/src/jaegertracing/thrift/compiler/cpp/test/keyword-samples/enum1_return.thrift b/src/jaegertracing/thrift/compiler/cpp/test/keyword-samples/enum1_return.thrift new file mode 100644 index 000000000..6d834e1da --- /dev/null +++ b/src/jaegertracing/thrift/compiler/cpp/test/keyword-samples/enum1_return.thrift @@ -0,0 +1,2 @@ +enum return { +} diff --git a/src/jaegertracing/thrift/compiler/cpp/test/keyword-samples/enum2_return.thrift b/src/jaegertracing/thrift/compiler/cpp/test/keyword-samples/enum2_return.thrift new file mode 100644 index 000000000..a2caa8e14 --- /dev/null +++ b/src/jaegertracing/thrift/compiler/cpp/test/keyword-samples/enum2_return.thrift @@ -0,0 +1,3 @@ +enum enum_name { + return +} diff --git a/src/jaegertracing/thrift/compiler/cpp/test/keyword-samples/exception1_return.thrift b/src/jaegertracing/thrift/compiler/cpp/test/keyword-samples/exception1_return.thrift new file mode 100644 index 000000000..eadb33834 --- /dev/null +++ b/src/jaegertracing/thrift/compiler/cpp/test/keyword-samples/exception1_return.thrift @@ -0,0 +1 @@ +exception return {} diff --git a/src/jaegertracing/thrift/compiler/cpp/test/keyword-samples/exception2_return.thrift b/src/jaegertracing/thrift/compiler/cpp/test/keyword-samples/exception2_return.thrift new file mode 100644 index 000000000..493c35297 --- /dev/null +++ b/src/jaegertracing/thrift/compiler/cpp/test/keyword-samples/exception2_return.thrift @@ -0,0 +1,3 @@ +exception exception_name { + 1: required i8 return +} diff --git a/src/jaegertracing/thrift/compiler/cpp/test/keyword-samples/service1_return.thrift b/src/jaegertracing/thrift/compiler/cpp/test/keyword-samples/service1_return.thrift new file mode 100644 index 000000000..5286a3691 --- /dev/null +++ b/src/jaegertracing/thrift/compiler/cpp/test/keyword-samples/service1_return.thrift @@ -0,0 +1 @@ +service return {} diff --git a/src/jaegertracing/thrift/compiler/cpp/test/keyword-samples/service2_return.thrift b/src/jaegertracing/thrift/compiler/cpp/test/keyword-samples/service2_return.thrift new file mode 100644 index 000000000..6f7331da0 --- /dev/null +++ b/src/jaegertracing/thrift/compiler/cpp/test/keyword-samples/service2_return.thrift @@ -0,0 +1,3 @@ +service service_name { + bool function_name(1: i32 return) +} diff --git a/src/jaegertracing/thrift/compiler/cpp/test/keyword-samples/service3_return.thrift b/src/jaegertracing/thrift/compiler/cpp/test/keyword-samples/service3_return.thrift new file mode 100644 index 000000000..c6dd946fd --- /dev/null +++ b/src/jaegertracing/thrift/compiler/cpp/test/keyword-samples/service3_return.thrift @@ -0,0 +1,3 @@ +service service_name { + void return() +} diff --git a/src/jaegertracing/thrift/compiler/cpp/test/keyword-samples/service4_return.thrift b/src/jaegertracing/thrift/compiler/cpp/test/keyword-samples/service4_return.thrift new file mode 100644 index 000000000..d0787dfde --- /dev/null +++ b/src/jaegertracing/thrift/compiler/cpp/test/keyword-samples/service4_return.thrift @@ -0,0 +1,5 @@ +exception exception_name {} + +service service_name { + void function_name() throws ( 1: exception_name return) +} diff --git a/src/jaegertracing/thrift/compiler/cpp/test/keyword-samples/struct1_return.thrift b/src/jaegertracing/thrift/compiler/cpp/test/keyword-samples/struct1_return.thrift new file mode 100644 index 000000000..c82b8b9ca --- /dev/null +++ b/src/jaegertracing/thrift/compiler/cpp/test/keyword-samples/struct1_return.thrift @@ -0,0 +1 @@ +struct return {} diff --git a/src/jaegertracing/thrift/compiler/cpp/test/keyword-samples/struct2_return.thrift b/src/jaegertracing/thrift/compiler/cpp/test/keyword-samples/struct2_return.thrift new file mode 100644 index 000000000..a0700d101 --- /dev/null +++ b/src/jaegertracing/thrift/compiler/cpp/test/keyword-samples/struct2_return.thrift @@ -0,0 +1,3 @@ +struct struct_name { + 1: required bool return = 1 +} diff --git a/src/jaegertracing/thrift/compiler/cpp/test/keyword-samples/typedef1_return.thrift b/src/jaegertracing/thrift/compiler/cpp/test/keyword-samples/typedef1_return.thrift new file mode 100644 index 000000000..f159bb880 --- /dev/null +++ b/src/jaegertracing/thrift/compiler/cpp/test/keyword-samples/typedef1_return.thrift @@ -0,0 +1 @@ +typedef bool return diff --git a/src/jaegertracing/thrift/compiler/cpp/test/keyword-samples/union1_return.thrift b/src/jaegertracing/thrift/compiler/cpp/test/keyword-samples/union1_return.thrift new file mode 100644 index 000000000..368df1383 --- /dev/null +++ b/src/jaegertracing/thrift/compiler/cpp/test/keyword-samples/union1_return.thrift @@ -0,0 +1 @@ +union return {} diff --git a/src/jaegertracing/thrift/compiler/cpp/test/keyword-samples/union2_return.thrift b/src/jaegertracing/thrift/compiler/cpp/test/keyword-samples/union2_return.thrift new file mode 100644 index 000000000..9719d1e40 --- /dev/null +++ b/src/jaegertracing/thrift/compiler/cpp/test/keyword-samples/union2_return.thrift @@ -0,0 +1,3 @@ +union union_name { + 1: optional bool return=1 +} -- cgit v1.2.3