Add missing FB copyrights

Reviewed By: jberdine

Differential Revision: D10517964

fbshipit-source-id: b2bbdef03
master
Mehdi Bouaziz 6 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 enable_shared_from_this std__enable_shared_from_this
#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 enable_shared_from_this
#undef shared_ptr

@ -1,4 +1,10 @@
(* -*- 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! *)
;;

@ -1,4 +1,10 @@
(* -*- 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! *)
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 = {
?signature : string option;
~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 = {
classname <json name="class"> : string;
methodname <json name="method"> : string;
@ -9,4 +16,4 @@ type java_profiler_sample = {
methods : sampled_method list;
}
type java_profiler_samples = java_profiler_sample list
type java_profiler_samples = java_profiler_sample list

@ -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 = {
level : int;
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 = {
function_name : string;
avg_inclusive_cpu_time_ms : float;
@ -6,4 +13,4 @@ type perf_profiler_item = {
p90_exclusive_cpu_time_ms : float;
}
type perf_profiler = perf_profiler_item list
type perf_profiler = perf_profiler_item list

@ -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 = {
major: 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 = {
start_line : int;
end_line : int;

@ -1,4 +1,10 @@
(* -*- 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! *)
;;

@ -1,8 +1,7 @@
(*
* Copyright (c) 2016-present
*
* Programming Research Laboratory (ROPAS)
* Seoul National University, Korea
* Copyright (c) 2016-present, Programming Research Laboratory (ROPAS)
* Seoul National University, Korea
* Copyright (c) 2017-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.

@ -1,8 +1,7 @@
(*
* Copyright (c) 2016-present
*
* Programming Research Laboratory (ROPAS)
* Seoul National University, Korea
* Copyright (c) 2016-present, Programming Research Laboratory (ROPAS)
* Seoul National University, Korea
* Copyright (c) 2017-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.

@ -1,8 +1,7 @@
(*
* Copyright (c) 2016-present
*
* Programming Research Laboratory (ROPAS)
* Seoul National University, Korea
* Copyright (c) 2016-present, Programming Research Laboratory (ROPAS)
* Seoul National University, Korea
* Copyright (c) 2017-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.

@ -1,8 +1,7 @@
(*
* Copyright (c) 2016-present
*
* Programming Research Laboratory (ROPAS)
* Seoul National University, Korea
* Copyright (c) 2016-present, Programming Research Laboratory (ROPAS)
* Seoul National University, Korea
* Copyright (c) 2017-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.

@ -1,8 +1,7 @@
(*
* Copyright (c) 2016-present
*
* Programming Research Laboratory (ROPAS)
* Seoul National University, Korea
* Copyright (c) 2016-present, Programming Research Laboratory (ROPAS)
* Seoul National University, Korea
* Copyright (c) 2017-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.

@ -1,8 +1,7 @@
(*
* Copyright (c) 2016-present
*
* Programming Research Laboratory (ROPAS)
* Seoul National University, Korea
* Copyright (c) 2016-present, Programming Research Laboratory (ROPAS)
* Seoul National University, Korea
* Copyright (c) 2017-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.

@ -1,4 +1,10 @@
(* -*- 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! *)
;;

@ -1,4 +1,8 @@
(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 opt)))

@ -1,4 +1,10 @@
(* -*- 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 *)
type build_mode = Default | Opt | Test

@ -1,4 +1,10 @@
(* -*- 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! *)
let ( ^/ ) = Filename.concat

@ -1,4 +1,10 @@
(* -*- 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! *)
;;

@ -205,10 +205,9 @@ let pp_copyright ~monoidics ~ropas ~copyright_year com_style fmt =
in
pp_start () ;
if ropas then (
pp_line " Copyright (c) %d-present" copyright_year ;
pp_line "" ;
pp_line " Programming Research Laboratory (ROPAS)" ;
pp_line " Seoul National University, Korea" )
pp_line " Copyright (c) 2016-present, Programming Research Laboratory (ROPAS)" ;
pp_line " Seoul National University, Korea" ;
pp_line " Copyright (c) 2017-present, Facebook, Inc." )
else (
if monoidics then pp_line " Copyright (c) 2009-2013, Monoidics ltd." ;
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 =
[ (".ac", comment_style_m4)
; (".al", comment_style_al)
; (".atd", comment_style_ocaml)
; (".c", comment_style_c)
; (".cpp", comment_style_c)
; (".h", comment_style_c)
; (".inc", comment_style_c)
; (".java", comment_style_c)
; (".ll", comment_style_llvm)
; (".m", comment_style_c)
; (".m4", comment_style_m4)
; (".make", comment_style_make)
; (".mk", comment_style_make)
; (".ml", comment_style_ocaml)
; (".mli", comment_style_ocaml)
; (".mll", comment_style_ocaml)
@ -262,6 +264,10 @@ let com_style_of_lang =
; (".re", comment_style_c)
; (".rei", comment_style_c)
; (".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) ]

@ -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! *)
;;

@ -1,5 +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.
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := hello
LOCAL_SRC_FILES := ../hello.c
include $(BUILD_SHARED_LIBRARY)
include $(BUILD_SHARED_LIBRARY)

@ -1,7 +1,6 @@
# Copyright (c) 2016-present
#
# Programming Research Laboratory (ROPAS)
# Seoul National University, Korea
# Copyright (c) 2016-present, Programming Research Laboratory (ROPAS)
# Seoul National University, Korea
# Copyright (c) 2017-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.

@ -1,8 +1,7 @@
/*
* Copyright (c) 2016-present
*
* Programming Research Laboratory (ROPAS)
* Seoul National University, Korea
* Copyright (c) 2016-present, Programming Research Laboratory (ROPAS)
* Seoul National University, Korea
* Copyright (c) 2017-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.

@ -1,8 +1,7 @@
/*
* Copyright (c) 2016-present
*
* Programming Research Laboratory (ROPAS)
* Seoul National University, Korea
* Copyright (c) 2016-present, Programming Research Laboratory (ROPAS)
* Seoul National University, Korea
* Copyright (c) 2017-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.

@ -1,8 +1,7 @@
/*
* Copyright (c) 2016-present
*
* Programming Research Laboratory (ROPAS)
* Seoul National University, Korea
* Copyright (c) 2016-present, Programming Research Laboratory (ROPAS)
* Seoul National University, Korea
* Copyright (c) 2017-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.

@ -1,8 +1,7 @@
/*
* Copyright (c) 2016-present
*
* Programming Research Laboratory (ROPAS)
* Seoul National University, Korea
* Copyright (c) 2016-present, Programming Research Laboratory (ROPAS)
* Seoul National University, Korea
* Copyright (c) 2017-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.

@ -1,8 +1,7 @@
/*
* Copyright (c) 2016-present
*
* Programming Research Laboratory (ROPAS)
* Seoul National University, Korea
* Copyright (c) 2016-present, Programming Research Laboratory (ROPAS)
* Seoul National University, Korea
* Copyright (c) 2017-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.

@ -1,8 +1,7 @@
/*
* Copyright (c) 2016-present
*
* Programming Research Laboratory (ROPAS)
* Seoul National University, Korea
* Copyright (c) 2016-present, Programming Research Laboratory (ROPAS)
* Seoul National University, Korea
* Copyright (c) 2017-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.

@ -1,8 +1,7 @@
/*
* Copyright (c) 2016-present
*
* Programming Research Laboratory (ROPAS)
* Seoul National University, Korea
* Copyright (c) 2016-present, Programming Research Laboratory (ROPAS)
* Seoul National University, Korea
* Copyright (c) 2017-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.

@ -1,8 +1,7 @@
/*
* Copyright (c) 2016-present
*
* Programming Research Laboratory (ROPAS)
* Seoul National University, Korea
* Copyright (c) 2016-present, Programming Research Laboratory (ROPAS)
* Seoul National University, Korea
* Copyright (c) 2017-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.

@ -1,8 +1,7 @@
/*
* Copyright (c) 2016-present
*
* Programming Research Laboratory (ROPAS)
* Seoul National University, Korea
* Copyright (c) 2016-present, Programming Research Laboratory (ROPAS)
* Seoul National University, Korea
* Copyright (c) 2017-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.

@ -1,8 +1,7 @@
/*
* Copyright (c) 2016-present
*
* Programming Research Laboratory (ROPAS)
* Seoul National University, Korea
* Copyright (c) 2016-present, Programming Research Laboratory (ROPAS)
* Seoul National University, Korea
* Copyright (c) 2017-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.

@ -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)
OBJECTS = $(SOURCES:.c=.o)

@ -1,8 +1,7 @@
/*
* Copyright (c) 2016-present
*
* Programming Research Laboratory (ROPAS)
* Seoul National University, Korea
* Copyright (c) 2016-present, Programming Research Laboratory (ROPAS)
* Seoul National University, Korea
* Copyright (c) 2017-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.

@ -1,4 +1,10 @@
(* -*- 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 =
{|(-w +a-4-9-18-40-42-44-48@50

@ -1,4 +1,10 @@
(* -*- 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"]

@ -1,4 +1,10 @@
(* -*- 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 = []

@ -1,4 +1,10 @@
(* -*- 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"]

@ -1,4 +1,10 @@
(* -*- 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_"]

@ -1,4 +1,10 @@
(* -*- 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"]

Loading…
Cancel
Save