[copyrightor] format start and end of copyright comments

Summary:
The script now reformats the start and end of comments if necessary.
master
Jules Villard 9 years ago
parent d7655a087e
commit ca613a77ff

@ -6,7 +6,7 @@
* This source code is licensed under the BSD style license found in the * This source code is licensed under the BSD style license found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*/ */
// Basic modelling of some glib functions // Basic modelling of some glib functions

@ -6,7 +6,7 @@
* This source code is licensed under the BSD style license found in the * This source code is licensed under the BSD style license found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*/ */
// builtins to be used to model library functions // builtins to be used to model library functions

@ -6,7 +6,7 @@
* This source code is licensed under the BSD style license found in the * This source code is licensed under the BSD style license found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*/ */
// builtins to be used to model library functions // builtins to be used to model library functions

@ -6,7 +6,7 @@
* This source code is licensed under the BSD style license found in the * This source code is licensed under the BSD style license found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*/ */
// Basic modelling of some libc functions // Basic modelling of some libc functions

@ -6,7 +6,7 @@
* This source code is licensed under the BSD style license found in the * This source code is licensed under the BSD style license found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*/ */
// modelling of math functions // modelling of math functions

@ -6,7 +6,7 @@
* This source code is licensed under the BSD style license found in the * This source code is licensed under the BSD style license found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*/ */
// modelling of wide character functions // modelling of wide character functions

@ -6,7 +6,7 @@
* This source code is licensed under the BSD style license found in the * This source code is licensed under the BSD style license found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*/ */
// modelling of wctype functions // modelling of wctype functions

@ -6,7 +6,7 @@
* This source code is licensed under the BSD style license found in the * This source code is licensed under the BSD style license found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*/ */
// Basic modelling of some xlib functions // Basic modelling of some xlib functions

@ -6,7 +6,7 @@
* This source code is licensed under the BSD style license found in the * This source code is licensed under the BSD style license found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*/ */
// models for shared_ptr // models for shared_ptr

@ -6,7 +6,7 @@
* This source code is licensed under the BSD style license found in the * This source code is licensed under the BSD style license found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*/ */
package com.facebook.infer.models; package com.facebook.infer.models;

@ -1,11 +1,11 @@
/* /*
* Copyright (c) 2014 - present Facebook, Inc. * Copyright (c) 2014 - present Facebook, Inc.
* All rights reserved. * All rights reserved.
* *
* This source code is licensed under the BSD style license found in the * This source code is licensed under the BSD style license found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*/ */
#pragma clang diagnostic ignored "-Wprotocol" #pragma clang diagnostic ignored "-Wprotocol"

@ -5,7 +5,7 @@
* This source code is licensed under the BSD style license found in the * This source code is licensed under the BSD style license found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*/ */
#pragma clang diagnostic ignored "-Wprotocol" #pragma clang diagnostic ignored "-Wprotocol"

@ -11,6 +11,26 @@ module L = Logging
module F = Format module F = Format
open Utils open Utils
type comment_style =
| Line of string (** line comments, eg "#" for shell *)
| Block of string * string * string (** block comments, eg ("(*", "*", "*)") for ocaml *)
let comment_style_ocaml = Block("(*", "*", "*)")
let comment_style_c = Block("/*", "*", "*/")
let comment_style_shell = Line("#")
let comment_styles = [
comment_style_ocaml;
comment_style_c;
comment_style_shell;
]
let lang_of_com_style style =
if style = comment_style_ocaml then "ocaml"
else if style = comment_style_c then "c"
else if style = comment_style_shell then "shell"
else "??unknown??"
(** If active, check copyright messages and exit. *) (** If active, check copyright messages and exit. *)
let active = Config.from_env_variable "INFER_CHECK_COPYRIGHT" let active = Config.from_env_variable "INFER_CHECK_COPYRIGHT"
@ -26,35 +46,39 @@ let rec find_copyright_line lines n = match lines with
if line_contains_copyright line then Some n if line_contains_copyright line then Some n
else find_copyright_line lines' (n + 1) else find_copyright_line lines' (n + 1)
let find_copyright_start lines_arr n check_hash = let find_comment_start_and_style lines_arr n =
let is_start line = (* are we in a line comment? *)
if check_hash then let cur_line_comment = try
not (string_is_prefix "#" line) Some (list_find (function
else | Line (s) when string_is_prefix s lines_arr.(n) -> true
string_contains "(*" line | _ -> false) comment_styles)
|| with Not_found -> None in
string_contains "/*" line in let is_start line = match cur_line_comment with
| Some (Line (s)) -> if string_is_prefix s line then None else Some (Line (s))
| _ -> try
Some (list_find (function
| Block(s, _, _) -> string_contains s line
| _ -> false) comment_styles)
with Not_found -> None in
let i = ref (n - 1) in let i = ref (n - 1) in
let found = ref 0 in (* hacky fake line comment to avoid an option type *)
while !i >= 0 && !found = 0 do let found = ref (-1, Line(">>>>>>>>>>>")) in
if is_start lines_arr.(!i) then found := !i + 1; while !i >= 0 && fst (!found) = -1 do
decr i match is_start lines_arr.(!i) with
| Some style -> found := (!i, style);
| None -> decr i
done; done;
!found !found
let find_copyright_end lines_arr n check_hash = let find_comment_end lines_arr n com_style =
let is_end line = let is_end line = match com_style with
if check_hash then | Line(s) -> not (string_is_prefix s line)
not (string_is_prefix "#" line) | Block(_, _, s) -> string_contains s line in
else
string_contains "*)" line
||
string_contains "*/" line in
let i = ref (n + 1) in let i = ref (n + 1) in
let len = Array.length lines_arr in let len = Array.length lines_arr in
let found = ref (len - 1) in let found = ref (len - 1) in
while !i < len && !found = len - 1 do while !i < len && !found = len - 1 do
if is_end lines_arr.(!i) then found := !i - 1; if is_end lines_arr.(!i) then found := !i;
incr i incr i
done; done;
!found !found
@ -68,7 +92,7 @@ let looks_like_copyright_message cstart cend lines_arr =
if String.length lines_arr.(i) > max_len then ok := false if String.length lines_arr.(i) > max_len then ok := false
done; done;
!ok in !ok in
(cend - cstart) <= 10 && check_len () cstart >= 0 && (cend - cstart) <= 10 && check_len ()
let contains_monoidics cstart cend lines_arr = let contains_monoidics cstart cend lines_arr =
let found = ref false in let found = ref false in
@ -96,9 +120,17 @@ let get_fb_year cstart cend lines_arr =
done; done;
!found !found
let pp_copyright mono fb_year check_hash fmt _prefix = let pp_copyright mono fb_year com_style fmt _prefix =
let prefix = _prefix ^ (if check_hash then "#" else "*") in let running_comment = match com_style with | Line s | Block (_, s, _) -> s in
let pp_line str = F.fprintf fmt "%s%s@." prefix str in let prefix = _prefix ^ running_comment in
let pp_line str = F.fprintf fmt "%s%s@\n" prefix str in
let pp_start () = match com_style with
| Line _ -> F.fprintf fmt "@\n";
| Block (start, _, _) -> F.fprintf fmt "%s@\n" start in
let pp_end () = match com_style with
| Line _ -> F.fprintf fmt "@\n";
| Block (_, _, finish) -> F.fprintf fmt "%s%s@\n" _prefix finish in
pp_start ();
if mono then if mono then
pp_line " Copyright (c) 2009 - 2013 Monoidics ltd."; pp_line " Copyright (c) 2009 - 2013 Monoidics ltd.";
pp_line (F.sprintf " Copyright (c) %d - present Facebook, Inc." fb_year); pp_line (F.sprintf " Copyright (c) %d - present Facebook, Inc." fb_year);
@ -106,9 +138,10 @@ let pp_copyright mono fb_year check_hash fmt _prefix =
pp_line ""; pp_line "";
pp_line " This source code is licensed under the BSD style license found in the"; pp_line " This source code is licensed under the BSD style license found in the";
pp_line " LICENSE file in the root directory of this source tree. An additional grant"; pp_line " LICENSE file in the root directory of this source tree. An additional grant";
pp_line " of patent rights can be found in the PATENTS file in the same directory." pp_line " of patent rights can be found in the PATENTS file in the same directory.";
pp_end ()
let copyright_has_changed mono fb_year check_hash cstart cend lines_arr = let copyright_has_changed mono fb_year com_style prefix cstart cend lines_arr =
let old_copyright = let old_copyright =
let r = ref "" in let r = ref "" in
for i = cstart to cend do for i = cstart to cend do
@ -116,18 +149,18 @@ let copyright_has_changed mono fb_year check_hash cstart cend lines_arr =
done; done;
!r in !r in
let new_copyright = let new_copyright =
let pp fmt () = pp_copyright mono fb_year check_hash fmt "" in let pp fmt () = pp_copyright mono fb_year com_style fmt prefix in
Utils.pp_to_string pp () in Utils.pp_to_string pp () in
old_copyright <> new_copyright old_copyright <> new_copyright
let update_file fname mono fb_year check_hash cstart cend lines_arr = let update_file fname mono fb_year com_style prefix cstart cend lines_arr =
try try
let cout = open_out fname in let cout = open_out fname in
let fmt = F.formatter_of_out_channel cout in let fmt = F.formatter_of_out_channel cout in
for i = 0 to cstart - 1 do for i = 0 to cstart - 1 do
F.fprintf fmt "%s@." lines_arr.(i) F.fprintf fmt "%s@." lines_arr.(i)
done; done;
pp_copyright mono fb_year check_hash fmt ""; pp_copyright mono fb_year com_style fmt prefix;
for i = cend + 1 to Array.length lines_arr - 1 do for i = cend + 1 to Array.length lines_arr - 1 do
F.fprintf fmt "%s@\n" lines_arr.(i) F.fprintf fmt "%s@\n" lines_arr.(i)
done; done;
@ -166,10 +199,8 @@ let check_copyright () =
let lines_arr = Array.of_list lines in let lines_arr = Array.of_list lines in
let line = lines_arr.(n) in let line = lines_arr.(n) in
let len = String.length line in let len = String.length line in
let check_hash = string_is_prefix "#" line in let (cstart, com_style) = find_comment_start_and_style lines_arr n in
let cstart = find_copyright_start lines_arr n check_hash in let cend = find_comment_end lines_arr n com_style in
let cend = find_copyright_end lines_arr n check_hash in
let range = cend - cstart in
if looks_like_copyright_message cstart cend lines_arr then if looks_like_copyright_message cstart cend lines_arr then
begin begin
let mono = contains_monoidics cstart cend lines_arr in let mono = contains_monoidics cstart cend lines_arr in
@ -177,17 +208,21 @@ let check_copyright () =
| None -> | None ->
L.stderr "Can't find fb year: %s@." fname L.stderr "Can't find fb year: %s@." fname
| Some fb_year -> | Some fb_year ->
if copyright_has_changed mono fb_year check_hash cstart cend lines_arr then let prefix = "" in
if copyright_has_changed mono fb_year com_style prefix cstart cend lines_arr then
begin begin
L.stderr "%s (start:%d n:%d end:%d len:%d range:%d mono:%b year:%d)@." let range = cend - cstart in
fname cstart n cend len range mono fb_year; let lang = lang_of_com_style com_style in
L.stdout "%s (start:%d n:%d end:%d len:%d range:%d lang:%s mono:%b year:%d)@."
fname cstart n cend len range lang mono fb_year;
for i = cstart to cend do for i = cstart to cend do
L.stderr " %s@." lines_arr.(i) L.stdout " %s@." lines_arr.(i)
done; done;
L.stderr "-----@."; L.stdout "-----@.";
L.stderr "%a" (pp_copyright mono fb_year check_hash) " "; L.stdout " @[<v>%a@]" (pp_copyright mono fb_year com_style) prefix;
L.flush_streams ();
if update_files then if update_files then
update_file fname mono fb_year check_hash cstart cend lines_arr update_file fname mono fb_year com_style prefix cstart cend lines_arr
end end
end end
else else

@ -6,7 +6,7 @@
* This source code is licensed under the BSD style license found in the * This source code is licensed under the BSD style license found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*) *)
let major = @MAJOR@ let major = @MAJOR@
let minor = @MINOR@ let minor = @MINOR@

@ -5,6 +5,6 @@
* This source code is licensed under the BSD style license found in the * This source code is licensed under the BSD style license found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*) *)
val callback_check_immutable_cast : Callbacks.proc_callback_t val callback_check_immutable_cast : Callbacks.proc_callback_t

@ -5,6 +5,6 @@
* This source code is licensed under the BSD style license found in the * This source code is licensed under the BSD style license found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*) *)
val callback_check_repeated_calls : Callbacks.proc_callback_t val callback_check_repeated_calls : Callbacks.proc_callback_t

@ -5,7 +5,7 @@
* This source code is licensed under the BSD style license found in the * This source code is licensed under the BSD style license found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*/ */
#include "clang/Frontend/FrontendPluginRegistry.h" #include "clang/Frontend/FrontendPluginRegistry.h"
#include "clang/AST/ASTConsumer.h" #include "clang/AST/ASTConsumer.h"

@ -5,7 +5,7 @@
* This source code is licensed under the BSD style license found in the * This source code is licensed under the BSD style license found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*/ */
int main() { return 0; } int main() { return 0; }

@ -5,7 +5,7 @@
* This source code is licensed under the BSD style license found in the * This source code is licensed under the BSD style license found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*/ */
void bound_error() { void bound_error() {
int a[7]; int a[7];

@ -5,7 +5,7 @@
* This source code is licensed under the BSD style license found in the * This source code is licensed under the BSD style license found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*/ */
int arith_divide_by_zero() { int arith_divide_by_zero() {
int x = 0; int x = 0;

@ -5,7 +5,7 @@
* This source code is licensed under the BSD style license found in the * This source code is licensed under the BSD style license found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*/ */
int init_divide_by_zero() { int init_divide_by_zero() {
int t[2][3][2] = {{{1,1},{2,2},{3,3}},{{4,4},{5,5},{1,0}}}; int t[2][3][2] = {{{1,1},{2,2},{3,3}},{{4,4},{5,5},{1,0}}};

@ -5,7 +5,7 @@
* This source code is licensed under the BSD style license found in the * This source code is licensed under the BSD style license found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*/ */
struct l2 { struct l2 {
int b; int b;
struct l2 *a; struct l2 *a;

@ -5,7 +5,7 @@
* This source code is licensed under the BSD style license found in the * This source code is licensed under the BSD style license found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*/ */
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>

@ -5,7 +5,7 @@
* This source code is licensed under the BSD style license found in the * This source code is licensed under the BSD style license found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*/ */
#include <stdlib.h> #include <stdlib.h>

@ -5,7 +5,7 @@
* This source code is licensed under the BSD style license found in the * This source code is licensed under the BSD style license found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*/ */
#include <stdlib.h> #include <stdlib.h>

@ -5,7 +5,7 @@
* This source code is licensed under the BSD style license found in the * This source code is licensed under the BSD style license found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*/ */
#include <errno.h> #include <errno.h>
#include <fcntl.h> #include <fcntl.h>

@ -5,7 +5,7 @@
* This source code is licensed under the BSD style license found in the * This source code is licensed under the BSD style license found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*/ */
int main() { int main() {
double x = 1.0; double x = 1.0;

@ -5,7 +5,7 @@
* This source code is licensed under the BSD style license found in the * This source code is licensed under the BSD style license found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*/ */
int main() { int main() {

@ -5,7 +5,7 @@
* This source code is licensed under the BSD style license found in the * This source code is licensed under the BSD style license found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*/ */
int main() { int main() {
int x = 2; int x = 2;

@ -5,7 +5,7 @@
* This source code is licensed under the BSD style license found in the * This source code is licensed under the BSD style license found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*/ */
int main() { int main() {
int x = 1; int x = 1;

@ -5,7 +5,7 @@
* This source code is licensed under the BSD style license found in the * This source code is licensed under the BSD style license found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*/ */
#include <stdbool.h> #include <stdbool.h>

@ -5,7 +5,7 @@
* This source code is licensed under the BSD style license found in the * This source code is licensed under the BSD style license found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*/ */
void check(int x) { void check(int x) {
} }

@ -5,7 +5,7 @@
* This source code is licensed under the BSD style license found in the * This source code is licensed under the BSD style license found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*/ */
/* /*
A simple example of a function prototype allowing the function A simple example of a function prototype allowing the function

@ -5,7 +5,7 @@
* This source code is licensed under the BSD style license found in the * This source code is licensed under the BSD style license found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*/ */
int comma_1() { int comma_1() {
int a = 9, b = 7; int a = 9, b = 7;

@ -5,7 +5,7 @@
* This source code is licensed under the BSD style license found in the * This source code is licensed under the BSD style license found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*/ */
void dereference_in_array_access(int **p) { void dereference_in_array_access(int **p) {
if (p[0]); if (p[0]);

@ -5,7 +5,7 @@
* This source code is licensed under the BSD style license found in the * This source code is licensed under the BSD style license found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*/ */
#include <assert.h> #include <assert.h>

@ -5,7 +5,7 @@
* This source code is licensed under the BSD style license found in the * This source code is licensed under the BSD style license found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*/ */
void binop_with_side_effects(int z) { void binop_with_side_effects(int z) {
// simple assignment // simple assignment

@ -5,7 +5,7 @@
* This source code is licensed under the BSD style license found in the * This source code is licensed under the BSD style license found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*/ */
int foo() int foo()
{ {

@ -5,7 +5,7 @@
* This source code is licensed under the BSD style license found in the * This source code is licensed under the BSD style license found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*/ */
#include <stdbool.h> #include <stdbool.h>

@ -5,7 +5,7 @@
* This source code is licensed under the BSD style license found in the * This source code is licensed under the BSD style license found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*/ */
void some_f(int, int, int); void some_f(int, int, int);

@ -5,7 +5,7 @@
* This source code is licensed under the BSD style license found in the * This source code is licensed under the BSD style license found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*/ */
#include<stdlib.h> #include<stdlib.h>

@ -5,7 +5,7 @@
* This source code is licensed under the BSD style license found in the * This source code is licensed under the BSD style license found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*/ */
int identity(int x) { int identity(int x) {
return x; return x;

@ -5,7 +5,7 @@
* This source code is licensed under the BSD style license found in the * This source code is licensed under the BSD style license found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*/ */
struct s { struct s {
int field; int field;

@ -5,7 +5,7 @@
* This source code is licensed under the BSD style license found in the * This source code is licensed under the BSD style license found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*/ */
struct s { struct s {
int x; int x;

@ -5,7 +5,7 @@
* This source code is licensed under the BSD style license found in the * This source code is licensed under the BSD style license found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*/ */
void dereference_ifthenelse(int *p) { void dereference_ifthenelse(int *p) {
int x; int x;

@ -5,7 +5,7 @@
* This source code is licensed under the BSD style license found in the * This source code is licensed under the BSD style license found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*/ */
enum week{ sunday, monday, tuesday, wednesday=0, thursday, friday, saturday}; enum week{ sunday, monday, tuesday, wednesday=0, thursday, friday, saturday};

@ -5,7 +5,7 @@
* This source code is licensed under the BSD style license found in the * This source code is licensed under the BSD style license found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*/ */
#import <stdio.h> #import <stdio.h>

@ -5,7 +5,7 @@
* This source code is licensed under the BSD style license found in the * This source code is licensed under the BSD style license found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*/ */
int main() { int main() {
int z; int z;

@ -5,7 +5,7 @@
* This source code is licensed under the BSD style license found in the * This source code is licensed under the BSD style license found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*/ */
typedef struct Point { typedef struct Point {
int x; int x;

@ -5,7 +5,7 @@
* This source code is licensed under the BSD style license found in the * This source code is licensed under the BSD style license found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*/ */
int main () { int main () {
int a = 10; int a = 10;

@ -5,7 +5,7 @@
* This source code is licensed under the BSD style license found in the * This source code is licensed under the BSD style license found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*/ */
int main () { int main () {
int a = 10; int a = 10;

@ -5,7 +5,7 @@
* This source code is licensed under the BSD style license found in the * This source code is licensed under the BSD style license found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*/ */
int main () { int main () {
int a = 10; int a = 10;

@ -5,7 +5,7 @@
* This source code is licensed under the BSD style license found in the * This source code is licensed under the BSD style license found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*/ */
int main() { int main() {
int j = 0; int j = 0;

@ -5,7 +5,7 @@
* This source code is licensed under the BSD style license found in the * This source code is licensed under the BSD style license found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*/ */
int main() { int main() {
int k = 0; int k = 0;

@ -5,7 +5,7 @@
* This source code is licensed under the BSD style license found in the * This source code is licensed under the BSD style license found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*/ */
int main() { int main() {
int j = 0; int j = 0;

@ -5,7 +5,7 @@
* This source code is licensed under the BSD style license found in the * This source code is licensed under the BSD style license found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*/ */
int main() { int main() {
int j = 0; int j = 0;

@ -5,7 +5,7 @@
* This source code is licensed under the BSD style license found in the * This source code is licensed under the BSD style license found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*/ */
int main() { int main() {
int d = 0; int d = 0;

@ -5,7 +5,7 @@
* This source code is licensed under the BSD style license found in the * This source code is licensed under the BSD style license found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*/ */
int main() { int main() {
int i = 0; int i = 0;

@ -5,7 +5,7 @@
* This source code is licensed under the BSD style license found in the * This source code is licensed under the BSD style license found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*/ */
int main() { int main() {
int j = 0; int j = 0;

@ -5,7 +5,7 @@
* This source code is licensed under the BSD style license found in the * This source code is licensed under the BSD style license found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*/ */
int main() { int main() {
int k = 0; int k = 0;

@ -5,7 +5,7 @@
* This source code is licensed under the BSD style license found in the * This source code is licensed under the BSD style license found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*/ */
int main() { int main() {
int i = 0; int i = 0;

@ -5,7 +5,7 @@
* This source code is licensed under the BSD style license found in the * This source code is licensed under the BSD style license found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*/ */
int main() { int main() {
int i = 0; int i = 0;

@ -5,7 +5,7 @@
* This source code is licensed under the BSD style license found in the * This source code is licensed under the BSD style license found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*/ */
int main() { int main() {
int i = 0; int i = 0;

@ -5,7 +5,7 @@
* This source code is licensed under the BSD style license found in the * This source code is licensed under the BSD style license found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*/ */
int main(){ int main(){
while(1) {} while(1) {}

@ -5,7 +5,7 @@
* This source code is licensed under the BSD style license found in the * This source code is licensed under the BSD style license found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*/ */
int main() { int main() {
int x = 0; int x = 0;

@ -5,7 +5,7 @@
* This source code is licensed under the BSD style license found in the * This source code is licensed under the BSD style license found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*/ */
int foo(int *p) { int foo(int *p) {
if((*p = 0)) { if((*p = 0)) {

@ -5,7 +5,7 @@
* This source code is licensed under the BSD style license found in the * This source code is licensed under the BSD style license found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*/ */
int main() { int main() {
int y = 3; int y = 3;

@ -5,7 +5,7 @@
* This source code is licensed under the BSD style license found in the * This source code is licensed under the BSD style license found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*/ */
int main() { int main() {
double x = 1.0; double x = 1.0;

@ -5,7 +5,7 @@
* This source code is licensed under the BSD style license found in the * This source code is licensed under the BSD style license found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*/ */
#include<stdio.h> #include<stdio.h>

@ -5,7 +5,7 @@
* This source code is licensed under the BSD style license found in the * This source code is licensed under the BSD style license found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*/ */
#import <stdio.h> #import <stdio.h>

@ -5,7 +5,7 @@
* This source code is licensed under the BSD style license found in the * This source code is licensed under the BSD style license found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*/ */
#include <iostream> #include <iostream>
using namespace std; using namespace std;

@ -5,7 +5,7 @@
* This source code is licensed under the BSD style license found in the * This source code is licensed under the BSD style license found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*/ */
package codetoanalyze.java.eradicate; package codetoanalyze.java.eradicate;
import java.lang.ref.PhantomReference; import java.lang.ref.PhantomReference;

@ -5,7 +5,7 @@
* This source code is licensed under the BSD style license found in the * This source code is licensed under the BSD style license found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*/ */
package codetoanalyze.java.eradicate; package codetoanalyze.java.eradicate;
import java.lang.annotation.ElementType; import java.lang.annotation.ElementType;

@ -5,7 +5,7 @@
* This source code is licensed under the BSD style license found in the * This source code is licensed under the BSD style license found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*/ */
package codetoanalyze.java.infer; package codetoanalyze.java.infer;

@ -5,7 +5,7 @@
* This source code is licensed under the BSD style license found in the * This source code is licensed under the BSD style license found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*/ */
package codetoanalyze.java.infer; package codetoanalyze.java.infer;

@ -5,7 +5,7 @@
* This source code is licensed under the BSD style license found in the * This source code is licensed under the BSD style license found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*/ */
package codetoanalyze.java.infer; package codetoanalyze.java.infer;

@ -5,7 +5,7 @@
* This source code is licensed under the BSD style license found in the * This source code is licensed under the BSD style license found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*/ */
package codetoanalyze.java.infer; package codetoanalyze.java.infer;

@ -5,7 +5,7 @@
* This source code is licensed under the BSD style license found in the * This source code is licensed under the BSD style license found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*/ */
// Splitting EOCPerson into categories // Splitting EOCPerson into categories
#import <Foundation/NSString.h> #import <Foundation/NSString.h>

@ -5,7 +5,7 @@
* This source code is licensed under the BSD style license found in the * This source code is licensed under the BSD style license found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*/ */
#import "EOCPerson.h" #import "EOCPerson.h"

@ -5,7 +5,7 @@
* This source code is licensed under the BSD style license found in the * This source code is licensed under the BSD style license found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*/ */
#import "EOCPerson.h" #import "EOCPerson.h"

@ -5,7 +5,7 @@
* This source code is licensed under the BSD style license found in the * This source code is licensed under the BSD style license found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*/ */
#import <Foundation/NSObject.h> #import <Foundation/NSObject.h>

@ -5,7 +5,7 @@
* This source code is licensed under the BSD style license found in the * This source code is licensed under the BSD style license found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*/ */
#import "A.h" #import "A.h"

@ -5,7 +5,7 @@
* This source code is licensed under the BSD style license found in the * This source code is licensed under the BSD style license found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*/ */
#import "B.h" #import "B.h"

@ -5,7 +5,7 @@
* This source code is licensed under the BSD style license found in the * This source code is licensed under the BSD style license found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*/ */
#import <Foundation/NSObject.h> #import <Foundation/NSObject.h>

@ -5,7 +5,7 @@
* This source code is licensed under the BSD style license found in the * This source code is licensed under the BSD style license found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*/ */
#include "B.h" #include "B.h"

@ -5,7 +5,7 @@
* This source code is licensed under the BSD style license found in the * This source code is licensed under the BSD style license found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*/ */
#import <Foundation/NSObject.h> #import <Foundation/NSObject.h>
#import <Foundation/NSString.h> #import <Foundation/NSString.h>

@ -5,7 +5,7 @@
* This source code is licensed under the BSD style license found in the * This source code is licensed under the BSD style license found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*/ */
#import <Foundation/NSObject.h> #import <Foundation/NSObject.h>
#import <Foundation/NSString.h> #import <Foundation/NSString.h>

@ -5,7 +5,7 @@
* This source code is licensed under the BSD style license found in the * This source code is licensed under the BSD style license found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*/ */
#import <Foundation/NSObject.h> #import <Foundation/NSObject.h>
#import <UIKit/UIKit.h> #import <UIKit/UIKit.h>

@ -5,7 +5,7 @@
* This source code is licensed under the BSD style license found in the * This source code is licensed under the BSD style license found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*/ */
#import "MemoryLeakExample.h" #import "MemoryLeakExample.h"
#import <UIKit/UIKit.h> #import <UIKit/UIKit.h>

@ -5,7 +5,7 @@
* This source code is licensed under the BSD style license found in the * This source code is licensed under the BSD style license found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*/ */
#import <Foundation/Foundation.h> #import <Foundation/Foundation.h>
#import <stdlib.h> #import <stdlib.h>

@ -5,7 +5,7 @@
* This source code is licensed under the BSD style license found in the * This source code is licensed under the BSD style license found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*/ */
#import <Foundation/NSObject.h> #import <Foundation/NSObject.h>

@ -5,7 +5,7 @@
* This source code is licensed under the BSD style license found in the * This source code is licensed under the BSD style license found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*/ */
#import <Foundation/NSObject.h> #import <Foundation/NSObject.h>

@ -5,7 +5,7 @@
* This source code is licensed under the BSD style license found in the * This source code is licensed under the BSD style license found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*/ */
#import <Foundation/NSObject.h> #import <Foundation/NSObject.h>

@ -5,7 +5,7 @@
* This source code is licensed under the BSD style license found in the * This source code is licensed under the BSD style license found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*/ */
#import <Foundation/Foundation.h> #import <Foundation/Foundation.h>
#import <CoreText/CTFont.h> #import <CoreText/CTFont.h>

@ -5,7 +5,7 @@
* This source code is licensed under the BSD style license found in the * This source code is licensed under the BSD style license found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*/ */
#import <Foundation/NSObject.h> #import <Foundation/NSObject.h>

@ -5,7 +5,7 @@
* This source code is licensed under the BSD style license found in the * This source code is licensed under the BSD style license found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*/ */
#import <Foundation/NSObject.h> #import <Foundation/NSObject.h>

@ -5,7 +5,7 @@
* This source code is licensed under the BSD style license found in the * This source code is licensed under the BSD style license found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*/ */
#import <Foundation/NSObject.h> #import <Foundation/NSObject.h>
#import <UIKit/UIKit.h> #import <UIKit/UIKit.h>

@ -5,7 +5,7 @@
* This source code is licensed under the BSD style license found in the * This source code is licensed under the BSD style license found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*/ */
#import "NPD_core_foundation.h" #import "NPD_core_foundation.h"
#import <UIKit/UIKit.h> #import <UIKit/UIKit.h>

@ -5,7 +5,7 @@
* This source code is licensed under the BSD style license found in the * This source code is licensed under the BSD style license found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*/ */
#import <Foundation/NSString.h> #import <Foundation/NSString.h>

@ -5,7 +5,7 @@
* This source code is licensed under the BSD style license found in the * This source code is licensed under the BSD style license found in the
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*/ */
#import <Foundation/Foundation.h> #import <Foundation/Foundation.h>

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save