Skip to content

Commit

Permalink
Tidy up license headers [1/2]
Browse files Browse the repository at this point in the history
Reviewed By: dulinriley

Differential Revision: D17858735

fbshipit-source-id: 52d28f92f791da8db6c671d9f75657c53f724f89
  • Loading branch information
zertosh authored and facebook-github-bot committed Oct 15, 2019
1 parent ab36c0f commit fdd3817
Show file tree
Hide file tree
Showing 864 changed files with 2,498 additions and 1,728 deletions.
4 changes: 2 additions & 2 deletions API/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright (c) Facebook, Inc. and its affiliates.
#
# This source code is licensed under the MIT license found in the LICENSE
# file in the root directory of this source tree.
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.

set(LLVM_REQUIRES_EH ON)
set(LLVM_REQUIRES_RTTI ON)
Expand Down
4 changes: 2 additions & 2 deletions API/hermes/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright (c) Facebook, Inc. and its affiliates.
#
# This source code is licensed under the MIT license found in the LICENSE
# file in the root directory of this source tree.
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.

set(LLVM_OPTIONAL_SOURCES
hermes.cpp
Expand Down
5 changes: 3 additions & 2 deletions API/hermes/CompileJS.cpp
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the LICENSE
* file in the root directory of this source tree.
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

#include "CompileJS.h"

#include "hermes/BCGen/HBC/BytecodeProviderFromSrc.h"
Expand Down
5 changes: 3 additions & 2 deletions API/hermes/CompileJS.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the LICENSE
* file in the root directory of this source tree.
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

#ifndef HERMES_COMPILEJS_H
#define HERMES_COMPILEJS_H

Expand Down
5 changes: 3 additions & 2 deletions API/hermes/DebuggerAPI.cpp
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the LICENSE
* file in the root directory of this source tree.
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

#ifdef HERMES_ENABLE_DEBUGGER

#include "DebuggerAPI.h"
Expand Down
5 changes: 3 additions & 2 deletions API/hermes/DebuggerAPI.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the LICENSE
* file in the root directory of this source tree.
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

#ifndef HERMES_DEBUGGERAPI_H
#define HERMES_DEBUGGERAPI_H

Expand Down
5 changes: 3 additions & 2 deletions API/hermes/SynthTrace.cpp
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the LICENSE
* file in the root directory of this source tree.
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

#include "SynthTrace.h"

#include "hermes/Support/Conversions.h"
Expand Down
5 changes: 3 additions & 2 deletions API/hermes/SynthTrace.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the LICENSE
* file in the root directory of this source tree.
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

#ifndef HERMES_SYNTHTRACE_H
#define HERMES_SYNTHTRACE_H

Expand Down
5 changes: 3 additions & 2 deletions API/hermes/SynthTraceParser.cpp
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the LICENSE
* file in the root directory of this source tree.
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

#include "hermes/SynthTraceParser.h"

#include "hermes/Parser/JSLexer.h"
Expand Down
5 changes: 3 additions & 2 deletions API/hermes/SynthTraceParser.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the LICENSE
* file in the root directory of this source tree.
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

#include <tuple>

#include "hermes/Public/RuntimeConfig.h"
Expand Down
5 changes: 3 additions & 2 deletions API/hermes/TraceInterpreter.cpp
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the LICENSE
* file in the root directory of this source tree.
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

#include <hermes/TraceInterpreter.h>

#include <hermes/Support/SHA1.h>
Expand Down
5 changes: 3 additions & 2 deletions API/hermes/TraceInterpreter.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the LICENSE
* file in the root directory of this source tree.
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

#pragma once

#include <hermes/Public/RuntimeConfig.h>
Expand Down
5 changes: 3 additions & 2 deletions API/hermes/TracingRuntime.cpp
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the LICENSE
* file in the root directory of this source tree.
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

#include "TracingRuntime.h"

#include "llvm/Support/FileSystem.h"
Expand Down
5 changes: 3 additions & 2 deletions API/hermes/TracingRuntime.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the LICENSE
* file in the root directory of this source tree.
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

#ifndef HERMES_TRACINGRUNTIME_H
#define HERMES_TRACINGRUNTIME_H

Expand Down
5 changes: 3 additions & 2 deletions API/hermes/hermes.cpp
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the LICENSE
* file in the root directory of this source tree.
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

#include "hermes.h"

#include "llvm/Support/Compiler.h"
Expand Down
5 changes: 3 additions & 2 deletions API/hermes/hermes.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the LICENSE
* file in the root directory of this source tree.
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

#ifndef HERMES_HERMES_H
#define HERMES_HERMES_H

Expand Down
5 changes: 3 additions & 2 deletions API/hermes/hermes_tracing.cpp
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the LICENSE
* file in the root directory of this source tree.
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

#include "hermes_tracing.h"

#include <hermes/TracingRuntime.h>
Expand Down
5 changes: 3 additions & 2 deletions API/hermes/hermes_tracing.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the LICENSE
* file in the root directory of this source tree.
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

#ifndef HERMES_HERMES_TRACING_H
#define HERMES_HERMES_TRACING_H

Expand Down
5 changes: 3 additions & 2 deletions API/hermes/hermes_tracing_compat.cpp
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the LICENSE
* file in the root directory of this source tree.
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

#include "hermes_tracing.h"
#include "llvm/Support/ErrorHandling.h"

Expand Down
4 changes: 2 additions & 2 deletions API/hermes/synthtest/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright (c) Facebook, Inc. and its affiliates.
#
# This source code is licensed under the MIT license found in the LICENSE
# file in the root directory of this source tree.
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.

# Dummy CMakeLists to avoid a test failure

Expand Down
5 changes: 3 additions & 2 deletions API/hermes/synthtest/Driver.cpp
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the LICENSE
* file in the root directory of this source tree.
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

#include <hermes/TraceInterpreter.h>
#include <hermes/hermes.h>

Expand Down
5 changes: 3 additions & 2 deletions API/hermes/synthtest/tests/TestFunctions.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the LICENSE
* file in the root directory of this source tree.
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

#ifndef HERMES_API_SYNTHTEST_TESTS_TESTFUNCTIONS
#define HERMES_API_SYNTHTEST_TESTS_TESTFUNCTIONS

Expand Down
5 changes: 3 additions & 2 deletions API/hermes/synthtest/tests/callbacks_call_js_function.cpp
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the LICENSE
* file in the root directory of this source tree.
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

#include "TestFunctions.h"

namespace facebook {
Expand Down
5 changes: 3 additions & 2 deletions API/hermes/synthtest/tests/date_as_function.cpp
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the LICENSE
* file in the root directory of this source tree.
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

#include "TestFunctions.h"

namespace facebook {
Expand Down
5 changes: 3 additions & 2 deletions API/hermes/synthtest/tests/date_as_new.cpp
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the LICENSE
* file in the root directory of this source tree.
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

#include "TestFunctions.h"

namespace facebook {
Expand Down
5 changes: 3 additions & 2 deletions API/hermes/synthtest/tests/date_now.cpp
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the LICENSE
* file in the root directory of this source tree.
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

#include "TestFunctions.h"

namespace facebook {
Expand Down
5 changes: 3 additions & 2 deletions API/hermes/synthtest/tests/get_property_names.cpp
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the LICENSE
* file in the root directory of this source tree.
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

#include "TestFunctions.h"

namespace facebook {
Expand Down
5 changes: 3 additions & 2 deletions API/hermes/synthtest/tests/global_return_object.cpp
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the LICENSE
* file in the root directory of this source tree.
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

#include "TestFunctions.h"

namespace facebook {
Expand Down
5 changes: 3 additions & 2 deletions API/hermes/synthtest/tests/host_calls_js.cpp
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the LICENSE
* file in the root directory of this source tree.
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

#include "TestFunctions.h"

namespace facebook {
Expand Down
5 changes: 3 additions & 2 deletions API/hermes/synthtest/tests/host_calls_js_calls_host.cpp
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the LICENSE
* file in the root directory of this source tree.
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

#include "TestFunctions.h"

namespace facebook {
Expand Down
5 changes: 3 additions & 2 deletions API/hermes/synthtest/tests/host_calls_js_with_this.cpp
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the LICENSE
* file in the root directory of this source tree.
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

#include "TestFunctions.h"

namespace facebook {
Expand Down
Loading

0 comments on commit fdd3817

Please sign in to comment.