From df04749cd021d1bf1d9e4a7390c11505c21e4c27 Mon Sep 17 00:00:00 2001 From: Cristiano Calcagno Date: Thu, 16 Jul 2015 14:28:30 -0200 Subject: [PATCH] Add module to fix copyright messages. --- LICENSE | 2 +- .../ios_hello/HelloWorldApp/AppDelegate.h | 3 - .../ios_hello/HelloWorldApp/AppDelegate.m | 3 - .../HelloWorldApp/Base.lproj/LaunchScreen.xib | 2 +- examples/ios_hello/HelloWorldApp/Hello.h | 3 - examples/ios_hello/HelloWorldApp/Hello.m | 3 - .../ios_hello/HelloWorldApp/ViewController.h | 3 - .../ios_hello/HelloWorldApp/ViewController.m | 3 - examples/ios_hello/HelloWorldApp/main.m | 3 - .../HelloWorldAppTests/HelloWorldAppTests.m | 2 - infer/bin/BuckAnalyze | 1 + infer/bin/inferJ | 1 + infer/bin/inferTraceBugs | 1 + infer/src/backend/checkCopyright.ml | 200 ++++++++++++++++++ infer/src/backend/inferprint.ml | 10 +- infer/src/backend/sil.ml | 2 + infer/src/backend/sil.mli | 8 +- infer/src/backend/type_prop.ml | 11 +- .../infer/CloseableAsResourceExample.java | 5 +- .../java/infer/NeverNullSource.java | 6 +- infer/tests/codetoanalyze/java/infer/T.java | 5 +- .../tests/codetoanalyze/java/infer/Utils.java | 5 +- ...ArrayIndexOutOfBoundsExceptionExample.java | 5 +- .../tracing/ClassCastExceptionExample.java | 5 +- .../LocallyDefinedExceptionExample.java | 6 +- .../tracing/NullPointerExceptionExample.java | 5 +- .../java/tracing/ReportOnMainExample.java | 5 +- infer/tests/codetoanalyze/java/tracing/T.java | 6 +- .../tracing/UnavoidableExceptionExample.java | 5 +- .../ArrayIndexOutOfBoundsExceptionTest.java | 6 +- .../comparison/ClassCastExceptionTest.java | 5 +- .../comparison/NullPointerExceptionTest.java | 6 +- .../java/infer/CloseableAsResourceTest.java | 5 +- .../endtoend/java/infer/IntegerClassTest.java | 5 +- .../ArrayIndexOutOfBoundsExceptionTest.java | 6 +- .../java/tracing/ClassCastExceptionTest.java | 5 +- .../tracing/NullPointerExceptionTest.java | 6 +- .../java/tracing/ReportOnMainTest.java | 5 +- .../tracing/UnavoidableExceptionTest.java | 6 +- .../utils/matchers/ResultContainsExactly.java | 5 +- .../matchers/ResultContainsTheseErrors.java | 5 +- scripts/check_clang_plugin_version.sh | 1 + 42 files changed, 330 insertions(+), 55 deletions(-) create mode 100644 infer/src/backend/checkCopyright.ml diff --git a/LICENSE b/LICENSE index 8be7b96b8..e7b83f1c8 100644 --- a/LICENSE +++ b/LICENSE @@ -2,7 +2,7 @@ BSD License For Infer software -Copyright (c) 2013-, Facebook, Inc. All rights reserved. +Copyright (c) 2013-present, Facebook, Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/examples/ios_hello/HelloWorldApp/AppDelegate.h b/examples/ios_hello/HelloWorldApp/AppDelegate.h index a49e6e973..ea98a9e43 100644 --- a/examples/ios_hello/HelloWorldApp/AppDelegate.h +++ b/examples/ios_hello/HelloWorldApp/AppDelegate.h @@ -2,9 +2,6 @@ // AppDelegate.h // HelloWorldApp // -// Created by Dulma Rodriguez on 20/05/2015. -// Copyright (c) 2015 Dulma Rodriguez. All rights reserved. -// #import diff --git a/examples/ios_hello/HelloWorldApp/AppDelegate.m b/examples/ios_hello/HelloWorldApp/AppDelegate.m index c6444c28e..928648b19 100644 --- a/examples/ios_hello/HelloWorldApp/AppDelegate.m +++ b/examples/ios_hello/HelloWorldApp/AppDelegate.m @@ -2,9 +2,6 @@ // AppDelegate.m // HelloWorldApp // -// Created by Dulma Rodriguez on 20/05/2015. -// Copyright (c) 2015 Dulma Rodriguez. All rights reserved. -// #import "AppDelegate.h" #import "Hello.h" diff --git a/examples/ios_hello/HelloWorldApp/Base.lproj/LaunchScreen.xib b/examples/ios_hello/HelloWorldApp/Base.lproj/LaunchScreen.xib index a2f15cf94..02ed79f15 100644 --- a/examples/ios_hello/HelloWorldApp/Base.lproj/LaunchScreen.xib +++ b/examples/ios_hello/HelloWorldApp/Base.lproj/LaunchScreen.xib @@ -11,7 +11,7 @@ -