Add missing FB copyrights

Reviewed By: jberdine

Differential Revision: D10517964

fbshipit-source-id: b2bbdef03
master
Mehdi Bouaziz 7 years ago committed by Facebook Github Bot
parent fd3f298156
commit ecedb27d77

@ -1,3 +1,10 @@
/*
* Copyright (c) 2016-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#define make_shared std__make_shared #define make_shared std__make_shared
#define enable_shared_from_this std__enable_shared_from_this #define enable_shared_from_this std__enable_shared_from_this
#define shared_ptr std__shared_ptr #define shared_ptr std__shared_ptr

@ -1,3 +1,10 @@
/*
* Copyright (c) 2016-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#undef make_shared #undef make_shared
#undef enable_shared_from_this #undef enable_shared_from_this
#undef shared_ptr #undef shared_ptr

@ -1,4 +1,10 @@
(* -*- tuareg -*- *) (* -*- tuareg -*- *)
(*
* Copyright (c) 2018-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*)
(* NOTE: prepend dune.common to this file! *) (* NOTE: prepend dune.common to this file! *)
;; ;;

@ -1,4 +1,10 @@
(* -*- tuareg -*- *) (* -*- tuareg -*- *)
(*
* Copyright (c) 2018-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*)
(* NOTE: prepend dune.common to this file! *) (* NOTE: prepend dune.common to this file! *)
let cflags = common_cflags @ ["-w"; "-27-32-34-35-39"] let cflags = common_cflags @ ["-w"; "-27-32-34-35-39"]

@ -1,3 +1,10 @@
(*
* Copyright (c) 2018-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*)
type java_method_decl = { type java_method_decl = {
?signature : string option; ?signature : string option;
~unresolved_signature : bool; ~unresolved_signature : bool;

@ -1,3 +1,10 @@
(*
* Copyright (c) 2018-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*)
type sampled_method = { type sampled_method = {
classname <json name="class"> : string; classname <json name="class"> : string;
methodname <json name="method"> : string; methodname <json name="method"> : string;

@ -1,3 +1,10 @@
(*
* Copyright (c) 2013-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*)
type json_trace_item = { type json_trace_item = {
level : int; level : int;
filename : string; filename : string;

@ -1,3 +1,10 @@
(*
* Copyright (c) 2018-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*)
type perf_profiler_item = { type perf_profiler_item = {
function_name : string; function_name : string;
avg_inclusive_cpu_time_ms : float; avg_inclusive_cpu_time_ms : float;

@ -1,3 +1,10 @@
(*
* Copyright (c) 2018-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*)
type infer_version = { type infer_version = {
major: int; major: int;
minor: int; minor: int;

@ -1,3 +1,10 @@
(*
* Copyright (c) 2016-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*)
type line_range_t = { type line_range_t = {
start_line : int; start_line : int;
end_line : int; end_line : int;

@ -1,4 +1,10 @@
(* -*- tuareg -*- *) (* -*- tuareg -*- *)
(*
* Copyright (c) 2018-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*)
(* NOTE: prepend dune.common to this file! *) (* NOTE: prepend dune.common to this file! *)
;; ;;

@ -1,8 +1,7 @@
(* (*
* Copyright (c) 2016-present * Copyright (c) 2016-present, Programming Research Laboratory (ROPAS)
*
* Programming Research Laboratory (ROPAS)
* Seoul National University, Korea * Seoul National University, Korea
* Copyright (c) 2017-present, Facebook, Inc.
* *
* This source code is licensed under the MIT license found in the * This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree. * LICENSE file in the root directory of this source tree.

@ -1,8 +1,7 @@
(* (*
* Copyright (c) 2016-present * Copyright (c) 2016-present, Programming Research Laboratory (ROPAS)
*
* Programming Research Laboratory (ROPAS)
* Seoul National University, Korea * Seoul National University, Korea
* Copyright (c) 2017-present, Facebook, Inc.
* *
* This source code is licensed under the MIT license found in the * This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree. * LICENSE file in the root directory of this source tree.

@ -1,8 +1,7 @@
(* (*
* Copyright (c) 2016-present * Copyright (c) 2016-present, Programming Research Laboratory (ROPAS)
*
* Programming Research Laboratory (ROPAS)
* Seoul National University, Korea * Seoul National University, Korea
* Copyright (c) 2017-present, Facebook, Inc.
* *
* This source code is licensed under the MIT license found in the * This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree. * LICENSE file in the root directory of this source tree.

@ -1,8 +1,7 @@
(* (*
* Copyright (c) 2016-present * Copyright (c) 2016-present, Programming Research Laboratory (ROPAS)
*
* Programming Research Laboratory (ROPAS)
* Seoul National University, Korea * Seoul National University, Korea
* Copyright (c) 2017-present, Facebook, Inc.
* *
* This source code is licensed under the MIT license found in the * This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree. * LICENSE file in the root directory of this source tree.

@ -1,8 +1,7 @@
(* (*
* Copyright (c) 2016-present * Copyright (c) 2016-present, Programming Research Laboratory (ROPAS)
*
* Programming Research Laboratory (ROPAS)
* Seoul National University, Korea * Seoul National University, Korea
* Copyright (c) 2017-present, Facebook, Inc.
* *
* This source code is licensed under the MIT license found in the * This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree. * LICENSE file in the root directory of this source tree.

@ -1,8 +1,7 @@
(* (*
* Copyright (c) 2016-present * Copyright (c) 2016-present, Programming Research Laboratory (ROPAS)
*
* Programming Research Laboratory (ROPAS)
* Seoul National University, Korea * Seoul National University, Korea
* Copyright (c) 2017-present, Facebook, Inc.
* *
* This source code is licensed under the MIT license found in the * This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree. * LICENSE file in the root directory of this source tree.

@ -1,4 +1,10 @@
(* -*- tuareg -*- *) (* -*- tuareg -*- *)
(*
* Copyright (c) 2018-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*)
(* NOTE: prepend dune.common to this file! *) (* NOTE: prepend dune.common to this file! *)
;; ;;

@ -1,4 +1,8 @@
(lang dune 1.0) (lang dune 1.0)
; Copyright (c) 2018-present, Facebook, Inc.
;
; This source code is licensed under the MIT license found in the
; LICENSE file in the root directory of this source tree.
(context (opam (switch @OPAMSWITCH@) (name default) (merlin))) (context (opam (switch @OPAMSWITCH@) (name default) (merlin)))
(context (opam (switch @OPAMSWITCH@) (name opt))) (context (opam (switch @OPAMSWITCH@) (name opt)))

@ -1,4 +1,10 @@
(* -*- tuareg -*- *) (* -*- tuareg -*- *)
(*
* Copyright (c) 2018-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*)
(* use strings so that it looks like OCaml even before substituting, e.g. to use ocamlformat *) (* use strings so that it looks like OCaml even before substituting, e.g. to use ocamlformat *)
type build_mode = Default | Opt | Test type build_mode = Default | Opt | Test

@ -1,4 +1,10 @@
(* -*- tuareg -*- *) (* -*- tuareg -*- *)
(*
* Copyright (c) 2018-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*)
(* NOTE: prepend dune.common to this file! *) (* NOTE: prepend dune.common to this file! *)
let ( ^/ ) = Filename.concat let ( ^/ ) = Filename.concat

@ -1,4 +1,10 @@
(* -*- tuareg -*- *) (* -*- tuareg -*- *)
(*
* Copyright (c) 2018-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*)
(* NOTE: prepend dune.common to this file! *) (* NOTE: prepend dune.common to this file! *)
;; ;;

@ -205,10 +205,9 @@ let pp_copyright ~monoidics ~ropas ~copyright_year com_style fmt =
in in
pp_start () ; pp_start () ;
if ropas then ( if ropas then (
pp_line " Copyright (c) %d-present" copyright_year ; pp_line " Copyright (c) 2016-present, Programming Research Laboratory (ROPAS)" ;
pp_line "" ; pp_line " Seoul National University, Korea" ;
pp_line " Programming Research Laboratory (ROPAS)" ; pp_line " Copyright (c) 2017-present, Facebook, Inc." )
pp_line " Seoul National University, Korea" )
else ( else (
if monoidics then pp_line " Copyright (c) 2009-2013, Monoidics ltd." ; if monoidics then pp_line " Copyright (c) 2009-2013, Monoidics ltd." ;
pp_line " Copyright (c) %d-present, Facebook, Inc." copyright_year ) ; pp_line " Copyright (c) %d-present, Facebook, Inc." copyright_year ) ;
@ -244,14 +243,17 @@ let copyright_has_changed fname lines ~notice_range:(cstart, cend) ~monoidics ~r
let com_style_of_lang = let com_style_of_lang =
[ (".ac", comment_style_m4) [ (".ac", comment_style_m4)
; (".al", comment_style_al) ; (".al", comment_style_al)
; (".atd", comment_style_ocaml)
; (".c", comment_style_c) ; (".c", comment_style_c)
; (".cpp", comment_style_c) ; (".cpp", comment_style_c)
; (".h", comment_style_c) ; (".h", comment_style_c)
; (".inc", comment_style_c)
; (".java", comment_style_c) ; (".java", comment_style_c)
; (".ll", comment_style_llvm) ; (".ll", comment_style_llvm)
; (".m", comment_style_c) ; (".m", comment_style_c)
; (".m4", comment_style_m4) ; (".m4", comment_style_m4)
; (".make", comment_style_make) ; (".make", comment_style_make)
; (".mk", comment_style_make)
; (".ml", comment_style_ocaml) ; (".ml", comment_style_ocaml)
; (".mli", comment_style_ocaml) ; (".mli", comment_style_ocaml)
; (".mll", comment_style_ocaml) ; (".mll", comment_style_ocaml)
@ -262,6 +264,10 @@ let com_style_of_lang =
; (".re", comment_style_c) ; (".re", comment_style_c)
; (".rei", comment_style_c) ; (".rei", comment_style_c)
; (".sh", comment_style_shell) ; (".sh", comment_style_shell)
; ("dune.in", comment_style_ocaml)
; ("dune.common.in", comment_style_ocaml)
; ("dune-common.in", comment_style_ocaml)
; ("dune-workspace.in", comment_style_llvm)
; ("Makefile", comment_style_make) ] ; ("Makefile", comment_style_make) ]

@ -1,3 +1,9 @@
(*
* Copyright (c) 2018-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*)
(* NOTE: prepend dune.common to this file! *) (* NOTE: prepend dune.common to this file! *)
;; ;;

@ -1,3 +1,8 @@
# Copyright (c) 2016-present, Facebook, Inc.
#
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.
LOCAL_PATH := $(call my-dir) LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS) include $(CLEAR_VARS)
LOCAL_MODULE := hello LOCAL_MODULE := hello

@ -1,7 +1,6 @@
# Copyright (c) 2016-present # Copyright (c) 2016-present, Programming Research Laboratory (ROPAS)
#
# Programming Research Laboratory (ROPAS)
# Seoul National University, Korea # Seoul National University, Korea
# Copyright (c) 2017-present, Facebook, Inc.
# #
# This source code is licensed under the MIT license found in the # This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree. # LICENSE file in the root directory of this source tree.

@ -1,8 +1,7 @@
/* /*
* Copyright (c) 2016-present * Copyright (c) 2016-present, Programming Research Laboratory (ROPAS)
*
* Programming Research Laboratory (ROPAS)
* Seoul National University, Korea * Seoul National University, Korea
* Copyright (c) 2017-present, Facebook, Inc.
* *
* This source code is licensed under the MIT license found in the * This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree. * LICENSE file in the root directory of this source tree.

@ -1,8 +1,7 @@
/* /*
* Copyright (c) 2016-present * Copyright (c) 2016-present, Programming Research Laboratory (ROPAS)
*
* Programming Research Laboratory (ROPAS)
* Seoul National University, Korea * Seoul National University, Korea
* Copyright (c) 2017-present, Facebook, Inc.
* *
* This source code is licensed under the MIT license found in the * This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree. * LICENSE file in the root directory of this source tree.

@ -1,8 +1,7 @@
/* /*
* Copyright (c) 2016-present * Copyright (c) 2016-present, Programming Research Laboratory (ROPAS)
*
* Programming Research Laboratory (ROPAS)
* Seoul National University, Korea * Seoul National University, Korea
* Copyright (c) 2017-present, Facebook, Inc.
* *
* This source code is licensed under the MIT license found in the * This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree. * LICENSE file in the root directory of this source tree.

@ -1,8 +1,7 @@
/* /*
* Copyright (c) 2016-present * Copyright (c) 2016-present, Programming Research Laboratory (ROPAS)
*
* Programming Research Laboratory (ROPAS)
* Seoul National University, Korea * Seoul National University, Korea
* Copyright (c) 2017-present, Facebook, Inc.
* *
* This source code is licensed under the MIT license found in the * This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree. * LICENSE file in the root directory of this source tree.

@ -1,8 +1,7 @@
/* /*
* Copyright (c) 2016-present * Copyright (c) 2016-present, Programming Research Laboratory (ROPAS)
*
* Programming Research Laboratory (ROPAS)
* Seoul National University, Korea * Seoul National University, Korea
* Copyright (c) 2017-present, Facebook, Inc.
* *
* This source code is licensed under the MIT license found in the * This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree. * LICENSE file in the root directory of this source tree.

@ -1,8 +1,7 @@
/* /*
* Copyright (c) 2016-present * Copyright (c) 2016-present, Programming Research Laboratory (ROPAS)
*
* Programming Research Laboratory (ROPAS)
* Seoul National University, Korea * Seoul National University, Korea
* Copyright (c) 2017-present, Facebook, Inc.
* *
* This source code is licensed under the MIT license found in the * This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree. * LICENSE file in the root directory of this source tree.

@ -1,8 +1,7 @@
/* /*
* Copyright (c) 2016-present * Copyright (c) 2016-present, Programming Research Laboratory (ROPAS)
*
* Programming Research Laboratory (ROPAS)
* Seoul National University, Korea * Seoul National University, Korea
* Copyright (c) 2017-present, Facebook, Inc.
* *
* This source code is licensed under the MIT license found in the * This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree. * LICENSE file in the root directory of this source tree.

@ -1,8 +1,7 @@
/* /*
* Copyright (c) 2016-present * Copyright (c) 2016-present, Programming Research Laboratory (ROPAS)
*
* Programming Research Laboratory (ROPAS)
* Seoul National University, Korea * Seoul National University, Korea
* Copyright (c) 2017-present, Facebook, Inc.
* *
* This source code is licensed under the MIT license found in the * This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree. * LICENSE file in the root directory of this source tree.

@ -1,8 +1,7 @@
/* /*
* Copyright (c) 2016-present * Copyright (c) 2016-present, Programming Research Laboratory (ROPAS)
*
* Programming Research Laboratory (ROPAS)
* Seoul National University, Korea * Seoul National University, Korea
* Copyright (c) 2017-present, Facebook, Inc.
* *
* This source code is licensed under the MIT license found in the * This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree. * LICENSE file in the root directory of this source tree.

@ -1,8 +1,7 @@
/* /*
* Copyright (c) 2016-present * Copyright (c) 2016-present, Programming Research Laboratory (ROPAS)
*
* Programming Research Laboratory (ROPAS)
* Seoul National University, Korea * Seoul National University, Korea
* Copyright (c) 2017-present, Facebook, Inc.
* *
* This source code is licensed under the MIT license found in the * This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree. * LICENSE file in the root directory of this source tree.

@ -1,3 +1,7 @@
# Copyright (c) 2015-present, Facebook, Inc.
#
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.
SOURCES = $(shell ls *.c) SOURCES = $(shell ls *.c)
OBJECTS = $(SOURCES:.c=.o) OBJECTS = $(SOURCES:.c=.o)

@ -1,8 +1,7 @@
/* /*
* Copyright (c) 2016-present * Copyright (c) 2016-present, Programming Research Laboratory (ROPAS)
*
* Programming Research Laboratory (ROPAS)
* Seoul National University, Korea * Seoul National University, Korea
* Copyright (c) 2017-present, Facebook, Inc.
* *
* This source code is licensed under the MIT license found in the * This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree. * LICENSE file in the root directory of this source tree.

@ -1,4 +1,10 @@
(* -*- tuareg -*- *) (* -*- tuareg -*- *)
(*
* Copyright (c) 2018-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*)
let common_flags = let common_flags =
{|(-w +a-4-9-18-40-42-44-48@50 {|(-w +a-4-9-18-40-42-44-48@50

@ -1,4 +1,10 @@
(* -*- tuareg -*- *) (* -*- tuareg -*- *)
(*
* Copyright (c) 2018-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*)
let deps = ["import"; "trace"; "llair_"; "symbheap"] let deps = ["import"; "trace"; "llair_"; "symbheap"]

@ -1,4 +1,10 @@
(* -*- tuareg -*- *) (* -*- tuareg -*- *)
(*
* Copyright (c) 2018-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*)
let deps = [] let deps = []

@ -1,4 +1,10 @@
(* -*- tuareg -*- *) (* -*- tuareg -*- *)
(*
* Copyright (c) 2018-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*)
let deps = ["import"; "trace"] let deps = ["import"; "trace"]

@ -1,4 +1,10 @@
(* -*- tuareg -*- *) (* -*- tuareg -*- *)
(*
* Copyright (c) 2018-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*)
let deps = ["import"; "trace"; "llair_"] let deps = ["import"; "trace"; "llair_"]

@ -1,4 +1,10 @@
(* -*- tuareg -*- *) (* -*- tuareg -*- *)
(*
* Copyright (c) 2018-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*)
let deps = ["import"] let deps = ["import"]

Loading…
Cancel
Save