From e9ce01cf402fca4c275554847c85aff9fff17dc6 Mon Sep 17 00:00:00 2001 From: Mark Slee Date: Wed, 16 May 2007 02:29:53 +0000 Subject: [PATCH] Apply thrift license to all files in compiler Summary: Forgot to do this last time around, only got the libs Reviewed By: no code in here, just comments git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665113 13f79535-47bb-0310-9956-ffa450edef68 --- compiler/cpp/src/generate/t_cpp_generator.cc | 6 +++ compiler/cpp/src/generate/t_cpp_generator.h | 6 +++ compiler/cpp/src/generate/t_generator.cc | 6 +++ compiler/cpp/src/generate/t_generator.h | 6 +++ compiler/cpp/src/generate/t_java_generator.cc | 6 +++ compiler/cpp/src/generate/t_java_generator.h | 6 +++ compiler/cpp/src/generate/t_oop_generator.h | 6 +++ compiler/cpp/src/generate/t_perl_generator.cc | 6 +++ compiler/cpp/src/generate/t_perl_generator.h | 6 +++ compiler/cpp/src/generate/t_php_generator.cc | 6 +++ compiler/cpp/src/generate/t_php_generator.h | 6 +++ compiler/cpp/src/generate/t_py_generator.cc | 6 +++ compiler/cpp/src/generate/t_py_generator.h | 6 +++ compiler/cpp/src/generate/t_rb_generator.cc | 6 +++ compiler/cpp/src/generate/t_rb_generator.h | 6 +++ compiler/cpp/src/generate/t_xsd_generator.cc | 6 +++ compiler/cpp/src/generate/t_xsd_generator.h | 6 +++ compiler/cpp/src/globals.h | 6 +++ compiler/cpp/src/main.cc | 6 +++ compiler/cpp/src/main.h | 6 +++ compiler/cpp/src/parse/t_base_type.h | 6 +++ compiler/cpp/src/parse/t_const.h | 6 +++ compiler/cpp/src/parse/t_const_value.h | 6 +++ compiler/cpp/src/parse/t_container.h | 6 +++ compiler/cpp/src/parse/t_doc.h | 43 +++++++++++-------- compiler/cpp/src/parse/t_enum.h | 6 +++ compiler/cpp/src/parse/t_enum_value.h | 6 +++ compiler/cpp/src/parse/t_field.h | 6 +++ compiler/cpp/src/parse/t_function.h | 6 +++ compiler/cpp/src/parse/t_list.h | 6 +++ compiler/cpp/src/parse/t_map.h | 6 +++ compiler/cpp/src/parse/t_program.h | 6 +++ compiler/cpp/src/parse/t_scope.h | 6 +++ compiler/cpp/src/parse/t_service.h | 6 +++ compiler/cpp/src/parse/t_set.h | 6 +++ compiler/cpp/src/parse/t_struct.h | 6 +++ compiler/cpp/src/parse/t_type.h | 6 +++ compiler/cpp/src/parse/t_typedef.h | 6 +++ compiler/cpp/src/thriftl.ll | 8 ++++ compiler/cpp/src/thrifty.yy | 5 +++ 40 files changed, 259 insertions(+), 19 deletions(-) diff --git a/compiler/cpp/src/generate/t_cpp_generator.cc b/compiler/cpp/src/generate/t_cpp_generator.cc index 4a4513b8..e12369c8 100644 --- a/compiler/cpp/src/generate/t_cpp_generator.cc +++ b/compiler/cpp/src/generate/t_cpp_generator.cc @@ -1,3 +1,9 @@ +// Copyright (c) 2006- Facebook +// Distributed under the Thrift Software License +// +// See accompanying file LICENSE or visit the Thrift site at: +// http://developers.facebook.com/thrift/ + #include #include #include diff --git a/compiler/cpp/src/generate/t_cpp_generator.h b/compiler/cpp/src/generate/t_cpp_generator.h index 48241ab3..858dd221 100644 --- a/compiler/cpp/src/generate/t_cpp_generator.h +++ b/compiler/cpp/src/generate/t_cpp_generator.h @@ -1,3 +1,9 @@ +// Copyright (c) 2006- Facebook +// Distributed under the Thrift Software License +// +// See accompanying file LICENSE or visit the Thrift site at: +// http://developers.facebook.com/thrift/ + #ifndef T_CPP_GENERATOR_H #define T_CPP_GENERATOR_H diff --git a/compiler/cpp/src/generate/t_generator.cc b/compiler/cpp/src/generate/t_generator.cc index b575cf48..068822c5 100644 --- a/compiler/cpp/src/generate/t_generator.cc +++ b/compiler/cpp/src/generate/t_generator.cc @@ -1,3 +1,9 @@ +// Copyright (c) 2006- Facebook +// Distributed under the Thrift Software License +// +// See accompanying file LICENSE or visit the Thrift site at: +// http://developers.facebook.com/thrift/ + #include "t_generator.h" using namespace std; diff --git a/compiler/cpp/src/generate/t_generator.h b/compiler/cpp/src/generate/t_generator.h index 5e835a28..af1d4b19 100644 --- a/compiler/cpp/src/generate/t_generator.h +++ b/compiler/cpp/src/generate/t_generator.h @@ -1,3 +1,9 @@ +// Copyright (c) 2006- Facebook +// Distributed under the Thrift Software License +// +// See accompanying file LICENSE or visit the Thrift site at: +// http://developers.facebook.com/thrift/ + #ifndef T_GENERATOR_H #define T_GENERATOR_H diff --git a/compiler/cpp/src/generate/t_java_generator.cc b/compiler/cpp/src/generate/t_java_generator.cc index b120b033..b988ab32 100644 --- a/compiler/cpp/src/generate/t_java_generator.cc +++ b/compiler/cpp/src/generate/t_java_generator.cc @@ -1,3 +1,9 @@ +// Copyright (c) 2006- Facebook +// Distributed under the Thrift Software License +// +// See accompanying file LICENSE or visit the Thrift site at: +// http://developers.facebook.com/thrift/ + #include #include #include diff --git a/compiler/cpp/src/generate/t_java_generator.h b/compiler/cpp/src/generate/t_java_generator.h index 077000e3..7266b39f 100644 --- a/compiler/cpp/src/generate/t_java_generator.h +++ b/compiler/cpp/src/generate/t_java_generator.h @@ -1,3 +1,9 @@ +// Copyright (c) 2006- Facebook +// Distributed under the Thrift Software License +// +// See accompanying file LICENSE or visit the Thrift site at: +// http://developers.facebook.com/thrift/ + #ifndef T_JAVA_GENERATOR_H #define T_JAVA_GENERATOR_H diff --git a/compiler/cpp/src/generate/t_oop_generator.h b/compiler/cpp/src/generate/t_oop_generator.h index ef3089e1..8cba67fb 100644 --- a/compiler/cpp/src/generate/t_oop_generator.h +++ b/compiler/cpp/src/generate/t_oop_generator.h @@ -1,3 +1,9 @@ +// Copyright (c) 2006- Facebook +// Distributed under the Thrift Software License +// +// See accompanying file LICENSE or visit the Thrift site at: +// http://developers.facebook.com/thrift/ + #ifndef T_OOP_GENERATOR_H #define T_OOP_GENERATOR_H diff --git a/compiler/cpp/src/generate/t_perl_generator.cc b/compiler/cpp/src/generate/t_perl_generator.cc index b10c68e5..c241a045 100644 --- a/compiler/cpp/src/generate/t_perl_generator.cc +++ b/compiler/cpp/src/generate/t_perl_generator.cc @@ -1,3 +1,9 @@ +// Copyright (c) 2006- Facebook +// Distributed under the Thrift Software License +// +// See accompanying file LICENSE or visit the Thrift site at: +// http://developers.facebook.com/thrift/ + #include #include #include diff --git a/compiler/cpp/src/generate/t_perl_generator.h b/compiler/cpp/src/generate/t_perl_generator.h index d41672f2..c1e7820b 100644 --- a/compiler/cpp/src/generate/t_perl_generator.h +++ b/compiler/cpp/src/generate/t_perl_generator.h @@ -1,3 +1,9 @@ +// Copyright (c) 2006- Facebook +// Distributed under the Thrift Software License +// +// See accompanying file LICENSE or visit the Thrift site at: +// http://developers.facebook.com/thrift/ + #ifndef T_PERL_GENERATOR_H #define T_PERL_GENERATOR_H diff --git a/compiler/cpp/src/generate/t_php_generator.cc b/compiler/cpp/src/generate/t_php_generator.cc index f1027bd6..34a3aaeb 100644 --- a/compiler/cpp/src/generate/t_php_generator.cc +++ b/compiler/cpp/src/generate/t_php_generator.cc @@ -1,3 +1,9 @@ +// Copyright (c) 2006- Facebook +// Distributed under the Thrift Software License +// +// See accompanying file LICENSE or visit the Thrift site at: +// http://developers.facebook.com/thrift/ + #include #include #include diff --git a/compiler/cpp/src/generate/t_php_generator.h b/compiler/cpp/src/generate/t_php_generator.h index 8b9e9713..86051b04 100644 --- a/compiler/cpp/src/generate/t_php_generator.h +++ b/compiler/cpp/src/generate/t_php_generator.h @@ -1,3 +1,9 @@ +// Copyright (c) 2006- Facebook +// Distributed under the Thrift Software License +// +// See accompanying file LICENSE or visit the Thrift site at: +// http://developers.facebook.com/thrift/ + #ifndef T_PHP_GENERATOR_H #define T_PHP_GENERATOR_H diff --git a/compiler/cpp/src/generate/t_py_generator.cc b/compiler/cpp/src/generate/t_py_generator.cc index 00864e2d..0a2bcb4f 100644 --- a/compiler/cpp/src/generate/t_py_generator.cc +++ b/compiler/cpp/src/generate/t_py_generator.cc @@ -1,3 +1,9 @@ +// Copyright (c) 2006- Facebook +// Distributed under the Thrift Software License +// +// See accompanying file LICENSE or visit the Thrift site at: +// http://developers.facebook.com/thrift/ + #include #include #include diff --git a/compiler/cpp/src/generate/t_py_generator.h b/compiler/cpp/src/generate/t_py_generator.h index ed94147d..87b3f473 100644 --- a/compiler/cpp/src/generate/t_py_generator.h +++ b/compiler/cpp/src/generate/t_py_generator.h @@ -1,3 +1,9 @@ +// Copyright (c) 2006- Facebook +// Distributed under the Thrift Software License +// +// See accompanying file LICENSE or visit the Thrift site at: +// http://developers.facebook.com/thrift/ + #ifndef T_PY_GENERATOR_H #define T_PY_GENERATOR_H diff --git a/compiler/cpp/src/generate/t_rb_generator.cc b/compiler/cpp/src/generate/t_rb_generator.cc index 6e29352b..9932afdc 100644 --- a/compiler/cpp/src/generate/t_rb_generator.cc +++ b/compiler/cpp/src/generate/t_rb_generator.cc @@ -1,3 +1,9 @@ +// Copyright (c) 2006- Facebook +// Distributed under the Thrift Software License +// +// See accompanying file LICENSE or visit the Thrift site at: +// http://developers.facebook.com/thrift/ + #include #include #include diff --git a/compiler/cpp/src/generate/t_rb_generator.h b/compiler/cpp/src/generate/t_rb_generator.h index 97c08343..f766de90 100644 --- a/compiler/cpp/src/generate/t_rb_generator.h +++ b/compiler/cpp/src/generate/t_rb_generator.h @@ -1,3 +1,9 @@ +// Copyright (c) 2006- Facebook +// Distributed under the Thrift Software License +// +// See accompanying file LICENSE or visit the Thrift site at: +// http://developers.facebook.com/thrift/ + #ifndef T_RB_GENERATOR_H #define T_RB_GENERATOR_H diff --git a/compiler/cpp/src/generate/t_xsd_generator.cc b/compiler/cpp/src/generate/t_xsd_generator.cc index fb39753c..3a0ca1c5 100644 --- a/compiler/cpp/src/generate/t_xsd_generator.cc +++ b/compiler/cpp/src/generate/t_xsd_generator.cc @@ -1,3 +1,9 @@ +// Copyright (c) 2006- Facebook +// Distributed under the Thrift Software License +// +// See accompanying file LICENSE or visit the Thrift site at: +// http://developers.facebook.com/thrift/ + #include #include #include diff --git a/compiler/cpp/src/generate/t_xsd_generator.h b/compiler/cpp/src/generate/t_xsd_generator.h index 2c633b9e..aa5623fe 100644 --- a/compiler/cpp/src/generate/t_xsd_generator.h +++ b/compiler/cpp/src/generate/t_xsd_generator.h @@ -1,3 +1,9 @@ +// Copyright (c) 2006- Facebook +// Distributed under the Thrift Software License +// +// See accompanying file LICENSE or visit the Thrift site at: +// http://developers.facebook.com/thrift/ + #ifndef T_XSD_GENERATOR_H #define T_XSD_GENERATOR_H diff --git a/compiler/cpp/src/globals.h b/compiler/cpp/src/globals.h index afc41da2..8b3ae193 100644 --- a/compiler/cpp/src/globals.h +++ b/compiler/cpp/src/globals.h @@ -1,3 +1,9 @@ +// Copyright (c) 2006- Facebook +// Distributed under the Thrift Software License +// +// See accompanying file LICENSE or visit the Thrift site at: +// http://developers.facebook.com/thrift/ + #ifndef T_GLOBALS_H #define T_GLOBALS_H diff --git a/compiler/cpp/src/main.cc b/compiler/cpp/src/main.cc index 30d8fa94..c62c925b 100644 --- a/compiler/cpp/src/main.cc +++ b/compiler/cpp/src/main.cc @@ -1,3 +1,9 @@ +// Copyright (c) 2006- Facebook +// Distributed under the Thrift Software License +// +// See accompanying file LICENSE or visit the Thrift site at: +// http://developers.facebook.com/thrift/ + /** * thrift - a lightweight cross-language rpc/serialization tool * diff --git a/compiler/cpp/src/main.h b/compiler/cpp/src/main.h index 470ac7ff..b8d7971a 100644 --- a/compiler/cpp/src/main.h +++ b/compiler/cpp/src/main.h @@ -1,3 +1,9 @@ +// Copyright (c) 2006- Facebook +// Distributed under the Thrift Software License +// +// See accompanying file LICENSE or visit the Thrift site at: +// http://developers.facebook.com/thrift/ + #ifndef T_MAIN_H #define T_MAIN_H diff --git a/compiler/cpp/src/parse/t_base_type.h b/compiler/cpp/src/parse/t_base_type.h index f3c9d373..c996cf54 100644 --- a/compiler/cpp/src/parse/t_base_type.h +++ b/compiler/cpp/src/parse/t_base_type.h @@ -1,3 +1,9 @@ +// Copyright (c) 2006- Facebook +// Distributed under the Thrift Software License +// +// See accompanying file LICENSE or visit the Thrift site at: +// http://developers.facebook.com/thrift/ + #ifndef T_BASE_TYPE_H #define T_BASE_TYPE_H diff --git a/compiler/cpp/src/parse/t_const.h b/compiler/cpp/src/parse/t_const.h index 77d7e183..9cae45ba 100644 --- a/compiler/cpp/src/parse/t_const.h +++ b/compiler/cpp/src/parse/t_const.h @@ -1,3 +1,9 @@ +// Copyright (c) 2006- Facebook +// Distributed under the Thrift Software License +// +// See accompanying file LICENSE or visit the Thrift site at: +// http://developers.facebook.com/thrift/ + #ifndef T_CONST_H #define T_CONST_H diff --git a/compiler/cpp/src/parse/t_const_value.h b/compiler/cpp/src/parse/t_const_value.h index 3d99c857..6e8887c7 100644 --- a/compiler/cpp/src/parse/t_const_value.h +++ b/compiler/cpp/src/parse/t_const_value.h @@ -1,3 +1,9 @@ +// Copyright (c) 2006- Facebook +// Distributed under the Thrift Software License +// +// See accompanying file LICENSE or visit the Thrift site at: +// http://developers.facebook.com/thrift/ + #ifndef T_CONST_VALUE_H #define T_CONST_VALUE_H diff --git a/compiler/cpp/src/parse/t_container.h b/compiler/cpp/src/parse/t_container.h index 3b9f1327..b67c5bc6 100644 --- a/compiler/cpp/src/parse/t_container.h +++ b/compiler/cpp/src/parse/t_container.h @@ -1,3 +1,9 @@ +// Copyright (c) 2006- Facebook +// Distributed under the Thrift Software License +// +// See accompanying file LICENSE or visit the Thrift site at: +// http://developers.facebook.com/thrift/ + #ifndef T_CONTAINER_H #define T_CONTAINER_H diff --git a/compiler/cpp/src/parse/t_doc.h b/compiler/cpp/src/parse/t_doc.h index daa277f9..9e3795aa 100644 --- a/compiler/cpp/src/parse/t_doc.h +++ b/compiler/cpp/src/parse/t_doc.h @@ -1,31 +1,36 @@ +// Copyright (c) 2006- Facebook +// Distributed under the Thrift Software License +// +// See accompanying file LICENSE or visit the Thrift site at: +// http://developers.facebook.com/thrift/ + #ifndef T_DOC_H #define T_DOC_H /** - * + * Documentation stubs * * @author Charlie Cheever */ class t_doc { - public: - - void set_doc(const std::string& doc) { - doc_ = doc; - has_doc_ = true; - } - - const std::string& get_doc() const { - return doc_; - } - - bool has_doc() { - return has_doc_; - } - - private: - std::string doc_; - bool has_doc_; + public: + void set_doc(const std::string& doc) { + doc_ = doc; + has_doc_ = true; + } + + const std::string& get_doc() const { + return doc_; + } + + bool has_doc() { + return has_doc_; + } + + private: + std::string doc_; + bool has_doc_; }; diff --git a/compiler/cpp/src/parse/t_enum.h b/compiler/cpp/src/parse/t_enum.h index 5fe6f89e..bc46017c 100644 --- a/compiler/cpp/src/parse/t_enum.h +++ b/compiler/cpp/src/parse/t_enum.h @@ -1,3 +1,9 @@ +// Copyright (c) 2006- Facebook +// Distributed under the Thrift Software License +// +// See accompanying file LICENSE or visit the Thrift site at: +// http://developers.facebook.com/thrift/ + #ifndef T_ENUM_H #define T_ENUM_H diff --git a/compiler/cpp/src/parse/t_enum_value.h b/compiler/cpp/src/parse/t_enum_value.h index 66be3b30..aa332c7c 100644 --- a/compiler/cpp/src/parse/t_enum_value.h +++ b/compiler/cpp/src/parse/t_enum_value.h @@ -1,3 +1,9 @@ +// Copyright (c) 2006- Facebook +// Distributed under the Thrift Software License +// +// See accompanying file LICENSE or visit the Thrift site at: +// http://developers.facebook.com/thrift/ + #ifndef T_ENUM_VALUE_H #define T_ENUM_VALUE_H diff --git a/compiler/cpp/src/parse/t_field.h b/compiler/cpp/src/parse/t_field.h index 65a75d34..d342bff4 100644 --- a/compiler/cpp/src/parse/t_field.h +++ b/compiler/cpp/src/parse/t_field.h @@ -1,3 +1,9 @@ +// Copyright (c) 2006- Facebook +// Distributed under the Thrift Software License +// +// See accompanying file LICENSE or visit the Thrift site at: +// http://developers.facebook.com/thrift/ + #ifndef T_FIELD_H #define T_FIELD_H diff --git a/compiler/cpp/src/parse/t_function.h b/compiler/cpp/src/parse/t_function.h index e75c6598..ed1c73c7 100644 --- a/compiler/cpp/src/parse/t_function.h +++ b/compiler/cpp/src/parse/t_function.h @@ -1,3 +1,9 @@ +// Copyright (c) 2006- Facebook +// Distributed under the Thrift Software License +// +// See accompanying file LICENSE or visit the Thrift site at: +// http://developers.facebook.com/thrift/ + #ifndef T_FUNCTION_H #define T_FUNCTION_H diff --git a/compiler/cpp/src/parse/t_list.h b/compiler/cpp/src/parse/t_list.h index bce5c0db..71978ef3 100644 --- a/compiler/cpp/src/parse/t_list.h +++ b/compiler/cpp/src/parse/t_list.h @@ -1,3 +1,9 @@ +// Copyright (c) 2006- Facebook +// Distributed under the Thrift Software License +// +// See accompanying file LICENSE or visit the Thrift site at: +// http://developers.facebook.com/thrift/ + #ifndef T_LIST_H #define T_LIST_H diff --git a/compiler/cpp/src/parse/t_map.h b/compiler/cpp/src/parse/t_map.h index fd559326..02c671e6 100644 --- a/compiler/cpp/src/parse/t_map.h +++ b/compiler/cpp/src/parse/t_map.h @@ -1,3 +1,9 @@ +// Copyright (c) 2006- Facebook +// Distributed under the Thrift Software License +// +// See accompanying file LICENSE or visit the Thrift site at: +// http://developers.facebook.com/thrift/ + #ifndef T_MAP_H #define T_MAP_H diff --git a/compiler/cpp/src/parse/t_program.h b/compiler/cpp/src/parse/t_program.h index 1e2ad1ec..f39852d9 100644 --- a/compiler/cpp/src/parse/t_program.h +++ b/compiler/cpp/src/parse/t_program.h @@ -1,3 +1,9 @@ +// Copyright (c) 2006- Facebook +// Distributed under the Thrift Software License +// +// See accompanying file LICENSE or visit the Thrift site at: +// http://developers.facebook.com/thrift/ + #ifndef T_PROGRAM_H #define T_PROGRAM_H diff --git a/compiler/cpp/src/parse/t_scope.h b/compiler/cpp/src/parse/t_scope.h index 504393bb..3047e7d3 100644 --- a/compiler/cpp/src/parse/t_scope.h +++ b/compiler/cpp/src/parse/t_scope.h @@ -1,3 +1,9 @@ +// Copyright (c) 2006- Facebook +// Distributed under the Thrift Software License +// +// See accompanying file LICENSE or visit the Thrift site at: +// http://developers.facebook.com/thrift/ + #ifndef T_SCOPE_H #define T_SCOPE_H diff --git a/compiler/cpp/src/parse/t_service.h b/compiler/cpp/src/parse/t_service.h index 52280a40..c10ee112 100644 --- a/compiler/cpp/src/parse/t_service.h +++ b/compiler/cpp/src/parse/t_service.h @@ -1,3 +1,9 @@ +// Copyright (c) 2006- Facebook +// Distributed under the Thrift Software License +// +// See accompanying file LICENSE or visit the Thrift site at: +// http://developers.facebook.com/thrift/ + #ifndef T_SERVICE_H #define T_SERVICE_H diff --git a/compiler/cpp/src/parse/t_set.h b/compiler/cpp/src/parse/t_set.h index 239868f2..6e505adf 100644 --- a/compiler/cpp/src/parse/t_set.h +++ b/compiler/cpp/src/parse/t_set.h @@ -1,3 +1,9 @@ +// Copyright (c) 2006- Facebook +// Distributed under the Thrift Software License +// +// See accompanying file LICENSE or visit the Thrift site at: +// http://developers.facebook.com/thrift/ + #ifndef T_SET_H #define T_SET_H diff --git a/compiler/cpp/src/parse/t_struct.h b/compiler/cpp/src/parse/t_struct.h index bebea2a5..256e82c6 100644 --- a/compiler/cpp/src/parse/t_struct.h +++ b/compiler/cpp/src/parse/t_struct.h @@ -1,3 +1,9 @@ +// Copyright (c) 2006- Facebook +// Distributed under the Thrift Software License +// +// See accompanying file LICENSE or visit the Thrift site at: +// http://developers.facebook.com/thrift/ + #ifndef T_STRUCT_H #define T_STRUCT_H diff --git a/compiler/cpp/src/parse/t_type.h b/compiler/cpp/src/parse/t_type.h index f6aa7ab2..e210a6b9 100644 --- a/compiler/cpp/src/parse/t_type.h +++ b/compiler/cpp/src/parse/t_type.h @@ -1,3 +1,9 @@ +// Copyright (c) 2006- Facebook +// Distributed under the Thrift Software License +// +// See accompanying file LICENSE or visit the Thrift site at: +// http://developers.facebook.com/thrift/ + #ifndef T_TYPE_H #define T_TYPE_H diff --git a/compiler/cpp/src/parse/t_typedef.h b/compiler/cpp/src/parse/t_typedef.h index cc7f25c9..417b964d 100644 --- a/compiler/cpp/src/parse/t_typedef.h +++ b/compiler/cpp/src/parse/t_typedef.h @@ -1,3 +1,9 @@ +// Copyright (c) 2006- Facebook +// Distributed under the Thrift Software License +// +// See accompanying file LICENSE or visit the Thrift site at: +// http://developers.facebook.com/thrift/ + #ifndef T_TYPEDEF_H #define T_TYPEDEF_H diff --git a/compiler/cpp/src/thriftl.ll b/compiler/cpp/src/thriftl.ll index ff1b201c..3100c6a6 100644 --- a/compiler/cpp/src/thriftl.ll +++ b/compiler/cpp/src/thriftl.ll @@ -1,3 +1,11 @@ +/** + * Copyright (c) 2006- Facebook + * Distributed under the Thrift Software License + * + * See accompanying file LICENSE or visit the Thrift site at: + * http://developers.facebook.com/thrift/ + */ + /** * Thrift scanner. * diff --git a/compiler/cpp/src/thrifty.yy b/compiler/cpp/src/thrifty.yy index c6f38a22..23b9fa06 100644 --- a/compiler/cpp/src/thrifty.yy +++ b/compiler/cpp/src/thrifty.yy @@ -1,4 +1,9 @@ %{ +// Copyright (c) 2006- Facebook +// Distributed under the Thrift Software License +// +// See accompanying file LICENSE or visit the Thrift site at: +// http://developers.facebook.com/thrift/ /** * Thrift parser. -- 2.17.1