From 63b57790f91bcf8a89d6fc9e796f8b031915928b Mon Sep 17 00:00:00 2001 From: Josh Berdine Date: Mon, 14 Dec 2015 14:56:38 -0800 Subject: [PATCH] Fix indentation of multiline copyright comment Summary: public Lines other than the first of multi-line comments in non-ocaml files were flush right instead of aligned. Reviewed By: jvillard Differential Revision: D2739752 fb-gh-sync-id: c85f56e --- examples/Hello.java | 9 ++ examples/Hello.m | 9 ++ .../inferandroidexample/ApplicationTest.java | 9 ++ .../infer/inferandroidexample/Generated.java | 14 +-- .../inferandroidexample/MainActivity.java | 14 +-- examples/c_hello/example.c | 9 ++ examples/hello.c | 13 +- .../ios_hello/HelloWorldApp/AppDelegate.h | 9 ++ .../ios_hello/HelloWorldApp/AppDelegate.m | 9 ++ examples/ios_hello/HelloWorldApp/Hello.h | 11 +- examples/ios_hello/HelloWorldApp/Hello.m | 9 ++ .../ios_hello/HelloWorldApp/ViewController.h | 9 ++ .../ios_hello/HelloWorldApp/ViewController.m | 9 ++ examples/ios_hello/HelloWorldApp/main.m | 9 ++ .../HelloWorldAppTests/HelloWorldAppTests.m | 9 ++ examples/java_hello/Hello.java | 14 +-- examples/java_hello/Pointers.java | 14 +-- examples/java_hello/Resources.java | 14 +-- .../facebook/infer/annotation/Assertions.java | 14 +-- .../facebook/infer/annotation/Expensive.java | 14 +-- .../infer/annotation/FalseOnNull.java | 14 +-- .../infer/annotation/Initializer.java | 14 +-- .../facebook/infer/annotation/Mutable.java | 14 +-- .../infer/annotation/PerformanceCritical.java | 14 +-- .../facebook/infer/annotation/Present.java | 14 +-- .../com/facebook/infer/annotation/Strict.java | 14 +-- .../SuppressFieldNotInitialized.java | 14 +-- .../annotation/SuppressFieldNotNullable.java | 14 +-- .../annotation/SuppressNullFieldAccess.java | 14 +-- .../annotation/SuppressNullMethodCall.java | 14 +-- .../SuppressParameterNotNullable.java | 14 +-- .../SuppressReturnOverAnnotated.java | 14 +-- .../facebook/infer/annotation/TrueOnNull.java | 14 +-- .../com/facebook/infer/annotation/Verify.java | 14 +-- .../annotprocess/AnnotationProcessor.java | 14 +-- infer/models/c/src/glib.c | 16 +-- infer/models/c/src/infer_builtins.c | 16 +-- infer/models/c/src/infer_builtins.h | 16 +-- infer/models/c/src/libc_basic.c | 32 ++--- infer/models/c/src/math.c | 16 +-- infer/models/c/src/wchar.c | 16 +-- infer/models/c/src/wctype.c | 16 +-- infer/models/c/src/xlib.c | 16 +-- infer/models/cpp/src/shared_ptr.cpp | 16 +-- .../models/java/src/android/app/Activity.java | 14 +-- .../java/src/android/app/DownloadManager.java | 14 +-- .../content/ContentProviderClient.java | 14 +-- .../src/android/content/ContentResolver.java | 14 +-- .../src/android/content/ContentValues.java | 14 +-- .../java/src/android/content/Context.java | 14 +-- .../src/android/content/IContentProvider.java | 14 +-- .../src/android/content/IContentService.java | 14 +-- .../src/android/content/res/Resources.java | 14 +-- .../src/android/content/res/TypedArray.java | 14 +-- .../src/android/database/AbstractCursor.java | 14 +-- .../android/database/CrossProcessCursor.java | 14 +-- .../database/CrossProcessCursorWrapper.java | 14 +-- .../java/src/android/database/Cursor.java | 16 +-- .../src/android/database/CursorWrapper.java | 14 +-- .../database/sqlite/SQLiteConnectionPool.java | 14 +-- .../android/database/sqlite/SQLiteCursor.java | 14 +-- .../database/sqlite/SQLiteDatabase.java | 15 ++- .../sqlite/SQLiteDatabaseConfiguration.java | 14 +-- .../database/sqlite/SQLiteQueryBuilder.java | 14 +-- infer/models/java/src/android/os/Handler.java | 14 +-- .../java/src/android/provider/MediaStore.java | 14 +-- .../com/facebook/infer/models/InferArray.java | 16 +-- .../facebook/infer/models/InferBuiltins.java | 16 +-- .../infer/models/InferCloseables.java | 16 +-- .../com/facebook/infer/models/InferTaint.java | 14 +-- .../facebook/infer/models/InferUndefined.java | 16 +-- .../com/facebook/infer/models/InferUtils.java | 14 +-- .../fasterxml/jackson/core/JsonFactory.java | 14 +-- .../fasterxml/jackson/core/JsonParser.java | 14 +-- .../core/json/UTF8StreamJsonParser.java | 14 +-- .../com/google/common/base/Preconditions.java | 14 +-- .../com/google/common/collect/Iterators.java | 14 +-- .../src/com/google/common/io/Closeables.java | 14 +-- .../okhttp/internal/StrictLineReader.java | 15 ++- .../com/squareup/okhttp/internal/Util.java | 14 +-- .../java/src/dalvik/system/CloseGuard.java | 14 +-- .../java/src/java/io/BufferedInputStream.java | 14 +-- .../src/java/io/BufferedOutputStream.java | 14 +-- .../java/src/java/io/BufferedReader.java | 14 +-- .../java/src/java/io/BufferedWriter.java | 14 +-- .../src/java/io/ByteArrayInputStream.java | 14 +-- .../src/java/io/ByteArrayOutputStream.java | 14 +-- .../java/src/java/io/DataInputStream.java | 14 +-- .../java/src/java/io/DataOutputStream.java | 14 +-- infer/models/java/src/java/io/File.java | 14 +-- .../java/src/java/io/FileInputStream.java | 14 +-- .../java/src/java/io/FileOutputStream.java | 14 +-- infer/models/java/src/java/io/FileReader.java | 14 +-- infer/models/java/src/java/io/FileWriter.java | 14 +-- .../java/src/java/io/FilterInputStream.java | 14 +-- .../java/src/java/io/FilterOutputStream.java | 14 +-- .../models/java/src/java/io/FilterReader.java | 14 +-- .../models/java/src/java/io/InputStream.java | 14 +-- .../java/src/java/io/InputStreamReader.java | 14 +-- .../java/src/java/io/ObjectInputStream.java | 14 +-- .../java/src/java/io/ObjectOutputStream.java | 14 +-- .../models/java/src/java/io/OutputStream.java | 14 +-- .../java/src/java/io/OutputStreamWriter.java | 14 +-- .../java/src/java/io/PipedInputStream.java | 14 +-- .../java/src/java/io/PipedOutputStream.java | 14 +-- .../models/java/src/java/io/PipedReader.java | 14 +-- .../models/java/src/java/io/PipedWriter.java | 14 +-- .../models/java/src/java/io/PrintStream.java | 14 +-- .../models/java/src/java/io/PrintWriter.java | 14 +-- .../java/src/java/io/PushbackInputStream.java | 14 +-- .../java/src/java/io/PushbackReader.java | 14 +-- .../java/src/java/io/RandomAccessFile.java | 14 +-- infer/models/java/src/java/io/Reader.java | 14 +-- .../models/java/src/java/io/StringReader.java | 14 +-- .../models/java/src/java/io/StringWriter.java | 14 +-- infer/models/java/src/java/io/Writer.java | 14 +-- infer/models/java/src/java/lang/Class.java | 14 +-- infer/models/java/src/java/lang/Integer.java | 14 +-- .../src/java/lang/NullPointerException.java | 14 +-- infer/models/java/src/java/lang/Object.java | 14 +-- infer/models/java/src/java/lang/Process.java | 14 +-- .../java/src/java/lang/ProcessManager.java | 14 +-- infer/models/java/src/java/lang/Runtime.java | 14 +-- infer/models/java/src/java/lang/String.java | 14 +-- infer/models/java/src/java/lang/System.java | 14 +-- infer/models/java/src/java/lang/Thread.java | 14 +-- .../java/src/java/lang/reflect/Array.java | 14 +-- .../java/src/java/net/HttpURLConnection.java | 14 +-- .../java/src/java/net/JarURLConnection.java | 14 +-- .../java/src/java/net/PlainSocketImpl.java | 14 +-- .../java/src/java/net/ServerSocket.java | 14 +-- infer/models/java/src/java/net/Socket.java | 14 +-- infer/models/java/src/java/net/URL.java | 14 +-- .../java/src/java/net/URLConnection.java | 14 +-- .../java/src/java/nio/FileChannelImpl.java | 14 +-- .../src/java/nio/channels/FileChannel.java | 14 +-- .../spi/AbstractInterruptibleChannel.java | 14 +-- .../src/java/security/DigestInputStream.java | 14 +-- .../src/java/security/DigestOutputStream.java | 14 +-- infer/models/java/src/java/util/HashMap.java | 14 +-- .../models/java/src/java/util/Properties.java | 14 +-- infer/models/java/src/java/util/Scanner.java | 14 +-- infer/models/java/src/java/util/Vector.java | 14 +-- .../java/src/java/util/jar/JarFile.java | 14 +-- .../src/java/util/jar/JarInputStream.java | 14 +-- .../src/java/util/jar/JarOutputStream.java | 14 +-- .../src/java/util/zip/CheckedInputStream.java | 14 +-- .../java/util/zip/CheckedOutputStream.java | 14 +-- .../java/src/java/util/zip/Deflater.java | 14 +-- .../java/util/zip/DeflaterInputStream.java | 14 +-- .../java/util/zip/DeflaterOutputStream.java | 14 +-- .../src/java/util/zip/GZIPInputStream.java | 14 +-- .../src/java/util/zip/GZIPOutputStream.java | 14 +-- .../java/src/java/util/zip/Inflater.java | 14 +-- .../java/util/zip/InflaterInputStream.java | 14 +-- .../java/util/zip/InflaterOutputStream.java | 14 +-- .../java/src/java/util/zip/ZipFile.java | 14 +-- .../src/java/util/zip/ZipInputStream.java | 14 +-- .../src/java/util/zip/ZipOutputStream.java | 14 +-- .../src/javax/crypto/CipherInputStream.java | 14 +-- .../src/javax/crypto/CipherOutputStream.java | 14 +-- .../java/src/javax/net/SocketFactory.java | 14 +-- .../src/javax/net/ssl/HostnameVerifier.java | 14 +-- .../src/javax/net/ssl/HttpsURLConnection.java | 14 +-- .../src/javax/net/ssl/SSLSocketFactory.java | 14 +-- .../java/src/junit/framework/Assert.java | 14 +-- infer/models/objc/src/CADisplayLink.h | 14 +-- infer/models/objc/src/CADisplayLink.m | 14 +-- .../models/objc/src/CoreFoundation/CFArray.c | 14 +-- .../objc/src/CoreFoundation/CFBinaryHeap.c | 14 +-- .../objc/src/CoreFoundation/CFBitVector.c | 14 +-- infer/models/objc/src/CoreFoundation/CFDate.c | 14 +-- .../objc/src/CoreFoundation/CFDictionary.c | 14 +-- .../models/objc/src/CoreFoundation/CFError.c | 14 +-- .../objc/src/CoreFoundation/CFHTTPMessage.c | 14 +-- .../models/objc/src/CoreFoundation/CFLocale.c | 14 +-- .../objc/src/CoreFoundation/CFMutableArray.c | 14 +-- .../CFMutableAttributedString.c | 14 +-- .../src/CoreFoundation/CFMutableDictionary.c | 14 +-- .../objc/src/CoreFoundation/CFMutableSet.c | 14 +-- .../models/objc/src/CoreFoundation/CFNumber.c | 14 +-- .../objc/src/CoreFoundation/CFPreferences.c | 14 +-- .../objc/src/CoreFoundation/CFRunLoop.c | 14 +-- .../src/CoreFoundation/CFRunLoopObserver.c | 14 +-- .../models/objc/src/CoreFoundation/CFSocket.c | 14 +-- .../models/objc/src/CoreFoundation/CFString.c | 14 +-- .../src/CoreFoundation/CFStringTokenizer.c | 14 +-- infer/models/objc/src/CoreFoundation/CFType.c | 14 +-- infer/models/objc/src/CoreFoundation/CFUUID.c | 14 +-- infer/models/objc/src/CoreFoundation/CTFont.c | 14 +-- .../objc/src/CoreFoundation/CTFramesetter.c | 14 +-- .../src/CoreFoundation/CTParagraphStyle.c | 14 +-- .../CoreFoundation/SCNetworkReachability.c | 14 +-- .../objc/src/CoreFoundation/SecCertificate.c | 14 +-- infer/models/objc/src/CoreFoundation/SecKey.c | 14 +-- infer/models/objc/src/CoreGraphics/CGColor.c | 14 +-- .../objc/src/CoreGraphics/CGColorSpace.c | 14 +-- .../models/objc/src/CoreGraphics/CGContext.c | 14 +-- .../objc/src/CoreGraphics/CGDataConsumer.c | 15 ++- .../objc/src/CoreGraphics/CGDataProvider.c | 14 +-- infer/models/objc/src/CoreGraphics/CGFont.c | 14 +-- .../models/objc/src/CoreGraphics/CGFunction.c | 15 ++- .../models/objc/src/CoreGraphics/CGGradient.c | 14 +-- infer/models/objc/src/CoreGraphics/CGImage.c | 14 +-- .../src/CoreGraphics/CGImageDestination.c | 14 +-- .../objc/src/CoreGraphics/CGImageSource.c | 16 ++- infer/models/objc/src/CoreGraphics/CGLayer.c | 15 ++- .../src/CoreGraphics/CGPDFContentStream.c | 15 ++- .../objc/src/CoreGraphics/CGPDFDocument.c | 15 ++- .../src/CoreGraphics/CGPDFOperatorTable.c | 15 ++- .../models/objc/src/CoreGraphics/CGPDFPage.c | 15 ++- .../objc/src/CoreGraphics/CGPDFScanner.c | 15 ++- infer/models/objc/src/CoreGraphics/CGPath.c | 14 +-- .../models/objc/src/CoreGraphics/CGPattern.c | 15 ++- .../models/objc/src/CoreGraphics/CGShading.c | 15 ++- infer/models/objc/src/NSArray.h | 14 +-- infer/models/objc/src/NSArray.m | 14 +-- infer/models/objc/src/NSAutoreleasePool.m | 14 +-- infer/models/objc/src/NSData.m | 14 +-- infer/models/objc/src/NSDictionary.h | 14 +-- infer/models/objc/src/NSDictionary.m | 14 +-- infer/models/objc/src/NSFileHandle.m | 14 +-- infer/models/objc/src/NSMutableArray.h | 14 +-- infer/models/objc/src/NSMutableArray.m | 14 +-- infer/models/objc/src/NSMutableDictionary.h | 14 +-- infer/models/objc/src/NSMutableDictionary.m | 14 +-- infer/models/objc/src/NSNumber.h | 14 +-- infer/models/objc/src/NSNumber.m | 14 +-- infer/models/objc/src/NSObject.m | 14 +-- infer/models/objc/src/NSString.h | 14 +-- infer/models/objc/src/NSString.m | 17 ++- infer/models/objc/src/NSTimer.h | 14 +-- infer/models/objc/src/NSTimer.m | 20 +-- infer/src/checkers/codequeryLexer.mll | 3 +- infer/src/checkers/codequeryParser.mly | 16 +-- infer/src/checkers/sql_examples/Test.java | 36 +++--- infer/src/clang/plugin/InferPlugin.cpp | 30 ++--- infer/src/clang/plugin/test/test.cpp | 14 +-- infer/src/java/jVerboseParser.mly | 16 +-- infer/src/llvm/lLexer.mll | 1 + infer/src/llvm/lParser.mly | 1 + infer/src/llvm/lPretty.ml | 1 + infer/src/scripts/checkCopyright.ml | 8 +- .../c/errors/arithmetic/array_out_of_bounds.c | 14 +-- .../c/errors/arithmetic/divide_by_zero.c | 14 +-- .../c/errors/assertions/assertion_failure.c | 14 +-- .../c/errors/attributes/sentinel.c | 9 ++ .../c/errors/dangling_deref/dpd.c | 14 +-- .../c/errors/initialization/initlistexpr.c | 14 +-- .../codetoanalyze/c/errors/lists/lists.c | 15 +-- .../c/errors/local_vars/local_vars.c | 14 +-- .../c/errors/memory_leaks/test.c | 14 +-- .../c/errors/null_dereference/angelism.c | 14 +-- .../c/errors/null_dereference/getc.c | 115 +++++++++--------- .../null_pointer_dereference.c | 14 +-- .../c/errors/resource_leaks/leak.c | 14 +-- .../frontend/arithmetic/compound_assignment.c | 16 +-- .../c/frontend/arithmetic/int_const.c | 14 +-- .../c/frontend/arithmetic/plus_expr.c | 16 +-- .../c/frontend/arithmetic/unary.c | 26 ++-- .../c/frontend/booleans/bool_example.c | 14 +-- .../c/frontend/booleans/condition_as_param.c | 14 +-- .../c/frontend/c_prototype/prototype.c | 14 +-- .../codetoanalyze/c/frontend/comma/comma.c | 14 +-- .../conditional_operator/array_access.c | 14 +-- .../conditional_operator/assert_example.c | 14 +-- .../conditional_operator/binary_operator.c | 14 +-- .../c/frontend/conditional_operator/cond2.c | 16 +-- .../conditional_operator.c | 14 +-- .../conditional_operator/function_call.c | 14 +-- .../conditional_operator/if_short_circuit.c | 32 ++--- .../conditional_operator/int_negation.c | 14 +-- .../conditional_operator/member_access.c | 14 +-- .../conditional_operator/preincrement.c | 14 +-- .../conditional_operator/unary_operator.c | 14 +-- .../c/frontend/enumeration/enum.c | 14 +-- .../c/frontend/enumeration/enum_bitmask.c | 14 +-- .../c/frontend/enumeration/other_enum.c | 14 +-- .../c/frontend/gotostmt/goto_ex.c | 14 +-- .../initialization/array_initlistexpr.c | 14 +-- .../initialization/struct_initlistexpr.c | 14 +-- .../codetoanalyze/c/frontend/loops/do_while.c | 16 +-- .../loops/do_while_condition_side_effects.c | 16 +-- .../c/frontend/loops/do_while_nested.c | 16 +-- .../loops/for_condition_side_effects.c | 14 +-- .../c/frontend/loops/for_nested.c | 14 +-- .../c/frontend/loops/for_no_condition.c | 14 +-- .../c/frontend/loops/for_no_condition_incr.c | 14 +-- .../loops/for_no_condition_incr_body.c | 16 +-- .../c/frontend/loops/for_only_body.c | 14 +-- .../c/frontend/loops/for_simple.c | 14 +-- .../c/frontend/loops/for_while_nested.c | 14 +-- .../codetoanalyze/c/frontend/loops/while.c | 14 +-- .../loops/while_condition_side_effects.c | 14 +-- .../c/frontend/loops/while_nested.c | 14 +-- .../c/frontend/loops/while_no_body.c | 14 +-- .../loops/while_with_continue_and_break.c | 14 +-- .../nestedoperators/assign_in_condition.c | 14 +-- .../nestedoperators/assign_with_increment.c | 14 +-- .../c/frontend/nestedoperators/gnuexpr.c | 14 +-- .../nestedoperators/nestedassignment.c | 16 +-- .../c/frontend/nestedoperators/union.c | 28 ++--- infer/tests/codetoanalyze/c/frontend/struct.c | 9 ++ .../c/frontend/switchstmt/switch.c | 14 +-- .../codetoanalyze/c/frontend/types/struct.c | 9 ++ .../c/frontend/types/struct.c.dot | 6 +- .../cpp/errors/memory_leaks/object_leak.cpp | 14 +-- .../errors/npe/null_returned_by_method.cpp | 14 +-- .../cpp/errors/npe/object_deref.cpp | 14 +-- .../cpp/errors/npe/this_not_null.cpp | 14 +-- .../cpp/frontend/builtin/new.cpp | 14 +-- .../conditional/lvalue_conditional.cpp | 14 +-- .../constructors/constructor_default_arg.cpp | 14 +-- .../constructors/constructor_with_body.cpp | 14 +-- .../cpp/frontend/keywords/self_parameter.cpp | 14 +-- .../cpp/frontend/literals/nullptr.cpp | 14 +-- .../frontend/methods/default_parameters.cpp | 14 +-- .../cpp/frontend/methods/dereference_this.cpp | 14 +-- .../cpp/frontend/methods/inline_method.cpp | 14 +-- .../cpp/frontend/methods/overloading.cpp | 14 +-- .../cpp/frontend/methods/static.cpp | 14 +-- .../cpp/frontend/namespace/function.cpp | 14 +-- .../frontend/namespace/global_variable.cpp | 14 +-- .../cpp/frontend/namespace/namespace.cpp | 14 +-- .../nestedoperators/var_decl_inside_for.cpp | 14 +-- .../nestedoperators/var_decl_inside_if.cpp | 14 +-- .../var_decl_inside_switch.cpp | 14 +-- .../nestedoperators/var_decl_inside_while.cpp | 14 +-- .../cpp/frontend/reference/box.cpp | 14 +-- .../cpp/frontend/reference/increment.cpp | 14 +-- .../cpp/frontend/reference/init.cpp | 14 +-- .../cpp/frontend/reference/member_access.cpp | 14 +-- .../reference/member_access_from_return.cpp | 14 +-- .../frontend/reference/nested_assignment.cpp | 14 +-- .../reference/reference_struct_e2e.cpp | 14 +-- .../frontend/reference/reference_type_e2e.cpp | 14 +-- .../frontend/reference/temporary_lvalue.cpp | 14 +-- .../cpp/frontend/reference/unbox.cpp | 14 +-- .../templates/class_template_instantiate.cpp | 14 +-- .../cpp/frontend/templates/function.cpp | 14 +-- .../cpp/frontend/templates/method.cpp | 14 +-- .../cpp/frontend/templates/simple.cpp | 14 +-- .../cpp/frontend/types/casts.cpp | 14 +-- .../cpp/frontend/types/functions.cpp | 14 +-- .../cpp/frontend/types/inheritance.cpp | 14 +-- .../cpp/frontend/types/inheritance_field.cpp | 14 +-- .../cpp/frontend/types/operator_overload.cpp | 14 +-- .../cpp/frontend/types/struct.cpp | 9 ++ .../cpp/frontend/types/struct.cpp.dot | 10 +- .../java/checkers/ExpensiveCallExample.java | 14 +-- .../checkers/ExpensiveInheritanceExample.java | 14 +-- .../checkers/ExpensiveInterfaceExample.java | 14 +-- .../checkers/ExpensiveSubtypingExample.java | 14 +-- .../java/checkers/ImmutableCast.java | 14 +-- .../PerformanceCriticalSubtypingExample.java | 14 +-- .../java/checkers/PrintfArgsChecker.java | 14 +-- .../ActivityFieldNotInitialized.java | 14 +-- .../java/eradicate/FieldNotInitialized.java | 14 +-- .../java/eradicate/FieldNotNullable.java | 14 +-- .../InconsistentSubclassAnnotation.java | 14 +-- ...consistentSubclassAnnotationInterface.java | 14 +-- .../java/eradicate/LibraryCalls.java | 15 +-- .../eradicate/NoReuseUndefFunctionValues.java | 14 +-- .../java/eradicate/NullFieldAccess.java | 14 +-- .../java/eradicate/NullMethodCall.java | 15 ++- .../java/eradicate/ParameterNotNullable.java | 14 +-- .../java/eradicate/ReturnNotNullable.java | 14 +-- .../eradicate/SuppressWarningsExample.java | 14 +-- .../SuppressedFieldNotInitializedExample.java | 15 +-- .../codetoanalyze/java/errors/CursorNPEs.java | 14 +-- .../java/harness/BasicHarnessActivity.java | 14 +-- .../java/harness/CallbackActivity.java | 14 +-- .../java/harness/FindViewByIdActivity.java | 16 +-- .../codetoanalyze/java/harness/MyView.java | 14 +-- .../java/harness/SubclassActivity.java | 14 +-- .../java/harness/SuperclassActivity.java | 14 +-- .../java/harness/TrickyParamsActivity.java | 14 +-- .../changed_only_future/Child.java.v1 | 14 +-- .../changed_only_future/Child.java.v2 | 14 +-- .../changed_only_future/Parent.java.v1 | 14 +-- .../changed_only_future/Parent.java.v3 | 14 +-- .../incremental/changed_only_mode/Child.java | 14 +-- .../changed_only_mode/Child.java.v1 | 14 +-- .../changed_only_mode/Child.java.v2 | 14 +-- .../incremental/changed_only_mode/Parent.java | 14 +-- .../java/incremental/child_changed/Child.java | 14 +-- .../incremental/child_changed/Child.java.v1 | 14 +-- .../incremental/child_changed/Child.java.v2 | 14 +-- .../child_changed/Grandparent.java | 14 +-- .../incremental/child_changed/Parent.java | 14 +-- .../java/incremental/file_unchanged/File.java | 14 +-- .../incremental/parent_changed/Child.java | 14 +-- .../incremental/parent_changed/Parent.java.v1 | 14 +-- .../incremental/parent_changed/Parent.java.v2 | 14 +-- .../java/infer/AnalysisStops.java | 14 +-- .../java/infer/ArrayOutOfBounds.java | 14 +-- .../java/infer/AutoGenerated.java | 14 +-- .../codetoanalyze/java/infer/Builtins.java | 14 +-- .../java/infer/ClassCastExceptions.java | 14 +-- .../infer/CloseableAsResourceExample.java | 14 +-- .../java/infer/ContextLeaks.java | 14 +-- .../codetoanalyze/java/infer/CursorLeaks.java | 14 +-- .../java/infer/DivideByZero.java | 14 +-- .../java/infer/FilterInputStreamLeaks.java | 14 +-- .../java/infer/FilterOutputStreamLeaks.java | 14 +-- .../java/infer/HashMapExample.java | 14 +-- .../java/infer/IntegerExample.java | 14 +-- .../java/infer/JunitAssertion.java | 14 +-- .../java/infer/NeverNullSource.java | 14 +-- .../java/infer/NullPointerExceptions.java | 16 +-- .../codetoanalyze/java/infer/ReaderLeaks.java | 14 +-- .../java/infer/ResourceLeaks.java | 14 +-- .../java/infer/ReturnValueIgnored.java | 15 ++- .../java/infer/SkippedSourceFile.java | 14 +-- .../codetoanalyze/java/infer/SomeLibrary.java | 14 +-- infer/tests/codetoanalyze/java/infer/T.java | 14 +-- .../java/infer/TaintExample.java | 14 +-- .../tests/codetoanalyze/java/infer/Utils.java | 14 +-- .../codetoanalyze/java/infer/WriterLeaks.java | 14 +-- ...ArrayIndexOutOfBoundsExceptionExample.java | 14 +-- .../tracing/ClassCastExceptionExample.java | 14 +-- .../LocallyDefinedExceptionExample.java | 14 +-- .../tracing/NullPointerExceptionExample.java | 14 +-- .../java/tracing/ReportOnMainExample.java | 14 +-- infer/tests/codetoanalyze/java/tracing/T.java | 14 +-- .../tracing/UnavoidableExceptionExample.java | 14 +-- infer/tests/codetoanalyze/llvm/interproc.c | 14 +-- infer/tests/codetoanalyze/llvm/null_deref.c | 14 +-- .../errors/bad_ptr_comparisons/badpointer.m | 14 +-- .../errors/bad_ptr_comparisons/nsnumber.m | 14 +-- .../objc/errors/category_procdesc/EOCPerson.h | 14 +-- .../objc/errors/category_procdesc/EOCPerson.m | 14 +-- .../objc/errors/category_procdesc/main.c | 14 +-- .../objc/errors/field_superclass/A.h | 14 +-- .../objc/errors/field_superclass/B.h | 14 +-- .../objc/errors/field_superclass/B.m | 14 +-- .../errors/field_superclass/SuperExample.m | 14 +-- .../objc/errors/field_superclass/field.c | 14 +-- .../memory_leaks_benchmark/ArcExample.m | 14 +-- .../AutoreleaseExample.m | 14 +-- .../CADisplayLinkRetainCycle.m | 14 +-- .../MemoryLeakExample.h | 14 +-- .../MemoryLeakExample.m | 14 +-- .../NSMakeCollectableExample.m | 14 +-- .../NSStringInitWithBytesNoCopyExample.m | 14 +-- .../RetainCycleStaticVar.m | 14 +-- .../RetainReleaseExample.m | 14 +-- .../RetainReleaseExample2.m | 25 ++-- .../RetainReleaseExampleBucketing.m | 14 +-- .../TollBridgeExample.m | 14 +-- .../memory_leaks_benchmark/arc_methods.m | 18 +-- .../memory_leaks_benchmark/retain_cycle.m | 38 +++--- .../memory_leaks_benchmark/retain_cycle2.m | 23 ++-- .../codetoanalyze/objc/errors/npe/Fraction.m | 15 ++- .../objc/errors/npe/NPD_core_foundation.h | 14 +-- .../objc/errors/npe/NPD_core_foundation.m | 14 +-- .../errors/npe/Nonnull_attribute_example.m | 14 +-- .../objc/errors/npe/Npe_with_equal_names.m | 14 +-- .../objc/errors/npe/UpdateDict.m | 14 +-- .../codetoanalyze/objc/errors/npe/block.m | 40 +++--- .../objc/errors/npe/nil_in_array_literal.m | 14 +-- .../errors/npe/nil_in_dictionary_literal.m | 14 +-- .../codetoanalyze/objc/errors/npe/nil_param.m | 14 +-- .../objc/errors/npe/npe_malloc.m | 14 +-- .../codetoanalyze/objc/errors/npe/npe_self.m | 14 +-- .../objc/errors/npe/null_returned_by_method.m | 14 +-- .../codetoanalyze/objc/errors/npe/nullable.m | 14 +-- .../objc/errors/procdescs/MethodCall.h | 14 +-- .../objc/errors/procdescs/MethodCall.m | 14 +-- .../objc/errors/procdescs/main.c | 14 +-- .../objc/errors/property/ExplicitIvarName.m | 14 +-- .../objc/errors/property/IvarExample.h | 15 ++- .../codetoanalyze/objc/errors/property/main.c | 14 +-- .../objc/errors/protocol_procdesc/Bicycle.h | 14 +-- .../objc/errors/protocol_procdesc/Bicycle.m | 14 +-- .../errors/protocol_procdesc/StreetVehicle.h | 14 +-- .../objc/errors/protocol_procdesc/main.c | 14 +-- .../resource_leaks/ResourceLeakExample.m | 14 +-- .../objc/errors/returnstmt/return_npe_test.m | 16 +-- .../objc/errors/taint/viewController.m | 14 +-- .../premature_nil_termination.m | 14 +-- .../frontend/assertions/NSAssert_example.m | 14 +-- .../objc/frontend/block/BlockVar.h | 14 +-- .../objc/frontend/block/BlockVar.m | 15 ++- .../objc/frontend/block/block-it.dot | 88 +++++++------- .../objc/frontend/block/block-it.m | 21 ++-- .../codetoanalyze/objc/frontend/block/block.m | 31 +++-- .../objc/frontend/block/block_no_args.m | 14 +-- .../objc/frontend/block/block_release.m | 14 +-- .../objc/frontend/block/dispatch.m | 20 ++- .../objc/frontend/block/dispatch_examples.m | 14 +-- .../objc/frontend/block/retain_cycle.m | 26 ++-- .../objc/frontend/block/static.m | 26 ++-- .../objc/frontend/boxing/Boxing.h | 14 +-- .../objc/frontend/boxing/Boxing.m | 14 +-- .../objc/frontend/boxing/array.m | 14 +-- .../objc/frontend/boxing/array_literal.c | 14 +-- .../objc/frontend/boxing/dict_literal.c | 19 ++- .../objc/frontend/boxing/string_literal.c | 14 +-- .../ConditionalOperation.m | 14 +-- .../frontend/exceptions/ExceptionExample.m | 14 +-- .../fast_enumeration/Fast_enumeration.m | 14 +-- .../predefined_expr/PredefinedExprExample.m | 14 +-- .../objc/frontend/property/Car.h | 14 +-- .../objc/frontend/property/Car.m | 16 +-- .../frontend/property/PropertyAttributes.m | 14 +-- .../property/PropertyCustomAccessor.m | 14 +-- .../frontend/property/PropertyImplSetter.h | 14 +-- .../frontend/property/PropertyImplSetter.m | 14 +-- .../objc/frontend/property/Property_getter.m | 14 +-- .../objc/frontend/property/aclass.m | 14 +-- .../objc/frontend/property/main_car.m | 18 +-- .../property_in_protocol/MyProtocol.h | 14 +-- .../objc/frontend/property_in_protocol/Test.h | 18 +-- .../objc/frontend/property_in_protocol/Test.m | 14 +-- .../objc/frontend/protocol/protocol.m | 14 +-- .../objc/frontend/returnstmt/void_return.m | 14 +-- .../objc/frontend/self_static/Self.m | 14 +-- .../objc/frontend/self_static/static.m | 16 +-- .../frontend/strings/global_string_literal.m | 14 +-- .../objc/frontend/strings/string_literal.m | 14 +-- .../codetoanalyze/objc/frontend/subclass/A.h | 14 +-- .../codetoanalyze/objc/frontend/subclass/A.m | 14 +-- .../objc/frontend/subclass/MyClass.h | 14 +-- .../objc/frontend/subclass/MyClass.m | 14 +-- .../objc/frontend/subclass/MySubClass.h | 15 ++- .../objc/frontend/subclass/MySubClass.m | 16 +-- .../objc/frontend/subclass/main.c | 14 +-- .../objc/frontend/types/attributes.m | 20 +-- .../objc/frontend/types/testloop.m | 14 +-- .../objc/frontend/types/void_call.m | 30 ++--- .../objc/frontend/vardecl/aclass.m | 14 +-- .../objc/frontend/vardecl/aclass_2.m | 14 +-- .../objc/frontend/vardecl/initlist.m | 14 +-- .../objc/frontend/vardecl/last_af.m | 14 +-- .../warnings/ParameterNotNullableExample.m | 15 +-- .../codetoanalyze/objc/warnings/atomic_prop.m | 14 +-- .../objc/warnings/strong_delegate.m | 14 +-- .../frontend/funcoverloading/af_test.mm | 14 +-- infer/tests/endtoend/c/AngelismTest.java | 14 +-- .../endtoend/c/ArrayOutOfBoundsTest.java | 14 +-- infer/tests/endtoend/c/AssertTest.java | 14 +-- .../endtoend/c/AssertionFailureTest.java | 14 +-- .../endtoend/c/DanglingDereferenceTest.java | 28 +++-- infer/tests/endtoend/c/DivideByZeroTest.java | 14 +-- infer/tests/endtoend/c/EnumTest.java | 14 +-- infer/tests/endtoend/c/InitListExprTest.java | 14 +-- infer/tests/endtoend/c/ListsTest.java | 14 +-- infer/tests/endtoend/c/LocalVarsTest.java | 14 +-- infer/tests/endtoend/c/MemoryLeakTest.java | 14 +-- .../tests/endtoend/c/NullDereferenceTest.java | 14 +-- .../endtoend/c/NullDereferenceTest2.java | 14 +-- infer/tests/endtoend/c/ResourceLeakTest.java | 14 +-- infer/tests/endtoend/c/SentinelTest.java | 14 +-- .../tests/endtoend/cpp/ClassTemplateTest.java | 14 +-- .../endtoend/cpp/ConstructorWithBodyTest.java | 14 +-- .../endtoend/cpp/FunctionTemplateTest.java | 14 +-- .../endtoend/cpp/InheritanceFieldTest.java | 14 +-- .../endtoend/cpp/LValueConditionalTest.java | 14 +-- .../endtoend/cpp/MemoryLeakCppBucketTest.java | 14 +-- infer/tests/endtoend/cpp/MemoryLeakTest.java | 14 +-- .../endtoend/cpp/MethodTemplateTest.java | 14 +-- .../endtoend/cpp/NamespaceFunctionTest.java | 14 +-- .../cpp/NamespaceGlobalVariableTest.java | 14 +-- .../endtoend/cpp/NestedCPPOperatorsTest.java | 14 +-- .../cpp/NullReturnedByMethodTest.java | 14 +-- .../endtoend/cpp/ObjectDereferenceTest.java | 14 +-- .../endtoend/cpp/OperatorOverloadTest.java | 14 +-- .../endtoend/cpp/ReferenceStructTest.java | 14 +-- .../tests/endtoend/cpp/ReferenceTypeTest.java | 14 +-- .../tests/endtoend/cpp/StaticMethodTest.java | 14 +-- .../endtoend/cpp/TemporaryLValueTest.java | 14 +-- infer/tests/endtoend/cpp/ThisNotNullTest.java | 14 +-- .../java/checkers/ExpensiveCallTest.java | 14 +-- .../checkers/ExpensiveInheritanceTest.java | 14 +-- .../java/checkers/ExpensiveSubtypingTest.java | 14 +-- .../java/checkers/ImmutableCastTest.java | 14 +-- .../PerformanceCriticalSubtypingTest.java | 14 +-- .../java/checkers/PrintfArgsCheckerTest.java | 14 +-- .../ArrayIndexOutOfBoundsExceptionTest.java | 14 +-- .../comparison/ClassCastExceptionTest.java | 14 +-- .../comparison/NullPointerExceptionTest.java | 14 +-- .../ActivityFieldNotInitializedTest.java | 14 +-- .../eradicate/FieldNotInitializedTest.java | 14 +-- .../java/eradicate/FieldNotNullableTest.java | 14 +-- .../InconsistentSubclassAnnotationTest.java | 14 +-- .../java/eradicate/LibraryCallsTest.java | 14 +-- .../NoReuseUndefFunctionValuesTest.java | 14 +-- .../java/eradicate/NullFieldAccessTest.java | 14 +-- .../java/eradicate/NullMethodCallTest.java | 14 +-- .../eradicate/ParameterNotNullableTest.java | 14 +-- .../java/eradicate/ReturnNotNullableTest.java | 14 +-- .../java/eradicate/SuppressWarningsTest.java | 14 +-- .../SuppressedFieldNotInitializedTest.java | 14 +-- .../endtoend/java/harness/CallbackTest.java | 14 +-- .../java/harness/FindViewByIdTest.java | 14 +-- .../endtoend/java/harness/InhabitTest.java | 14 +-- .../endtoend/java/harness/LifecycleTest.java | 14 +-- .../endtoend/java/harness/SuperclassTest.java | 14 +-- .../java/incremental/ChangedOnlyFuture.java | 14 +-- .../java/incremental/ChangedOnlyModeTest.java | 14 +-- .../java/incremental/ChildChangedTest.java | 14 +-- .../java/incremental/FileUnchangedTest.java | 14 +-- .../java/incremental/ParentChangedTest.java | 14 +-- .../java/infer/AnalysisStopsTest.java | 14 +-- .../java/infer/ArrayOutOfBoundsTest.java | 14 +-- .../java/infer/AutoGeneratedTest.java | 14 +-- .../endtoend/java/infer/BuiltinsTest.java | 14 +-- .../java/infer/ClassCastExceptionsTest.java | 16 +-- .../java/infer/CloseableAsResourceTest.java | 14 +-- .../endtoend/java/infer/ContextLeaksTest.java | 14 +-- .../endtoend/java/infer/CursorLeaksTest.java | 14 +-- .../endtoend/java/infer/DivideByZeroTest.java | 14 +-- .../infer/FilterInputStreamLeaksTest.java | 16 +-- .../infer/FilterOutputStreamLeaksTest.java | 16 +-- .../endtoend/java/infer/HashMapModelTest.java | 14 +-- .../endtoend/java/infer/IntegerClassTest.java | 14 +-- .../java/infer/JunitAssertionTest.java | 14 +-- .../java/infer/NullPointerExceptionTest.java | 14 +-- .../endtoend/java/infer/ReaderLeaksTest.java | 16 +-- .../java/infer/ResourceLeaksTest.java | 14 +-- .../java/infer/ReturnValueIgnoredTest.java | 14 +-- .../tests/endtoend/java/infer/TaintTest.java | 14 +-- .../endtoend/java/infer/WriterLeaksTest.java | 14 +-- .../ArrayIndexOutOfBoundsExceptionTest.java | 14 +-- .../java/tracing/ClassCastExceptionTest.java | 14 +-- .../tracing/LocallyDefinedExceptionTest.java | 14 +-- .../tracing/NullPointerExceptionTest.java | 14 +-- .../java/tracing/ReportOnMainTest.java | 14 +-- .../tracing/UnavoidableExceptionTest.java | 14 +-- .../endtoend/objc/AtomicPropertyTest.java | 14 +-- .../tests/endtoend/objc/AutoreleaseTest.java | 14 +-- .../endtoend/objc/BlockDispatchTest.java | 14 +-- .../endtoend/objc/BlockDivideByZeroTest.java | 14 +-- .../objc/BlockGlobalVariableTest.java | 14 +-- .../tests/endtoend/objc/BlockReleaseTest.java | 14 +-- infer/tests/endtoend/objc/BlockVarTest.java | 14 +-- .../endtoend/objc/CADisplayLinkTest.java | 14 +-- .../endtoend/objc/CategoryProcdescTest.java | 14 +-- infer/tests/endtoend/objc/DispatchTest.java | 14 +-- .../objc/ExplicitIvarNameInGetterTest.java | 14 +-- .../endtoend/objc/FieldSuperclassTest.java | 14 +-- .../objc/MemoryLeakBucketingArcTest.java | 14 +-- .../objc/MemoryLeakBucketingTest.java | 14 +-- infer/tests/endtoend/objc/MemoryLeakTest.java | 14 +-- .../objc/MemoryLeaksFromModelsTest.java | 14 +-- .../objc/NPDCoreFoundationClassTest.java | 14 +-- .../endtoend/objc/NPEArrayLiteralTest.java | 14 +-- .../objc/NPEDictionaryLiteralTest.java | 14 +-- .../endtoend/objc/NPEEqualNamesTest.java | 14 +-- infer/tests/endtoend/objc/NPEMallocTest.java | 14 +-- infer/tests/endtoend/objc/NPESelfTest.java | 14 +-- infer/tests/endtoend/objc/NSAssertTest.java | 14 +-- .../endtoend/objc/NSMakeCollectableTest.java | 14 +-- infer/tests/endtoend/objc/NSNumber2Test.java | 14 +-- infer/tests/endtoend/objc/NSNumberTest.java | 14 +-- .../objc/NilParamDerefObjCClassTest.java | 14 +-- .../objc/NoMemoryLeakBlockIteratorTest.java | 14 +-- .../endtoend/objc/NonnullAttributeTest.java | 14 +-- .../endtoend/objc/NullDerefObjCBlockTest.java | 14 +-- .../endtoend/objc/NullDerefObjCClassTest.java | 14 +-- .../objc/NullReturnedByMethodTest.java | 14 +-- infer/tests/endtoend/objc/NullableTest.java | 14 +-- .../objc/ParameterNotNullableTest.java | 14 +-- .../objc/PrematureNilTerminationTest.java | 14 +-- infer/tests/endtoend/objc/ProcdescTest.java | 14 +-- .../endtoend/objc/PropertyMemoryLeakTest.java | 14 +-- infer/tests/endtoend/objc/PropertyTest.java | 14 +-- .../endtoend/objc/ProtocolProcdescTest.java | 14 +-- .../tests/endtoend/objc/ResourceLeakTest.java | 14 +-- .../tests/endtoend/objc/RetainCycle2Test.java | 14 +-- .../objc/RetainCycleStaticVarTest.java | 14 +-- .../tests/endtoend/objc/RetainCycleTest.java | 14 +-- .../endtoend/objc/RetainreleaseTest.java | 14 +-- infer/tests/endtoend/objc/ReturnTest.java | 14 +-- .../endtoend/objc/StrongDelegateTest.java | 14 +-- infer/tests/endtoend/objc/SuperTest.java | 14 +-- infer/tests/endtoend/objc/TaintTest.java | 14 +-- infer/tests/endtoend/objc/TollBridgeTest.java | 14 +-- .../endtoend/objc/UpdateDictNPETest.java | 14 +-- infer/tests/frontend/c/ArithmeticExpTest.java | 14 +-- infer/tests/frontend/c/BoolTest.java | 14 +-- infer/tests/frontend/c/CommaOperatorTest.java | 14 +-- .../frontend/c/ConditionalOperatorTest.java | 14 +-- infer/tests/frontend/c/EnumerationTest.java | 14 +-- infer/tests/frontend/c/GnuexprTest.java | 14 +-- .../frontend/c/GotoStmtLabelStmtTest.java | 14 +-- infer/tests/frontend/c/InitListExprTest.java | 14 +-- infer/tests/frontend/c/LoopsTest.java | 14 +-- .../tests/frontend/c/NestedOperatorsTest.java | 14 +-- infer/tests/frontend/c/PrototypeTest.java | 14 +-- infer/tests/frontend/c/SwitchStmtTest.java | 14 +-- infer/tests/frontend/c/TypesTest.java | 14 +-- infer/tests/frontend/cpp/CastsTest.java | 14 +-- infer/tests/frontend/cpp/ClassTest.java | 14 +-- infer/tests/frontend/cpp/ConditionalTest.java | 14 +-- .../tests/frontend/cpp/ConstructorsTest.java | 14 +-- infer/tests/frontend/cpp/FunctionsTest.java | 14 +-- infer/tests/frontend/cpp/InheritanceTest.java | 14 +-- infer/tests/frontend/cpp/LiteralsTest.java | 14 +-- infer/tests/frontend/cpp/MethodsTest.java | 14 +-- infer/tests/frontend/cpp/NamespaceTest.java | 14 +-- .../frontend/cpp/NestedCPPOperatorsTest.java | 14 +-- .../frontend/cpp/NestedOperatorsTest.java | 14 +-- infer/tests/frontend/cpp/NewTest.java | 14 +-- infer/tests/frontend/cpp/ReferenceTest.java | 16 +-- .../tests/frontend/cpp/SelfParameterTest.java | 14 +-- infer/tests/frontend/cpp/TemplatesTest.java | 14 +-- infer/tests/frontend/objc/ArcExampleTest.java | 15 ++- infer/tests/frontend/objc/BlockTest.java | 20 +-- infer/tests/frontend/objc/BoxingTest.java | 14 +-- infer/tests/frontend/objc/CategoryTest.java | 14 +-- .../objc/ConditionalOperatorTest.java | 14 +-- infer/tests/frontend/objc/ExceptionTest.java | 14 +-- .../frontend/objc/FastEnumerationTest.java | 14 +-- .../frontend/objc/LateDefinedVarDeclTest.java | 14 +-- infer/tests/frontend/objc/MallocTest.java | 14 +-- .../objc/MemoryLeakBenchmarkTest.java | 18 +-- infer/tests/frontend/objc/NSAssertTest.java | 14 +-- .../frontend/objc/NonnullAttributeTest.java | 14 +-- .../objc/PredefinedExpressionTest.java | 14 +-- infer/tests/frontend/objc/PropertyTest.java | 14 +-- infer/tests/frontend/objc/ProtocolTest.java | 14 +-- infer/tests/frontend/objc/ReturnTest.java | 14 +-- infer/tests/frontend/objc/StaticSelf.java | 14 +-- infer/tests/frontend/objc/StringTest.java | 14 +-- infer/tests/frontend/objc/SubclassTest.java | 14 +-- infer/tests/frontend/objc/TypesTest.java | 22 ++-- .../frontend/objcpp/FuncOverloadingTest.java | 14 +-- infer/tests/utils/ClangFrontendUtils.java | 14 +-- infer/tests/utils/InferError.java | 14 +-- infer/tests/utils/InferException.java | 14 +-- infer/tests/utils/InferResults.java | 14 +-- infer/tests/utils/InferRunner.java | 14 +-- infer/tests/utils/InferStats.java | 14 +-- infer/tests/utils/Language.java | 14 +-- infer/tests/utils/TestType.java | 14 +-- infer/tests/utils/matchers/DotFilesEqual.java | 14 +-- infer/tests/utils/matchers/ErrorPattern.java | 14 +-- .../utils/matchers/NumberOfFilesAnalyzed.java | 14 +-- .../matchers/NumberOfProceduresAnalyzed.java | 14 +-- .../matchers/ResultContainsErrorInMethod.java | 14 +-- .../ResultContainsErrorNoFilename.java | 14 +-- .../utils/matchers/ResultContainsExactly.java | 14 +-- .../matchers/ResultContainsLineNumbers.java | 14 +-- .../ResultContainsNoErrorInMethod.java | 14 +-- .../ResultContainsNumberOfErrorsInMethod.java | 14 +-- .../ResultContainsOnlyTheseErrors.java | 14 +-- .../matchers/ResultContainsTheseErrors.java | 14 +-- .../ResultContainsZeroErrorsInMethod.java | 14 +-- 750 files changed, 5532 insertions(+), 5393 deletions(-) diff --git a/examples/Hello.java b/examples/Hello.java index baf9fea69..fdb567e99 100644 --- a/examples/Hello.java +++ b/examples/Hello.java @@ -1,3 +1,12 @@ +/* + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ + class Hello { int test() { String s = null; diff --git a/examples/Hello.m b/examples/Hello.m index d443e8d49..3f8ff3614 100644 --- a/examples/Hello.m +++ b/examples/Hello.m @@ -1,3 +1,12 @@ +/* + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ + #import @interface Hello: NSObject diff --git a/examples/android_hello/app/src/androidTest/java/infer/inferandroidexample/ApplicationTest.java b/examples/android_hello/app/src/androidTest/java/infer/inferandroidexample/ApplicationTest.java index 498179e34..c0d440377 100644 --- a/examples/android_hello/app/src/androidTest/java/infer/inferandroidexample/ApplicationTest.java +++ b/examples/android_hello/app/src/androidTest/java/infer/inferandroidexample/ApplicationTest.java @@ -1,3 +1,12 @@ +/* + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ + package infer.inferandroidexample; import android.app.Application; diff --git a/examples/android_hello/app/src/main/java/infer/inferandroidexample/Generated.java b/examples/android_hello/app/src/main/java/infer/inferandroidexample/Generated.java index 3bce0d8ab..170b854d8 100644 --- a/examples/android_hello/app/src/main/java/infer/inferandroidexample/Generated.java +++ b/examples/android_hello/app/src/main/java/infer/inferandroidexample/Generated.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ // _SHOULD_BE_SKIPPED_ diff --git a/examples/android_hello/app/src/main/java/infer/inferandroidexample/MainActivity.java b/examples/android_hello/app/src/main/java/infer/inferandroidexample/MainActivity.java index ac4b6e81a..3129c7988 100644 --- a/examples/android_hello/app/src/main/java/infer/inferandroidexample/MainActivity.java +++ b/examples/android_hello/app/src/main/java/infer/inferandroidexample/MainActivity.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package infer.inferandroidexample; diff --git a/examples/c_hello/example.c b/examples/c_hello/example.c index 016ceb7ab..57abab965 100644 --- a/examples/c_hello/example.c +++ b/examples/c_hello/example.c @@ -1,3 +1,12 @@ +/* + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ + #include #include #include diff --git a/examples/hello.c b/examples/hello.c index c681ea287..3aa9469f4 100644 --- a/examples/hello.c +++ b/examples/hello.c @@ -1,6 +1,9 @@ -#include +/* + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ -void test() { - int *s = NULL; - *s = 42; -} diff --git a/examples/ios_hello/HelloWorldApp/AppDelegate.h b/examples/ios_hello/HelloWorldApp/AppDelegate.h index ea98a9e43..2ceae3191 100644 --- a/examples/ios_hello/HelloWorldApp/AppDelegate.h +++ b/examples/ios_hello/HelloWorldApp/AppDelegate.h @@ -1,3 +1,12 @@ +/* + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ + // // AppDelegate.h // HelloWorldApp diff --git a/examples/ios_hello/HelloWorldApp/AppDelegate.m b/examples/ios_hello/HelloWorldApp/AppDelegate.m index 928648b19..d98681844 100644 --- a/examples/ios_hello/HelloWorldApp/AppDelegate.m +++ b/examples/ios_hello/HelloWorldApp/AppDelegate.m @@ -1,3 +1,12 @@ +/* + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ + // // AppDelegate.m // HelloWorldApp diff --git a/examples/ios_hello/HelloWorldApp/Hello.h b/examples/ios_hello/HelloWorldApp/Hello.h index 4cd44d1f9..09b028e90 100644 --- a/examples/ios_hello/HelloWorldApp/Hello.h +++ b/examples/ios_hello/HelloWorldApp/Hello.h @@ -1,3 +1,12 @@ +/* + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ + // // Hello.h // HelloWorldApp @@ -18,4 +27,4 @@ -(NSString*) parameter_not_null_checked_bug:(Hello*) hello; -@end \ No newline at end of file +@end diff --git a/examples/ios_hello/HelloWorldApp/Hello.m b/examples/ios_hello/HelloWorldApp/Hello.m index 5cb640358..ef4f99ca3 100644 --- a/examples/ios_hello/HelloWorldApp/Hello.m +++ b/examples/ios_hello/HelloWorldApp/Hello.m @@ -1,3 +1,12 @@ +/* + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ + // // Hello.m // HelloWorldApp diff --git a/examples/ios_hello/HelloWorldApp/ViewController.h b/examples/ios_hello/HelloWorldApp/ViewController.h index 304addab1..e7d83ca3f 100644 --- a/examples/ios_hello/HelloWorldApp/ViewController.h +++ b/examples/ios_hello/HelloWorldApp/ViewController.h @@ -1,3 +1,12 @@ +/* + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ + // // ViewController.h // HelloWorldApp diff --git a/examples/ios_hello/HelloWorldApp/ViewController.m b/examples/ios_hello/HelloWorldApp/ViewController.m index 6370a7a15..efbb6b1da 100644 --- a/examples/ios_hello/HelloWorldApp/ViewController.m +++ b/examples/ios_hello/HelloWorldApp/ViewController.m @@ -1,3 +1,12 @@ +/* + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ + // // ViewController.m // HelloWorldApp diff --git a/examples/ios_hello/HelloWorldApp/main.m b/examples/ios_hello/HelloWorldApp/main.m index c8dbb4122..e8f601160 100644 --- a/examples/ios_hello/HelloWorldApp/main.m +++ b/examples/ios_hello/HelloWorldApp/main.m @@ -1,3 +1,12 @@ +/* + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ + // // main.m // HelloWorldApp diff --git a/examples/ios_hello/HelloWorldAppTests/HelloWorldAppTests.m b/examples/ios_hello/HelloWorldAppTests/HelloWorldAppTests.m index 801d1d932..3faa8a275 100644 --- a/examples/ios_hello/HelloWorldAppTests/HelloWorldAppTests.m +++ b/examples/ios_hello/HelloWorldAppTests/HelloWorldAppTests.m @@ -1,3 +1,12 @@ +/* + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ + // // HelloWorldAppTests.m // HelloWorldAppTests diff --git a/examples/java_hello/Hello.java b/examples/java_hello/Hello.java index 62803ae64..babde3b6c 100644 --- a/examples/java_hello/Hello.java +++ b/examples/java_hello/Hello.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package hello; diff --git a/examples/java_hello/Pointers.java b/examples/java_hello/Pointers.java index 2ea1ff605..3d8efa90a 100644 --- a/examples/java_hello/Pointers.java +++ b/examples/java_hello/Pointers.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package hello; diff --git a/examples/java_hello/Resources.java b/examples/java_hello/Resources.java index 10316fbd4..c5f0b5234 100644 --- a/examples/java_hello/Resources.java +++ b/examples/java_hello/Resources.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package hello; diff --git a/infer/annotations/com/facebook/infer/annotation/Assertions.java b/infer/annotations/com/facebook/infer/annotation/Assertions.java index 43b2e4468..6b91a1d65 100644 --- a/infer/annotations/com/facebook/infer/annotation/Assertions.java +++ b/infer/annotations/com/facebook/infer/annotation/Assertions.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2004 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2004 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package com.facebook.infer.annotation; diff --git a/infer/annotations/com/facebook/infer/annotation/Expensive.java b/infer/annotations/com/facebook/infer/annotation/Expensive.java index 6c56ded37..6d9994f74 100644 --- a/infer/annotations/com/facebook/infer/annotation/Expensive.java +++ b/infer/annotations/com/facebook/infer/annotation/Expensive.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package com.facebook.infer.annotation; diff --git a/infer/annotations/com/facebook/infer/annotation/FalseOnNull.java b/infer/annotations/com/facebook/infer/annotation/FalseOnNull.java index 668788c81..f8b77cc1e 100644 --- a/infer/annotations/com/facebook/infer/annotation/FalseOnNull.java +++ b/infer/annotations/com/facebook/infer/annotation/FalseOnNull.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package com.facebook.infer.annotation; diff --git a/infer/annotations/com/facebook/infer/annotation/Initializer.java b/infer/annotations/com/facebook/infer/annotation/Initializer.java index ef8da2e36..e4c004797 100644 --- a/infer/annotations/com/facebook/infer/annotation/Initializer.java +++ b/infer/annotations/com/facebook/infer/annotation/Initializer.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2004 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2004 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package com.facebook.infer.annotation; diff --git a/infer/annotations/com/facebook/infer/annotation/Mutable.java b/infer/annotations/com/facebook/infer/annotation/Mutable.java index 2d49ee233..d19fab4c6 100644 --- a/infer/annotations/com/facebook/infer/annotation/Mutable.java +++ b/infer/annotations/com/facebook/infer/annotation/Mutable.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2004 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2004 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package com.facebook.infer.annotation; diff --git a/infer/annotations/com/facebook/infer/annotation/PerformanceCritical.java b/infer/annotations/com/facebook/infer/annotation/PerformanceCritical.java index 6206fd1e1..659f463f9 100644 --- a/infer/annotations/com/facebook/infer/annotation/PerformanceCritical.java +++ b/infer/annotations/com/facebook/infer/annotation/PerformanceCritical.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package com.facebook.infer.annotation; diff --git a/infer/annotations/com/facebook/infer/annotation/Present.java b/infer/annotations/com/facebook/infer/annotation/Present.java index c2e9ce852..f33e679d1 100644 --- a/infer/annotations/com/facebook/infer/annotation/Present.java +++ b/infer/annotations/com/facebook/infer/annotation/Present.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2004 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2004 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package com.facebook.infer.annotation; diff --git a/infer/annotations/com/facebook/infer/annotation/Strict.java b/infer/annotations/com/facebook/infer/annotation/Strict.java index 3f0a9230f..1b5116174 100644 --- a/infer/annotations/com/facebook/infer/annotation/Strict.java +++ b/infer/annotations/com/facebook/infer/annotation/Strict.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2004 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2004 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package com.facebook.infer.annotation; diff --git a/infer/annotations/com/facebook/infer/annotation/SuppressFieldNotInitialized.java b/infer/annotations/com/facebook/infer/annotation/SuppressFieldNotInitialized.java index 7531dd128..383fa20e8 100644 --- a/infer/annotations/com/facebook/infer/annotation/SuppressFieldNotInitialized.java +++ b/infer/annotations/com/facebook/infer/annotation/SuppressFieldNotInitialized.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2004 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2004 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package com.facebook.infer.annotation; diff --git a/infer/annotations/com/facebook/infer/annotation/SuppressFieldNotNullable.java b/infer/annotations/com/facebook/infer/annotation/SuppressFieldNotNullable.java index f46ef4542..0402f91dd 100644 --- a/infer/annotations/com/facebook/infer/annotation/SuppressFieldNotNullable.java +++ b/infer/annotations/com/facebook/infer/annotation/SuppressFieldNotNullable.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2004 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2004 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package com.facebook.infer.annotation; diff --git a/infer/annotations/com/facebook/infer/annotation/SuppressNullFieldAccess.java b/infer/annotations/com/facebook/infer/annotation/SuppressNullFieldAccess.java index 7c9e653f3..1e7002774 100644 --- a/infer/annotations/com/facebook/infer/annotation/SuppressNullFieldAccess.java +++ b/infer/annotations/com/facebook/infer/annotation/SuppressNullFieldAccess.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2004 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2004 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package com.facebook.infer.annotation; diff --git a/infer/annotations/com/facebook/infer/annotation/SuppressNullMethodCall.java b/infer/annotations/com/facebook/infer/annotation/SuppressNullMethodCall.java index 8b6631c2d..68f348ddd 100644 --- a/infer/annotations/com/facebook/infer/annotation/SuppressNullMethodCall.java +++ b/infer/annotations/com/facebook/infer/annotation/SuppressNullMethodCall.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2004 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2004 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package com.facebook.infer.annotation; diff --git a/infer/annotations/com/facebook/infer/annotation/SuppressParameterNotNullable.java b/infer/annotations/com/facebook/infer/annotation/SuppressParameterNotNullable.java index b6ef21454..b0bfb207a 100644 --- a/infer/annotations/com/facebook/infer/annotation/SuppressParameterNotNullable.java +++ b/infer/annotations/com/facebook/infer/annotation/SuppressParameterNotNullable.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2004 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2004 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package com.facebook.infer.annotation; diff --git a/infer/annotations/com/facebook/infer/annotation/SuppressReturnOverAnnotated.java b/infer/annotations/com/facebook/infer/annotation/SuppressReturnOverAnnotated.java index 0b7d894e9..714097858 100644 --- a/infer/annotations/com/facebook/infer/annotation/SuppressReturnOverAnnotated.java +++ b/infer/annotations/com/facebook/infer/annotation/SuppressReturnOverAnnotated.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2004 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2004 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package com.facebook.infer.annotation; diff --git a/infer/annotations/com/facebook/infer/annotation/TrueOnNull.java b/infer/annotations/com/facebook/infer/annotation/TrueOnNull.java index 5ed7e0ddf..34f91e0da 100644 --- a/infer/annotations/com/facebook/infer/annotation/TrueOnNull.java +++ b/infer/annotations/com/facebook/infer/annotation/TrueOnNull.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package com.facebook.infer.annotation; diff --git a/infer/annotations/com/facebook/infer/annotation/Verify.java b/infer/annotations/com/facebook/infer/annotation/Verify.java index 4fca600f5..71c412243 100644 --- a/infer/annotations/com/facebook/infer/annotation/Verify.java +++ b/infer/annotations/com/facebook/infer/annotation/Verify.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2004 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2004 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package com.facebook.infer.annotation; diff --git a/infer/annotations/com/facebook/infer/annotprocess/AnnotationProcessor.java b/infer/annotations/com/facebook/infer/annotprocess/AnnotationProcessor.java index 32584a988..acde0c68c 100644 --- a/infer/annotations/com/facebook/infer/annotprocess/AnnotationProcessor.java +++ b/infer/annotations/com/facebook/infer/annotprocess/AnnotationProcessor.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package com.facebook.infer.annotprocess; diff --git a/infer/models/c/src/glib.c b/infer/models/c/src/glib.c index 1dda3ecd6..2cf2b2a2c 100644 --- a/infer/models/c/src/glib.c +++ b/infer/models/c/src/glib.c @@ -1,12 +1,12 @@ /* -* Copyright (c) 2009 - 2013 Monoidics ltd. -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2009 - 2013 Monoidics ltd. + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ // Basic modelling of some glib functions diff --git a/infer/models/c/src/infer_builtins.c b/infer/models/c/src/infer_builtins.c index 47d6759f6..9db241772 100644 --- a/infer/models/c/src/infer_builtins.c +++ b/infer/models/c/src/infer_builtins.c @@ -1,12 +1,12 @@ /* -* Copyright (c) 2009 - 2013 Monoidics ltd. -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2009 - 2013 Monoidics ltd. + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ // builtins to be used to model library functions diff --git a/infer/models/c/src/infer_builtins.h b/infer/models/c/src/infer_builtins.h index 50dda5744..aa8e9f0ce 100644 --- a/infer/models/c/src/infer_builtins.h +++ b/infer/models/c/src/infer_builtins.h @@ -1,12 +1,12 @@ /* -* Copyright (c) 2009 - 2013 Monoidics ltd. -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2009 - 2013 Monoidics ltd. + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ // builtins to be used to model library functions diff --git a/infer/models/c/src/libc_basic.c b/infer/models/c/src/libc_basic.c index f2c96afcd..30e32bbcc 100644 --- a/infer/models/c/src/libc_basic.c +++ b/infer/models/c/src/libc_basic.c @@ -1,12 +1,12 @@ /* -* Copyright (c) 2009 - 2013 Monoidics ltd. -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2009 - 2013 Monoidics ltd. + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ // Basic modelling of some libc functions @@ -677,7 +677,7 @@ char *fgets( char *str, int num, FILE *stream ) { int n; int size1; FILE tmp; - + tmp = *stream; n = __infer_nondet_int(); @@ -739,7 +739,7 @@ int ungetc(int c, FILE *stream) { int n; FILE tmp; tmp = *stream; - + n = __infer_nondet_int(); if (n) return c; else return EOF; @@ -1234,7 +1234,7 @@ int vfprintf(FILE *stream, const char *format, va_list arg) { int res; FILE tmp; - + tmp= *stream; res = __infer_nondet_int(); INFER_EXCLUDE_CONDITION(res < 0); @@ -1415,7 +1415,7 @@ long random(void) { int putc(int c, FILE *stream){ int rand; FILE tmp; - + tmp = *stream; rand = __infer_nondet_int(); if (rand > 0) @@ -1702,7 +1702,7 @@ void clearerr(FILE *stream) { // return a nondeterministic value // stream required to be allocated int ferror(FILE *stream) { - + FILE tmp; tmp = *stream; return __infer_nondet_int(); @@ -1711,7 +1711,7 @@ int ferror(FILE *stream) { // return a nondeterministic value // stream required to be allocated int feof(FILE *stream) { - + FILE tmp; tmp = *stream; return __infer_nondet_int(); @@ -1720,7 +1720,7 @@ int feof(FILE *stream) { // write to *pos and return either 0 or -1 // stream is required to be allocated int fgetpos(FILE *__restrict stream, fpos_t *__restrict pos) { - + int success; FILE tmp; tmp = *stream; @@ -1737,7 +1737,7 @@ int fgetpos(FILE *__restrict stream, fpos_t *__restrict pos) { // read from *pos and return either 0 or -1 // stream is required to be allocated int fsetpos(FILE *stream, const fpos_t *pos) { - + int success; FILE tmp; tmp = *stream; diff --git a/infer/models/c/src/math.c b/infer/models/c/src/math.c index 34e3254ae..fb0a6894d 100644 --- a/infer/models/c/src/math.c +++ b/infer/models/c/src/math.c @@ -1,12 +1,12 @@ /* -* Copyright (c) 2009 - 2013 Monoidics ltd. -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2009 - 2013 Monoidics ltd. + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ // modelling of math functions diff --git a/infer/models/c/src/wchar.c b/infer/models/c/src/wchar.c index 35d4cfffa..8711898f7 100644 --- a/infer/models/c/src/wchar.c +++ b/infer/models/c/src/wchar.c @@ -1,12 +1,12 @@ /* -* Copyright (c) 2009 - 2013 Monoidics ltd. -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2009 - 2013 Monoidics ltd. + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ // modelling of wide character functions diff --git a/infer/models/c/src/wctype.c b/infer/models/c/src/wctype.c index 6b2253fa3..57c9b42de 100644 --- a/infer/models/c/src/wctype.c +++ b/infer/models/c/src/wctype.c @@ -1,12 +1,12 @@ /* -* Copyright (c) 2009 - 2013 Monoidics ltd. -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2009 - 2013 Monoidics ltd. + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ // modelling of wctype functions diff --git a/infer/models/c/src/xlib.c b/infer/models/c/src/xlib.c index 43e6cf755..3b8753e75 100644 --- a/infer/models/c/src/xlib.c +++ b/infer/models/c/src/xlib.c @@ -1,12 +1,12 @@ /* -* Copyright (c) 2009 - 2013 Monoidics ltd. -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2009 - 2013 Monoidics ltd. + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ // Basic modelling of some xlib functions diff --git a/infer/models/cpp/src/shared_ptr.cpp b/infer/models/cpp/src/shared_ptr.cpp index a4e0563b0..44010b401 100644 --- a/infer/models/cpp/src/shared_ptr.cpp +++ b/infer/models/cpp/src/shared_ptr.cpp @@ -1,12 +1,12 @@ /* -* Copyright (c) 2009 - 2013 Monoidics ltd. -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2009 - 2013 Monoidics ltd. + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ // models for shared_ptr diff --git a/infer/models/java/src/android/app/Activity.java b/infer/models/java/src/android/app/Activity.java index dc8cc7075..658454f66 100644 --- a/infer/models/java/src/android/app/Activity.java +++ b/infer/models/java/src/android/app/Activity.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package android.app; diff --git a/infer/models/java/src/android/app/DownloadManager.java b/infer/models/java/src/android/app/DownloadManager.java index e10554501..3c0e87f5f 100644 --- a/infer/models/java/src/android/app/DownloadManager.java +++ b/infer/models/java/src/android/app/DownloadManager.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package android.app; diff --git a/infer/models/java/src/android/content/ContentProviderClient.java b/infer/models/java/src/android/content/ContentProviderClient.java index 5fec08443..cae78885c 100644 --- a/infer/models/java/src/android/content/ContentProviderClient.java +++ b/infer/models/java/src/android/content/ContentProviderClient.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package android.content; diff --git a/infer/models/java/src/android/content/ContentResolver.java b/infer/models/java/src/android/content/ContentResolver.java index 0a83167bd..ba646fe49 100644 --- a/infer/models/java/src/android/content/ContentResolver.java +++ b/infer/models/java/src/android/content/ContentResolver.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package android.content; diff --git a/infer/models/java/src/android/content/ContentValues.java b/infer/models/java/src/android/content/ContentValues.java index b94f38c9d..7b2b7c06c 100644 --- a/infer/models/java/src/android/content/ContentValues.java +++ b/infer/models/java/src/android/content/ContentValues.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package android.content; diff --git a/infer/models/java/src/android/content/Context.java b/infer/models/java/src/android/content/Context.java index 98ec9e77a..7c5f0aa0f 100644 --- a/infer/models/java/src/android/content/Context.java +++ b/infer/models/java/src/android/content/Context.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package android.content; diff --git a/infer/models/java/src/android/content/IContentProvider.java b/infer/models/java/src/android/content/IContentProvider.java index 27083a225..6e3030d5e 100644 --- a/infer/models/java/src/android/content/IContentProvider.java +++ b/infer/models/java/src/android/content/IContentProvider.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package android.content; diff --git a/infer/models/java/src/android/content/IContentService.java b/infer/models/java/src/android/content/IContentService.java index fcbe717cf..30d847ef1 100644 --- a/infer/models/java/src/android/content/IContentService.java +++ b/infer/models/java/src/android/content/IContentService.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package android.content; diff --git a/infer/models/java/src/android/content/res/Resources.java b/infer/models/java/src/android/content/res/Resources.java index 22e170523..fa33aa9d3 100644 --- a/infer/models/java/src/android/content/res/Resources.java +++ b/infer/models/java/src/android/content/res/Resources.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package android.content.res; diff --git a/infer/models/java/src/android/content/res/TypedArray.java b/infer/models/java/src/android/content/res/TypedArray.java index e3e70b426..430c5cd6a 100644 --- a/infer/models/java/src/android/content/res/TypedArray.java +++ b/infer/models/java/src/android/content/res/TypedArray.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package android.content.res; diff --git a/infer/models/java/src/android/database/AbstractCursor.java b/infer/models/java/src/android/database/AbstractCursor.java index a0af2620d..045bad488 100644 --- a/infer/models/java/src/android/database/AbstractCursor.java +++ b/infer/models/java/src/android/database/AbstractCursor.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package android.database; diff --git a/infer/models/java/src/android/database/CrossProcessCursor.java b/infer/models/java/src/android/database/CrossProcessCursor.java index ca9007796..98e47586a 100644 --- a/infer/models/java/src/android/database/CrossProcessCursor.java +++ b/infer/models/java/src/android/database/CrossProcessCursor.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package android.database; diff --git a/infer/models/java/src/android/database/CrossProcessCursorWrapper.java b/infer/models/java/src/android/database/CrossProcessCursorWrapper.java index b6c9b4212..5df682aeb 100644 --- a/infer/models/java/src/android/database/CrossProcessCursorWrapper.java +++ b/infer/models/java/src/android/database/CrossProcessCursorWrapper.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package android.database; diff --git a/infer/models/java/src/android/database/Cursor.java b/infer/models/java/src/android/database/Cursor.java index be2269d20..487b62f03 100644 --- a/infer/models/java/src/android/database/Cursor.java +++ b/infer/models/java/src/android/database/Cursor.java @@ -1,12 +1,12 @@ /* -* Copyright (c) 2009 - 2013 Monoidics ltd. -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2009 - 2013 Monoidics ltd. + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package android.database; diff --git a/infer/models/java/src/android/database/CursorWrapper.java b/infer/models/java/src/android/database/CursorWrapper.java index 92fd49b41..fc3ff218f 100644 --- a/infer/models/java/src/android/database/CursorWrapper.java +++ b/infer/models/java/src/android/database/CursorWrapper.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package android.database; diff --git a/infer/models/java/src/android/database/sqlite/SQLiteConnectionPool.java b/infer/models/java/src/android/database/sqlite/SQLiteConnectionPool.java index ba26d989b..f451b0faa 100644 --- a/infer/models/java/src/android/database/sqlite/SQLiteConnectionPool.java +++ b/infer/models/java/src/android/database/sqlite/SQLiteConnectionPool.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package android.database.sqlite; diff --git a/infer/models/java/src/android/database/sqlite/SQLiteCursor.java b/infer/models/java/src/android/database/sqlite/SQLiteCursor.java index 0a30ea020..d69312999 100644 --- a/infer/models/java/src/android/database/sqlite/SQLiteCursor.java +++ b/infer/models/java/src/android/database/sqlite/SQLiteCursor.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package android.database.sqlite; diff --git a/infer/models/java/src/android/database/sqlite/SQLiteDatabase.java b/infer/models/java/src/android/database/sqlite/SQLiteDatabase.java index 58203634d..49f8c2d5f 100644 --- a/infer/models/java/src/android/database/sqlite/SQLiteDatabase.java +++ b/infer/models/java/src/android/database/sqlite/SQLiteDatabase.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package android.database.sqlite; @@ -96,4 +96,3 @@ public final class SQLiteDatabase { SQLiteQuery query); } } - diff --git a/infer/models/java/src/android/database/sqlite/SQLiteDatabaseConfiguration.java b/infer/models/java/src/android/database/sqlite/SQLiteDatabaseConfiguration.java index f4cb47232..f0091b7cf 100644 --- a/infer/models/java/src/android/database/sqlite/SQLiteDatabaseConfiguration.java +++ b/infer/models/java/src/android/database/sqlite/SQLiteDatabaseConfiguration.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package android.database.sqlite; diff --git a/infer/models/java/src/android/database/sqlite/SQLiteQueryBuilder.java b/infer/models/java/src/android/database/sqlite/SQLiteQueryBuilder.java index 2a6f1dd4a..eece0080e 100644 --- a/infer/models/java/src/android/database/sqlite/SQLiteQueryBuilder.java +++ b/infer/models/java/src/android/database/sqlite/SQLiteQueryBuilder.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package android.database.sqlite; diff --git a/infer/models/java/src/android/os/Handler.java b/infer/models/java/src/android/os/Handler.java index 93149c163..928e13537 100644 --- a/infer/models/java/src/android/os/Handler.java +++ b/infer/models/java/src/android/os/Handler.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package android.os; diff --git a/infer/models/java/src/android/provider/MediaStore.java b/infer/models/java/src/android/provider/MediaStore.java index 846ab84da..6f1bd9820 100644 --- a/infer/models/java/src/android/provider/MediaStore.java +++ b/infer/models/java/src/android/provider/MediaStore.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package android.provider; diff --git a/infer/models/java/src/com/facebook/infer/models/InferArray.java b/infer/models/java/src/com/facebook/infer/models/InferArray.java index 8250a34d3..97723c045 100644 --- a/infer/models/java/src/com/facebook/infer/models/InferArray.java +++ b/infer/models/java/src/com/facebook/infer/models/InferArray.java @@ -1,12 +1,12 @@ /* -* Copyright (c) 2009 - 2013 Monoidics ltd. -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2009 - 2013 Monoidics ltd. + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package com.facebook.infer.models; diff --git a/infer/models/java/src/com/facebook/infer/models/InferBuiltins.java b/infer/models/java/src/com/facebook/infer/models/InferBuiltins.java index cd1b4d925..f084bd78c 100644 --- a/infer/models/java/src/com/facebook/infer/models/InferBuiltins.java +++ b/infer/models/java/src/com/facebook/infer/models/InferBuiltins.java @@ -1,12 +1,12 @@ /* -* Copyright (c) 2009 - 2013 Monoidics ltd. -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2009 - 2013 Monoidics ltd. + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package com.facebook.infer.models; diff --git a/infer/models/java/src/com/facebook/infer/models/InferCloseables.java b/infer/models/java/src/com/facebook/infer/models/InferCloseables.java index 6f21410b4..a9c6abc1a 100644 --- a/infer/models/java/src/com/facebook/infer/models/InferCloseables.java +++ b/infer/models/java/src/com/facebook/infer/models/InferCloseables.java @@ -1,12 +1,12 @@ /* -* Copyright (c) 2009 - 2013 Monoidics ltd. -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2009 - 2013 Monoidics ltd. + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package com.facebook.infer.models; diff --git a/infer/models/java/src/com/facebook/infer/models/InferTaint.java b/infer/models/java/src/com/facebook/infer/models/InferTaint.java index 3495ffb78..420ee4b32 100644 --- a/infer/models/java/src/com/facebook/infer/models/InferTaint.java +++ b/infer/models/java/src/com/facebook/infer/models/InferTaint.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package com.facebook.infer.models; diff --git a/infer/models/java/src/com/facebook/infer/models/InferUndefined.java b/infer/models/java/src/com/facebook/infer/models/InferUndefined.java index 64dd8bc1f..9d4dcf3d3 100644 --- a/infer/models/java/src/com/facebook/infer/models/InferUndefined.java +++ b/infer/models/java/src/com/facebook/infer/models/InferUndefined.java @@ -1,12 +1,12 @@ /* -* Copyright (c) 2009 - 2013 Monoidics ltd. -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2009 - 2013 Monoidics ltd. + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package com.facebook.infer.models; diff --git a/infer/models/java/src/com/facebook/infer/models/InferUtils.java b/infer/models/java/src/com/facebook/infer/models/InferUtils.java index e03d1aae8..c8195ad84 100644 --- a/infer/models/java/src/com/facebook/infer/models/InferUtils.java +++ b/infer/models/java/src/com/facebook/infer/models/InferUtils.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package com.facebook.infer.models; diff --git a/infer/models/java/src/com/fasterxml/jackson/core/JsonFactory.java b/infer/models/java/src/com/fasterxml/jackson/core/JsonFactory.java index 195a4b423..a4c4893de 100644 --- a/infer/models/java/src/com/fasterxml/jackson/core/JsonFactory.java +++ b/infer/models/java/src/com/fasterxml/jackson/core/JsonFactory.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package com.fasterxml.jackson.core; diff --git a/infer/models/java/src/com/fasterxml/jackson/core/JsonParser.java b/infer/models/java/src/com/fasterxml/jackson/core/JsonParser.java index 537378600..541bab09b 100644 --- a/infer/models/java/src/com/fasterxml/jackson/core/JsonParser.java +++ b/infer/models/java/src/com/fasterxml/jackson/core/JsonParser.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package com.fasterxml.jackson.core; diff --git a/infer/models/java/src/com/fasterxml/jackson/core/json/UTF8StreamJsonParser.java b/infer/models/java/src/com/fasterxml/jackson/core/json/UTF8StreamJsonParser.java index ea59aa433..a1e733bcb 100644 --- a/infer/models/java/src/com/fasterxml/jackson/core/json/UTF8StreamJsonParser.java +++ b/infer/models/java/src/com/fasterxml/jackson/core/json/UTF8StreamJsonParser.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package com.fasterxml.jackson.core.json; diff --git a/infer/models/java/src/com/google/common/base/Preconditions.java b/infer/models/java/src/com/google/common/base/Preconditions.java index fc5c5be8a..381f302fb 100644 --- a/infer/models/java/src/com/google/common/base/Preconditions.java +++ b/infer/models/java/src/com/google/common/base/Preconditions.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package com.google.common.base; diff --git a/infer/models/java/src/com/google/common/collect/Iterators.java b/infer/models/java/src/com/google/common/collect/Iterators.java index 3a7be3b34..9aed83b0a 100644 --- a/infer/models/java/src/com/google/common/collect/Iterators.java +++ b/infer/models/java/src/com/google/common/collect/Iterators.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package com.google.common.collect; diff --git a/infer/models/java/src/com/google/common/io/Closeables.java b/infer/models/java/src/com/google/common/io/Closeables.java index a1871f8e1..0bd53074d 100644 --- a/infer/models/java/src/com/google/common/io/Closeables.java +++ b/infer/models/java/src/com/google/common/io/Closeables.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package com.google.common.io; diff --git a/infer/models/java/src/com/squareup/okhttp/internal/StrictLineReader.java b/infer/models/java/src/com/squareup/okhttp/internal/StrictLineReader.java index 643f77f25..626e72729 100644 --- a/infer/models/java/src/com/squareup/okhttp/internal/StrictLineReader.java +++ b/infer/models/java/src/com/squareup/okhttp/internal/StrictLineReader.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package com.squareup.okhttp.internal; @@ -55,4 +55,3 @@ public class StrictLineReader implements Closeable { } - diff --git a/infer/models/java/src/com/squareup/okhttp/internal/Util.java b/infer/models/java/src/com/squareup/okhttp/internal/Util.java index acdd44028..0e4b0eb3d 100644 --- a/infer/models/java/src/com/squareup/okhttp/internal/Util.java +++ b/infer/models/java/src/com/squareup/okhttp/internal/Util.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package com.squareup.okhttp.internal; diff --git a/infer/models/java/src/dalvik/system/CloseGuard.java b/infer/models/java/src/dalvik/system/CloseGuard.java index bc6a25f48..17d725a6a 100644 --- a/infer/models/java/src/dalvik/system/CloseGuard.java +++ b/infer/models/java/src/dalvik/system/CloseGuard.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package dalvik.system; diff --git a/infer/models/java/src/java/io/BufferedInputStream.java b/infer/models/java/src/java/io/BufferedInputStream.java index 65d9b48ad..78724ed3f 100644 --- a/infer/models/java/src/java/io/BufferedInputStream.java +++ b/infer/models/java/src/java/io/BufferedInputStream.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package java.io; diff --git a/infer/models/java/src/java/io/BufferedOutputStream.java b/infer/models/java/src/java/io/BufferedOutputStream.java index b70c75aee..9ecad5785 100644 --- a/infer/models/java/src/java/io/BufferedOutputStream.java +++ b/infer/models/java/src/java/io/BufferedOutputStream.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package java.io; diff --git a/infer/models/java/src/java/io/BufferedReader.java b/infer/models/java/src/java/io/BufferedReader.java index 3aa72ef44..9e61421ec 100644 --- a/infer/models/java/src/java/io/BufferedReader.java +++ b/infer/models/java/src/java/io/BufferedReader.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package java.io; diff --git a/infer/models/java/src/java/io/BufferedWriter.java b/infer/models/java/src/java/io/BufferedWriter.java index d358ed8de..036e388a7 100644 --- a/infer/models/java/src/java/io/BufferedWriter.java +++ b/infer/models/java/src/java/io/BufferedWriter.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package java.io; diff --git a/infer/models/java/src/java/io/ByteArrayInputStream.java b/infer/models/java/src/java/io/ByteArrayInputStream.java index e219baebc..40c37d9fb 100644 --- a/infer/models/java/src/java/io/ByteArrayInputStream.java +++ b/infer/models/java/src/java/io/ByteArrayInputStream.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package java.io; diff --git a/infer/models/java/src/java/io/ByteArrayOutputStream.java b/infer/models/java/src/java/io/ByteArrayOutputStream.java index 479a4ade6..0bfc6e2d1 100644 --- a/infer/models/java/src/java/io/ByteArrayOutputStream.java +++ b/infer/models/java/src/java/io/ByteArrayOutputStream.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package java.io; diff --git a/infer/models/java/src/java/io/DataInputStream.java b/infer/models/java/src/java/io/DataInputStream.java index 40e3b60c4..3b38bc445 100644 --- a/infer/models/java/src/java/io/DataInputStream.java +++ b/infer/models/java/src/java/io/DataInputStream.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package java.io; diff --git a/infer/models/java/src/java/io/DataOutputStream.java b/infer/models/java/src/java/io/DataOutputStream.java index bfb123086..ae6627a76 100644 --- a/infer/models/java/src/java/io/DataOutputStream.java +++ b/infer/models/java/src/java/io/DataOutputStream.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package java.io; diff --git a/infer/models/java/src/java/io/File.java b/infer/models/java/src/java/io/File.java index 01b6b598f..9da0f95ec 100644 --- a/infer/models/java/src/java/io/File.java +++ b/infer/models/java/src/java/io/File.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package java.io; diff --git a/infer/models/java/src/java/io/FileInputStream.java b/infer/models/java/src/java/io/FileInputStream.java index c8b2d8c2d..27af7c4bb 100644 --- a/infer/models/java/src/java/io/FileInputStream.java +++ b/infer/models/java/src/java/io/FileInputStream.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package java.io; diff --git a/infer/models/java/src/java/io/FileOutputStream.java b/infer/models/java/src/java/io/FileOutputStream.java index b1281e9d4..4b293e05a 100644 --- a/infer/models/java/src/java/io/FileOutputStream.java +++ b/infer/models/java/src/java/io/FileOutputStream.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package java.io; diff --git a/infer/models/java/src/java/io/FileReader.java b/infer/models/java/src/java/io/FileReader.java index 0cb060666..349810840 100644 --- a/infer/models/java/src/java/io/FileReader.java +++ b/infer/models/java/src/java/io/FileReader.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package java.io; diff --git a/infer/models/java/src/java/io/FileWriter.java b/infer/models/java/src/java/io/FileWriter.java index 1787ab573..f7e1d7d01 100644 --- a/infer/models/java/src/java/io/FileWriter.java +++ b/infer/models/java/src/java/io/FileWriter.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package java.io; diff --git a/infer/models/java/src/java/io/FilterInputStream.java b/infer/models/java/src/java/io/FilterInputStream.java index 4a4f1b00f..5cab86568 100644 --- a/infer/models/java/src/java/io/FilterInputStream.java +++ b/infer/models/java/src/java/io/FilterInputStream.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package java.io; diff --git a/infer/models/java/src/java/io/FilterOutputStream.java b/infer/models/java/src/java/io/FilterOutputStream.java index 3823594d1..10de502d9 100644 --- a/infer/models/java/src/java/io/FilterOutputStream.java +++ b/infer/models/java/src/java/io/FilterOutputStream.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package java.io; diff --git a/infer/models/java/src/java/io/FilterReader.java b/infer/models/java/src/java/io/FilterReader.java index e946cb4f5..4ee98a253 100644 --- a/infer/models/java/src/java/io/FilterReader.java +++ b/infer/models/java/src/java/io/FilterReader.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package java.io; diff --git a/infer/models/java/src/java/io/InputStream.java b/infer/models/java/src/java/io/InputStream.java index 079c21062..4db5de7cb 100644 --- a/infer/models/java/src/java/io/InputStream.java +++ b/infer/models/java/src/java/io/InputStream.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package java.io; diff --git a/infer/models/java/src/java/io/InputStreamReader.java b/infer/models/java/src/java/io/InputStreamReader.java index d9faa0123..a61084d5c 100644 --- a/infer/models/java/src/java/io/InputStreamReader.java +++ b/infer/models/java/src/java/io/InputStreamReader.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package java.io; diff --git a/infer/models/java/src/java/io/ObjectInputStream.java b/infer/models/java/src/java/io/ObjectInputStream.java index 406020bbe..c3235d42f 100644 --- a/infer/models/java/src/java/io/ObjectInputStream.java +++ b/infer/models/java/src/java/io/ObjectInputStream.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package java.io; diff --git a/infer/models/java/src/java/io/ObjectOutputStream.java b/infer/models/java/src/java/io/ObjectOutputStream.java index c6120e61e..3cd8e468e 100644 --- a/infer/models/java/src/java/io/ObjectOutputStream.java +++ b/infer/models/java/src/java/io/ObjectOutputStream.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package java.io; diff --git a/infer/models/java/src/java/io/OutputStream.java b/infer/models/java/src/java/io/OutputStream.java index 7191bdc7a..925433d7a 100644 --- a/infer/models/java/src/java/io/OutputStream.java +++ b/infer/models/java/src/java/io/OutputStream.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package java.io; diff --git a/infer/models/java/src/java/io/OutputStreamWriter.java b/infer/models/java/src/java/io/OutputStreamWriter.java index 420b9112a..e49279268 100644 --- a/infer/models/java/src/java/io/OutputStreamWriter.java +++ b/infer/models/java/src/java/io/OutputStreamWriter.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package java.io; diff --git a/infer/models/java/src/java/io/PipedInputStream.java b/infer/models/java/src/java/io/PipedInputStream.java index 28e81d51e..e9720fbf3 100644 --- a/infer/models/java/src/java/io/PipedInputStream.java +++ b/infer/models/java/src/java/io/PipedInputStream.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package java.io; diff --git a/infer/models/java/src/java/io/PipedOutputStream.java b/infer/models/java/src/java/io/PipedOutputStream.java index 33106955e..e793b34aa 100644 --- a/infer/models/java/src/java/io/PipedOutputStream.java +++ b/infer/models/java/src/java/io/PipedOutputStream.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package java.io; diff --git a/infer/models/java/src/java/io/PipedReader.java b/infer/models/java/src/java/io/PipedReader.java index e05bbbe1e..2e2f63527 100644 --- a/infer/models/java/src/java/io/PipedReader.java +++ b/infer/models/java/src/java/io/PipedReader.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package java.io; diff --git a/infer/models/java/src/java/io/PipedWriter.java b/infer/models/java/src/java/io/PipedWriter.java index 289d6c6ba..de780a160 100644 --- a/infer/models/java/src/java/io/PipedWriter.java +++ b/infer/models/java/src/java/io/PipedWriter.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package java.io; diff --git a/infer/models/java/src/java/io/PrintStream.java b/infer/models/java/src/java/io/PrintStream.java index 0aceed751..d73cc4790 100644 --- a/infer/models/java/src/java/io/PrintStream.java +++ b/infer/models/java/src/java/io/PrintStream.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package java.io; diff --git a/infer/models/java/src/java/io/PrintWriter.java b/infer/models/java/src/java/io/PrintWriter.java index 2eb046e62..5dd3614be 100644 --- a/infer/models/java/src/java/io/PrintWriter.java +++ b/infer/models/java/src/java/io/PrintWriter.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package java.io; diff --git a/infer/models/java/src/java/io/PushbackInputStream.java b/infer/models/java/src/java/io/PushbackInputStream.java index eed90cf44..e91977a37 100644 --- a/infer/models/java/src/java/io/PushbackInputStream.java +++ b/infer/models/java/src/java/io/PushbackInputStream.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package java.io; diff --git a/infer/models/java/src/java/io/PushbackReader.java b/infer/models/java/src/java/io/PushbackReader.java index 283543ce5..aeb0dab60 100644 --- a/infer/models/java/src/java/io/PushbackReader.java +++ b/infer/models/java/src/java/io/PushbackReader.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package java.io; diff --git a/infer/models/java/src/java/io/RandomAccessFile.java b/infer/models/java/src/java/io/RandomAccessFile.java index 381b9d89f..bb8a8f240 100644 --- a/infer/models/java/src/java/io/RandomAccessFile.java +++ b/infer/models/java/src/java/io/RandomAccessFile.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package java.io; diff --git a/infer/models/java/src/java/io/Reader.java b/infer/models/java/src/java/io/Reader.java index bfb7d45cd..47a227221 100644 --- a/infer/models/java/src/java/io/Reader.java +++ b/infer/models/java/src/java/io/Reader.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package java.io; diff --git a/infer/models/java/src/java/io/StringReader.java b/infer/models/java/src/java/io/StringReader.java index c86cadb33..43b66dff8 100644 --- a/infer/models/java/src/java/io/StringReader.java +++ b/infer/models/java/src/java/io/StringReader.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package java.io; diff --git a/infer/models/java/src/java/io/StringWriter.java b/infer/models/java/src/java/io/StringWriter.java index 077aa591f..5858e1e23 100644 --- a/infer/models/java/src/java/io/StringWriter.java +++ b/infer/models/java/src/java/io/StringWriter.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package java.io; diff --git a/infer/models/java/src/java/io/Writer.java b/infer/models/java/src/java/io/Writer.java index 157f70683..bdf328f4f 100644 --- a/infer/models/java/src/java/io/Writer.java +++ b/infer/models/java/src/java/io/Writer.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package java.io; diff --git a/infer/models/java/src/java/lang/Class.java b/infer/models/java/src/java/lang/Class.java index 709438989..ee7c3d54d 100644 --- a/infer/models/java/src/java/lang/Class.java +++ b/infer/models/java/src/java/lang/Class.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package java.lang; diff --git a/infer/models/java/src/java/lang/Integer.java b/infer/models/java/src/java/lang/Integer.java index cb110f49c..f2b3bd4d0 100644 --- a/infer/models/java/src/java/lang/Integer.java +++ b/infer/models/java/src/java/lang/Integer.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package java.lang; diff --git a/infer/models/java/src/java/lang/NullPointerException.java b/infer/models/java/src/java/lang/NullPointerException.java index 0d8823d30..244e4cad5 100644 --- a/infer/models/java/src/java/lang/NullPointerException.java +++ b/infer/models/java/src/java/lang/NullPointerException.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package java.lang; diff --git a/infer/models/java/src/java/lang/Object.java b/infer/models/java/src/java/lang/Object.java index 01c05dace..b85a6b401 100644 --- a/infer/models/java/src/java/lang/Object.java +++ b/infer/models/java/src/java/lang/Object.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package java.lang; diff --git a/infer/models/java/src/java/lang/Process.java b/infer/models/java/src/java/lang/Process.java index 8204dabd0..fca83a788 100644 --- a/infer/models/java/src/java/lang/Process.java +++ b/infer/models/java/src/java/lang/Process.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package java.lang; diff --git a/infer/models/java/src/java/lang/ProcessManager.java b/infer/models/java/src/java/lang/ProcessManager.java index 2aec5f683..a08437928 100644 --- a/infer/models/java/src/java/lang/ProcessManager.java +++ b/infer/models/java/src/java/lang/ProcessManager.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package java.lang; diff --git a/infer/models/java/src/java/lang/Runtime.java b/infer/models/java/src/java/lang/Runtime.java index ea33bca20..88166367e 100644 --- a/infer/models/java/src/java/lang/Runtime.java +++ b/infer/models/java/src/java/lang/Runtime.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package java.lang; diff --git a/infer/models/java/src/java/lang/String.java b/infer/models/java/src/java/lang/String.java index 5a4b6f153..6cc4e25e6 100644 --- a/infer/models/java/src/java/lang/String.java +++ b/infer/models/java/src/java/lang/String.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package java.lang; diff --git a/infer/models/java/src/java/lang/System.java b/infer/models/java/src/java/lang/System.java index 24b0e7309..1177b930b 100644 --- a/infer/models/java/src/java/lang/System.java +++ b/infer/models/java/src/java/lang/System.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package java.lang; diff --git a/infer/models/java/src/java/lang/Thread.java b/infer/models/java/src/java/lang/Thread.java index 5311c4bbf..5ac067490 100644 --- a/infer/models/java/src/java/lang/Thread.java +++ b/infer/models/java/src/java/lang/Thread.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package java.lang; diff --git a/infer/models/java/src/java/lang/reflect/Array.java b/infer/models/java/src/java/lang/reflect/Array.java index 7c28bd5a6..f101d63f1 100644 --- a/infer/models/java/src/java/lang/reflect/Array.java +++ b/infer/models/java/src/java/lang/reflect/Array.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package java.lang.reflect; diff --git a/infer/models/java/src/java/net/HttpURLConnection.java b/infer/models/java/src/java/net/HttpURLConnection.java index ecff6215d..4dad75e0a 100644 --- a/infer/models/java/src/java/net/HttpURLConnection.java +++ b/infer/models/java/src/java/net/HttpURLConnection.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package java.net; diff --git a/infer/models/java/src/java/net/JarURLConnection.java b/infer/models/java/src/java/net/JarURLConnection.java index 4945b9b93..824905c2d 100644 --- a/infer/models/java/src/java/net/JarURLConnection.java +++ b/infer/models/java/src/java/net/JarURLConnection.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package java.net; diff --git a/infer/models/java/src/java/net/PlainSocketImpl.java b/infer/models/java/src/java/net/PlainSocketImpl.java index 840efe694..cdac4aefc 100644 --- a/infer/models/java/src/java/net/PlainSocketImpl.java +++ b/infer/models/java/src/java/net/PlainSocketImpl.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package java.net; diff --git a/infer/models/java/src/java/net/ServerSocket.java b/infer/models/java/src/java/net/ServerSocket.java index 12a300fdf..cc04bdea6 100644 --- a/infer/models/java/src/java/net/ServerSocket.java +++ b/infer/models/java/src/java/net/ServerSocket.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package java.net; diff --git a/infer/models/java/src/java/net/Socket.java b/infer/models/java/src/java/net/Socket.java index c0a692063..910201a61 100644 --- a/infer/models/java/src/java/net/Socket.java +++ b/infer/models/java/src/java/net/Socket.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package java.net; diff --git a/infer/models/java/src/java/net/URL.java b/infer/models/java/src/java/net/URL.java index 7638d70c1..c88f23aff 100644 --- a/infer/models/java/src/java/net/URL.java +++ b/infer/models/java/src/java/net/URL.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package java.net; diff --git a/infer/models/java/src/java/net/URLConnection.java b/infer/models/java/src/java/net/URLConnection.java index e9e6d9c59..b2343ea61 100644 --- a/infer/models/java/src/java/net/URLConnection.java +++ b/infer/models/java/src/java/net/URLConnection.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package java.net; diff --git a/infer/models/java/src/java/nio/FileChannelImpl.java b/infer/models/java/src/java/nio/FileChannelImpl.java index 2c1015981..b9bcf0df0 100644 --- a/infer/models/java/src/java/nio/FileChannelImpl.java +++ b/infer/models/java/src/java/nio/FileChannelImpl.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package java.nio; diff --git a/infer/models/java/src/java/nio/channels/FileChannel.java b/infer/models/java/src/java/nio/channels/FileChannel.java index e96a77505..ea1a1d22c 100644 --- a/infer/models/java/src/java/nio/channels/FileChannel.java +++ b/infer/models/java/src/java/nio/channels/FileChannel.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package java.nio.channels; diff --git a/infer/models/java/src/java/nio/channels/spi/AbstractInterruptibleChannel.java b/infer/models/java/src/java/nio/channels/spi/AbstractInterruptibleChannel.java index 5ded0d1f0..9b4f81e63 100644 --- a/infer/models/java/src/java/nio/channels/spi/AbstractInterruptibleChannel.java +++ b/infer/models/java/src/java/nio/channels/spi/AbstractInterruptibleChannel.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package java.nio.channels.spi; diff --git a/infer/models/java/src/java/security/DigestInputStream.java b/infer/models/java/src/java/security/DigestInputStream.java index 6d9433cb5..0b349da47 100644 --- a/infer/models/java/src/java/security/DigestInputStream.java +++ b/infer/models/java/src/java/security/DigestInputStream.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package java.security; diff --git a/infer/models/java/src/java/security/DigestOutputStream.java b/infer/models/java/src/java/security/DigestOutputStream.java index 55310c0e5..0751f8750 100644 --- a/infer/models/java/src/java/security/DigestOutputStream.java +++ b/infer/models/java/src/java/security/DigestOutputStream.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package java.security; diff --git a/infer/models/java/src/java/util/HashMap.java b/infer/models/java/src/java/util/HashMap.java index 455b2b6cc..b5ce95bc6 100644 --- a/infer/models/java/src/java/util/HashMap.java +++ b/infer/models/java/src/java/util/HashMap.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package java.util; import java.io.*; diff --git a/infer/models/java/src/java/util/Properties.java b/infer/models/java/src/java/util/Properties.java index 17bc15a16..9c90e82e2 100644 --- a/infer/models/java/src/java/util/Properties.java +++ b/infer/models/java/src/java/util/Properties.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package java.util; diff --git a/infer/models/java/src/java/util/Scanner.java b/infer/models/java/src/java/util/Scanner.java index ff4c5b6b4..ca632d3db 100644 --- a/infer/models/java/src/java/util/Scanner.java +++ b/infer/models/java/src/java/util/Scanner.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package java.util; diff --git a/infer/models/java/src/java/util/Vector.java b/infer/models/java/src/java/util/Vector.java index 59c706ead..28dfa3461 100644 --- a/infer/models/java/src/java/util/Vector.java +++ b/infer/models/java/src/java/util/Vector.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package java.util; diff --git a/infer/models/java/src/java/util/jar/JarFile.java b/infer/models/java/src/java/util/jar/JarFile.java index e6aa0b105..972df3955 100644 --- a/infer/models/java/src/java/util/jar/JarFile.java +++ b/infer/models/java/src/java/util/jar/JarFile.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package java.util.jar; diff --git a/infer/models/java/src/java/util/jar/JarInputStream.java b/infer/models/java/src/java/util/jar/JarInputStream.java index 108ca09be..e08b3ba09 100644 --- a/infer/models/java/src/java/util/jar/JarInputStream.java +++ b/infer/models/java/src/java/util/jar/JarInputStream.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package java.util.jar; diff --git a/infer/models/java/src/java/util/jar/JarOutputStream.java b/infer/models/java/src/java/util/jar/JarOutputStream.java index 57362c6aa..69abe2814 100644 --- a/infer/models/java/src/java/util/jar/JarOutputStream.java +++ b/infer/models/java/src/java/util/jar/JarOutputStream.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package java.util.jar; diff --git a/infer/models/java/src/java/util/zip/CheckedInputStream.java b/infer/models/java/src/java/util/zip/CheckedInputStream.java index 9545c9900..f4ca4b5f7 100644 --- a/infer/models/java/src/java/util/zip/CheckedInputStream.java +++ b/infer/models/java/src/java/util/zip/CheckedInputStream.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package java.util.zip; diff --git a/infer/models/java/src/java/util/zip/CheckedOutputStream.java b/infer/models/java/src/java/util/zip/CheckedOutputStream.java index 8a0851228..be3ec675b 100644 --- a/infer/models/java/src/java/util/zip/CheckedOutputStream.java +++ b/infer/models/java/src/java/util/zip/CheckedOutputStream.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package java.util.zip; diff --git a/infer/models/java/src/java/util/zip/Deflater.java b/infer/models/java/src/java/util/zip/Deflater.java index 77acbeb89..1f9f14179 100644 --- a/infer/models/java/src/java/util/zip/Deflater.java +++ b/infer/models/java/src/java/util/zip/Deflater.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package java.util.zip; diff --git a/infer/models/java/src/java/util/zip/DeflaterInputStream.java b/infer/models/java/src/java/util/zip/DeflaterInputStream.java index 5f1d55565..4333e8a67 100644 --- a/infer/models/java/src/java/util/zip/DeflaterInputStream.java +++ b/infer/models/java/src/java/util/zip/DeflaterInputStream.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package java.util.zip; diff --git a/infer/models/java/src/java/util/zip/DeflaterOutputStream.java b/infer/models/java/src/java/util/zip/DeflaterOutputStream.java index 559295824..216b80983 100644 --- a/infer/models/java/src/java/util/zip/DeflaterOutputStream.java +++ b/infer/models/java/src/java/util/zip/DeflaterOutputStream.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package java.util.zip; diff --git a/infer/models/java/src/java/util/zip/GZIPInputStream.java b/infer/models/java/src/java/util/zip/GZIPInputStream.java index 42b9b6c91..398eaca95 100644 --- a/infer/models/java/src/java/util/zip/GZIPInputStream.java +++ b/infer/models/java/src/java/util/zip/GZIPInputStream.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package java.util.zip; diff --git a/infer/models/java/src/java/util/zip/GZIPOutputStream.java b/infer/models/java/src/java/util/zip/GZIPOutputStream.java index d91943d76..ae6951408 100644 --- a/infer/models/java/src/java/util/zip/GZIPOutputStream.java +++ b/infer/models/java/src/java/util/zip/GZIPOutputStream.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package java.util.zip; diff --git a/infer/models/java/src/java/util/zip/Inflater.java b/infer/models/java/src/java/util/zip/Inflater.java index f070892a4..271a7b5b8 100644 --- a/infer/models/java/src/java/util/zip/Inflater.java +++ b/infer/models/java/src/java/util/zip/Inflater.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package java.util.zip; diff --git a/infer/models/java/src/java/util/zip/InflaterInputStream.java b/infer/models/java/src/java/util/zip/InflaterInputStream.java index 783bfded7..10899efa4 100644 --- a/infer/models/java/src/java/util/zip/InflaterInputStream.java +++ b/infer/models/java/src/java/util/zip/InflaterInputStream.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package java.util.zip; diff --git a/infer/models/java/src/java/util/zip/InflaterOutputStream.java b/infer/models/java/src/java/util/zip/InflaterOutputStream.java index a9e7384cc..d67e5662e 100644 --- a/infer/models/java/src/java/util/zip/InflaterOutputStream.java +++ b/infer/models/java/src/java/util/zip/InflaterOutputStream.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package java.util.zip; diff --git a/infer/models/java/src/java/util/zip/ZipFile.java b/infer/models/java/src/java/util/zip/ZipFile.java index 07ee9b462..64b5f1005 100644 --- a/infer/models/java/src/java/util/zip/ZipFile.java +++ b/infer/models/java/src/java/util/zip/ZipFile.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package java.util.zip; diff --git a/infer/models/java/src/java/util/zip/ZipInputStream.java b/infer/models/java/src/java/util/zip/ZipInputStream.java index 5f740796b..e9be64491 100644 --- a/infer/models/java/src/java/util/zip/ZipInputStream.java +++ b/infer/models/java/src/java/util/zip/ZipInputStream.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package java.util.zip; diff --git a/infer/models/java/src/java/util/zip/ZipOutputStream.java b/infer/models/java/src/java/util/zip/ZipOutputStream.java index 271c734db..4e1dfa906 100644 --- a/infer/models/java/src/java/util/zip/ZipOutputStream.java +++ b/infer/models/java/src/java/util/zip/ZipOutputStream.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package java.util.zip; diff --git a/infer/models/java/src/javax/crypto/CipherInputStream.java b/infer/models/java/src/javax/crypto/CipherInputStream.java index 1b82d25a0..4af0d4ece 100644 --- a/infer/models/java/src/javax/crypto/CipherInputStream.java +++ b/infer/models/java/src/javax/crypto/CipherInputStream.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package javax.crypto; diff --git a/infer/models/java/src/javax/crypto/CipherOutputStream.java b/infer/models/java/src/javax/crypto/CipherOutputStream.java index e6e69effb..8593a4d69 100644 --- a/infer/models/java/src/javax/crypto/CipherOutputStream.java +++ b/infer/models/java/src/javax/crypto/CipherOutputStream.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package javax.crypto; diff --git a/infer/models/java/src/javax/net/SocketFactory.java b/infer/models/java/src/javax/net/SocketFactory.java index d0b360f22..4c54ec5cc 100644 --- a/infer/models/java/src/javax/net/SocketFactory.java +++ b/infer/models/java/src/javax/net/SocketFactory.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package javax.net; diff --git a/infer/models/java/src/javax/net/ssl/HostnameVerifier.java b/infer/models/java/src/javax/net/ssl/HostnameVerifier.java index fb23228f6..cda698bf0 100644 --- a/infer/models/java/src/javax/net/ssl/HostnameVerifier.java +++ b/infer/models/java/src/javax/net/ssl/HostnameVerifier.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package javax.net.ssl; diff --git a/infer/models/java/src/javax/net/ssl/HttpsURLConnection.java b/infer/models/java/src/javax/net/ssl/HttpsURLConnection.java index eb06b2830..231693e8b 100644 --- a/infer/models/java/src/javax/net/ssl/HttpsURLConnection.java +++ b/infer/models/java/src/javax/net/ssl/HttpsURLConnection.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package javax.net.ssl; diff --git a/infer/models/java/src/javax/net/ssl/SSLSocketFactory.java b/infer/models/java/src/javax/net/ssl/SSLSocketFactory.java index b5225ac4c..2773c98f4 100644 --- a/infer/models/java/src/javax/net/ssl/SSLSocketFactory.java +++ b/infer/models/java/src/javax/net/ssl/SSLSocketFactory.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package javax.net.ssl; diff --git a/infer/models/java/src/junit/framework/Assert.java b/infer/models/java/src/junit/framework/Assert.java index f4abe950c..f4aef69fc 100644 --- a/infer/models/java/src/junit/framework/Assert.java +++ b/infer/models/java/src/junit/framework/Assert.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package junit.framework; diff --git a/infer/models/objc/src/CADisplayLink.h b/infer/models/objc/src/CADisplayLink.h index 278773255..9ccef2010 100644 --- a/infer/models/objc/src/CADisplayLink.h +++ b/infer/models/objc/src/CADisplayLink.h @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import diff --git a/infer/models/objc/src/CADisplayLink.m b/infer/models/objc/src/CADisplayLink.m index c52c22410..656e4df78 100644 --- a/infer/models/objc/src/CADisplayLink.m +++ b/infer/models/objc/src/CADisplayLink.m @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import "CADisplayLink.h" diff --git a/infer/models/objc/src/CoreFoundation/CFArray.c b/infer/models/objc/src/CoreFoundation/CFArray.c index 97deb0e12..1e963385f 100644 --- a/infer/models/objc/src/CoreFoundation/CFArray.c +++ b/infer/models/objc/src/CoreFoundation/CFArray.c @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import #import diff --git a/infer/models/objc/src/CoreFoundation/CFBinaryHeap.c b/infer/models/objc/src/CoreFoundation/CFBinaryHeap.c index 754479ace..8a943ff11 100644 --- a/infer/models/objc/src/CoreFoundation/CFBinaryHeap.c +++ b/infer/models/objc/src/CoreFoundation/CFBinaryHeap.c @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import diff --git a/infer/models/objc/src/CoreFoundation/CFBitVector.c b/infer/models/objc/src/CoreFoundation/CFBitVector.c index b9e638eca..ca7ffe192 100644 --- a/infer/models/objc/src/CoreFoundation/CFBitVector.c +++ b/infer/models/objc/src/CoreFoundation/CFBitVector.c @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import diff --git a/infer/models/objc/src/CoreFoundation/CFDate.c b/infer/models/objc/src/CoreFoundation/CFDate.c index fd586f803..fc0aa7920 100644 --- a/infer/models/objc/src/CoreFoundation/CFDate.c +++ b/infer/models/objc/src/CoreFoundation/CFDate.c @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import diff --git a/infer/models/objc/src/CoreFoundation/CFDictionary.c b/infer/models/objc/src/CoreFoundation/CFDictionary.c index d77a3b672..12fd76c8d 100644 --- a/infer/models/objc/src/CoreFoundation/CFDictionary.c +++ b/infer/models/objc/src/CoreFoundation/CFDictionary.c @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import diff --git a/infer/models/objc/src/CoreFoundation/CFError.c b/infer/models/objc/src/CoreFoundation/CFError.c index 4d5f06134..ad8b71dc5 100644 --- a/infer/models/objc/src/CoreFoundation/CFError.c +++ b/infer/models/objc/src/CoreFoundation/CFError.c @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import diff --git a/infer/models/objc/src/CoreFoundation/CFHTTPMessage.c b/infer/models/objc/src/CoreFoundation/CFHTTPMessage.c index ff9ec1c32..9fd8df662 100644 --- a/infer/models/objc/src/CoreFoundation/CFHTTPMessage.c +++ b/infer/models/objc/src/CoreFoundation/CFHTTPMessage.c @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import diff --git a/infer/models/objc/src/CoreFoundation/CFLocale.c b/infer/models/objc/src/CoreFoundation/CFLocale.c index 942d267c7..405fd1bcb 100644 --- a/infer/models/objc/src/CoreFoundation/CFLocale.c +++ b/infer/models/objc/src/CoreFoundation/CFLocale.c @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import diff --git a/infer/models/objc/src/CoreFoundation/CFMutableArray.c b/infer/models/objc/src/CoreFoundation/CFMutableArray.c index e462f1ce7..7f64742e3 100644 --- a/infer/models/objc/src/CoreFoundation/CFMutableArray.c +++ b/infer/models/objc/src/CoreFoundation/CFMutableArray.c @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import diff --git a/infer/models/objc/src/CoreFoundation/CFMutableAttributedString.c b/infer/models/objc/src/CoreFoundation/CFMutableAttributedString.c index b5b61a0ee..b7a2f6636 100644 --- a/infer/models/objc/src/CoreFoundation/CFMutableAttributedString.c +++ b/infer/models/objc/src/CoreFoundation/CFMutableAttributedString.c @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import diff --git a/infer/models/objc/src/CoreFoundation/CFMutableDictionary.c b/infer/models/objc/src/CoreFoundation/CFMutableDictionary.c index a587649fd..2da197aac 100644 --- a/infer/models/objc/src/CoreFoundation/CFMutableDictionary.c +++ b/infer/models/objc/src/CoreFoundation/CFMutableDictionary.c @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import diff --git a/infer/models/objc/src/CoreFoundation/CFMutableSet.c b/infer/models/objc/src/CoreFoundation/CFMutableSet.c index 4ddf4ac1e..567ffa0a8 100644 --- a/infer/models/objc/src/CoreFoundation/CFMutableSet.c +++ b/infer/models/objc/src/CoreFoundation/CFMutableSet.c @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import diff --git a/infer/models/objc/src/CoreFoundation/CFNumber.c b/infer/models/objc/src/CoreFoundation/CFNumber.c index 39e2d30f4..a48ab916e 100644 --- a/infer/models/objc/src/CoreFoundation/CFNumber.c +++ b/infer/models/objc/src/CoreFoundation/CFNumber.c @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import diff --git a/infer/models/objc/src/CoreFoundation/CFPreferences.c b/infer/models/objc/src/CoreFoundation/CFPreferences.c index 05a32bc91..bfd203d9e 100644 --- a/infer/models/objc/src/CoreFoundation/CFPreferences.c +++ b/infer/models/objc/src/CoreFoundation/CFPreferences.c @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import diff --git a/infer/models/objc/src/CoreFoundation/CFRunLoop.c b/infer/models/objc/src/CoreFoundation/CFRunLoop.c index 6762ef2f9..644879a3f 100644 --- a/infer/models/objc/src/CoreFoundation/CFRunLoop.c +++ b/infer/models/objc/src/CoreFoundation/CFRunLoop.c @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import diff --git a/infer/models/objc/src/CoreFoundation/CFRunLoopObserver.c b/infer/models/objc/src/CoreFoundation/CFRunLoopObserver.c index c67e73a6a..019fc1d62 100644 --- a/infer/models/objc/src/CoreFoundation/CFRunLoopObserver.c +++ b/infer/models/objc/src/CoreFoundation/CFRunLoopObserver.c @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import diff --git a/infer/models/objc/src/CoreFoundation/CFSocket.c b/infer/models/objc/src/CoreFoundation/CFSocket.c index 455ad6719..3bd235351 100644 --- a/infer/models/objc/src/CoreFoundation/CFSocket.c +++ b/infer/models/objc/src/CoreFoundation/CFSocket.c @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import diff --git a/infer/models/objc/src/CoreFoundation/CFString.c b/infer/models/objc/src/CoreFoundation/CFString.c index b9ad8c15a..74ce162c4 100644 --- a/infer/models/objc/src/CoreFoundation/CFString.c +++ b/infer/models/objc/src/CoreFoundation/CFString.c @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import #import diff --git a/infer/models/objc/src/CoreFoundation/CFStringTokenizer.c b/infer/models/objc/src/CoreFoundation/CFStringTokenizer.c index cde25593e..9f0a0ff88 100644 --- a/infer/models/objc/src/CoreFoundation/CFStringTokenizer.c +++ b/infer/models/objc/src/CoreFoundation/CFStringTokenizer.c @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import diff --git a/infer/models/objc/src/CoreFoundation/CFType.c b/infer/models/objc/src/CoreFoundation/CFType.c index 203ea897f..59839f7e0 100644 --- a/infer/models/objc/src/CoreFoundation/CFType.c +++ b/infer/models/objc/src/CoreFoundation/CFType.c @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import diff --git a/infer/models/objc/src/CoreFoundation/CFUUID.c b/infer/models/objc/src/CoreFoundation/CFUUID.c index 4bb05ff3f..4b2ecd5cf 100644 --- a/infer/models/objc/src/CoreFoundation/CFUUID.c +++ b/infer/models/objc/src/CoreFoundation/CFUUID.c @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import diff --git a/infer/models/objc/src/CoreFoundation/CTFont.c b/infer/models/objc/src/CoreFoundation/CTFont.c index 46837c7f0..5d3eb2a2d 100644 --- a/infer/models/objc/src/CoreFoundation/CTFont.c +++ b/infer/models/objc/src/CoreFoundation/CTFont.c @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import diff --git a/infer/models/objc/src/CoreFoundation/CTFramesetter.c b/infer/models/objc/src/CoreFoundation/CTFramesetter.c index 7cfe876de..dd3d6d2dc 100644 --- a/infer/models/objc/src/CoreFoundation/CTFramesetter.c +++ b/infer/models/objc/src/CoreFoundation/CTFramesetter.c @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import diff --git a/infer/models/objc/src/CoreFoundation/CTParagraphStyle.c b/infer/models/objc/src/CoreFoundation/CTParagraphStyle.c index 6fe306b9b..2fe94c86b 100644 --- a/infer/models/objc/src/CoreFoundation/CTParagraphStyle.c +++ b/infer/models/objc/src/CoreFoundation/CTParagraphStyle.c @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import #import diff --git a/infer/models/objc/src/CoreFoundation/SCNetworkReachability.c b/infer/models/objc/src/CoreFoundation/SCNetworkReachability.c index be5da9b12..9a7d7fc16 100644 --- a/infer/models/objc/src/CoreFoundation/SCNetworkReachability.c +++ b/infer/models/objc/src/CoreFoundation/SCNetworkReachability.c @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import #import "SystemConfiguration/SCNetworkReachability.h" diff --git a/infer/models/objc/src/CoreFoundation/SecCertificate.c b/infer/models/objc/src/CoreFoundation/SecCertificate.c index 4d5086e4b..830cd5ab3 100644 --- a/infer/models/objc/src/CoreFoundation/SecCertificate.c +++ b/infer/models/objc/src/CoreFoundation/SecCertificate.c @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import diff --git a/infer/models/objc/src/CoreFoundation/SecKey.c b/infer/models/objc/src/CoreFoundation/SecKey.c index 708f79201..5d83b2c74 100644 --- a/infer/models/objc/src/CoreFoundation/SecKey.c +++ b/infer/models/objc/src/CoreFoundation/SecKey.c @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import #import diff --git a/infer/models/objc/src/CoreGraphics/CGColor.c b/infer/models/objc/src/CoreGraphics/CGColor.c index c0304087a..dc9997ffd 100644 --- a/infer/models/objc/src/CoreGraphics/CGColor.c +++ b/infer/models/objc/src/CoreGraphics/CGColor.c @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import diff --git a/infer/models/objc/src/CoreGraphics/CGColorSpace.c b/infer/models/objc/src/CoreGraphics/CGColorSpace.c index a0e4f6795..680241a27 100644 --- a/infer/models/objc/src/CoreGraphics/CGColorSpace.c +++ b/infer/models/objc/src/CoreGraphics/CGColorSpace.c @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import diff --git a/infer/models/objc/src/CoreGraphics/CGContext.c b/infer/models/objc/src/CoreGraphics/CGContext.c index bd777383c..3c62f25ec 100644 --- a/infer/models/objc/src/CoreGraphics/CGContext.c +++ b/infer/models/objc/src/CoreGraphics/CGContext.c @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import #import diff --git a/infer/models/objc/src/CoreGraphics/CGDataConsumer.c b/infer/models/objc/src/CoreGraphics/CGDataConsumer.c index b7288fb4d..c8a56c8b4 100644 --- a/infer/models/objc/src/CoreGraphics/CGDataConsumer.c +++ b/infer/models/objc/src/CoreGraphics/CGDataConsumer.c @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import @@ -14,4 +14,3 @@ void __objc_release_cf(CGDataConsumerRef); void CGDataConsumerRelease ( CGDataConsumerRef consumer ) { if (consumer) __objc_release_cf(consumer); } - diff --git a/infer/models/objc/src/CoreGraphics/CGDataProvider.c b/infer/models/objc/src/CoreGraphics/CGDataProvider.c index aaea9b8c0..c07341b3c 100644 --- a/infer/models/objc/src/CoreGraphics/CGDataProvider.c +++ b/infer/models/objc/src/CoreGraphics/CGDataProvider.c @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import diff --git a/infer/models/objc/src/CoreGraphics/CGFont.c b/infer/models/objc/src/CoreGraphics/CGFont.c index 1f661cf08..25dca4360 100644 --- a/infer/models/objc/src/CoreGraphics/CGFont.c +++ b/infer/models/objc/src/CoreGraphics/CGFont.c @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import diff --git a/infer/models/objc/src/CoreGraphics/CGFunction.c b/infer/models/objc/src/CoreGraphics/CGFunction.c index 2f24db7f0..6ff6ec6ea 100644 --- a/infer/models/objc/src/CoreGraphics/CGFunction.c +++ b/infer/models/objc/src/CoreGraphics/CGFunction.c @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import @@ -14,4 +14,3 @@ void __objc_release_cf(CGFunctionRef); void CGFunctionRelease ( CGFunctionRef function ) { if (function) __objc_release_cf(function); } - diff --git a/infer/models/objc/src/CoreGraphics/CGGradient.c b/infer/models/objc/src/CoreGraphics/CGGradient.c index 3635be65a..390124d74 100644 --- a/infer/models/objc/src/CoreGraphics/CGGradient.c +++ b/infer/models/objc/src/CoreGraphics/CGGradient.c @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import diff --git a/infer/models/objc/src/CoreGraphics/CGImage.c b/infer/models/objc/src/CoreGraphics/CGImage.c index 89b93b7f8..d0156855e 100644 --- a/infer/models/objc/src/CoreGraphics/CGImage.c +++ b/infer/models/objc/src/CoreGraphics/CGImage.c @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import #import diff --git a/infer/models/objc/src/CoreGraphics/CGImageDestination.c b/infer/models/objc/src/CoreGraphics/CGImageDestination.c index 08d0ac2bc..b8e38e5e2 100644 --- a/infer/models/objc/src/CoreGraphics/CGImageDestination.c +++ b/infer/models/objc/src/CoreGraphics/CGImageDestination.c @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import #import diff --git a/infer/models/objc/src/CoreGraphics/CGImageSource.c b/infer/models/objc/src/CoreGraphics/CGImageSource.c index c39c331a2..7db153b95 100644 --- a/infer/models/objc/src/CoreGraphics/CGImageSource.c +++ b/infer/models/objc/src/CoreGraphics/CGImageSource.c @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import #import @@ -42,5 +42,3 @@ void CGImageSourceRelease ( CGImageSourceRef image ) { if (image) __objc_release_cf(image); } - - diff --git a/infer/models/objc/src/CoreGraphics/CGLayer.c b/infer/models/objc/src/CoreGraphics/CGLayer.c index 53edf9e55..5d0882436 100644 --- a/infer/models/objc/src/CoreGraphics/CGLayer.c +++ b/infer/models/objc/src/CoreGraphics/CGLayer.c @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import @@ -14,4 +14,3 @@ void __objc_release_cf(CGLayerRef); void CGLayerRelease ( CGLayerRef layer ){ if (layer) __objc_release_cf(layer); } - diff --git a/infer/models/objc/src/CoreGraphics/CGPDFContentStream.c b/infer/models/objc/src/CoreGraphics/CGPDFContentStream.c index 09d4c30ec..58126b57d 100644 --- a/infer/models/objc/src/CoreGraphics/CGPDFContentStream.c +++ b/infer/models/objc/src/CoreGraphics/CGPDFContentStream.c @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import @@ -14,4 +14,3 @@ void __objc_release_cf(CGPDFContentStreamRef); void CGPDFContentStreamRelease ( CGPDFContentStreamRef cs ) { if (cs) __objc_release_cf(cs); } - diff --git a/infer/models/objc/src/CoreGraphics/CGPDFDocument.c b/infer/models/objc/src/CoreGraphics/CGPDFDocument.c index 02b82d6ab..32bd31fa6 100644 --- a/infer/models/objc/src/CoreGraphics/CGPDFDocument.c +++ b/infer/models/objc/src/CoreGraphics/CGPDFDocument.c @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import @@ -14,4 +14,3 @@ void __objc_release_cf(CGPDFDocumentRef); void CGPDFDocumentRelease ( CGPDFDocumentRef document ) { if (document) __objc_release_cf(document); } - diff --git a/infer/models/objc/src/CoreGraphics/CGPDFOperatorTable.c b/infer/models/objc/src/CoreGraphics/CGPDFOperatorTable.c index 3e7ad38f7..03038c265 100644 --- a/infer/models/objc/src/CoreGraphics/CGPDFOperatorTable.c +++ b/infer/models/objc/src/CoreGraphics/CGPDFOperatorTable.c @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import @@ -14,4 +14,3 @@ void __objc_release_cf(CGPDFOperatorTableRef); void CGPDFOperatorTableRelease ( CGPDFOperatorTableRef table ) { if (table) __objc_release_cf(table); } - diff --git a/infer/models/objc/src/CoreGraphics/CGPDFPage.c b/infer/models/objc/src/CoreGraphics/CGPDFPage.c index 0dbeb2699..4fb3c4f98 100644 --- a/infer/models/objc/src/CoreGraphics/CGPDFPage.c +++ b/infer/models/objc/src/CoreGraphics/CGPDFPage.c @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import @@ -14,4 +14,3 @@ void __objc_release_cf(CGPDFPageRef); void CGPDFPageRelease ( CGPDFPageRef page ) { if (page) __objc_release_cf(page); } - diff --git a/infer/models/objc/src/CoreGraphics/CGPDFScanner.c b/infer/models/objc/src/CoreGraphics/CGPDFScanner.c index f8fc9c110..19e924fa0 100644 --- a/infer/models/objc/src/CoreGraphics/CGPDFScanner.c +++ b/infer/models/objc/src/CoreGraphics/CGPDFScanner.c @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import @@ -14,4 +14,3 @@ void __objc_release_cf(CGPDFScannerRef); void CGPDFScannerRelease ( CGPDFScannerRef scanner ) { if (scanner) __objc_release_cf(scanner); } - diff --git a/infer/models/objc/src/CoreGraphics/CGPath.c b/infer/models/objc/src/CoreGraphics/CGPath.c index dbd02c360..53eaf2446 100644 --- a/infer/models/objc/src/CoreGraphics/CGPath.c +++ b/infer/models/objc/src/CoreGraphics/CGPath.c @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import #import diff --git a/infer/models/objc/src/CoreGraphics/CGPattern.c b/infer/models/objc/src/CoreGraphics/CGPattern.c index 1d779a944..14dd80156 100644 --- a/infer/models/objc/src/CoreGraphics/CGPattern.c +++ b/infer/models/objc/src/CoreGraphics/CGPattern.c @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import @@ -14,4 +14,3 @@ void __objc_release_cf(CGPatternRef); void CGPatternRelease ( CGPatternRef pattern ) { if (pattern) __objc_release_cf(pattern); } - diff --git a/infer/models/objc/src/CoreGraphics/CGShading.c b/infer/models/objc/src/CoreGraphics/CGShading.c index 36fd86e77..81fa29661 100644 --- a/infer/models/objc/src/CoreGraphics/CGShading.c +++ b/infer/models/objc/src/CoreGraphics/CGShading.c @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import @@ -14,4 +14,3 @@ void __objc_release_cf(CGShadingRef); void CGShadingRelease ( CGShadingRef shading ) { if (shading) __objc_release_cf(shading); } - diff --git a/infer/models/objc/src/NSArray.h b/infer/models/objc/src/NSArray.h index be0a0cd5b..af8038fe8 100644 --- a/infer/models/objc/src/NSArray.h +++ b/infer/models/objc/src/NSArray.h @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import diff --git a/infer/models/objc/src/NSArray.m b/infer/models/objc/src/NSArray.m index 23b9c29c1..1a0099672 100644 --- a/infer/models/objc/src/NSArray.m +++ b/infer/models/objc/src/NSArray.m @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import "NSArray.h" diff --git a/infer/models/objc/src/NSAutoreleasePool.m b/infer/models/objc/src/NSAutoreleasePool.m index 4b968572c..5d4f9ade4 100644 --- a/infer/models/objc/src/NSAutoreleasePool.m +++ b/infer/models/objc/src/NSAutoreleasePool.m @@ -1,11 +1,11 @@ /* -* Copyright (c) 2014 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2014 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #pragma clang diagnostic ignored "-Wprotocol" diff --git a/infer/models/objc/src/NSData.m b/infer/models/objc/src/NSData.m index aa2054054..16993b23a 100644 --- a/infer/models/objc/src/NSData.m +++ b/infer/models/objc/src/NSData.m @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import #include diff --git a/infer/models/objc/src/NSDictionary.h b/infer/models/objc/src/NSDictionary.h index 47a3097a7..ce82c7377 100644 --- a/infer/models/objc/src/NSDictionary.h +++ b/infer/models/objc/src/NSDictionary.h @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import diff --git a/infer/models/objc/src/NSDictionary.m b/infer/models/objc/src/NSDictionary.m index 58fe00a1e..338280526 100644 --- a/infer/models/objc/src/NSDictionary.m +++ b/infer/models/objc/src/NSDictionary.m @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #pragma clang diagnostic ignored "-Wdeprecated-declarations" diff --git a/infer/models/objc/src/NSFileHandle.m b/infer/models/objc/src/NSFileHandle.m index 7d93e95b3..1edcad2ed 100644 --- a/infer/models/objc/src/NSFileHandle.m +++ b/infer/models/objc/src/NSFileHandle.m @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import #include diff --git a/infer/models/objc/src/NSMutableArray.h b/infer/models/objc/src/NSMutableArray.h index 97b376d54..2353aec26 100644 --- a/infer/models/objc/src/NSMutableArray.h +++ b/infer/models/objc/src/NSMutableArray.h @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import diff --git a/infer/models/objc/src/NSMutableArray.m b/infer/models/objc/src/NSMutableArray.m index 519b7346f..35416a259 100644 --- a/infer/models/objc/src/NSMutableArray.m +++ b/infer/models/objc/src/NSMutableArray.m @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #pragma clang diagnostic ignored "-Wdeprecated-declarations" diff --git a/infer/models/objc/src/NSMutableDictionary.h b/infer/models/objc/src/NSMutableDictionary.h index b460f3ad8..009e3523a 100644 --- a/infer/models/objc/src/NSMutableDictionary.h +++ b/infer/models/objc/src/NSMutableDictionary.h @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import diff --git a/infer/models/objc/src/NSMutableDictionary.m b/infer/models/objc/src/NSMutableDictionary.m index 456b3b65c..5de97bafc 100644 --- a/infer/models/objc/src/NSMutableDictionary.m +++ b/infer/models/objc/src/NSMutableDictionary.m @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #pragma clang diagnostic ignored "-Wdeprecated-declarations" diff --git a/infer/models/objc/src/NSNumber.h b/infer/models/objc/src/NSNumber.h index 3f70c5d7e..067c74cc8 100644 --- a/infer/models/objc/src/NSNumber.h +++ b/infer/models/objc/src/NSNumber.h @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import diff --git a/infer/models/objc/src/NSNumber.m b/infer/models/objc/src/NSNumber.m index c42f97872..d5ace34e1 100644 --- a/infer/models/objc/src/NSNumber.m +++ b/infer/models/objc/src/NSNumber.m @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import "NSNumber.h" diff --git a/infer/models/objc/src/NSObject.m b/infer/models/objc/src/NSObject.m index 208dcea9f..54b8bdcf7 100644 --- a/infer/models/objc/src/NSObject.m +++ b/infer/models/objc/src/NSObject.m @@ -1,11 +1,11 @@ /* -* Copyright (c) 2014 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2014 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #pragma clang diagnostic ignored "-Wprotocol" diff --git a/infer/models/objc/src/NSString.h b/infer/models/objc/src/NSString.h index e9e8f0800..c5748f1d0 100644 --- a/infer/models/objc/src/NSString.h +++ b/infer/models/objc/src/NSString.h @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import diff --git a/infer/models/objc/src/NSString.m b/infer/models/objc/src/NSString.m index 55c1575f8..986f9aeed 100644 --- a/infer/models/objc/src/NSString.m +++ b/infer/models/objc/src/NSString.m @@ -1,18 +1,18 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import "NSString.h" #import void __get_array_size(const UInt8); -@implementation NSString +@implementation NSString + (instancetype)stringWithUTF8String:(const char *)bytes { // using alloc as the documentation doesn't say it may return nil @@ -35,4 +35,3 @@ void __get_array_size(const UInt8); } @end - diff --git a/infer/models/objc/src/NSTimer.h b/infer/models/objc/src/NSTimer.h index 8ceeeec88..2a02362de 100644 --- a/infer/models/objc/src/NSTimer.h +++ b/infer/models/objc/src/NSTimer.h @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import diff --git a/infer/models/objc/src/NSTimer.m b/infer/models/objc/src/NSTimer.m index 8aaf08e17..02bd45112 100644 --- a/infer/models/objc/src/NSTimer.m +++ b/infer/models/objc/src/NSTimer.m @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import "NSTimer.h" #import @@ -122,11 +122,11 @@ void free(void *ptr); return _fireDate; } -- (NSTimeInterval) timeInterval { +- (NSTimeInterval) timeInterval { return _interval; } -- (id) userInfo { +- (id) userInfo { return _info; } @@ -141,4 +141,4 @@ void free(void *ptr); return res; } -@end \ No newline at end of file +@end diff --git a/infer/src/checkers/codequeryLexer.mll b/infer/src/checkers/codequeryLexer.mll index 4d8ceb3d9..1db3c1224 100644 --- a/infer/src/checkers/codequeryLexer.mll +++ b/infer/src/checkers/codequeryLexer.mll @@ -6,6 +6,7 @@ * 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. *) + { open CodequeryParser @@ -47,7 +48,7 @@ rule token = parse | ';' { log lexbuf; SEMICOLON } | ':' { log lexbuf; COLON } | ',' { log lexbuf; COMMA } - | '`' { log lexbuf; REV_QUOTE } + | '`' { log lexbuf; REV_QUOTE } | '\'' { log lexbuf; SINGLE_QUOTE } | '\"' { log lexbuf; DOUBLE_QUOTE } | '%' { log lexbuf; PERCENT } diff --git a/infer/src/checkers/codequeryParser.mly b/infer/src/checkers/codequeryParser.mly index 7cbb08d52..12a0faea9 100644 --- a/infer/src/checkers/codequeryParser.mly +++ b/infer/src/checkers/codequeryParser.mly @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ %{ @@ -16,7 +16,7 @@ %token LEFT_CHEVRON RIGHT_CHEVRON LEFT_PARENTHESIS RIGHT_PARENTHESIS LEFT_SQBRACKET RIGHT_SQBRACKET %token STAR PIPE SLASH BACKSLASH %token IF DOTDOTDOT SOURCE ERROR - + %token HEXA %token NUMBER %token IDENT diff --git a/infer/src/checkers/sql_examples/Test.java b/infer/src/checkers/sql_examples/Test.java index 81a0fda01..6224ef884 100644 --- a/infer/src/checkers/sql_examples/Test.java +++ b/infer/src/checkers/sql_examples/Test.java @@ -1,25 +1,25 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ class Test { - public void select() { - String a = "SELeCT id FROM "; - String b = "table"; - String c = " WHERE something"; - String d = a + b + c; - } + public void select() { + String a = "SELeCT id FROM "; + String b = "table"; + String c = " WHERE something"; + String d = a + b + c; + } - public void insert() { - int id = 10; - String a = "INSERT into table VALUES (1) WHERE id="; - String q = a + Integer.toString(id); - } + public void insert() { + int id = 10; + String a = "INSERT into table VALUES (1) WHERE id="; + String q = a + Integer.toString(id); + } } diff --git a/infer/src/clang/plugin/InferPlugin.cpp b/infer/src/clang/plugin/InferPlugin.cpp index b7f3b7fc0..6296abfc0 100644 --- a/infer/src/clang/plugin/InferPlugin.cpp +++ b/infer/src/clang/plugin/InferPlugin.cpp @@ -1,11 +1,11 @@ /* -* Copyright (c) 2004 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2004 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #include "clang/Frontend/FrontendPluginRegistry.h" #include "clang/AST/ASTConsumer.h" @@ -15,7 +15,7 @@ using namespace clang; namespace { - + class PrintFunctionsConsumer : public ASTConsumer { public: virtual bool HandleTopLevelDecl(DeclGroupRef DG) { @@ -24,22 +24,22 @@ namespace { if (const NamedDecl *ND = dyn_cast(D)) llvm::errs() << "top-level-decl: \"" << ND->getNameAsString() << "\"\n"; } - + return true; } }; - + class PrintFunctionNamesAction : public PluginASTAction { protected: ASTConsumer *CreateASTConsumer(CompilerInstance &CI, llvm::StringRef) { return new PrintFunctionsConsumer(); } - + bool ParseArgs(const CompilerInstance &CI, const std::vector& args) { for (unsigned i = 0, e = args.size(); i != e; ++i) { llvm::errs() << "toplevel-plugin arg = " << args[i] << "\n"; - + // Example error handling. if (args[i] == "-an-error") { DiagnosticsEngine &D = CI.getDiagnostics(); @@ -51,15 +51,15 @@ namespace { } if (args.size() && args[0] == "help") PrintHelp(llvm::errs()); - + return true; } void PrintHelp(llvm::raw_ostream& ros) { ros << "Help for toplevel-plugin plugin goes here\n"; } - + }; - + } static FrontendPluginRegistry::Add X("infer-plugin", "print function names"); diff --git a/infer/src/clang/plugin/test/test.cpp b/infer/src/clang/plugin/test/test.cpp index acf24df17..9d08ef88d 100644 --- a/infer/src/clang/plugin/test/test.cpp +++ b/infer/src/clang/plugin/test/test.cpp @@ -1,11 +1,11 @@ /* -* Copyright (c) 2004 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2004 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ int main() { return 0; } diff --git a/infer/src/java/jVerboseParser.mly b/infer/src/java/jVerboseParser.mly index 0c1f44491..d25e7d9b7 100644 --- a/infer/src/java/jVerboseParser.mly +++ b/infer/src/java/jVerboseParser.mly @@ -1,12 +1,12 @@ /* -* Copyright (c) 2009 - 2013 Monoidics ltd. -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2009 - 2013 Monoidics ltd. + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ %{ diff --git a/infer/src/llvm/lLexer.mll b/infer/src/llvm/lLexer.mll index 4db738a0f..56373c170 100644 --- a/infer/src/llvm/lLexer.mll +++ b/infer/src/llvm/lLexer.mll @@ -6,6 +6,7 @@ * 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. *) + { open Lexing open LParser diff --git a/infer/src/llvm/lParser.mly b/infer/src/llvm/lParser.mly index dc391c82b..528328966 100644 --- a/infer/src/llvm/lParser.mly +++ b/infer/src/llvm/lParser.mly @@ -6,6 +6,7 @@ * 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. *) + %{ open Utils open LAst diff --git a/infer/src/llvm/lPretty.ml b/infer/src/llvm/lPretty.ml index 1de3ad422..ab6b8fdad 100644 --- a/infer/src/llvm/lPretty.ml +++ b/infer/src/llvm/lPretty.ml @@ -6,6 +6,7 @@ * 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. *) + open LAst let concatmap (sep : string) (f : 'a -> string) (l : 'a list) : string = diff --git a/infer/src/scripts/checkCopyright.ml b/infer/src/scripts/checkCopyright.ml index cac2a4fef..b9a98a6a9 100644 --- a/infer/src/scripts/checkCopyright.ml +++ b/infer/src/scripts/checkCopyright.ml @@ -41,6 +41,10 @@ let default_start_line_of_com_style style = match style with | Line _ -> 2 | Block _ -> 0 +let prefix_of_comment_style = function + | Line _ -> "" + | Block (_, inter, _) -> String.make (String.length inter) ' ' + (** If true, update the copyright message of the files. *) let update_files = ref false @@ -226,7 +230,7 @@ let check_copyright fname = match read_file fname with let year = 1900 + (Unix.localtime (Unix.time ())).Unix.tm_year in let ext = get_filename_extension fname in let com_style = IList.assoc string_equal ext com_style_of_lang in - let prefix = if com_style = comment_style_ocaml then " " else "" in + let prefix = prefix_of_comment_style com_style in let start = default_start_line_of_com_style com_style in output_diff fname (Array.of_list []) start (-1) (-1) 0 false year com_style prefix; exit copyright_modified_exit_code @@ -245,7 +249,7 @@ let check_copyright fname = match read_file fname with L.stderr "Can't find fb year: %s@." fname; exit copyright_malformed_exit_code | Some fb_year -> - let prefix = if com_style = comment_style_ocaml then " " else "" in + let prefix = prefix_of_comment_style com_style in if copyright_has_changed mono fb_year com_style prefix cstart cend lines_arr then begin output_diff fname lines_arr cstart n cend len mono fb_year com_style prefix; diff --git a/infer/tests/codetoanalyze/c/errors/arithmetic/array_out_of_bounds.c b/infer/tests/codetoanalyze/c/errors/arithmetic/array_out_of_bounds.c index 220f5f79c..a914da328 100644 --- a/infer/tests/codetoanalyze/c/errors/arithmetic/array_out_of_bounds.c +++ b/infer/tests/codetoanalyze/c/errors/arithmetic/array_out_of_bounds.c @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Warray-bounds" diff --git a/infer/tests/codetoanalyze/c/errors/arithmetic/divide_by_zero.c b/infer/tests/codetoanalyze/c/errors/arithmetic/divide_by_zero.c index 692c1ba73..ae9454e36 100644 --- a/infer/tests/codetoanalyze/c/errors/arithmetic/divide_by_zero.c +++ b/infer/tests/codetoanalyze/c/errors/arithmetic/divide_by_zero.c @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ int arith_divide_by_zero() { int x = 0; diff --git a/infer/tests/codetoanalyze/c/errors/assertions/assertion_failure.c b/infer/tests/codetoanalyze/c/errors/assertions/assertion_failure.c index 06622aeb1..010bfdd9e 100644 --- a/infer/tests/codetoanalyze/c/errors/assertions/assertion_failure.c +++ b/infer/tests/codetoanalyze/c/errors/assertions/assertion_failure.c @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #include #include diff --git a/infer/tests/codetoanalyze/c/errors/attributes/sentinel.c b/infer/tests/codetoanalyze/c/errors/attributes/sentinel.c index 1a6476e78..0d0d98269 100644 --- a/infer/tests/codetoanalyze/c/errors/attributes/sentinel.c +++ b/infer/tests/codetoanalyze/c/errors/attributes/sentinel.c @@ -1,3 +1,12 @@ +/* + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ + #include extern int add_all_ints(int x, int y, int z, ...) __attribute__((sentinel)); diff --git a/infer/tests/codetoanalyze/c/errors/dangling_deref/dpd.c b/infer/tests/codetoanalyze/c/errors/dangling_deref/dpd.c index 61a1a7ca4..07d834123 100644 --- a/infer/tests/codetoanalyze/c/errors/dangling_deref/dpd.c +++ b/infer/tests/codetoanalyze/c/errors/dangling_deref/dpd.c @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #include #include diff --git a/infer/tests/codetoanalyze/c/errors/initialization/initlistexpr.c b/infer/tests/codetoanalyze/c/errors/initialization/initlistexpr.c index cfda97a0e..9d74f18f2 100644 --- a/infer/tests/codetoanalyze/c/errors/initialization/initlistexpr.c +++ b/infer/tests/codetoanalyze/c/errors/initialization/initlistexpr.c @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ int init_divide_by_zero() { int t[2][3][2] = {{{1,1},{2,2},{3,3}},{{4,4},{5,5},{1,0}}}; diff --git a/infer/tests/codetoanalyze/c/errors/lists/lists.c b/infer/tests/codetoanalyze/c/errors/lists/lists.c index 2db724fed..755c28c68 100644 --- a/infer/tests/codetoanalyze/c/errors/lists/lists.c +++ b/infer/tests/codetoanalyze/c/errors/lists/lists.c @@ -1,11 +1,12 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ + struct l2 { int b; struct l2 *a; diff --git a/infer/tests/codetoanalyze/c/errors/local_vars/local_vars.c b/infer/tests/codetoanalyze/c/errors/local_vars/local_vars.c index 629d37fbf..0ed200538 100644 --- a/infer/tests/codetoanalyze/c/errors/local_vars/local_vars.c +++ b/infer/tests/codetoanalyze/c/errors/local_vars/local_vars.c @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ int m(int z) { diff --git a/infer/tests/codetoanalyze/c/errors/memory_leaks/test.c b/infer/tests/codetoanalyze/c/errors/memory_leaks/test.c index 9a3105ad1..97b61bac1 100644 --- a/infer/tests/codetoanalyze/c/errors/memory_leaks/test.c +++ b/infer/tests/codetoanalyze/c/errors/memory_leaks/test.c @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #include #include diff --git a/infer/tests/codetoanalyze/c/errors/null_dereference/angelism.c b/infer/tests/codetoanalyze/c/errors/null_dereference/angelism.c index aa4041f3f..21bf6a819 100644 --- a/infer/tests/codetoanalyze/c/errors/null_dereference/angelism.c +++ b/infer/tests/codetoanalyze/c/errors/null_dereference/angelism.c @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #include diff --git a/infer/tests/codetoanalyze/c/errors/null_dereference/getc.c b/infer/tests/codetoanalyze/c/errors/null_dereference/getc.c index 56217c694..1c4f70e3f 100644 --- a/infer/tests/codetoanalyze/c/errors/null_dereference/getc.c +++ b/infer/tests/codetoanalyze/c/errors/null_dereference/getc.c @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #include #include @@ -54,18 +54,18 @@ void nocrash_fgetc() { void crash_ungetc() { FILE *f; - + f = fopen("this_file_doesnt_exist", "r"); - + int i =ungetc(10,f); fclose(f); - + } void nocrash_ungetc() { FILE *f; - + f = fopen("this_file_doesnt_exist", "r"); if (f) { int i =ungetc(10,f); @@ -76,17 +76,17 @@ void nocrash_ungetc() void crash_fputs() { FILE *f; - + f = fopen("this_file_doesnt_exist", "r"); fputs("blablabla", f); fclose(f); - + } void nocrash_fputs() { FILE *f; - + f = fopen("this_file_doesnt_exist", "r"); if (f) { fputs("blablabla", f); @@ -97,17 +97,17 @@ void nocrash_fputs() void crash_fputc() { FILE *f; - + f = fopen("this_file_doesnt_exist", "r"); fputc(42, f); fclose(f); - + } void nocrash_fputc() { FILE *f; - + f = fopen("this_file_doesnt_exist", "r"); if (f) { fputc(42, f); @@ -118,17 +118,17 @@ void nocrash_fputc() void crash_putc() { FILE *f; - + f = fopen("this_file_doesnt_exist", "r"); putc(42, f); fclose(f); - + } void nocrash_putc() { FILE *f; - + f = fopen("this_file_doesnt_exist", "r"); if (f) { putc(42, f); @@ -139,17 +139,17 @@ void nocrash_putc() void crash_fseeks() { FILE *f; - + f = fopen("this_file_doesnt_exist", "r"); fseek( f, 7, SEEK_SET ); fclose(f); - + } void nocrash_fseek() { FILE *f; - + f = fopen("this_file_doesnt_exist", "r"); if (f) { fseek( f, 7, SEEK_SET ); @@ -160,17 +160,17 @@ void nocrash_fseek() void crash_ftell() { FILE *f; - + f = fopen("this_file_doesnt_exist", "r"); ftell(f); fclose(f); - + } void nocrash_ftell() { FILE *f; - + f = fopen("this_file_doesnt_exist", "r"); if (f) { ftell( f); @@ -182,18 +182,18 @@ void crash_fgets() { FILE *f; char str[60]; - + f = fopen("this_file_doesnt_exist", "r"); fgets(str,60, f); fclose(f); - + } void nocrash_fgets() { FILE *f; char str[60]; - + f = fopen("this_file_doesnt_exist", "r"); if (f) { fgets(str,60, f); @@ -205,17 +205,17 @@ void nocrash_fgets() void crash_rewind() { FILE *f; - + f = fopen("this_file_doesnt_exist", "r"); rewind(f); fclose(f); - + } void nocrash_rewind() { FILE *f; - + f = fopen("this_file_doesnt_exist", "r"); if (f) { rewind( f); @@ -226,17 +226,17 @@ void nocrash_rewind() void crash_fileno() { FILE *f; - + f = fopen("this_file_doesnt_exist", "r"); fileno(f); fclose(f); - + } void nocrash_fileno() { FILE *f; - + f = fopen("this_file_doesnt_exist", "r"); if (f) { fileno( f); @@ -248,17 +248,17 @@ void nocrash_fileno() void crash_clearerr() { FILE *f; - + f = fopen("this_file_doesnt_exist", "r"); clearerr(f); fclose(f); - + } void nocrash_clearerr() { FILE *f; - + f = fopen("this_file_doesnt_exist", "r"); if (f) { clearerr( f); @@ -269,17 +269,17 @@ void nocrash_clearerr() void crash_ferror() { FILE *f; - + f = fopen("this_file_doesnt_exist", "r"); ferror(f); fclose(f); - + } void nocrash_ferror() { FILE *f; - + f = fopen("this_file_doesnt_exist", "r"); if (f) { ferror( f); @@ -290,17 +290,17 @@ void nocrash_ferror() void crash_feof() { FILE *f; - + f = fopen("this_file_doesnt_exist", "r"); feof(f); fclose(f); - + } void nocrash_feof() { FILE *f; - + f = fopen("this_file_doesnt_exist", "r"); if (f) { feof(f); @@ -313,17 +313,17 @@ void nocrash_feof() void crash_fprintf() { FILE *f; - + f = fopen("this_file_doesnt_exist", "r"); fprintf(f,"blablabla\n"); fclose(f); - + } void nocrash_fprintf() { FILE *f; - + f = fopen("this_file_doesnt_exist", "r"); if (f) { fprintf(f,"blablabla\n"); @@ -335,18 +335,18 @@ void crash_vfprintf() { FILE *f; va_list arg; - + f = fopen("this_file_doesnt_exist", "r"); vfprintf(f,"blablabla\n",arg); fclose(f); - + } void nocrash_vfprintf() { FILE *f; va_list arg; - + f = fopen("this_file_doesnt_exist", "r"); if (f) { vfprintf(f,"blablabla\n",arg); @@ -359,18 +359,18 @@ void crash_fgetpos() { FILE *f; fpos_t position; - + f = fopen("this_file_doesnt_exist", "r"); fgetpos(f,&position); fclose(f); - + } void nocrash_fgetpos() { FILE *f; fpos_t position; - + f = fopen("this_file_doesnt_exist", "r"); if (f) { fgetpos(f,&position); @@ -382,24 +382,21 @@ void crash_fsetpos() { FILE *f; fpos_t position; - + f = fopen("this_file_doesnt_exist", "r"); fsetpos(f,&position); fclose(f); - + } void nocrash_fsetpos() { FILE *f; fpos_t position; - + f = fopen("this_file_doesnt_exist", "r"); if (f) { fsetpos(f,&position); fclose(f); } } - - - diff --git a/infer/tests/codetoanalyze/c/errors/null_dereference/null_pointer_dereference.c b/infer/tests/codetoanalyze/c/errors/null_dereference/null_pointer_dereference.c index 8db495c9f..ebfab1753 100644 --- a/infer/tests/codetoanalyze/c/errors/null_dereference/null_pointer_dereference.c +++ b/infer/tests/codetoanalyze/c/errors/null_dereference/null_pointer_dereference.c @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #include diff --git a/infer/tests/codetoanalyze/c/errors/resource_leaks/leak.c b/infer/tests/codetoanalyze/c/errors/resource_leaks/leak.c index 50d778353..cae56e1be 100644 --- a/infer/tests/codetoanalyze/c/errors/resource_leaks/leak.c +++ b/infer/tests/codetoanalyze/c/errors/resource_leaks/leak.c @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #include #include diff --git a/infer/tests/codetoanalyze/c/frontend/arithmetic/compound_assignment.c b/infer/tests/codetoanalyze/c/frontend/arithmetic/compound_assignment.c index 68f6ff80f..b11d60c17 100644 --- a/infer/tests/codetoanalyze/c/frontend/arithmetic/compound_assignment.c +++ b/infer/tests/codetoanalyze/c/frontend/arithmetic/compound_assignment.c @@ -1,18 +1,18 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ int main() { double x = 1.0; x += 1.0; x -= 1.0; x /= 1.0; - x *= 1.0; + x *= 1.0; int b = 1; b <<= 1; b >>= 1; diff --git a/infer/tests/codetoanalyze/c/frontend/arithmetic/int_const.c b/infer/tests/codetoanalyze/c/frontend/arithmetic/int_const.c index 2a413c76a..081dabb46 100644 --- a/infer/tests/codetoanalyze/c/frontend/arithmetic/int_const.c +++ b/infer/tests/codetoanalyze/c/frontend/arithmetic/int_const.c @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ int main() { diff --git a/infer/tests/codetoanalyze/c/frontend/arithmetic/plus_expr.c b/infer/tests/codetoanalyze/c/frontend/arithmetic/plus_expr.c index 0047d01e0..2ee2e675a 100644 --- a/infer/tests/codetoanalyze/c/frontend/arithmetic/plus_expr.c +++ b/infer/tests/codetoanalyze/c/frontend/arithmetic/plus_expr.c @@ -1,14 +1,14 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ int main() { int x = 2; int z = 3; - return x + z; + return x + z; } diff --git a/infer/tests/codetoanalyze/c/frontend/arithmetic/unary.c b/infer/tests/codetoanalyze/c/frontend/arithmetic/unary.c index 8132b3702..f8df85d4e 100644 --- a/infer/tests/codetoanalyze/c/frontend/arithmetic/unary.c +++ b/infer/tests/codetoanalyze/c/frontend/arithmetic/unary.c @@ -1,33 +1,33 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ int main() { int x = 1; int y; - + y = ~x; y = -x; y = +x; - + y = x++; y = ++x; - + y = --x; y = x--; - + int a; int *b; - + b = &a; a = *(b+1); *b = *b + 1; a = *(&a); - + return 0; } diff --git a/infer/tests/codetoanalyze/c/frontend/booleans/bool_example.c b/infer/tests/codetoanalyze/c/frontend/booleans/bool_example.c index 069ea966d..a27bbd12b 100644 --- a/infer/tests/codetoanalyze/c/frontend/booleans/bool_example.c +++ b/infer/tests/codetoanalyze/c/frontend/booleans/bool_example.c @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #include diff --git a/infer/tests/codetoanalyze/c/frontend/booleans/condition_as_param.c b/infer/tests/codetoanalyze/c/frontend/booleans/condition_as_param.c index 1a4a6b7c4..15ed0e1a9 100644 --- a/infer/tests/codetoanalyze/c/frontend/booleans/condition_as_param.c +++ b/infer/tests/codetoanalyze/c/frontend/booleans/condition_as_param.c @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ void check(int x) { } diff --git a/infer/tests/codetoanalyze/c/frontend/c_prototype/prototype.c b/infer/tests/codetoanalyze/c/frontend/c_prototype/prototype.c index b9cfaecfc..34319cb52 100644 --- a/infer/tests/codetoanalyze/c/frontend/c_prototype/prototype.c +++ b/infer/tests/codetoanalyze/c/frontend/c_prototype/prototype.c @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ /* A simple example of a function prototype allowing the function diff --git a/infer/tests/codetoanalyze/c/frontend/comma/comma.c b/infer/tests/codetoanalyze/c/frontend/comma/comma.c index 1feb5924c..075441c6a 100644 --- a/infer/tests/codetoanalyze/c/frontend/comma/comma.c +++ b/infer/tests/codetoanalyze/c/frontend/comma/comma.c @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ int comma_1() { int a = 9, b = 7; diff --git a/infer/tests/codetoanalyze/c/frontend/conditional_operator/array_access.c b/infer/tests/codetoanalyze/c/frontend/conditional_operator/array_access.c index 6ea953334..adb4754e2 100644 --- a/infer/tests/codetoanalyze/c/frontend/conditional_operator/array_access.c +++ b/infer/tests/codetoanalyze/c/frontend/conditional_operator/array_access.c @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ void dereference_in_array_access(int **p) { if (p[0]); diff --git a/infer/tests/codetoanalyze/c/frontend/conditional_operator/assert_example.c b/infer/tests/codetoanalyze/c/frontend/conditional_operator/assert_example.c index 7f4bfb148..ad129fc2b 100644 --- a/infer/tests/codetoanalyze/c/frontend/conditional_operator/assert_example.c +++ b/infer/tests/codetoanalyze/c/frontend/conditional_operator/assert_example.c @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #include diff --git a/infer/tests/codetoanalyze/c/frontend/conditional_operator/binary_operator.c b/infer/tests/codetoanalyze/c/frontend/conditional_operator/binary_operator.c index 9500e1a7b..eb7833b3f 100644 --- a/infer/tests/codetoanalyze/c/frontend/conditional_operator/binary_operator.c +++ b/infer/tests/codetoanalyze/c/frontend/conditional_operator/binary_operator.c @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ void binop_with_side_effects(int z) { // simple assignment diff --git a/infer/tests/codetoanalyze/c/frontend/conditional_operator/cond2.c b/infer/tests/codetoanalyze/c/frontend/conditional_operator/cond2.c index 642a678da..11d523211 100644 --- a/infer/tests/codetoanalyze/c/frontend/conditional_operator/cond2.c +++ b/infer/tests/codetoanalyze/c/frontend/conditional_operator/cond2.c @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ int foo() { @@ -15,7 +15,7 @@ int foo() int n = ((3 < 4 || 7<((x++)-y )) ? 1 : 2); n = (2 < 1 ? 1 : (5>4 ? 1:2)); return (0 + (7 > 9 ? 1 : 0)); - + } int bar() { diff --git a/infer/tests/codetoanalyze/c/frontend/conditional_operator/conditional_operator.c b/infer/tests/codetoanalyze/c/frontend/conditional_operator/conditional_operator.c index 5f18cfea5..e6a7c03a8 100644 --- a/infer/tests/codetoanalyze/c/frontend/conditional_operator/conditional_operator.c +++ b/infer/tests/codetoanalyze/c/frontend/conditional_operator/conditional_operator.c @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #include diff --git a/infer/tests/codetoanalyze/c/frontend/conditional_operator/function_call.c b/infer/tests/codetoanalyze/c/frontend/conditional_operator/function_call.c index ce402162f..44019a4e2 100644 --- a/infer/tests/codetoanalyze/c/frontend/conditional_operator/function_call.c +++ b/infer/tests/codetoanalyze/c/frontend/conditional_operator/function_call.c @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ void some_f(int, int, int); diff --git a/infer/tests/codetoanalyze/c/frontend/conditional_operator/if_short_circuit.c b/infer/tests/codetoanalyze/c/frontend/conditional_operator/if_short_circuit.c index 992734da0..0f7cf7096 100644 --- a/infer/tests/codetoanalyze/c/frontend/conditional_operator/if_short_circuit.c +++ b/infer/tests/codetoanalyze/c/frontend/conditional_operator/if_short_circuit.c @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #include @@ -26,10 +26,10 @@ void shortcircuit_and(int *x) { void test_loop () { - + char* spec; char* block_size; - + spec= getenv ("BLOCK"); while((! spec @@ -38,19 +38,19 @@ while((! spec block_size =0; } - + } int main() { - + char* spec; char* block_size; - + spec= getenv ("BLOCK"); - - + + if (! spec && ! (spec = getenv ("BLOCK_SIZE")) @@ -60,7 +60,7 @@ int main() { { if (*spec == '\'') block_size=0; } - - + + return 0; } diff --git a/infer/tests/codetoanalyze/c/frontend/conditional_operator/int_negation.c b/infer/tests/codetoanalyze/c/frontend/conditional_operator/int_negation.c index 1da7187e1..3fa9dbd73 100644 --- a/infer/tests/codetoanalyze/c/frontend/conditional_operator/int_negation.c +++ b/infer/tests/codetoanalyze/c/frontend/conditional_operator/int_negation.c @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ int identity(int x) { return x; diff --git a/infer/tests/codetoanalyze/c/frontend/conditional_operator/member_access.c b/infer/tests/codetoanalyze/c/frontend/conditional_operator/member_access.c index c7e9d89c8..fea1a70f4 100644 --- a/infer/tests/codetoanalyze/c/frontend/conditional_operator/member_access.c +++ b/infer/tests/codetoanalyze/c/frontend/conditional_operator/member_access.c @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ struct s { int field; diff --git a/infer/tests/codetoanalyze/c/frontend/conditional_operator/preincrement.c b/infer/tests/codetoanalyze/c/frontend/conditional_operator/preincrement.c index fbf3daa59..d79a6ce98 100644 --- a/infer/tests/codetoanalyze/c/frontend/conditional_operator/preincrement.c +++ b/infer/tests/codetoanalyze/c/frontend/conditional_operator/preincrement.c @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ struct s { int x; diff --git a/infer/tests/codetoanalyze/c/frontend/conditional_operator/unary_operator.c b/infer/tests/codetoanalyze/c/frontend/conditional_operator/unary_operator.c index 57fea63ed..ac164b4b0 100644 --- a/infer/tests/codetoanalyze/c/frontend/conditional_operator/unary_operator.c +++ b/infer/tests/codetoanalyze/c/frontend/conditional_operator/unary_operator.c @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ void dereference_ifthenelse(int *p) { int x; diff --git a/infer/tests/codetoanalyze/c/frontend/enumeration/enum.c b/infer/tests/codetoanalyze/c/frontend/enumeration/enum.c index c835dd76d..9d653d661 100644 --- a/infer/tests/codetoanalyze/c/frontend/enumeration/enum.c +++ b/infer/tests/codetoanalyze/c/frontend/enumeration/enum.c @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ enum week{ sunday, monday, tuesday, wednesday = 0, thursday, friday, saturday}; diff --git a/infer/tests/codetoanalyze/c/frontend/enumeration/enum_bitmask.c b/infer/tests/codetoanalyze/c/frontend/enumeration/enum_bitmask.c index e93f9e24d..fe8252a96 100644 --- a/infer/tests/codetoanalyze/c/frontend/enumeration/enum_bitmask.c +++ b/infer/tests/codetoanalyze/c/frontend/enumeration/enum_bitmask.c @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ typedef enum MyOption { MyOption1 = 1 << 0, diff --git a/infer/tests/codetoanalyze/c/frontend/enumeration/other_enum.c b/infer/tests/codetoanalyze/c/frontend/enumeration/other_enum.c index 94bed6069..bd7055070 100644 --- a/infer/tests/codetoanalyze/c/frontend/enumeration/other_enum.c +++ b/infer/tests/codetoanalyze/c/frontend/enumeration/other_enum.c @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ enum Foo { A, B, C = 10, D, E = 1, F, G = F + C }; diff --git a/infer/tests/codetoanalyze/c/frontend/gotostmt/goto_ex.c b/infer/tests/codetoanalyze/c/frontend/gotostmt/goto_ex.c index aa1765eb6..eb84e58de 100644 --- a/infer/tests/codetoanalyze/c/frontend/gotostmt/goto_ex.c +++ b/infer/tests/codetoanalyze/c/frontend/gotostmt/goto_ex.c @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import diff --git a/infer/tests/codetoanalyze/c/frontend/initialization/array_initlistexpr.c b/infer/tests/codetoanalyze/c/frontend/initialization/array_initlistexpr.c index b983bb0d6..0bfda22de 100644 --- a/infer/tests/codetoanalyze/c/frontend/initialization/array_initlistexpr.c +++ b/infer/tests/codetoanalyze/c/frontend/initialization/array_initlistexpr.c @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ int main() { int z; diff --git a/infer/tests/codetoanalyze/c/frontend/initialization/struct_initlistexpr.c b/infer/tests/codetoanalyze/c/frontend/initialization/struct_initlistexpr.c index f432ac4a0..a949a2015 100644 --- a/infer/tests/codetoanalyze/c/frontend/initialization/struct_initlistexpr.c +++ b/infer/tests/codetoanalyze/c/frontend/initialization/struct_initlistexpr.c @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ typedef struct Point { int x; diff --git a/infer/tests/codetoanalyze/c/frontend/loops/do_while.c b/infer/tests/codetoanalyze/c/frontend/loops/do_while.c index 9796fe313..e6bbcfd92 100644 --- a/infer/tests/codetoanalyze/c/frontend/loops/do_while.c +++ b/infer/tests/codetoanalyze/c/frontend/loops/do_while.c @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ int main () { int a = 10; @@ -13,6 +13,6 @@ int main () { do { a = 1; }while( b < 20 ); - + return 0; } diff --git a/infer/tests/codetoanalyze/c/frontend/loops/do_while_condition_side_effects.c b/infer/tests/codetoanalyze/c/frontend/loops/do_while_condition_side_effects.c index a78cd68e2..2457cadf2 100644 --- a/infer/tests/codetoanalyze/c/frontend/loops/do_while_condition_side_effects.c +++ b/infer/tests/codetoanalyze/c/frontend/loops/do_while_condition_side_effects.c @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ int main () { int a = 10; @@ -13,6 +13,6 @@ int main () { do { a = 1; }while( (b = 40) ); - + return 0; } diff --git a/infer/tests/codetoanalyze/c/frontend/loops/do_while_nested.c b/infer/tests/codetoanalyze/c/frontend/loops/do_while_nested.c index d6d257e2f..4fde94640 100644 --- a/infer/tests/codetoanalyze/c/frontend/loops/do_while_nested.c +++ b/infer/tests/codetoanalyze/c/frontend/loops/do_while_nested.c @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ int main () { int a = 10; @@ -16,6 +16,6 @@ int main () { a = 2; }while( b < 30 ); }while( b < 20 ); - + return 0; } diff --git a/infer/tests/codetoanalyze/c/frontend/loops/for_condition_side_effects.c b/infer/tests/codetoanalyze/c/frontend/loops/for_condition_side_effects.c index d58e7ed42..f61a2c175 100644 --- a/infer/tests/codetoanalyze/c/frontend/loops/for_condition_side_effects.c +++ b/infer/tests/codetoanalyze/c/frontend/loops/for_condition_side_effects.c @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ int main() { int j = 0; diff --git a/infer/tests/codetoanalyze/c/frontend/loops/for_nested.c b/infer/tests/codetoanalyze/c/frontend/loops/for_nested.c index 3d4f2ec3e..34497a6f0 100644 --- a/infer/tests/codetoanalyze/c/frontend/loops/for_nested.c +++ b/infer/tests/codetoanalyze/c/frontend/loops/for_nested.c @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ int main() { int k = 0; diff --git a/infer/tests/codetoanalyze/c/frontend/loops/for_no_condition.c b/infer/tests/codetoanalyze/c/frontend/loops/for_no_condition.c index 5546d1805..6fba5d980 100644 --- a/infer/tests/codetoanalyze/c/frontend/loops/for_no_condition.c +++ b/infer/tests/codetoanalyze/c/frontend/loops/for_no_condition.c @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ int main() { int j = 0; diff --git a/infer/tests/codetoanalyze/c/frontend/loops/for_no_condition_incr.c b/infer/tests/codetoanalyze/c/frontend/loops/for_no_condition_incr.c index 6345923d7..d73667525 100644 --- a/infer/tests/codetoanalyze/c/frontend/loops/for_no_condition_incr.c +++ b/infer/tests/codetoanalyze/c/frontend/loops/for_no_condition_incr.c @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ int main() { int j = 0; diff --git a/infer/tests/codetoanalyze/c/frontend/loops/for_no_condition_incr_body.c b/infer/tests/codetoanalyze/c/frontend/loops/for_no_condition_incr_body.c index 7c74c2bdc..f658dc711 100644 --- a/infer/tests/codetoanalyze/c/frontend/loops/for_no_condition_incr_body.c +++ b/infer/tests/codetoanalyze/c/frontend/loops/for_no_condition_incr_body.c @@ -1,15 +1,15 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ int main() { int d = 0; - for (d=0;;) { + for (d=0;;) { } return 0; } diff --git a/infer/tests/codetoanalyze/c/frontend/loops/for_only_body.c b/infer/tests/codetoanalyze/c/frontend/loops/for_only_body.c index e58ce1c62..96a5002fb 100644 --- a/infer/tests/codetoanalyze/c/frontend/loops/for_only_body.c +++ b/infer/tests/codetoanalyze/c/frontend/loops/for_only_body.c @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ int main() { int i = 0; diff --git a/infer/tests/codetoanalyze/c/frontend/loops/for_simple.c b/infer/tests/codetoanalyze/c/frontend/loops/for_simple.c index ad323f6ca..8e5285b5e 100644 --- a/infer/tests/codetoanalyze/c/frontend/loops/for_simple.c +++ b/infer/tests/codetoanalyze/c/frontend/loops/for_simple.c @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ int main() { int j = 0; diff --git a/infer/tests/codetoanalyze/c/frontend/loops/for_while_nested.c b/infer/tests/codetoanalyze/c/frontend/loops/for_while_nested.c index d6305d417..de9d825c5 100644 --- a/infer/tests/codetoanalyze/c/frontend/loops/for_while_nested.c +++ b/infer/tests/codetoanalyze/c/frontend/loops/for_while_nested.c @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ int main() { int k = 0; diff --git a/infer/tests/codetoanalyze/c/frontend/loops/while.c b/infer/tests/codetoanalyze/c/frontend/loops/while.c index d1e52f3de..8b232d6b0 100644 --- a/infer/tests/codetoanalyze/c/frontend/loops/while.c +++ b/infer/tests/codetoanalyze/c/frontend/loops/while.c @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ int main() { int i = 0; diff --git a/infer/tests/codetoanalyze/c/frontend/loops/while_condition_side_effects.c b/infer/tests/codetoanalyze/c/frontend/loops/while_condition_side_effects.c index 3e7ee0354..2914a375c 100644 --- a/infer/tests/codetoanalyze/c/frontend/loops/while_condition_side_effects.c +++ b/infer/tests/codetoanalyze/c/frontend/loops/while_condition_side_effects.c @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ int main() { int i = 0; diff --git a/infer/tests/codetoanalyze/c/frontend/loops/while_nested.c b/infer/tests/codetoanalyze/c/frontend/loops/while_nested.c index 60e265ec8..8376a639a 100644 --- a/infer/tests/codetoanalyze/c/frontend/loops/while_nested.c +++ b/infer/tests/codetoanalyze/c/frontend/loops/while_nested.c @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ int main() { int i = 0; diff --git a/infer/tests/codetoanalyze/c/frontend/loops/while_no_body.c b/infer/tests/codetoanalyze/c/frontend/loops/while_no_body.c index 4e38cc910..637607edd 100644 --- a/infer/tests/codetoanalyze/c/frontend/loops/while_no_body.c +++ b/infer/tests/codetoanalyze/c/frontend/loops/while_no_body.c @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ int main(){ while(1) {} diff --git a/infer/tests/codetoanalyze/c/frontend/loops/while_with_continue_and_break.c b/infer/tests/codetoanalyze/c/frontend/loops/while_with_continue_and_break.c index 416f5bae1..5673b3518 100644 --- a/infer/tests/codetoanalyze/c/frontend/loops/while_with_continue_and_break.c +++ b/infer/tests/codetoanalyze/c/frontend/loops/while_with_continue_and_break.c @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ int main() { int x = 0; diff --git a/infer/tests/codetoanalyze/c/frontend/nestedoperators/assign_in_condition.c b/infer/tests/codetoanalyze/c/frontend/nestedoperators/assign_in_condition.c index 91a00a28d..ebb1d53e8 100644 --- a/infer/tests/codetoanalyze/c/frontend/nestedoperators/assign_in_condition.c +++ b/infer/tests/codetoanalyze/c/frontend/nestedoperators/assign_in_condition.c @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ int foo(int *p) { if((*p = 0)) { diff --git a/infer/tests/codetoanalyze/c/frontend/nestedoperators/assign_with_increment.c b/infer/tests/codetoanalyze/c/frontend/nestedoperators/assign_with_increment.c index b3233060f..04f1bc73d 100644 --- a/infer/tests/codetoanalyze/c/frontend/nestedoperators/assign_with_increment.c +++ b/infer/tests/codetoanalyze/c/frontend/nestedoperators/assign_with_increment.c @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ int test() { int a = 3; diff --git a/infer/tests/codetoanalyze/c/frontend/nestedoperators/gnuexpr.c b/infer/tests/codetoanalyze/c/frontend/nestedoperators/gnuexpr.c index e6d4bdb75..1389c4061 100644 --- a/infer/tests/codetoanalyze/c/frontend/nestedoperators/gnuexpr.c +++ b/infer/tests/codetoanalyze/c/frontend/nestedoperators/gnuexpr.c @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ int main() { int y = 3; diff --git a/infer/tests/codetoanalyze/c/frontend/nestedoperators/nestedassignment.c b/infer/tests/codetoanalyze/c/frontend/nestedoperators/nestedassignment.c index f7b8416a3..bd3584ff4 100644 --- a/infer/tests/codetoanalyze/c/frontend/nestedoperators/nestedassignment.c +++ b/infer/tests/codetoanalyze/c/frontend/nestedoperators/nestedassignment.c @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ int main() { double x = 1.0; @@ -16,4 +16,4 @@ int main() { q = (x += 1.0); q = (x += (r += (s += t))); return 0; -} +} diff --git a/infer/tests/codetoanalyze/c/frontend/nestedoperators/union.c b/infer/tests/codetoanalyze/c/frontend/nestedoperators/union.c index a1fc737f5..6df92a157 100644 --- a/infer/tests/codetoanalyze/c/frontend/nestedoperators/union.c +++ b/infer/tests/codetoanalyze/c/frontend/nestedoperators/union.c @@ -1,33 +1,33 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #include struct { int a; int b; } *x; union { - int e; - int f; - + int e; + int f; + struct { int w; int u;} g; - - int h; + + int h; } y; int main() { int l; - + x->a=1; y.f =7; y.g.u=y.f; - + y.g.w = x->b; return 0; } diff --git a/infer/tests/codetoanalyze/c/frontend/struct.c b/infer/tests/codetoanalyze/c/frontend/struct.c index 673feef87..a2e698b4b 100644 --- a/infer/tests/codetoanalyze/c/frontend/struct.c +++ b/infer/tests/codetoanalyze/c/frontend/struct.c @@ -1,3 +1,12 @@ +/* + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ + struct X { int a; int b; diff --git a/infer/tests/codetoanalyze/c/frontend/switchstmt/switch.c b/infer/tests/codetoanalyze/c/frontend/switchstmt/switch.c index 78cfa04e1..a0015371f 100644 --- a/infer/tests/codetoanalyze/c/frontend/switchstmt/switch.c +++ b/infer/tests/codetoanalyze/c/frontend/switchstmt/switch.c @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import diff --git a/infer/tests/codetoanalyze/c/frontend/types/struct.c b/infer/tests/codetoanalyze/c/frontend/types/struct.c index eef3f8bd0..380c64085 100644 --- a/infer/tests/codetoanalyze/c/frontend/types/struct.c +++ b/infer/tests/codetoanalyze/c/frontend/types/struct.c @@ -1,3 +1,12 @@ +/* + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ + struct X { int a; int b; diff --git a/infer/tests/codetoanalyze/c/frontend/types/struct.c.dot b/infer/tests/codetoanalyze/c/frontend/types/struct.c.dot index 9ac3c75a9..706d425aa 100644 --- a/infer/tests/codetoanalyze/c/frontend/types/struct.c.dot +++ b/infer/tests/codetoanalyze/c/frontend/types/struct.c.dot @@ -1,16 +1,16 @@ digraph iCFG { -4 [label="4: BinaryOperatorStmt: Assign \n *&x.a:int =10 [line 8]\n " shape="box"] +4 [label="4: BinaryOperatorStmt: Assign \n *&x.a:int =10 [line 17]\n " shape="box"] 4 -> 3 ; -3 [label="3: BinaryOperatorStmt: Assign \n *&x.b:int =20 [line 9]\n APPLY_ABSTRACTION; [line 9]\n " shape="box"] +3 [label="3: BinaryOperatorStmt: Assign \n *&x.b:int =20 [line 18]\n APPLY_ABSTRACTION; [line 18]\n " shape="box"] 3 -> 2 ; 2 [label="2: Exit test \n " color=yellow style=filled] -1 [label="1: Start test\nFormals: \nLocals: x:struct X \n DECLARE_LOCALS(&return,&x); [line 6]\n NULLIFY(&x,false); [line 6]\n " color=yellow style=filled] +1 [label="1: Start test\nFormals: \nLocals: x:struct X \n DECLARE_LOCALS(&return,&x); [line 15]\n NULLIFY(&x,false); [line 15]\n " color=yellow style=filled] 1 -> 4 ; diff --git a/infer/tests/codetoanalyze/cpp/errors/memory_leaks/object_leak.cpp b/infer/tests/codetoanalyze/cpp/errors/memory_leaks/object_leak.cpp index 3d806e915..b99ac19b9 100644 --- a/infer/tests/codetoanalyze/cpp/errors/memory_leaks/object_leak.cpp +++ b/infer/tests/codetoanalyze/cpp/errors/memory_leaks/object_leak.cpp @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ class Rectangle { int width, height; diff --git a/infer/tests/codetoanalyze/cpp/errors/npe/null_returned_by_method.cpp b/infer/tests/codetoanalyze/cpp/errors/npe/null_returned_by_method.cpp index 4ee41ccea..80edb2a64 100644 --- a/infer/tests/codetoanalyze/cpp/errors/npe/null_returned_by_method.cpp +++ b/infer/tests/codetoanalyze/cpp/errors/npe/null_returned_by_method.cpp @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ class X { public: diff --git a/infer/tests/codetoanalyze/cpp/errors/npe/object_deref.cpp b/infer/tests/codetoanalyze/cpp/errors/npe/object_deref.cpp index 113975079..492144f49 100644 --- a/infer/tests/codetoanalyze/cpp/errors/npe/object_deref.cpp +++ b/infer/tests/codetoanalyze/cpp/errors/npe/object_deref.cpp @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ class X { public: diff --git a/infer/tests/codetoanalyze/cpp/errors/npe/this_not_null.cpp b/infer/tests/codetoanalyze/cpp/errors/npe/this_not_null.cpp index 58a03def5..36827811f 100644 --- a/infer/tests/codetoanalyze/cpp/errors/npe/this_not_null.cpp +++ b/infer/tests/codetoanalyze/cpp/errors/npe/this_not_null.cpp @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ struct X { int f; diff --git a/infer/tests/codetoanalyze/cpp/frontend/builtin/new.cpp b/infer/tests/codetoanalyze/cpp/frontend/builtin/new.cpp index 65df46ee1..3dee8047a 100644 --- a/infer/tests/codetoanalyze/cpp/frontend/builtin/new.cpp +++ b/infer/tests/codetoanalyze/cpp/frontend/builtin/new.cpp @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ void test() { int x = 2; diff --git a/infer/tests/codetoanalyze/cpp/frontend/conditional/lvalue_conditional.cpp b/infer/tests/codetoanalyze/cpp/frontend/conditional/lvalue_conditional.cpp index 81b2fb1d3..ac2c7f1c8 100644 --- a/infer/tests/codetoanalyze/cpp/frontend/conditional/lvalue_conditional.cpp +++ b/infer/tests/codetoanalyze/cpp/frontend/conditional/lvalue_conditional.cpp @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ int choose_lvalue(int a) { int v1 = 0, v2 = 1; diff --git a/infer/tests/codetoanalyze/cpp/frontend/constructors/constructor_default_arg.cpp b/infer/tests/codetoanalyze/cpp/frontend/constructors/constructor_default_arg.cpp index 11937c821..553613181 100644 --- a/infer/tests/codetoanalyze/cpp/frontend/constructors/constructor_default_arg.cpp +++ b/infer/tests/codetoanalyze/cpp/frontend/constructors/constructor_default_arg.cpp @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ class X { int f; diff --git a/infer/tests/codetoanalyze/cpp/frontend/constructors/constructor_with_body.cpp b/infer/tests/codetoanalyze/cpp/frontend/constructors/constructor_with_body.cpp index 4fc4ab198..d8c418a9e 100644 --- a/infer/tests/codetoanalyze/cpp/frontend/constructors/constructor_with_body.cpp +++ b/infer/tests/codetoanalyze/cpp/frontend/constructors/constructor_with_body.cpp @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ class X { int f; diff --git a/infer/tests/codetoanalyze/cpp/frontend/keywords/self_parameter.cpp b/infer/tests/codetoanalyze/cpp/frontend/keywords/self_parameter.cpp index 6a6976dcc..fc99c1301 100644 --- a/infer/tests/codetoanalyze/cpp/frontend/keywords/self_parameter.cpp +++ b/infer/tests/codetoanalyze/cpp/frontend/keywords/self_parameter.cpp @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ class A { public: diff --git a/infer/tests/codetoanalyze/cpp/frontend/literals/nullptr.cpp b/infer/tests/codetoanalyze/cpp/frontend/literals/nullptr.cpp index c71f51433..fac69c5c7 100644 --- a/infer/tests/codetoanalyze/cpp/frontend/literals/nullptr.cpp +++ b/infer/tests/codetoanalyze/cpp/frontend/literals/nullptr.cpp @@ -1,10 +1,10 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ int* getPtr() {return nullptr;} diff --git a/infer/tests/codetoanalyze/cpp/frontend/methods/default_parameters.cpp b/infer/tests/codetoanalyze/cpp/frontend/methods/default_parameters.cpp index d82ab96be..3322b55b5 100644 --- a/infer/tests/codetoanalyze/cpp/frontend/methods/default_parameters.cpp +++ b/infer/tests/codetoanalyze/cpp/frontend/methods/default_parameters.cpp @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ class A { public: diff --git a/infer/tests/codetoanalyze/cpp/frontend/methods/dereference_this.cpp b/infer/tests/codetoanalyze/cpp/frontend/methods/dereference_this.cpp index 402c9cd48..ae5986e24 100644 --- a/infer/tests/codetoanalyze/cpp/frontend/methods/dereference_this.cpp +++ b/infer/tests/codetoanalyze/cpp/frontend/methods/dereference_this.cpp @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ class A { int field; diff --git a/infer/tests/codetoanalyze/cpp/frontend/methods/inline_method.cpp b/infer/tests/codetoanalyze/cpp/frontend/methods/inline_method.cpp index 98e5e5f81..a12391d5f 100644 --- a/infer/tests/codetoanalyze/cpp/frontend/methods/inline_method.cpp +++ b/infer/tests/codetoanalyze/cpp/frontend/methods/inline_method.cpp @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ class A { struct AIn { diff --git a/infer/tests/codetoanalyze/cpp/frontend/methods/overloading.cpp b/infer/tests/codetoanalyze/cpp/frontend/methods/overloading.cpp index 8851fa5eb..739646792 100644 --- a/infer/tests/codetoanalyze/cpp/frontend/methods/overloading.cpp +++ b/infer/tests/codetoanalyze/cpp/frontend/methods/overloading.cpp @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ class A { int fun(int a, int b); diff --git a/infer/tests/codetoanalyze/cpp/frontend/methods/static.cpp b/infer/tests/codetoanalyze/cpp/frontend/methods/static.cpp index 86b9457c4..6305a8245 100644 --- a/infer/tests/codetoanalyze/cpp/frontend/methods/static.cpp +++ b/infer/tests/codetoanalyze/cpp/frontend/methods/static.cpp @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ class A { public: diff --git a/infer/tests/codetoanalyze/cpp/frontend/namespace/function.cpp b/infer/tests/codetoanalyze/cpp/frontend/namespace/function.cpp index 5fcec808c..54de8beb4 100644 --- a/infer/tests/codetoanalyze/cpp/frontend/namespace/function.cpp +++ b/infer/tests/codetoanalyze/cpp/frontend/namespace/function.cpp @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ namespace f1 { int get() { return 1;} diff --git a/infer/tests/codetoanalyze/cpp/frontend/namespace/global_variable.cpp b/infer/tests/codetoanalyze/cpp/frontend/namespace/global_variable.cpp index 12d6e2cc8..679cc7c25 100644 --- a/infer/tests/codetoanalyze/cpp/frontend/namespace/global_variable.cpp +++ b/infer/tests/codetoanalyze/cpp/frontend/namespace/global_variable.cpp @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ namespace f1 { int val; diff --git a/infer/tests/codetoanalyze/cpp/frontend/namespace/namespace.cpp b/infer/tests/codetoanalyze/cpp/frontend/namespace/namespace.cpp index a44b17d59..0ba4f165e 100644 --- a/infer/tests/codetoanalyze/cpp/frontend/namespace/namespace.cpp +++ b/infer/tests/codetoanalyze/cpp/frontend/namespace/namespace.cpp @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #include using namespace std; diff --git a/infer/tests/codetoanalyze/cpp/frontend/nestedoperators/var_decl_inside_for.cpp b/infer/tests/codetoanalyze/cpp/frontend/nestedoperators/var_decl_inside_for.cpp index 8299d7e5d..167937ddc 100644 --- a/infer/tests/codetoanalyze/cpp/frontend/nestedoperators/var_decl_inside_for.cpp +++ b/infer/tests/codetoanalyze/cpp/frontend/nestedoperators/var_decl_inside_for.cpp @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ int simple_init() { int result = 0; diff --git a/infer/tests/codetoanalyze/cpp/frontend/nestedoperators/var_decl_inside_if.cpp b/infer/tests/codetoanalyze/cpp/frontend/nestedoperators/var_decl_inside_if.cpp index b5676f122..502056d91 100644 --- a/infer/tests/codetoanalyze/cpp/frontend/nestedoperators/var_decl_inside_if.cpp +++ b/infer/tests/codetoanalyze/cpp/frontend/nestedoperators/var_decl_inside_if.cpp @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ int simple_init_div1() { if (int a = 1) { diff --git a/infer/tests/codetoanalyze/cpp/frontend/nestedoperators/var_decl_inside_switch.cpp b/infer/tests/codetoanalyze/cpp/frontend/nestedoperators/var_decl_inside_switch.cpp index 45a23dd9c..f79390051 100644 --- a/infer/tests/codetoanalyze/cpp/frontend/nestedoperators/var_decl_inside_switch.cpp +++ b/infer/tests/codetoanalyze/cpp/frontend/nestedoperators/var_decl_inside_switch.cpp @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ int get(int a) { switch (int x = a) { diff --git a/infer/tests/codetoanalyze/cpp/frontend/nestedoperators/var_decl_inside_while.cpp b/infer/tests/codetoanalyze/cpp/frontend/nestedoperators/var_decl_inside_while.cpp index 2d930f2c1..9dd82c6fd 100644 --- a/infer/tests/codetoanalyze/cpp/frontend/nestedoperators/var_decl_inside_while.cpp +++ b/infer/tests/codetoanalyze/cpp/frontend/nestedoperators/var_decl_inside_while.cpp @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ int simple_assignment() { int x = 10; diff --git a/infer/tests/codetoanalyze/cpp/frontend/reference/box.cpp b/infer/tests/codetoanalyze/cpp/frontend/reference/box.cpp index 001e9cc6a..b451a11db 100644 --- a/infer/tests/codetoanalyze/cpp/frontend/reference/box.cpp +++ b/infer/tests/codetoanalyze/cpp/frontend/reference/box.cpp @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ void test() { int v = 3; diff --git a/infer/tests/codetoanalyze/cpp/frontend/reference/increment.cpp b/infer/tests/codetoanalyze/cpp/frontend/reference/increment.cpp index e62fd674c..623a1796d 100644 --- a/infer/tests/codetoanalyze/cpp/frontend/reference/increment.cpp +++ b/infer/tests/codetoanalyze/cpp/frontend/reference/increment.cpp @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ void using_value() { int v = 3; diff --git a/infer/tests/codetoanalyze/cpp/frontend/reference/init.cpp b/infer/tests/codetoanalyze/cpp/frontend/reference/init.cpp index 352adf05b..1b5757144 100644 --- a/infer/tests/codetoanalyze/cpp/frontend/reference/init.cpp +++ b/infer/tests/codetoanalyze/cpp/frontend/reference/init.cpp @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ void init_from_ref(int &par) { int v = par; diff --git a/infer/tests/codetoanalyze/cpp/frontend/reference/member_access.cpp b/infer/tests/codetoanalyze/cpp/frontend/reference/member_access.cpp index 907663962..8f49a5b68 100644 --- a/infer/tests/codetoanalyze/cpp/frontend/reference/member_access.cpp +++ b/infer/tests/codetoanalyze/cpp/frontend/reference/member_access.cpp @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ struct X { int f; diff --git a/infer/tests/codetoanalyze/cpp/frontend/reference/member_access_from_return.cpp b/infer/tests/codetoanalyze/cpp/frontend/reference/member_access_from_return.cpp index 4f1e61521..177623c16 100644 --- a/infer/tests/codetoanalyze/cpp/frontend/reference/member_access_from_return.cpp +++ b/infer/tests/codetoanalyze/cpp/frontend/reference/member_access_from_return.cpp @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ struct X { int f; diff --git a/infer/tests/codetoanalyze/cpp/frontend/reference/nested_assignment.cpp b/infer/tests/codetoanalyze/cpp/frontend/reference/nested_assignment.cpp index f14e318b0..dd3053b4e 100644 --- a/infer/tests/codetoanalyze/cpp/frontend/reference/nested_assignment.cpp +++ b/infer/tests/codetoanalyze/cpp/frontend/reference/nested_assignment.cpp @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ void normal() { int a = 3; diff --git a/infer/tests/codetoanalyze/cpp/frontend/reference/reference_struct_e2e.cpp b/infer/tests/codetoanalyze/cpp/frontend/reference/reference_struct_e2e.cpp index 29f7035ef..7a3581dca 100644 --- a/infer/tests/codetoanalyze/cpp/frontend/reference/reference_struct_e2e.cpp +++ b/infer/tests/codetoanalyze/cpp/frontend/reference/reference_struct_e2e.cpp @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ struct X { int f; diff --git a/infer/tests/codetoanalyze/cpp/frontend/reference/reference_type_e2e.cpp b/infer/tests/codetoanalyze/cpp/frontend/reference/reference_type_e2e.cpp index 84ee7d2ec..358c96a76 100644 --- a/infer/tests/codetoanalyze/cpp/frontend/reference/reference_type_e2e.cpp +++ b/infer/tests/codetoanalyze/cpp/frontend/reference/reference_type_e2e.cpp @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ void zero_ptr(int* p) { *p = 0; } void zero_ref(int& p) { p = 0; } diff --git a/infer/tests/codetoanalyze/cpp/frontend/reference/temporary_lvalue.cpp b/infer/tests/codetoanalyze/cpp/frontend/reference/temporary_lvalue.cpp index 6ce3ba980..be3f080ad 100644 --- a/infer/tests/codetoanalyze/cpp/frontend/reference/temporary_lvalue.cpp +++ b/infer/tests/codetoanalyze/cpp/frontend/reference/temporary_lvalue.cpp @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ int div(const int& v) { return 1 / v; } diff --git a/infer/tests/codetoanalyze/cpp/frontend/reference/unbox.cpp b/infer/tests/codetoanalyze/cpp/frontend/reference/unbox.cpp index e9f8ebcc3..797e1a983 100644 --- a/infer/tests/codetoanalyze/cpp/frontend/reference/unbox.cpp +++ b/infer/tests/codetoanalyze/cpp/frontend/reference/unbox.cpp @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ int fun_p(int *p) { return *p;} int fun_v(int p) { return p;} diff --git a/infer/tests/codetoanalyze/cpp/frontend/templates/class_template_instantiate.cpp b/infer/tests/codetoanalyze/cpp/frontend/templates/class_template_instantiate.cpp index cb46710d1..e47051d48 100644 --- a/infer/tests/codetoanalyze/cpp/frontend/templates/class_template_instantiate.cpp +++ b/infer/tests/codetoanalyze/cpp/frontend/templates/class_template_instantiate.cpp @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ struct Choose1 { int div(int a, int b) { return 1 / a; } diff --git a/infer/tests/codetoanalyze/cpp/frontend/templates/function.cpp b/infer/tests/codetoanalyze/cpp/frontend/templates/function.cpp index d858451d1..0a7d92d03 100644 --- a/infer/tests/codetoanalyze/cpp/frontend/templates/function.cpp +++ b/infer/tests/codetoanalyze/cpp/frontend/templates/function.cpp @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ struct X1 { int getVal() { return 1; } diff --git a/infer/tests/codetoanalyze/cpp/frontend/templates/method.cpp b/infer/tests/codetoanalyze/cpp/frontend/templates/method.cpp index 1f3425583..b2a53579a 100644 --- a/infer/tests/codetoanalyze/cpp/frontend/templates/method.cpp +++ b/infer/tests/codetoanalyze/cpp/frontend/templates/method.cpp @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ struct X1 { int get() { return 1; } diff --git a/infer/tests/codetoanalyze/cpp/frontend/templates/simple.cpp b/infer/tests/codetoanalyze/cpp/frontend/templates/simple.cpp index 9a8d7da98..43afb9f74 100644 --- a/infer/tests/codetoanalyze/cpp/frontend/templates/simple.cpp +++ b/infer/tests/codetoanalyze/cpp/frontend/templates/simple.cpp @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ template struct Container { diff --git a/infer/tests/codetoanalyze/cpp/frontend/types/casts.cpp b/infer/tests/codetoanalyze/cpp/frontend/types/casts.cpp index 830eaa20e..43ba7ba2a 100644 --- a/infer/tests/codetoanalyze/cpp/frontend/types/casts.cpp +++ b/infer/tests/codetoanalyze/cpp/frontend/types/casts.cpp @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ void stat_cast() { int a; diff --git a/infer/tests/codetoanalyze/cpp/frontend/types/functions.cpp b/infer/tests/codetoanalyze/cpp/frontend/types/functions.cpp index e02fb4486..20ac01ed9 100644 --- a/infer/tests/codetoanalyze/cpp/frontend/types/functions.cpp +++ b/infer/tests/codetoanalyze/cpp/frontend/types/functions.cpp @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ int fun_default(int a = 3, int b = 5) { return a + b; diff --git a/infer/tests/codetoanalyze/cpp/frontend/types/inheritance.cpp b/infer/tests/codetoanalyze/cpp/frontend/types/inheritance.cpp index 73beab7f5..6c12ab83b 100644 --- a/infer/tests/codetoanalyze/cpp/frontend/types/inheritance.cpp +++ b/infer/tests/codetoanalyze/cpp/frontend/types/inheritance.cpp @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ class Base { public: diff --git a/infer/tests/codetoanalyze/cpp/frontend/types/inheritance_field.cpp b/infer/tests/codetoanalyze/cpp/frontend/types/inheritance_field.cpp index a55300cb4..600b027be 100644 --- a/infer/tests/codetoanalyze/cpp/frontend/types/inheritance_field.cpp +++ b/infer/tests/codetoanalyze/cpp/frontend/types/inheritance_field.cpp @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ struct Base1 { int b1; diff --git a/infer/tests/codetoanalyze/cpp/frontend/types/operator_overload.cpp b/infer/tests/codetoanalyze/cpp/frontend/types/operator_overload.cpp index ce24c8f49..911e68508 100644 --- a/infer/tests/codetoanalyze/cpp/frontend/types/operator_overload.cpp +++ b/infer/tests/codetoanalyze/cpp/frontend/types/operator_overload.cpp @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ struct X { // operator which is a method diff --git a/infer/tests/codetoanalyze/cpp/frontend/types/struct.cpp b/infer/tests/codetoanalyze/cpp/frontend/types/struct.cpp index 87ed680b9..c320e8232 100644 --- a/infer/tests/codetoanalyze/cpp/frontend/types/struct.cpp +++ b/infer/tests/codetoanalyze/cpp/frontend/types/struct.cpp @@ -1,3 +1,12 @@ +/* + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ + struct X_struct { int a; int b; diff --git a/infer/tests/codetoanalyze/cpp/frontend/types/struct.cpp.dot b/infer/tests/codetoanalyze/cpp/frontend/types/struct.cpp.dot index b1abc94a2..e0c81eda7 100644 --- a/infer/tests/codetoanalyze/cpp/frontend/types/struct.cpp.dot +++ b/infer/tests/codetoanalyze/cpp/frontend/types/struct.cpp.dot @@ -1,24 +1,24 @@ digraph iCFG { -6 [label="6: BinaryOperatorStmt: Assign \n n$3=*&xs:struct X_struct * [line 15]\n *n$3.a:int =10 [line 15]\n REMOVE_TEMPS(n$3); [line 15]\n " shape="box"] +6 [label="6: BinaryOperatorStmt: Assign \n n$3=*&xs:struct X_struct * [line 24]\n *n$3.a:int =10 [line 24]\n REMOVE_TEMPS(n$3); [line 24]\n " shape="box"] 6 -> 5 ; -5 [label="5: BinaryOperatorStmt: Assign \n n$2=*&xs:struct X_struct * [line 16]\n *n$2.b:int =20 [line 16]\n REMOVE_TEMPS(n$2); [line 16]\n NULLIFY(&xs,false); [line 16]\n " shape="box"] +5 [label="5: BinaryOperatorStmt: Assign \n n$2=*&xs:struct X_struct * [line 25]\n *n$2.b:int =20 [line 25]\n REMOVE_TEMPS(n$2); [line 25]\n NULLIFY(&xs,false); [line 25]\n " shape="box"] 5 -> 4 ; -4 [label="4: BinaryOperatorStmt: Assign \n n$1=*&xc:class X_class * [line 19]\n *n$1.a:int =10 [line 19]\n REMOVE_TEMPS(n$1); [line 19]\n " shape="box"] +4 [label="4: BinaryOperatorStmt: Assign \n n$1=*&xc:class X_class * [line 28]\n *n$1.a:int =10 [line 28]\n REMOVE_TEMPS(n$1); [line 28]\n " shape="box"] 4 -> 3 ; -3 [label="3: BinaryOperatorStmt: Assign \n n$0=*&xc:class X_class * [line 20]\n *n$0.b:int =20 [line 20]\n REMOVE_TEMPS(n$0); [line 20]\n NULLIFY(&xc,false); [line 20]\n APPLY_ABSTRACTION; [line 20]\n " shape="box"] +3 [label="3: BinaryOperatorStmt: Assign \n n$0=*&xc:class X_class * [line 29]\n *n$0.b:int =20 [line 29]\n REMOVE_TEMPS(n$0); [line 29]\n NULLIFY(&xc,false); [line 29]\n APPLY_ABSTRACTION; [line 29]\n " shape="box"] 3 -> 2 ; 2 [label="2: Exit test \n " color=yellow style=filled] -1 [label="1: Start test\nFormals: \nLocals: xc:class X_class * xs:struct X_struct * \n DECLARE_LOCALS(&return,&xc,&xs); [line 12]\n " color=yellow style=filled] +1 [label="1: Start test\nFormals: \nLocals: xc:class X_class * xs:struct X_struct * \n DECLARE_LOCALS(&return,&xc,&xs); [line 21]\n " color=yellow style=filled] 1 -> 6 ; diff --git a/infer/tests/codetoanalyze/java/checkers/ExpensiveCallExample.java b/infer/tests/codetoanalyze/java/checkers/ExpensiveCallExample.java index 4e34f8a92..767556451 100644 --- a/infer/tests/codetoanalyze/java/checkers/ExpensiveCallExample.java +++ b/infer/tests/codetoanalyze/java/checkers/ExpensiveCallExample.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package codetoanalyze.java.checkers; diff --git a/infer/tests/codetoanalyze/java/checkers/ExpensiveInheritanceExample.java b/infer/tests/codetoanalyze/java/checkers/ExpensiveInheritanceExample.java index 84e7d38e7..c6f1c423e 100644 --- a/infer/tests/codetoanalyze/java/checkers/ExpensiveInheritanceExample.java +++ b/infer/tests/codetoanalyze/java/checkers/ExpensiveInheritanceExample.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package codetoanalyze.java.checkers; diff --git a/infer/tests/codetoanalyze/java/checkers/ExpensiveInterfaceExample.java b/infer/tests/codetoanalyze/java/checkers/ExpensiveInterfaceExample.java index 00b1e1eb2..882e01135 100644 --- a/infer/tests/codetoanalyze/java/checkers/ExpensiveInterfaceExample.java +++ b/infer/tests/codetoanalyze/java/checkers/ExpensiveInterfaceExample.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package codetoanalyze.java.checkers; diff --git a/infer/tests/codetoanalyze/java/checkers/ExpensiveSubtypingExample.java b/infer/tests/codetoanalyze/java/checkers/ExpensiveSubtypingExample.java index caae9950d..51c52f592 100644 --- a/infer/tests/codetoanalyze/java/checkers/ExpensiveSubtypingExample.java +++ b/infer/tests/codetoanalyze/java/checkers/ExpensiveSubtypingExample.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package codetoanalyze.java.checkers; diff --git a/infer/tests/codetoanalyze/java/checkers/ImmutableCast.java b/infer/tests/codetoanalyze/java/checkers/ImmutableCast.java index 8dae69669..977121838 100644 --- a/infer/tests/codetoanalyze/java/checkers/ImmutableCast.java +++ b/infer/tests/codetoanalyze/java/checkers/ImmutableCast.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package codetoanalyze.java.checkers; diff --git a/infer/tests/codetoanalyze/java/checkers/PerformanceCriticalSubtypingExample.java b/infer/tests/codetoanalyze/java/checkers/PerformanceCriticalSubtypingExample.java index 71bdd45a4..d30f8d498 100644 --- a/infer/tests/codetoanalyze/java/checkers/PerformanceCriticalSubtypingExample.java +++ b/infer/tests/codetoanalyze/java/checkers/PerformanceCriticalSubtypingExample.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package codetoanalyze.java.checkers; diff --git a/infer/tests/codetoanalyze/java/checkers/PrintfArgsChecker.java b/infer/tests/codetoanalyze/java/checkers/PrintfArgsChecker.java index 68cb84d05..fdcde1597 100644 --- a/infer/tests/codetoanalyze/java/checkers/PrintfArgsChecker.java +++ b/infer/tests/codetoanalyze/java/checkers/PrintfArgsChecker.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package codetoanalyze.java.checkers; diff --git a/infer/tests/codetoanalyze/java/eradicate/ActivityFieldNotInitialized.java b/infer/tests/codetoanalyze/java/eradicate/ActivityFieldNotInitialized.java index aedd49eae..8a6ea659f 100644 --- a/infer/tests/codetoanalyze/java/eradicate/ActivityFieldNotInitialized.java +++ b/infer/tests/codetoanalyze/java/eradicate/ActivityFieldNotInitialized.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package codetoanalyze.java.eradicate; diff --git a/infer/tests/codetoanalyze/java/eradicate/FieldNotInitialized.java b/infer/tests/codetoanalyze/java/eradicate/FieldNotInitialized.java index b9d4a01fa..8fb1b5e73 100644 --- a/infer/tests/codetoanalyze/java/eradicate/FieldNotInitialized.java +++ b/infer/tests/codetoanalyze/java/eradicate/FieldNotInitialized.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package codetoanalyze.java.eradicate; diff --git a/infer/tests/codetoanalyze/java/eradicate/FieldNotNullable.java b/infer/tests/codetoanalyze/java/eradicate/FieldNotNullable.java index 5f14cfd8e..b55677c26 100644 --- a/infer/tests/codetoanalyze/java/eradicate/FieldNotNullable.java +++ b/infer/tests/codetoanalyze/java/eradicate/FieldNotNullable.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package codetoanalyze.java.eradicate; diff --git a/infer/tests/codetoanalyze/java/eradicate/InconsistentSubclassAnnotation.java b/infer/tests/codetoanalyze/java/eradicate/InconsistentSubclassAnnotation.java index af451a34d..f3bfc6214 100644 --- a/infer/tests/codetoanalyze/java/eradicate/InconsistentSubclassAnnotation.java +++ b/infer/tests/codetoanalyze/java/eradicate/InconsistentSubclassAnnotation.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package codetoanalyze.java.eradicate; diff --git a/infer/tests/codetoanalyze/java/eradicate/InconsistentSubclassAnnotationInterface.java b/infer/tests/codetoanalyze/java/eradicate/InconsistentSubclassAnnotationInterface.java index f0837fe88..b323ea434 100644 --- a/infer/tests/codetoanalyze/java/eradicate/InconsistentSubclassAnnotationInterface.java +++ b/infer/tests/codetoanalyze/java/eradicate/InconsistentSubclassAnnotationInterface.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package codetoanalyze.java.eradicate; diff --git a/infer/tests/codetoanalyze/java/eradicate/LibraryCalls.java b/infer/tests/codetoanalyze/java/eradicate/LibraryCalls.java index 49f88d70a..1687ce817 100644 --- a/infer/tests/codetoanalyze/java/eradicate/LibraryCalls.java +++ b/infer/tests/codetoanalyze/java/eradicate/LibraryCalls.java @@ -1,11 +1,12 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ + package codetoanalyze.java.eradicate; import java.lang.ref.PhantomReference; diff --git a/infer/tests/codetoanalyze/java/eradicate/NoReuseUndefFunctionValues.java b/infer/tests/codetoanalyze/java/eradicate/NoReuseUndefFunctionValues.java index 92c4ae78a..07b88621a 100644 --- a/infer/tests/codetoanalyze/java/eradicate/NoReuseUndefFunctionValues.java +++ b/infer/tests/codetoanalyze/java/eradicate/NoReuseUndefFunctionValues.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package codetoanalyze.java.eradicate; diff --git a/infer/tests/codetoanalyze/java/eradicate/NullFieldAccess.java b/infer/tests/codetoanalyze/java/eradicate/NullFieldAccess.java index 477522535..d0343430f 100644 --- a/infer/tests/codetoanalyze/java/eradicate/NullFieldAccess.java +++ b/infer/tests/codetoanalyze/java/eradicate/NullFieldAccess.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package codetoanalyze.java.eradicate; diff --git a/infer/tests/codetoanalyze/java/eradicate/NullMethodCall.java b/infer/tests/codetoanalyze/java/eradicate/NullMethodCall.java index 6a544623d..391c7c500 100644 --- a/infer/tests/codetoanalyze/java/eradicate/NullMethodCall.java +++ b/infer/tests/codetoanalyze/java/eradicate/NullMethodCall.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package codetoanalyze.java.eradicate; @@ -293,4 +293,3 @@ public class NullMethodCall { } } } - diff --git a/infer/tests/codetoanalyze/java/eradicate/ParameterNotNullable.java b/infer/tests/codetoanalyze/java/eradicate/ParameterNotNullable.java index 1823476a2..c8e48e858 100644 --- a/infer/tests/codetoanalyze/java/eradicate/ParameterNotNullable.java +++ b/infer/tests/codetoanalyze/java/eradicate/ParameterNotNullable.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package codetoanalyze.java.eradicate; diff --git a/infer/tests/codetoanalyze/java/eradicate/ReturnNotNullable.java b/infer/tests/codetoanalyze/java/eradicate/ReturnNotNullable.java index 22fc245a1..58f7c0ebb 100644 --- a/infer/tests/codetoanalyze/java/eradicate/ReturnNotNullable.java +++ b/infer/tests/codetoanalyze/java/eradicate/ReturnNotNullable.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package codetoanalyze.java.eradicate; diff --git a/infer/tests/codetoanalyze/java/eradicate/SuppressWarningsExample.java b/infer/tests/codetoanalyze/java/eradicate/SuppressWarningsExample.java index f7bf36e9e..a6ca69493 100644 --- a/infer/tests/codetoanalyze/java/eradicate/SuppressWarningsExample.java +++ b/infer/tests/codetoanalyze/java/eradicate/SuppressWarningsExample.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package codetoanalyze.java.eradicate; diff --git a/infer/tests/codetoanalyze/java/eradicate/SuppressedFieldNotInitializedExample.java b/infer/tests/codetoanalyze/java/eradicate/SuppressedFieldNotInitializedExample.java index 513b51b85..f4c8ae0d0 100644 --- a/infer/tests/codetoanalyze/java/eradicate/SuppressedFieldNotInitializedExample.java +++ b/infer/tests/codetoanalyze/java/eradicate/SuppressedFieldNotInitializedExample.java @@ -1,11 +1,12 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ + package codetoanalyze.java.eradicate; import java.lang.annotation.ElementType; diff --git a/infer/tests/codetoanalyze/java/errors/CursorNPEs.java b/infer/tests/codetoanalyze/java/errors/CursorNPEs.java index 560921c22..b1eb0ec02 100644 --- a/infer/tests/codetoanalyze/java/errors/CursorNPEs.java +++ b/infer/tests/codetoanalyze/java/errors/CursorNPEs.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package com.facebook.infer.tests.codetoanalyze.java.errors; diff --git a/infer/tests/codetoanalyze/java/harness/BasicHarnessActivity.java b/infer/tests/codetoanalyze/java/harness/BasicHarnessActivity.java index 1b1124f90..e198b3c6b 100644 --- a/infer/tests/codetoanalyze/java/harness/BasicHarnessActivity.java +++ b/infer/tests/codetoanalyze/java/harness/BasicHarnessActivity.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package codetoanalyze.java.harness; diff --git a/infer/tests/codetoanalyze/java/harness/CallbackActivity.java b/infer/tests/codetoanalyze/java/harness/CallbackActivity.java index 9c1e9d004..1f1c90ba7 100644 --- a/infer/tests/codetoanalyze/java/harness/CallbackActivity.java +++ b/infer/tests/codetoanalyze/java/harness/CallbackActivity.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package codetoanalyze.java.harness; diff --git a/infer/tests/codetoanalyze/java/harness/FindViewByIdActivity.java b/infer/tests/codetoanalyze/java/harness/FindViewByIdActivity.java index b1aab488a..48e538228 100644 --- a/infer/tests/codetoanalyze/java/harness/FindViewByIdActivity.java +++ b/infer/tests/codetoanalyze/java/harness/FindViewByIdActivity.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package codetoanalyze.java.harness; @@ -23,7 +23,7 @@ public class FindViewByIdActivity extends Activity { public void onCreate(Bundle b) { mView = (MyView) findViewById(-1); // replacing the above line with this reveals the bug - // mView = new MyView(this.getApplicationContext()); + // mView = new MyView(this.getApplicationContext()); Button btn = new Button(this.getApplicationContext()); Button.OnClickListener listener = new Button.OnClickListener() { diff --git a/infer/tests/codetoanalyze/java/harness/MyView.java b/infer/tests/codetoanalyze/java/harness/MyView.java index f727b8bba..69e0d4045 100644 --- a/infer/tests/codetoanalyze/java/harness/MyView.java +++ b/infer/tests/codetoanalyze/java/harness/MyView.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package codetoanalyze.java.harness; diff --git a/infer/tests/codetoanalyze/java/harness/SubclassActivity.java b/infer/tests/codetoanalyze/java/harness/SubclassActivity.java index 169da75fe..cc8228c09 100644 --- a/infer/tests/codetoanalyze/java/harness/SubclassActivity.java +++ b/infer/tests/codetoanalyze/java/harness/SubclassActivity.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package codetoanalyze.java.harness; diff --git a/infer/tests/codetoanalyze/java/harness/SuperclassActivity.java b/infer/tests/codetoanalyze/java/harness/SuperclassActivity.java index b8e5c8558..5101f0c84 100644 --- a/infer/tests/codetoanalyze/java/harness/SuperclassActivity.java +++ b/infer/tests/codetoanalyze/java/harness/SuperclassActivity.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package codetoanalyze.java.harness; diff --git a/infer/tests/codetoanalyze/java/harness/TrickyParamsActivity.java b/infer/tests/codetoanalyze/java/harness/TrickyParamsActivity.java index 9835abf6c..e25869f7a 100644 --- a/infer/tests/codetoanalyze/java/harness/TrickyParamsActivity.java +++ b/infer/tests/codetoanalyze/java/harness/TrickyParamsActivity.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package codetoanalyze.java.harness; diff --git a/infer/tests/codetoanalyze/java/incremental/changed_only_future/Child.java.v1 b/infer/tests/codetoanalyze/java/incremental/changed_only_future/Child.java.v1 index e1f85f2f8..4889f6de7 100644 --- a/infer/tests/codetoanalyze/java/incremental/changed_only_future/Child.java.v1 +++ b/infer/tests/codetoanalyze/java/incremental/changed_only_future/Child.java.v1 @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package codetoanalyze.java.incremental.changed_only_future; diff --git a/infer/tests/codetoanalyze/java/incremental/changed_only_future/Child.java.v2 b/infer/tests/codetoanalyze/java/incremental/changed_only_future/Child.java.v2 index 39bcc0517..b8de0740b 100644 --- a/infer/tests/codetoanalyze/java/incremental/changed_only_future/Child.java.v2 +++ b/infer/tests/codetoanalyze/java/incremental/changed_only_future/Child.java.v2 @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package codetoanalyze.java.incremental.changed_only_future; diff --git a/infer/tests/codetoanalyze/java/incremental/changed_only_future/Parent.java.v1 b/infer/tests/codetoanalyze/java/incremental/changed_only_future/Parent.java.v1 index 24137ebf4..6f0a236f4 100644 --- a/infer/tests/codetoanalyze/java/incremental/changed_only_future/Parent.java.v1 +++ b/infer/tests/codetoanalyze/java/incremental/changed_only_future/Parent.java.v1 @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package codetoanalyze.java.incremental.changed_only_future; diff --git a/infer/tests/codetoanalyze/java/incremental/changed_only_future/Parent.java.v3 b/infer/tests/codetoanalyze/java/incremental/changed_only_future/Parent.java.v3 index 5f943250d..211b0d126 100644 --- a/infer/tests/codetoanalyze/java/incremental/changed_only_future/Parent.java.v3 +++ b/infer/tests/codetoanalyze/java/incremental/changed_only_future/Parent.java.v3 @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package codetoanalyze.java.incremental.changed_only_future; diff --git a/infer/tests/codetoanalyze/java/incremental/changed_only_mode/Child.java b/infer/tests/codetoanalyze/java/incremental/changed_only_mode/Child.java index 9db8e7b26..27fc00098 100644 --- a/infer/tests/codetoanalyze/java/incremental/changed_only_mode/Child.java +++ b/infer/tests/codetoanalyze/java/incremental/changed_only_mode/Child.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package codetoanalyze.java.incremental.changed_only_mode; diff --git a/infer/tests/codetoanalyze/java/incremental/changed_only_mode/Child.java.v1 b/infer/tests/codetoanalyze/java/incremental/changed_only_mode/Child.java.v1 index 936cdc41e..f09b6a1f9 100644 --- a/infer/tests/codetoanalyze/java/incremental/changed_only_mode/Child.java.v1 +++ b/infer/tests/codetoanalyze/java/incremental/changed_only_mode/Child.java.v1 @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package codetoanalyze.java.incremental.changed_only_mode; diff --git a/infer/tests/codetoanalyze/java/incremental/changed_only_mode/Child.java.v2 b/infer/tests/codetoanalyze/java/incremental/changed_only_mode/Child.java.v2 index 9db8e7b26..27fc00098 100644 --- a/infer/tests/codetoanalyze/java/incremental/changed_only_mode/Child.java.v2 +++ b/infer/tests/codetoanalyze/java/incremental/changed_only_mode/Child.java.v2 @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package codetoanalyze.java.incremental.changed_only_mode; diff --git a/infer/tests/codetoanalyze/java/incremental/changed_only_mode/Parent.java b/infer/tests/codetoanalyze/java/incremental/changed_only_mode/Parent.java index 471dee254..0f09081ef 100644 --- a/infer/tests/codetoanalyze/java/incremental/changed_only_mode/Parent.java +++ b/infer/tests/codetoanalyze/java/incremental/changed_only_mode/Parent.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package codetoanalyze.java.incremental.changed_only_mode; diff --git a/infer/tests/codetoanalyze/java/incremental/child_changed/Child.java b/infer/tests/codetoanalyze/java/incremental/child_changed/Child.java index 5a7824c82..aaf2e1fec 100644 --- a/infer/tests/codetoanalyze/java/incremental/child_changed/Child.java +++ b/infer/tests/codetoanalyze/java/incremental/child_changed/Child.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package codetoanalyze.java.incremental.child_changed; diff --git a/infer/tests/codetoanalyze/java/incremental/child_changed/Child.java.v1 b/infer/tests/codetoanalyze/java/incremental/child_changed/Child.java.v1 index c76d649dd..1fb836cf3 100644 --- a/infer/tests/codetoanalyze/java/incremental/child_changed/Child.java.v1 +++ b/infer/tests/codetoanalyze/java/incremental/child_changed/Child.java.v1 @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package codetoanalyze.java.incremental.child_changed; diff --git a/infer/tests/codetoanalyze/java/incremental/child_changed/Child.java.v2 b/infer/tests/codetoanalyze/java/incremental/child_changed/Child.java.v2 index 5a7824c82..aaf2e1fec 100644 --- a/infer/tests/codetoanalyze/java/incremental/child_changed/Child.java.v2 +++ b/infer/tests/codetoanalyze/java/incremental/child_changed/Child.java.v2 @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package codetoanalyze.java.incremental.child_changed; diff --git a/infer/tests/codetoanalyze/java/incremental/child_changed/Grandparent.java b/infer/tests/codetoanalyze/java/incremental/child_changed/Grandparent.java index d64b9f778..7bbf79825 100644 --- a/infer/tests/codetoanalyze/java/incremental/child_changed/Grandparent.java +++ b/infer/tests/codetoanalyze/java/incremental/child_changed/Grandparent.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package codetoanalyze.java.incremental.child_changed; diff --git a/infer/tests/codetoanalyze/java/incremental/child_changed/Parent.java b/infer/tests/codetoanalyze/java/incremental/child_changed/Parent.java index 67ac15ac9..098885dad 100644 --- a/infer/tests/codetoanalyze/java/incremental/child_changed/Parent.java +++ b/infer/tests/codetoanalyze/java/incremental/child_changed/Parent.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package codetoanalyze.java.incremental.child_changed; diff --git a/infer/tests/codetoanalyze/java/incremental/file_unchanged/File.java b/infer/tests/codetoanalyze/java/incremental/file_unchanged/File.java index d2f801687..5222fe2e6 100644 --- a/infer/tests/codetoanalyze/java/incremental/file_unchanged/File.java +++ b/infer/tests/codetoanalyze/java/incremental/file_unchanged/File.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package codetoanalyze.java.incremental.file_unchanged; diff --git a/infer/tests/codetoanalyze/java/incremental/parent_changed/Child.java b/infer/tests/codetoanalyze/java/incremental/parent_changed/Child.java index 4f722e689..62f45814f 100644 --- a/infer/tests/codetoanalyze/java/incremental/parent_changed/Child.java +++ b/infer/tests/codetoanalyze/java/incremental/parent_changed/Child.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package codetoanalyze.java.incremental.parent_changed; diff --git a/infer/tests/codetoanalyze/java/incremental/parent_changed/Parent.java.v1 b/infer/tests/codetoanalyze/java/incremental/parent_changed/Parent.java.v1 index cc93f2a13..ca91c657c 100644 --- a/infer/tests/codetoanalyze/java/incremental/parent_changed/Parent.java.v1 +++ b/infer/tests/codetoanalyze/java/incremental/parent_changed/Parent.java.v1 @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package codetoanalyze.java.incremental.parent_changed; diff --git a/infer/tests/codetoanalyze/java/incremental/parent_changed/Parent.java.v2 b/infer/tests/codetoanalyze/java/incremental/parent_changed/Parent.java.v2 index 4c3d246e2..581009ebb 100644 --- a/infer/tests/codetoanalyze/java/incremental/parent_changed/Parent.java.v2 +++ b/infer/tests/codetoanalyze/java/incremental/parent_changed/Parent.java.v2 @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package codetoanalyze.java.incremental.parent_changed; diff --git a/infer/tests/codetoanalyze/java/infer/AnalysisStops.java b/infer/tests/codetoanalyze/java/infer/AnalysisStops.java index db344d750..281b1da89 100644 --- a/infer/tests/codetoanalyze/java/infer/AnalysisStops.java +++ b/infer/tests/codetoanalyze/java/infer/AnalysisStops.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package codetoanalyze.java.infer; diff --git a/infer/tests/codetoanalyze/java/infer/ArrayOutOfBounds.java b/infer/tests/codetoanalyze/java/infer/ArrayOutOfBounds.java index 95e47d1f2..6214ea679 100644 --- a/infer/tests/codetoanalyze/java/infer/ArrayOutOfBounds.java +++ b/infer/tests/codetoanalyze/java/infer/ArrayOutOfBounds.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package codetoanalyze.java.infer; diff --git a/infer/tests/codetoanalyze/java/infer/AutoGenerated.java b/infer/tests/codetoanalyze/java/infer/AutoGenerated.java index a682865fc..db862d50d 100644 --- a/infer/tests/codetoanalyze/java/infer/AutoGenerated.java +++ b/infer/tests/codetoanalyze/java/infer/AutoGenerated.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package codetoanalyze.java.infer; diff --git a/infer/tests/codetoanalyze/java/infer/Builtins.java b/infer/tests/codetoanalyze/java/infer/Builtins.java index db7c6d07a..21026e924 100644 --- a/infer/tests/codetoanalyze/java/infer/Builtins.java +++ b/infer/tests/codetoanalyze/java/infer/Builtins.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package codetoanalyze.java.infer; diff --git a/infer/tests/codetoanalyze/java/infer/ClassCastExceptions.java b/infer/tests/codetoanalyze/java/infer/ClassCastExceptions.java index d21530ff7..9e7491b88 100644 --- a/infer/tests/codetoanalyze/java/infer/ClassCastExceptions.java +++ b/infer/tests/codetoanalyze/java/infer/ClassCastExceptions.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package codetoanalyze.java.infer; diff --git a/infer/tests/codetoanalyze/java/infer/CloseableAsResourceExample.java b/infer/tests/codetoanalyze/java/infer/CloseableAsResourceExample.java index 5bda6ff58..73345af6c 100644 --- a/infer/tests/codetoanalyze/java/infer/CloseableAsResourceExample.java +++ b/infer/tests/codetoanalyze/java/infer/CloseableAsResourceExample.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package codetoanalyze.java.infer; diff --git a/infer/tests/codetoanalyze/java/infer/ContextLeaks.java b/infer/tests/codetoanalyze/java/infer/ContextLeaks.java index a5dc86b17..3a9e00e1d 100644 --- a/infer/tests/codetoanalyze/java/infer/ContextLeaks.java +++ b/infer/tests/codetoanalyze/java/infer/ContextLeaks.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package codetoanalyze.java.infer; diff --git a/infer/tests/codetoanalyze/java/infer/CursorLeaks.java b/infer/tests/codetoanalyze/java/infer/CursorLeaks.java index c3d4ef0cd..73ea07ea6 100644 --- a/infer/tests/codetoanalyze/java/infer/CursorLeaks.java +++ b/infer/tests/codetoanalyze/java/infer/CursorLeaks.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package codetoanalyze.java.infer; diff --git a/infer/tests/codetoanalyze/java/infer/DivideByZero.java b/infer/tests/codetoanalyze/java/infer/DivideByZero.java index b4db9400f..102fcf73b 100644 --- a/infer/tests/codetoanalyze/java/infer/DivideByZero.java +++ b/infer/tests/codetoanalyze/java/infer/DivideByZero.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package codetoanalyze.java.infer; diff --git a/infer/tests/codetoanalyze/java/infer/FilterInputStreamLeaks.java b/infer/tests/codetoanalyze/java/infer/FilterInputStreamLeaks.java index d6592c278..1b12e0e80 100644 --- a/infer/tests/codetoanalyze/java/infer/FilterInputStreamLeaks.java +++ b/infer/tests/codetoanalyze/java/infer/FilterInputStreamLeaks.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package codetoanalyze.java.infer; diff --git a/infer/tests/codetoanalyze/java/infer/FilterOutputStreamLeaks.java b/infer/tests/codetoanalyze/java/infer/FilterOutputStreamLeaks.java index 5fcabdb34..c33baf202 100644 --- a/infer/tests/codetoanalyze/java/infer/FilterOutputStreamLeaks.java +++ b/infer/tests/codetoanalyze/java/infer/FilterOutputStreamLeaks.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package codetoanalyze.java.infer; diff --git a/infer/tests/codetoanalyze/java/infer/HashMapExample.java b/infer/tests/codetoanalyze/java/infer/HashMapExample.java index 73873fd32..39f65eae0 100644 --- a/infer/tests/codetoanalyze/java/infer/HashMapExample.java +++ b/infer/tests/codetoanalyze/java/infer/HashMapExample.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package codetoanalyze.java.infer; diff --git a/infer/tests/codetoanalyze/java/infer/IntegerExample.java b/infer/tests/codetoanalyze/java/infer/IntegerExample.java index 6186d0cf6..9449bf8c5 100644 --- a/infer/tests/codetoanalyze/java/infer/IntegerExample.java +++ b/infer/tests/codetoanalyze/java/infer/IntegerExample.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ import java.util.HashMap; diff --git a/infer/tests/codetoanalyze/java/infer/JunitAssertion.java b/infer/tests/codetoanalyze/java/infer/JunitAssertion.java index 532265bdb..bacd09eaa 100644 --- a/infer/tests/codetoanalyze/java/infer/JunitAssertion.java +++ b/infer/tests/codetoanalyze/java/infer/JunitAssertion.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package codetoanalyze.java.infer; diff --git a/infer/tests/codetoanalyze/java/infer/NeverNullSource.java b/infer/tests/codetoanalyze/java/infer/NeverNullSource.java index 7196d87fb..3e3c245cb 100644 --- a/infer/tests/codetoanalyze/java/infer/NeverNullSource.java +++ b/infer/tests/codetoanalyze/java/infer/NeverNullSource.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ // _AUTOMATICALLY_GENERATED_ diff --git a/infer/tests/codetoanalyze/java/infer/NullPointerExceptions.java b/infer/tests/codetoanalyze/java/infer/NullPointerExceptions.java index d8f04f293..303e0b231 100644 --- a/infer/tests/codetoanalyze/java/infer/NullPointerExceptions.java +++ b/infer/tests/codetoanalyze/java/infer/NullPointerExceptions.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package codetoanalyze.java.infer; @@ -437,7 +437,7 @@ public class NullPointerExceptions { File[] files = dir.listFiles(); return files.length; // expect possible NullPointerException as files == null is possible } - + native Object unknownFunc(); Object callUnknownFunc() { diff --git a/infer/tests/codetoanalyze/java/infer/ReaderLeaks.java b/infer/tests/codetoanalyze/java/infer/ReaderLeaks.java index c0d0cb66c..409272452 100644 --- a/infer/tests/codetoanalyze/java/infer/ReaderLeaks.java +++ b/infer/tests/codetoanalyze/java/infer/ReaderLeaks.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package codetoanalyze.java.infer; diff --git a/infer/tests/codetoanalyze/java/infer/ResourceLeaks.java b/infer/tests/codetoanalyze/java/infer/ResourceLeaks.java index fb07dcdbc..3848dd99a 100644 --- a/infer/tests/codetoanalyze/java/infer/ResourceLeaks.java +++ b/infer/tests/codetoanalyze/java/infer/ResourceLeaks.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package codetoanalyze.java.infer; diff --git a/infer/tests/codetoanalyze/java/infer/ReturnValueIgnored.java b/infer/tests/codetoanalyze/java/infer/ReturnValueIgnored.java index d624db553..0621e303b 100644 --- a/infer/tests/codetoanalyze/java/infer/ReturnValueIgnored.java +++ b/infer/tests/codetoanalyze/java/infer/ReturnValueIgnored.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package codetoanalyze.java.infer; @@ -21,4 +21,3 @@ public class ReturnValueIgnored { } } - diff --git a/infer/tests/codetoanalyze/java/infer/SkippedSourceFile.java b/infer/tests/codetoanalyze/java/infer/SkippedSourceFile.java index 0f5355033..e0aace004 100644 --- a/infer/tests/codetoanalyze/java/infer/SkippedSourceFile.java +++ b/infer/tests/codetoanalyze/java/infer/SkippedSourceFile.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ // _SHOULD_BE_SKIPPED_ diff --git a/infer/tests/codetoanalyze/java/infer/SomeLibrary.java b/infer/tests/codetoanalyze/java/infer/SomeLibrary.java index 2e39803e5..99a982c44 100644 --- a/infer/tests/codetoanalyze/java/infer/SomeLibrary.java +++ b/infer/tests/codetoanalyze/java/infer/SomeLibrary.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package codetoanalyze.java.infer; diff --git a/infer/tests/codetoanalyze/java/infer/T.java b/infer/tests/codetoanalyze/java/infer/T.java index 15e336344..2d9b7bf7d 100644 --- a/infer/tests/codetoanalyze/java/infer/T.java +++ b/infer/tests/codetoanalyze/java/infer/T.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package codetoanalyze.java.infer; diff --git a/infer/tests/codetoanalyze/java/infer/TaintExample.java b/infer/tests/codetoanalyze/java/infer/TaintExample.java index 08dc7b7b3..541c4ef1f 100644 --- a/infer/tests/codetoanalyze/java/infer/TaintExample.java +++ b/infer/tests/codetoanalyze/java/infer/TaintExample.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package codetoanalyze.java.infer; diff --git a/infer/tests/codetoanalyze/java/infer/Utils.java b/infer/tests/codetoanalyze/java/infer/Utils.java index 6ffa3a8cb..7b631f25d 100644 --- a/infer/tests/codetoanalyze/java/infer/Utils.java +++ b/infer/tests/codetoanalyze/java/infer/Utils.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package codetoanalyze.java.infer; diff --git a/infer/tests/codetoanalyze/java/infer/WriterLeaks.java b/infer/tests/codetoanalyze/java/infer/WriterLeaks.java index 3bb1e1635..3009eb0e4 100644 --- a/infer/tests/codetoanalyze/java/infer/WriterLeaks.java +++ b/infer/tests/codetoanalyze/java/infer/WriterLeaks.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package codetoanalyze.java.infer; diff --git a/infer/tests/codetoanalyze/java/tracing/ArrayIndexOutOfBoundsExceptionExample.java b/infer/tests/codetoanalyze/java/tracing/ArrayIndexOutOfBoundsExceptionExample.java index 19744c7e0..ba8cb4412 100644 --- a/infer/tests/codetoanalyze/java/tracing/ArrayIndexOutOfBoundsExceptionExample.java +++ b/infer/tests/codetoanalyze/java/tracing/ArrayIndexOutOfBoundsExceptionExample.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package codetoanalyze.java.tracing; diff --git a/infer/tests/codetoanalyze/java/tracing/ClassCastExceptionExample.java b/infer/tests/codetoanalyze/java/tracing/ClassCastExceptionExample.java index 0fdd81293..665e6563a 100644 --- a/infer/tests/codetoanalyze/java/tracing/ClassCastExceptionExample.java +++ b/infer/tests/codetoanalyze/java/tracing/ClassCastExceptionExample.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package codetoanalyze.java.tracing; diff --git a/infer/tests/codetoanalyze/java/tracing/LocallyDefinedExceptionExample.java b/infer/tests/codetoanalyze/java/tracing/LocallyDefinedExceptionExample.java index a9b5c77e9..47c6ed2bd 100644 --- a/infer/tests/codetoanalyze/java/tracing/LocallyDefinedExceptionExample.java +++ b/infer/tests/codetoanalyze/java/tracing/LocallyDefinedExceptionExample.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package codetoanalyze.java.tracing; diff --git a/infer/tests/codetoanalyze/java/tracing/NullPointerExceptionExample.java b/infer/tests/codetoanalyze/java/tracing/NullPointerExceptionExample.java index 63dc40c92..cc28aff7f 100644 --- a/infer/tests/codetoanalyze/java/tracing/NullPointerExceptionExample.java +++ b/infer/tests/codetoanalyze/java/tracing/NullPointerExceptionExample.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package codetoanalyze.java.tracing; diff --git a/infer/tests/codetoanalyze/java/tracing/ReportOnMainExample.java b/infer/tests/codetoanalyze/java/tracing/ReportOnMainExample.java index 9e5879cdd..400f3ff8a 100644 --- a/infer/tests/codetoanalyze/java/tracing/ReportOnMainExample.java +++ b/infer/tests/codetoanalyze/java/tracing/ReportOnMainExample.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package codetoanalyze.java.tracing; diff --git a/infer/tests/codetoanalyze/java/tracing/T.java b/infer/tests/codetoanalyze/java/tracing/T.java index 46bb14a5a..d5ba32490 100644 --- a/infer/tests/codetoanalyze/java/tracing/T.java +++ b/infer/tests/codetoanalyze/java/tracing/T.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package codetoanalyze.java.tracing; diff --git a/infer/tests/codetoanalyze/java/tracing/UnavoidableExceptionExample.java b/infer/tests/codetoanalyze/java/tracing/UnavoidableExceptionExample.java index 6864c900b..857d79576 100644 --- a/infer/tests/codetoanalyze/java/tracing/UnavoidableExceptionExample.java +++ b/infer/tests/codetoanalyze/java/tracing/UnavoidableExceptionExample.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package codetoanalyze.java.tracing; diff --git a/infer/tests/codetoanalyze/llvm/interproc.c b/infer/tests/codetoanalyze/llvm/interproc.c index ba8953e79..3365c14d1 100644 --- a/infer/tests/codetoanalyze/llvm/interproc.c +++ b/infer/tests/codetoanalyze/llvm/interproc.c @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ int *always_null(void) { return 0; diff --git a/infer/tests/codetoanalyze/llvm/null_deref.c b/infer/tests/codetoanalyze/llvm/null_deref.c index 087a103da..b35c6c3a7 100644 --- a/infer/tests/codetoanalyze/llvm/null_deref.c +++ b/infer/tests/codetoanalyze/llvm/null_deref.c @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ void foo(void) { int *p = 0; diff --git a/infer/tests/codetoanalyze/objc/errors/bad_ptr_comparisons/badpointer.m b/infer/tests/codetoanalyze/objc/errors/bad_ptr_comparisons/badpointer.m index 224feb62d..d1a118afa 100644 --- a/infer/tests/codetoanalyze/objc/errors/bad_ptr_comparisons/badpointer.m +++ b/infer/tests/codetoanalyze/objc/errors/bad_ptr_comparisons/badpointer.m @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import diff --git a/infer/tests/codetoanalyze/objc/errors/bad_ptr_comparisons/nsnumber.m b/infer/tests/codetoanalyze/objc/errors/bad_ptr_comparisons/nsnumber.m index 45c39e8af..0ae9b3894 100644 --- a/infer/tests/codetoanalyze/objc/errors/bad_ptr_comparisons/nsnumber.m +++ b/infer/tests/codetoanalyze/objc/errors/bad_ptr_comparisons/nsnumber.m @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import diff --git a/infer/tests/codetoanalyze/objc/errors/category_procdesc/EOCPerson.h b/infer/tests/codetoanalyze/objc/errors/category_procdesc/EOCPerson.h index fa9e0b5fa..88b6e9698 100644 --- a/infer/tests/codetoanalyze/objc/errors/category_procdesc/EOCPerson.h +++ b/infer/tests/codetoanalyze/objc/errors/category_procdesc/EOCPerson.h @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ // Splitting EOCPerson into categories #import diff --git a/infer/tests/codetoanalyze/objc/errors/category_procdesc/EOCPerson.m b/infer/tests/codetoanalyze/objc/errors/category_procdesc/EOCPerson.m index 424d9b9c1..a49d436f1 100644 --- a/infer/tests/codetoanalyze/objc/errors/category_procdesc/EOCPerson.m +++ b/infer/tests/codetoanalyze/objc/errors/category_procdesc/EOCPerson.m @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import "EOCPerson.h" diff --git a/infer/tests/codetoanalyze/objc/errors/category_procdesc/main.c b/infer/tests/codetoanalyze/objc/errors/category_procdesc/main.c index ac41876d5..5c5a11587 100644 --- a/infer/tests/codetoanalyze/objc/errors/category_procdesc/main.c +++ b/infer/tests/codetoanalyze/objc/errors/category_procdesc/main.c @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import "EOCPerson.h" diff --git a/infer/tests/codetoanalyze/objc/errors/field_superclass/A.h b/infer/tests/codetoanalyze/objc/errors/field_superclass/A.h index 9580ff46b..fb296c088 100644 --- a/infer/tests/codetoanalyze/objc/errors/field_superclass/A.h +++ b/infer/tests/codetoanalyze/objc/errors/field_superclass/A.h @@ -1,11 +1,11 @@ /* -* Copyright (c) 2014 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2014 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import diff --git a/infer/tests/codetoanalyze/objc/errors/field_superclass/B.h b/infer/tests/codetoanalyze/objc/errors/field_superclass/B.h index e574228b8..4642a162b 100644 --- a/infer/tests/codetoanalyze/objc/errors/field_superclass/B.h +++ b/infer/tests/codetoanalyze/objc/errors/field_superclass/B.h @@ -1,11 +1,11 @@ /* -* Copyright (c) 2014 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2014 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import "A.h" diff --git a/infer/tests/codetoanalyze/objc/errors/field_superclass/B.m b/infer/tests/codetoanalyze/objc/errors/field_superclass/B.m index 3126b2f5a..3f8216dde 100644 --- a/infer/tests/codetoanalyze/objc/errors/field_superclass/B.m +++ b/infer/tests/codetoanalyze/objc/errors/field_superclass/B.m @@ -1,11 +1,11 @@ /* -* Copyright (c) 2014 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2014 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import "B.h" diff --git a/infer/tests/codetoanalyze/objc/errors/field_superclass/SuperExample.m b/infer/tests/codetoanalyze/objc/errors/field_superclass/SuperExample.m index dc1d84b8a..aad02de01 100644 --- a/infer/tests/codetoanalyze/objc/errors/field_superclass/SuperExample.m +++ b/infer/tests/codetoanalyze/objc/errors/field_superclass/SuperExample.m @@ -1,11 +1,11 @@ /* -* Copyright (c) 2014 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2014 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import diff --git a/infer/tests/codetoanalyze/objc/errors/field_superclass/field.c b/infer/tests/codetoanalyze/objc/errors/field_superclass/field.c index accbd4840..456775aa5 100644 --- a/infer/tests/codetoanalyze/objc/errors/field_superclass/field.c +++ b/infer/tests/codetoanalyze/objc/errors/field_superclass/field.c @@ -1,11 +1,11 @@ /* -* Copyright (c) 2014 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2014 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #include "B.h" diff --git a/infer/tests/codetoanalyze/objc/errors/memory_leaks_benchmark/ArcExample.m b/infer/tests/codetoanalyze/objc/errors/memory_leaks_benchmark/ArcExample.m index 94623d4e3..cf9dc2014 100644 --- a/infer/tests/codetoanalyze/objc/errors/memory_leaks_benchmark/ArcExample.m +++ b/infer/tests/codetoanalyze/objc/errors/memory_leaks_benchmark/ArcExample.m @@ -1,11 +1,11 @@ /* -* Copyright (c) 2014 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2014 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import #import diff --git a/infer/tests/codetoanalyze/objc/errors/memory_leaks_benchmark/AutoreleaseExample.m b/infer/tests/codetoanalyze/objc/errors/memory_leaks_benchmark/AutoreleaseExample.m index d228a61a8..f122df579 100644 --- a/infer/tests/codetoanalyze/objc/errors/memory_leaks_benchmark/AutoreleaseExample.m +++ b/infer/tests/codetoanalyze/objc/errors/memory_leaks_benchmark/AutoreleaseExample.m @@ -1,11 +1,11 @@ /* -* Copyright (c) 2014 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2014 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import #import diff --git a/infer/tests/codetoanalyze/objc/errors/memory_leaks_benchmark/CADisplayLinkRetainCycle.m b/infer/tests/codetoanalyze/objc/errors/memory_leaks_benchmark/CADisplayLinkRetainCycle.m index 5479c43ef..9141f3846 100644 --- a/infer/tests/codetoanalyze/objc/errors/memory_leaks_benchmark/CADisplayLinkRetainCycle.m +++ b/infer/tests/codetoanalyze/objc/errors/memory_leaks_benchmark/CADisplayLinkRetainCycle.m @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import #import diff --git a/infer/tests/codetoanalyze/objc/errors/memory_leaks_benchmark/MemoryLeakExample.h b/infer/tests/codetoanalyze/objc/errors/memory_leaks_benchmark/MemoryLeakExample.h index e770ed5e0..21d6cf36e 100644 --- a/infer/tests/codetoanalyze/objc/errors/memory_leaks_benchmark/MemoryLeakExample.h +++ b/infer/tests/codetoanalyze/objc/errors/memory_leaks_benchmark/MemoryLeakExample.h @@ -1,11 +1,11 @@ /* -* Copyright (c) 2014 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2014 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import #import diff --git a/infer/tests/codetoanalyze/objc/errors/memory_leaks_benchmark/MemoryLeakExample.m b/infer/tests/codetoanalyze/objc/errors/memory_leaks_benchmark/MemoryLeakExample.m index e73271e21..96b5cd31c 100644 --- a/infer/tests/codetoanalyze/objc/errors/memory_leaks_benchmark/MemoryLeakExample.m +++ b/infer/tests/codetoanalyze/objc/errors/memory_leaks_benchmark/MemoryLeakExample.m @@ -1,11 +1,11 @@ /* -* Copyright (c) 2014 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2014 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import "MemoryLeakExample.h" #import diff --git a/infer/tests/codetoanalyze/objc/errors/memory_leaks_benchmark/NSMakeCollectableExample.m b/infer/tests/codetoanalyze/objc/errors/memory_leaks_benchmark/NSMakeCollectableExample.m index 2c1d4712e..69b0eba82 100644 --- a/infer/tests/codetoanalyze/objc/errors/memory_leaks_benchmark/NSMakeCollectableExample.m +++ b/infer/tests/codetoanalyze/objc/errors/memory_leaks_benchmark/NSMakeCollectableExample.m @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import diff --git a/infer/tests/codetoanalyze/objc/errors/memory_leaks_benchmark/NSStringInitWithBytesNoCopyExample.m b/infer/tests/codetoanalyze/objc/errors/memory_leaks_benchmark/NSStringInitWithBytesNoCopyExample.m index 19c0788b3..4f1d0b8e6 100644 --- a/infer/tests/codetoanalyze/objc/errors/memory_leaks_benchmark/NSStringInitWithBytesNoCopyExample.m +++ b/infer/tests/codetoanalyze/objc/errors/memory_leaks_benchmark/NSStringInitWithBytesNoCopyExample.m @@ -1,11 +1,11 @@ /* -* Copyright (c) 2014 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2014 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import #import diff --git a/infer/tests/codetoanalyze/objc/errors/memory_leaks_benchmark/RetainCycleStaticVar.m b/infer/tests/codetoanalyze/objc/errors/memory_leaks_benchmark/RetainCycleStaticVar.m index 350ad5ed4..af2b81c80 100644 --- a/infer/tests/codetoanalyze/objc/errors/memory_leaks_benchmark/RetainCycleStaticVar.m +++ b/infer/tests/codetoanalyze/objc/errors/memory_leaks_benchmark/RetainCycleStaticVar.m @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import diff --git a/infer/tests/codetoanalyze/objc/errors/memory_leaks_benchmark/RetainReleaseExample.m b/infer/tests/codetoanalyze/objc/errors/memory_leaks_benchmark/RetainReleaseExample.m index 0b1cf6619..b38c6f78a 100644 --- a/infer/tests/codetoanalyze/objc/errors/memory_leaks_benchmark/RetainReleaseExample.m +++ b/infer/tests/codetoanalyze/objc/errors/memory_leaks_benchmark/RetainReleaseExample.m @@ -1,11 +1,11 @@ /* -* Copyright (c) 2014 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2014 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import diff --git a/infer/tests/codetoanalyze/objc/errors/memory_leaks_benchmark/RetainReleaseExample2.m b/infer/tests/codetoanalyze/objc/errors/memory_leaks_benchmark/RetainReleaseExample2.m index c7ce609ea..f931863fb 100644 --- a/infer/tests/codetoanalyze/objc/errors/memory_leaks_benchmark/RetainReleaseExample2.m +++ b/infer/tests/codetoanalyze/objc/errors/memory_leaks_benchmark/RetainReleaseExample2.m @@ -1,11 +1,11 @@ /* -* Copyright (c) 2014 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2014 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import @@ -32,20 +32,20 @@ A* test() { // no leak void test2() { - + A* b=test(); g=b; } // leak void test3() { - + A* b=test(); } // no leak void test4() { - + A* b=test(); [b release]; } @@ -54,7 +54,7 @@ void test4() { void test5() { A *a = [[A alloc] init]; [a release]; - + } // leak @@ -64,9 +64,8 @@ void test6() { [a release]; } -// Creates specs +// Creates specs void test7 (A *a) { if (a) __objc_release(a); } - diff --git a/infer/tests/codetoanalyze/objc/errors/memory_leaks_benchmark/RetainReleaseExampleBucketing.m b/infer/tests/codetoanalyze/objc/errors/memory_leaks_benchmark/RetainReleaseExampleBucketing.m index 42eff8bca..7e5ea9e42 100644 --- a/infer/tests/codetoanalyze/objc/errors/memory_leaks_benchmark/RetainReleaseExampleBucketing.m +++ b/infer/tests/codetoanalyze/objc/errors/memory_leaks_benchmark/RetainReleaseExampleBucketing.m @@ -1,11 +1,11 @@ /* -* Copyright (c) 2014 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2014 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import diff --git a/infer/tests/codetoanalyze/objc/errors/memory_leaks_benchmark/TollBridgeExample.m b/infer/tests/codetoanalyze/objc/errors/memory_leaks_benchmark/TollBridgeExample.m index 8834de697..c59ad84d2 100644 --- a/infer/tests/codetoanalyze/objc/errors/memory_leaks_benchmark/TollBridgeExample.m +++ b/infer/tests/codetoanalyze/objc/errors/memory_leaks_benchmark/TollBridgeExample.m @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import #import diff --git a/infer/tests/codetoanalyze/objc/errors/memory_leaks_benchmark/arc_methods.m b/infer/tests/codetoanalyze/objc/errors/memory_leaks_benchmark/arc_methods.m index a3efb0880..0e85dbd1a 100644 --- a/infer/tests/codetoanalyze/objc/errors/memory_leaks_benchmark/arc_methods.m +++ b/infer/tests/codetoanalyze/objc/errors/memory_leaks_benchmark/arc_methods.m @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import @@ -26,14 +26,14 @@ + (A*) someA { A *a = [[A alloc] init]; - + return a; } @end int main () { - + // A * __weak aWeakRef =0; // A * __strong a1 =0; // A * __unsafe_unretained anUnsafeUnretRef =0; diff --git a/infer/tests/codetoanalyze/objc/errors/memory_leaks_benchmark/retain_cycle.m b/infer/tests/codetoanalyze/objc/errors/memory_leaks_benchmark/retain_cycle.m index d0fa80ce7..7d9f70342 100644 --- a/infer/tests/codetoanalyze/objc/errors/memory_leaks_benchmark/retain_cycle.m +++ b/infer/tests/codetoanalyze/objc/errors/memory_leaks_benchmark/retain_cycle.m @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import @@ -40,45 +40,45 @@ @end int strongcycle() { - + AA* a_obj =[AA alloc]; BBStrong* b_obj = [BBStrong alloc]; - + a_obj.b=b_obj; b_obj.a=a_obj; //Retain cycle - + return 0; } int unsafeunreainedcycle() { - + AA* a_obj =[AA alloc]; BBUnsafeUnretained* b_obj = [BBUnsafeUnretained alloc]; - + a_obj.b=b_obj; b_obj.a=a_obj; //Not a retain cycle - + return 0; } int weakcycle() { - + AA* a_obj =[AA alloc]; BBWeak* b_obj = [BBWeak alloc]; - + a_obj.b=b_obj; b_obj.a=a_obj; //Not a retain cycle - + return 0; } int assigncycle() { - + AA* a_obj =[AA alloc]; BBAssign* b_obj = [BBAssign alloc]; - + a_obj.b=b_obj; b_obj.a=a_obj; //Not a retain cycle - + return 0; } diff --git a/infer/tests/codetoanalyze/objc/errors/memory_leaks_benchmark/retain_cycle2.m b/infer/tests/codetoanalyze/objc/errors/memory_leaks_benchmark/retain_cycle2.m index 81f26cecf..c0ae814a0 100644 --- a/infer/tests/codetoanalyze/objc/errors/memory_leaks_benchmark/retain_cycle2.m +++ b/infer/tests/codetoanalyze/objc/errors/memory_leaks_benchmark/retain_cycle2.m @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import @@ -24,7 +24,7 @@ } -(void) setChild: (Child *) c { - + self->child =c; } @@ -41,7 +41,7 @@ } -(void) setChild: (ChildW *) c { - + self->child =c; } @@ -58,7 +58,7 @@ } -(void) setChild: (ChildUU *) c { - + self->child =c; } @@ -135,6 +135,3 @@ void unsafeunretainedcycle() { [parent setChild:child]; [child setParent: parent]; } - - - diff --git a/infer/tests/codetoanalyze/objc/errors/npe/Fraction.m b/infer/tests/codetoanalyze/objc/errors/npe/Fraction.m index 64499c154..34dadcc04 100644 --- a/infer/tests/codetoanalyze/objc/errors/npe/Fraction.m +++ b/infer/tests/codetoanalyze/objc/errors/npe/Fraction.m @@ -1,11 +1,11 @@ /* -* Copyright (c) 2014 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2014 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import @@ -63,4 +63,3 @@ void test_virtual_call() { } [fraction release]; } - diff --git a/infer/tests/codetoanalyze/objc/errors/npe/NPD_core_foundation.h b/infer/tests/codetoanalyze/objc/errors/npe/NPD_core_foundation.h index 6aedd2b8e..35ac699ed 100644 --- a/infer/tests/codetoanalyze/objc/errors/npe/NPD_core_foundation.h +++ b/infer/tests/codetoanalyze/objc/errors/npe/NPD_core_foundation.h @@ -1,11 +1,11 @@ /* -* Copyright (c) 2014 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2014 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import #import diff --git a/infer/tests/codetoanalyze/objc/errors/npe/NPD_core_foundation.m b/infer/tests/codetoanalyze/objc/errors/npe/NPD_core_foundation.m index a957090a0..47c9a00b6 100644 --- a/infer/tests/codetoanalyze/objc/errors/npe/NPD_core_foundation.m +++ b/infer/tests/codetoanalyze/objc/errors/npe/NPD_core_foundation.m @@ -1,11 +1,11 @@ /* -* Copyright (c) 2014 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2014 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import "NPD_core_foundation.h" #import diff --git a/infer/tests/codetoanalyze/objc/errors/npe/Nonnull_attribute_example.m b/infer/tests/codetoanalyze/objc/errors/npe/Nonnull_attribute_example.m index 81f95c58e..f22b1bb50 100644 --- a/infer/tests/codetoanalyze/objc/errors/npe/Nonnull_attribute_example.m +++ b/infer/tests/codetoanalyze/objc/errors/npe/Nonnull_attribute_example.m @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import diff --git a/infer/tests/codetoanalyze/objc/errors/npe/Npe_with_equal_names.m b/infer/tests/codetoanalyze/objc/errors/npe/Npe_with_equal_names.m index 58ea718d1..378603da4 100644 --- a/infer/tests/codetoanalyze/objc/errors/npe/Npe_with_equal_names.m +++ b/infer/tests/codetoanalyze/objc/errors/npe/Npe_with_equal_names.m @@ -1,11 +1,11 @@ /* -* Copyright (c) 2014 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2014 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import diff --git a/infer/tests/codetoanalyze/objc/errors/npe/UpdateDict.m b/infer/tests/codetoanalyze/objc/errors/npe/UpdateDict.m index b63f576bf..39fc01ccf 100644 --- a/infer/tests/codetoanalyze/objc/errors/npe/UpdateDict.m +++ b/infer/tests/codetoanalyze/objc/errors/npe/UpdateDict.m @@ -1,11 +1,11 @@ /* -* Copyright (c) 2014 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2014 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import diff --git a/infer/tests/codetoanalyze/objc/errors/npe/block.m b/infer/tests/codetoanalyze/objc/errors/npe/block.m index 5c1bd2b41..d85b35219 100644 --- a/infer/tests/codetoanalyze/objc/errors/npe/block.m +++ b/infer/tests/codetoanalyze/objc/errors/npe/block.m @@ -1,11 +1,11 @@ /* -* Copyright (c) 2014 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2014 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import @@ -28,11 +28,11 @@ - (void) foo { - + void (^my_block)(void)=^() {}; my_block = NULL; my_block(); // Null deref - + } @@ -46,48 +46,48 @@ - (void) foo3: ( void(^)(void) ) my_block { - + my_block = NULL; my_block(); //Null deref - + } - (void) foo4: ( void(^)(void) ) my_block_param { - + void (^my_block)(void)=^() {}; my_block = NULL; my_block_param = my_block; my_block_param(); //Null deref - + } - (void) foo5: ( void(^)(void) ) my_block_param { - + void (^my_block)(void)=^() {}; my_block_param = my_block; my_block_param(); //No error here - + } - (void) foo6: (BOOL)a block_param: ( void (^)(void)) block_param { - + void (^my_block)(void)=^() { if (block_param) block_param(); //No error here - + }; - + if (a){ [self foo2: ^() { my_block(); // No error here }]; } - + } - (void) foo7 { - + _block_field(); // Ivar not nullable } diff --git a/infer/tests/codetoanalyze/objc/errors/npe/nil_in_array_literal.m b/infer/tests/codetoanalyze/objc/errors/npe/nil_in_array_literal.m index d54ecabe6..2e239c7b4 100644 --- a/infer/tests/codetoanalyze/objc/errors/npe/nil_in_array_literal.m +++ b/infer/tests/codetoanalyze/objc/errors/npe/nil_in_array_literal.m @@ -1,11 +1,11 @@ /* -* Copyright (c) 2014 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2014 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import diff --git a/infer/tests/codetoanalyze/objc/errors/npe/nil_in_dictionary_literal.m b/infer/tests/codetoanalyze/objc/errors/npe/nil_in_dictionary_literal.m index cdcbfed11..f1d657f94 100644 --- a/infer/tests/codetoanalyze/objc/errors/npe/nil_in_dictionary_literal.m +++ b/infer/tests/codetoanalyze/objc/errors/npe/nil_in_dictionary_literal.m @@ -1,11 +1,11 @@ /* -* Copyright (c) 2014 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2014 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import diff --git a/infer/tests/codetoanalyze/objc/errors/npe/nil_param.m b/infer/tests/codetoanalyze/objc/errors/npe/nil_param.m index 7b0e11790..eb6dfc197 100644 --- a/infer/tests/codetoanalyze/objc/errors/npe/nil_param.m +++ b/infer/tests/codetoanalyze/objc/errors/npe/nil_param.m @@ -1,11 +1,11 @@ /* -* Copyright (c) 2014 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2014 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import diff --git a/infer/tests/codetoanalyze/objc/errors/npe/npe_malloc.m b/infer/tests/codetoanalyze/objc/errors/npe/npe_malloc.m index 9b3a24f15..3a1c84dfa 100644 --- a/infer/tests/codetoanalyze/objc/errors/npe/npe_malloc.m +++ b/infer/tests/codetoanalyze/objc/errors/npe/npe_malloc.m @@ -1,11 +1,11 @@ /* -* Copyright (c) 2014 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2014 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import #import diff --git a/infer/tests/codetoanalyze/objc/errors/npe/npe_self.m b/infer/tests/codetoanalyze/objc/errors/npe/npe_self.m index 65e6d6909..eca6e2742 100644 --- a/infer/tests/codetoanalyze/objc/errors/npe/npe_self.m +++ b/infer/tests/codetoanalyze/objc/errors/npe/npe_self.m @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import #import diff --git a/infer/tests/codetoanalyze/objc/errors/npe/null_returned_by_method.m b/infer/tests/codetoanalyze/objc/errors/npe/null_returned_by_method.m index bb0ce5a3b..9c9c2b0fc 100644 --- a/infer/tests/codetoanalyze/objc/errors/npe/null_returned_by_method.m +++ b/infer/tests/codetoanalyze/objc/errors/npe/null_returned_by_method.m @@ -1,11 +1,11 @@ /* -* Copyright (c) 2014 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2014 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import diff --git a/infer/tests/codetoanalyze/objc/errors/npe/nullable.m b/infer/tests/codetoanalyze/objc/errors/npe/nullable.m index ffb73b4ab..8a5835c94 100644 --- a/infer/tests/codetoanalyze/objc/errors/npe/nullable.m +++ b/infer/tests/codetoanalyze/objc/errors/npe/nullable.m @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import diff --git a/infer/tests/codetoanalyze/objc/errors/procdescs/MethodCall.h b/infer/tests/codetoanalyze/objc/errors/procdescs/MethodCall.h index 376cfa5e3..4a54e22f2 100644 --- a/infer/tests/codetoanalyze/objc/errors/procdescs/MethodCall.h +++ b/infer/tests/codetoanalyze/objc/errors/procdescs/MethodCall.h @@ -1,11 +1,11 @@ /* -* Copyright (c) 2014 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2014 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import diff --git a/infer/tests/codetoanalyze/objc/errors/procdescs/MethodCall.m b/infer/tests/codetoanalyze/objc/errors/procdescs/MethodCall.m index 4ecc79fc9..cb6802a55 100644 --- a/infer/tests/codetoanalyze/objc/errors/procdescs/MethodCall.m +++ b/infer/tests/codetoanalyze/objc/errors/procdescs/MethodCall.m @@ -1,11 +1,11 @@ /* -* Copyright (c) 2014 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2014 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import "MethodCall.h" diff --git a/infer/tests/codetoanalyze/objc/errors/procdescs/main.c b/infer/tests/codetoanalyze/objc/errors/procdescs/main.c index ac11f3cf5..215c33782 100644 --- a/infer/tests/codetoanalyze/objc/errors/procdescs/main.c +++ b/infer/tests/codetoanalyze/objc/errors/procdescs/main.c @@ -1,11 +1,11 @@ /* -* Copyright (c) 2014 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2014 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #include "MethodCall.h" #include diff --git a/infer/tests/codetoanalyze/objc/errors/property/ExplicitIvarName.m b/infer/tests/codetoanalyze/objc/errors/property/ExplicitIvarName.m index 95eb1793d..5d5d67bcc 100644 --- a/infer/tests/codetoanalyze/objc/errors/property/ExplicitIvarName.m +++ b/infer/tests/codetoanalyze/objc/errors/property/ExplicitIvarName.m @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import diff --git a/infer/tests/codetoanalyze/objc/errors/property/IvarExample.h b/infer/tests/codetoanalyze/objc/errors/property/IvarExample.h index 4386fa39c..f9c3cdbeb 100644 --- a/infer/tests/codetoanalyze/objc/errors/property/IvarExample.h +++ b/infer/tests/codetoanalyze/objc/errors/property/IvarExample.h @@ -1,11 +1,11 @@ /* -* Copyright (c) 2014 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2014 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import @@ -13,4 +13,3 @@ } @property int aProperty; @end - diff --git a/infer/tests/codetoanalyze/objc/errors/property/main.c b/infer/tests/codetoanalyze/objc/errors/property/main.c index 47d18adae..711c429df 100644 --- a/infer/tests/codetoanalyze/objc/errors/property/main.c +++ b/infer/tests/codetoanalyze/objc/errors/property/main.c @@ -1,11 +1,11 @@ /* -* Copyright (c) 2014 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2014 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #include "IvarExample.h" #include diff --git a/infer/tests/codetoanalyze/objc/errors/protocol_procdesc/Bicycle.h b/infer/tests/codetoanalyze/objc/errors/protocol_procdesc/Bicycle.h index acd927679..05fec9076 100644 --- a/infer/tests/codetoanalyze/objc/errors/protocol_procdesc/Bicycle.h +++ b/infer/tests/codetoanalyze/objc/errors/protocol_procdesc/Bicycle.h @@ -1,11 +1,11 @@ /* -* Copyright (c) 2014 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2014 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import "StreetVehicle.h" diff --git a/infer/tests/codetoanalyze/objc/errors/protocol_procdesc/Bicycle.m b/infer/tests/codetoanalyze/objc/errors/protocol_procdesc/Bicycle.m index ad8604c9e..8d54cb2fc 100644 --- a/infer/tests/codetoanalyze/objc/errors/protocol_procdesc/Bicycle.m +++ b/infer/tests/codetoanalyze/objc/errors/protocol_procdesc/Bicycle.m @@ -1,11 +1,11 @@ /* -* Copyright (c) 2014 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2014 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import "Bicycle.h" #import diff --git a/infer/tests/codetoanalyze/objc/errors/protocol_procdesc/StreetVehicle.h b/infer/tests/codetoanalyze/objc/errors/protocol_procdesc/StreetVehicle.h index eeee39e6c..86fdd196d 100644 --- a/infer/tests/codetoanalyze/objc/errors/protocol_procdesc/StreetVehicle.h +++ b/infer/tests/codetoanalyze/objc/errors/protocol_procdesc/StreetVehicle.h @@ -1,11 +1,11 @@ /* -* Copyright (c) 2014 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2014 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import diff --git a/infer/tests/codetoanalyze/objc/errors/protocol_procdesc/main.c b/infer/tests/codetoanalyze/objc/errors/protocol_procdesc/main.c index d83da91ca..71866d9dd 100644 --- a/infer/tests/codetoanalyze/objc/errors/protocol_procdesc/main.c +++ b/infer/tests/codetoanalyze/objc/errors/protocol_procdesc/main.c @@ -1,11 +1,11 @@ /* -* Copyright (c) 2014 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2014 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #include "Bicycle.h" diff --git a/infer/tests/codetoanalyze/objc/errors/resource_leaks/ResourceLeakExample.m b/infer/tests/codetoanalyze/objc/errors/resource_leaks/ResourceLeakExample.m index 03b19cff6..b02c1c5e5 100644 --- a/infer/tests/codetoanalyze/objc/errors/resource_leaks/ResourceLeakExample.m +++ b/infer/tests/codetoanalyze/objc/errors/resource_leaks/ResourceLeakExample.m @@ -1,11 +1,11 @@ /* -* Copyright (c) 2014 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2014 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import #include diff --git a/infer/tests/codetoanalyze/objc/errors/returnstmt/return_npe_test.m b/infer/tests/codetoanalyze/objc/errors/returnstmt/return_npe_test.m index 8dbd5554c..773cad680 100644 --- a/infer/tests/codetoanalyze/objc/errors/returnstmt/return_npe_test.m +++ b/infer/tests/codetoanalyze/objc/errors/returnstmt/return_npe_test.m @@ -1,11 +1,11 @@ /* -* Copyright (c) 2014 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2014 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import @@ -31,7 +31,7 @@ if (c == nil) { return; } - + if(i == 0) { // here c cannot be nil, because of the previous if i = c->containedValue; diff --git a/infer/tests/codetoanalyze/objc/errors/taint/viewController.m b/infer/tests/codetoanalyze/objc/errors/taint/viewController.m index d64b7e4dd..6b5f609f5 100644 --- a/infer/tests/codetoanalyze/objc/errors/taint/viewController.m +++ b/infer/tests/codetoanalyze/objc/errors/taint/viewController.m @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import #import diff --git a/infer/tests/codetoanalyze/objc/errors/variadic_methods/premature_nil_termination.m b/infer/tests/codetoanalyze/objc/errors/variadic_methods/premature_nil_termination.m index 0255ad5a2..f2abf1412 100644 --- a/infer/tests/codetoanalyze/objc/errors/variadic_methods/premature_nil_termination.m +++ b/infer/tests/codetoanalyze/objc/errors/variadic_methods/premature_nil_termination.m @@ -1,11 +1,11 @@ /* -* Copyright (c) 2014 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2014 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import diff --git a/infer/tests/codetoanalyze/objc/frontend/assertions/NSAssert_example.m b/infer/tests/codetoanalyze/objc/frontend/assertions/NSAssert_example.m index 00a00cecf..4648f19e0 100644 --- a/infer/tests/codetoanalyze/objc/frontend/assertions/NSAssert_example.m +++ b/infer/tests/codetoanalyze/objc/frontend/assertions/NSAssert_example.m @@ -1,11 +1,11 @@ /* -* Copyright (c) 2014 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2014 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import diff --git a/infer/tests/codetoanalyze/objc/frontend/block/BlockVar.h b/infer/tests/codetoanalyze/objc/frontend/block/BlockVar.h index ad779b274..f855c09bb 100644 --- a/infer/tests/codetoanalyze/objc/frontend/block/BlockVar.h +++ b/infer/tests/codetoanalyze/objc/frontend/block/BlockVar.h @@ -1,11 +1,11 @@ /* -* Copyright (c) 2014 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2014 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import diff --git a/infer/tests/codetoanalyze/objc/frontend/block/BlockVar.m b/infer/tests/codetoanalyze/objc/frontend/block/BlockVar.m index 2d8004986..df5dc1a69 100644 --- a/infer/tests/codetoanalyze/objc/frontend/block/BlockVar.m +++ b/infer/tests/codetoanalyze/objc/frontend/block/BlockVar.m @@ -1,11 +1,11 @@ /* -* Copyright (c) 2014 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2014 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import "BlockVar.h" @@ -27,4 +27,3 @@ else return x; } @end - diff --git a/infer/tests/codetoanalyze/objc/frontend/block/block-it.dot b/infer/tests/codetoanalyze/objc/frontend/block/block-it.dot index 3c4bd7840..9b1c6ab52 100644 --- a/infer/tests/codetoanalyze/objc/frontend/block/block-it.dot +++ b/infer/tests/codetoanalyze/objc/frontend/block/block-it.dot @@ -1,65 +1,65 @@ digraph iCFG { -52 [label="52: DeclStmt \n n$44=_fun___objc_alloc_no_fail(sizeof(class NSArray ):unsigned long ) [line 30]\n n$45=_fun_NSArray_init(n$44:class NSArray *) virtual [line 30]\n *&a:class NSArray *=n$45 [line 30]\n REMOVE_TEMPS(n$44,n$45); [line 30]\n " shape="box"] +52 [label="52: DeclStmt \n n$44=_fun___objc_alloc_no_fail(sizeof(class NSArray ):unsigned long ) [line 38]\n n$45=_fun_NSArray_init(n$44:class NSArray *) virtual [line 38]\n *&a:class NSArray *=n$45 [line 38]\n REMOVE_TEMPS(n$44,n$45); [line 38]\n " shape="box"] 52 -> 51 ; -51 [label="51: DeclStmt \n n$43=*&a:class NSArray * [line 32]\n *&objects:class NSArray *=n$43 [line 32]\n REMOVE_TEMPS(n$43); [line 32]\n NULLIFY(&a,false); [line 32]\n " shape="box"] +51 [label="51: DeclStmt \n n$43=*&a:class NSArray * [line 40]\n *&objects:class NSArray *=n$43 [line 40]\n REMOVE_TEMPS(n$43); [line 40]\n NULLIFY(&a,false); [line 40]\n " shape="box"] 51 -> 50 ; -50 [label="50: DeclStmt \n DECLARE_LOCALS(&__objc_anonymous_block_MyBlock_array_trans______2); [line 35]\n n$42=_fun___objc_alloc_no_fail(sizeof(class __objc_anonymous_block_MyBlock_array_trans______2 ):unsigned long ) [line 35]\n *&__objc_anonymous_block_MyBlock_array_trans______2:class __objc_anonymous_block_MyBlock_array_trans______2 =n$42 [line 35]\n *&enumerateObjectsUsingBlock:_fn_ (*)=(_fun___objc_anonymous_block_MyBlock_array_trans______2) [line 35]\n REMOVE_TEMPS(n$42); [line 35]\n " shape="box"] +50 [label="50: DeclStmt \n DECLARE_LOCALS(&__objc_anonymous_block_MyBlock_array_trans______2); [line 43]\n n$42=_fun___objc_alloc_no_fail(sizeof(class __objc_anonymous_block_MyBlock_array_trans______2 ):unsigned long ) [line 43]\n *&__objc_anonymous_block_MyBlock_array_trans______2:class __objc_anonymous_block_MyBlock_array_trans______2 =n$42 [line 43]\n *&enumerateObjectsUsingBlock:_fn_ (*)=(_fun___objc_anonymous_block_MyBlock_array_trans______2) [line 43]\n REMOVE_TEMPS(n$42); [line 43]\n " shape="box"] 50 -> 43 ; -49 [label="49: BinaryOperatorStmt: Assign \n NULLIFY(&ShouldStop,false); [line 40]\n n$41=*&stop:_Bool * [line 40]\n *n$41:_Bool =1 [line 40]\n REMOVE_TEMPS(n$41); [line 40]\n NULLIFY(&stop,false); [line 40]\n APPLY_ABSTRACTION; [line 40]\n " shape="box"] +49 [label="49: BinaryOperatorStmt: Assign \n NULLIFY(&ShouldStop,false); [line 48]\n n$41=*&stop:_Bool * [line 48]\n *n$41:_Bool =1 [line 48]\n REMOVE_TEMPS(n$41); [line 48]\n NULLIFY(&stop,false); [line 48]\n APPLY_ABSTRACTION; [line 48]\n " shape="box"] 49 -> 46 ; -48 [label="48: Prune (false branch) \n n$40=*&ShouldStop:int [line 39]\n PRUNE((n$40 == 0), false); [line 39]\n REMOVE_TEMPS(n$40); [line 39]\n APPLY_ABSTRACTION; [line 39]\n " shape="invhouse"] +48 [label="48: Prune (false branch) \n n$40=*&ShouldStop:int [line 47]\n PRUNE((n$40 == 0), false); [line 47]\n REMOVE_TEMPS(n$40); [line 47]\n APPLY_ABSTRACTION; [line 47]\n " shape="invhouse"] 48 -> 46 ; -47 [label="47: Prune (true branch) \n n$40=*&ShouldStop:int [line 39]\n PRUNE((n$40 != 0), true); [line 39]\n REMOVE_TEMPS(n$40); [line 39]\n " shape="invhouse"] +47 [label="47: Prune (true branch) \n n$40=*&ShouldStop:int [line 47]\n PRUNE((n$40 != 0), true); [line 47]\n REMOVE_TEMPS(n$40); [line 47]\n " shape="invhouse"] 47 -> 49 ; -46 [label="46: + \n NULLIFY(&ShouldStop,false); [line 39]\n NULLIFY(&stop,false); [line 39]\n " ] +46 [label="46: + \n NULLIFY(&ShouldStop,false); [line 47]\n NULLIFY(&stop,false); [line 47]\n " ] 46 -> 45 ; 45 [label="45: Exit __objc_anonymous_block_MyBlock_array_trans______2 \n " color=yellow style=filled] -44 [label="44: Start __objc_anonymous_block_MyBlock_array_trans______2\nFormals: object:struct objc_object * idx:unsigned long stop:_Bool *\nLocals: ShouldStop:int \n DECLARE_LOCALS(&return,&ShouldStop); [line 35]\n NULLIFY(&idx,false); [line 35]\n NULLIFY(&object,false); [line 35]\n " color=yellow style=filled] +44 [label="44: Start __objc_anonymous_block_MyBlock_array_trans______2\nFormals: object:struct objc_object * idx:unsigned long stop:_Bool *\nLocals: ShouldStop:int \n DECLARE_LOCALS(&return,&ShouldStop); [line 43]\n NULLIFY(&idx,false); [line 43]\n NULLIFY(&object,false); [line 43]\n " color=yellow style=filled] 44 -> 47 ; 44 -> 48 ; -43 [label="43: DeclStmt \n n$39=_fun_malloc_no_fail(sizeof(_Bool ):_Bool ) [line 43]\n *&stop:_Bool *=n$39 [line 43]\n REMOVE_TEMPS(n$39); [line 43]\n " shape="box"] +43 [label="43: DeclStmt \n n$39=_fun_malloc_no_fail(sizeof(_Bool ):_Bool ) [line 51]\n *&stop:_Bool *=n$39 [line 51]\n REMOVE_TEMPS(n$39); [line 51]\n " shape="box"] 43 -> 42 ; -42 [label="42: BinaryOperatorStmt: Assign \n n$38=*&stop:_Bool * [line 44]\n *n$38:_Bool =0 [line 44]\n REMOVE_TEMPS(n$38); [line 44]\n " shape="box"] +42 [label="42: BinaryOperatorStmt: Assign \n n$38=*&stop:_Bool * [line 52]\n *n$38:_Bool =0 [line 52]\n REMOVE_TEMPS(n$38); [line 52]\n " shape="box"] 42 -> 31 ; -41 [label="41: DeclStmt \n n$35=*&objects:class NSArray * [line 49]\n n$36=*&idx:unsigned long [line 49]\n n$37=_fun_NSArray_objectAtIndexedSubscript:(n$35:class NSArray *,n$36:unsigned long ) virtual [line 49]\n *&object:struct objc_object *=n$37 [line 49]\n REMOVE_TEMPS(n$35,n$36,n$37); [line 49]\n " shape="box"] +41 [label="41: DeclStmt \n n$35=*&objects:class NSArray * [line 57]\n n$36=*&idx:unsigned long [line 57]\n n$37=_fun_NSArray_objectAtIndexedSubscript:(n$35:class NSArray *,n$36:unsigned long ) virtual [line 57]\n *&object:struct objc_object *=n$37 [line 57]\n REMOVE_TEMPS(n$35,n$36,n$37); [line 57]\n " shape="box"] 41 -> 40 ; -40 [label="40: Call n$31 \n n$31=*&enumerateObjectsUsingBlock:_fn_ (*) [line 50]\n n$32=*&object:struct objc_object * [line 50]\n n$33=*&idx:unsigned long [line 50]\n n$34=*&stop:_Bool * [line 50]\n n$31(n$32:struct objc_object *,n$33:unsigned long ,n$34:_Bool *) [line 50]\n REMOVE_TEMPS(n$31,n$32,n$33,n$34); [line 50]\n NULLIFY(&object,false); [line 50]\n " shape="box"] +40 [label="40: Call n$31 \n n$31=*&enumerateObjectsUsingBlock:_fn_ (*) [line 58]\n n$32=*&object:struct objc_object * [line 58]\n n$33=*&idx:unsigned long [line 58]\n n$34=*&stop:_Bool * [line 58]\n n$31(n$32:struct objc_object *,n$33:unsigned long ,n$34:_Bool *) [line 58]\n REMOVE_TEMPS(n$31,n$32,n$33,n$34); [line 58]\n NULLIFY(&object,false); [line 58]\n " shape="box"] 40 -> 37 ; -39 [label="39: Prune (false branch) \n PRUNE(((n$30 == 1) == 0), false); [line 51]\n REMOVE_TEMPS(n$29,n$30); [line 51]\n " shape="invhouse"] +39 [label="39: Prune (false branch) \n PRUNE(((n$30 == 1) == 0), false); [line 59]\n REMOVE_TEMPS(n$29,n$30); [line 59]\n " shape="invhouse"] 39 -> 36 ; -38 [label="38: Prune (true branch) \n PRUNE(((n$30 == 1) != 0), true); [line 51]\n REMOVE_TEMPS(n$29,n$30); [line 51]\n APPLY_ABSTRACTION; [line 51]\n " shape="invhouse"] +38 [label="38: Prune (true branch) \n PRUNE(((n$30 == 1) != 0), true); [line 59]\n REMOVE_TEMPS(n$29,n$30); [line 59]\n APPLY_ABSTRACTION; [line 59]\n " shape="invhouse"] 38 -> 29 ; -37 [label="37: BinaryOperatorStmt: EQ \n n$29=*&stop:_Bool * [line 51]\n n$30=*n$29:_Bool [line 51]\n " shape="box"] +37 [label="37: BinaryOperatorStmt: EQ \n n$29=*&stop:_Bool * [line 59]\n n$30=*n$29:_Bool [line 59]\n " shape="box"] 37 -> 38 ; @@ -68,24 +68,24 @@ digraph iCFG { 36 -> 32 ; -35 [label="35: Prune (false branch) \n PRUNE(((n$26 < n$28) == 0), false); [line 46]\n REMOVE_TEMPS(n$26,n$27,n$28); [line 46]\n APPLY_ABSTRACTION; [line 46]\n " shape="invhouse"] +35 [label="35: Prune (false branch) \n PRUNE(((n$26 < n$28) == 0), false); [line 54]\n REMOVE_TEMPS(n$26,n$27,n$28); [line 54]\n APPLY_ABSTRACTION; [line 54]\n " shape="invhouse"] 35 -> 29 ; -34 [label="34: Prune (true branch) \n PRUNE(((n$26 < n$28) != 0), true); [line 46]\n REMOVE_TEMPS(n$26,n$27,n$28); [line 46]\n " shape="invhouse"] +34 [label="34: Prune (true branch) \n PRUNE(((n$26 < n$28) != 0), true); [line 54]\n REMOVE_TEMPS(n$26,n$27,n$28); [line 54]\n " shape="invhouse"] 34 -> 41 ; -33 [label="33: BinaryOperatorStmt: LT \n n$26=*&idx:unsigned long [line 46]\n n$27=*&objects:class NSArray * [line 46]\n n$28=_fun_NSArray_count(n$27:class NSArray *) [line 46]\n " shape="box"] +33 [label="33: BinaryOperatorStmt: LT \n n$26=*&idx:unsigned long [line 54]\n n$27=*&objects:class NSArray * [line 54]\n n$28=_fun_NSArray_count(n$27:class NSArray *) [line 54]\n " shape="box"] 33 -> 34 ; 33 -> 35 ; -32 [label="32: UnaryOperator \n n$25=*&idx:unsigned long [line 46]\n *&idx:unsigned long =(n$25 + 1) [line 46]\n REMOVE_TEMPS(n$25); [line 46]\n APPLY_ABSTRACTION; [line 46]\n " shape="box"] +32 [label="32: UnaryOperator \n n$25=*&idx:unsigned long [line 54]\n *&idx:unsigned long =(n$25 + 1) [line 54]\n REMOVE_TEMPS(n$25); [line 54]\n APPLY_ABSTRACTION; [line 54]\n " shape="box"] 32 -> 30 ; -31 [label="31: DeclStmt \n *&idx:unsigned long =0 [line 46]\n APPLY_ABSTRACTION; [line 46]\n " shape="box"] +31 [label="31: DeclStmt \n *&idx:unsigned long =0 [line 54]\n APPLY_ABSTRACTION; [line 54]\n " shape="box"] 31 -> 30 ; @@ -93,78 +93,78 @@ digraph iCFG { 30 -> 33 ; -29 [label="29: Call _fun_free \n NULLIFY(&enumerateObjectsUsingBlock,false); [line 53]\n NULLIFY(&idx,false); [line 53]\n NULLIFY(&objects,false); [line 53]\n n$24=*&stop:_Bool * [line 53]\n _fun_free(n$24:void *) [line 53]\n REMOVE_TEMPS(n$24); [line 53]\n NULLIFY(&__objc_anonymous_block_MyBlock_array_trans______2,true); [line 53]\n NULLIFY(&stop,false); [line 53]\n APPLY_ABSTRACTION; [line 53]\n " shape="box"] +29 [label="29: Call _fun_free \n NULLIFY(&enumerateObjectsUsingBlock,false); [line 61]\n NULLIFY(&idx,false); [line 61]\n NULLIFY(&objects,false); [line 61]\n n$24=*&stop:_Bool * [line 61]\n _fun_free(n$24:void *) [line 61]\n REMOVE_TEMPS(n$24); [line 61]\n NULLIFY(&__objc_anonymous_block_MyBlock_array_trans______2,true); [line 61]\n NULLIFY(&stop,false); [line 61]\n APPLY_ABSTRACTION; [line 61]\n " shape="box"] 29 -> 28 ; 28 [label="28: Exit MyBlock_array_trans \n " color=yellow style=filled] -27 [label="27: Start MyBlock_array_trans\nFormals: self:class MyBlock *\nLocals: idx:unsigned long object:struct objc_object * stop:_Bool * enumerateObjectsUsingBlock:_fn_ (*) objects:class NSArray * a:class NSArray * \n DECLARE_LOCALS(&return,&idx,&object,&stop,&enumerateObjectsUsingBlock,&objects,&a); [line 28]\n NULLIFY(&a,false); [line 28]\n NULLIFY(&enumerateObjectsUsingBlock,false); [line 28]\n NULLIFY(&idx,false); [line 28]\n NULLIFY(&object,false); [line 28]\n NULLIFY(&objects,false); [line 28]\n NULLIFY(&self,false); [line 28]\n NULLIFY(&stop,false); [line 28]\n " color=yellow style=filled] +27 [label="27: Start MyBlock_array_trans\nFormals: self:class MyBlock *\nLocals: idx:unsigned long object:struct objc_object * stop:_Bool * enumerateObjectsUsingBlock:_fn_ (*) objects:class NSArray * a:class NSArray * \n DECLARE_LOCALS(&return,&idx,&object,&stop,&enumerateObjectsUsingBlock,&objects,&a); [line 36]\n NULLIFY(&a,false); [line 36]\n NULLIFY(&enumerateObjectsUsingBlock,false); [line 36]\n NULLIFY(&idx,false); [line 36]\n NULLIFY(&object,false); [line 36]\n NULLIFY(&objects,false); [line 36]\n NULLIFY(&self,false); [line 36]\n NULLIFY(&stop,false); [line 36]\n " color=yellow style=filled] 27 -> 52 ; -26 [label="26: DeclStmt \n n$22=_fun___objc_alloc_no_fail(sizeof(class NSArray ):unsigned long ) [line 14]\n n$23=_fun_NSArray_init(n$22:class NSArray *) virtual [line 14]\n *&a:class NSArray *=n$23 [line 14]\n REMOVE_TEMPS(n$22,n$23); [line 14]\n " shape="box"] +26 [label="26: DeclStmt \n n$22=_fun___objc_alloc_no_fail(sizeof(class NSArray ):unsigned long ) [line 22]\n n$23=_fun_NSArray_init(n$22:class NSArray *) virtual [line 22]\n *&a:class NSArray *=n$23 [line 22]\n REMOVE_TEMPS(n$22,n$23); [line 22]\n " shape="box"] 26 -> 25 ; -25 [label="25: DeclStmt \n n$21=*&a:class NSArray * [line 15]\n *&objects:class NSArray *=n$21 [line 15]\n REMOVE_TEMPS(n$21); [line 15]\n NULLIFY(&a,false); [line 15]\n " shape="box"] +25 [label="25: DeclStmt \n n$21=*&a:class NSArray * [line 23]\n *&objects:class NSArray *=n$21 [line 23]\n REMOVE_TEMPS(n$21); [line 23]\n NULLIFY(&a,false); [line 23]\n " shape="box"] 25 -> 24 ; -24 [label="24: DeclStmt \n DECLARE_LOCALS(&__objc_anonymous_block_MyBlock_array______1); [line 15]\n n$20=_fun___objc_alloc_no_fail(sizeof(class __objc_anonymous_block_MyBlock_array______1 ):unsigned long ) [line 15]\n *&__objc_anonymous_block_MyBlock_array______1:class __objc_anonymous_block_MyBlock_array______1 =n$20 [line 15]\n *&infer___objc_anonymous_block_MyBlock_array______1:_fn_ (*)=(_fun___objc_anonymous_block_MyBlock_array______1) [line 15]\n REMOVE_TEMPS(n$20); [line 15]\n " shape="box"] +24 [label="24: DeclStmt \n DECLARE_LOCALS(&__objc_anonymous_block_MyBlock_array______1); [line 23]\n n$20=_fun___objc_alloc_no_fail(sizeof(class __objc_anonymous_block_MyBlock_array______1 ):unsigned long ) [line 23]\n *&__objc_anonymous_block_MyBlock_array______1:class __objc_anonymous_block_MyBlock_array______1 =n$20 [line 23]\n *&infer___objc_anonymous_block_MyBlock_array______1:_fn_ (*)=(_fun___objc_anonymous_block_MyBlock_array______1) [line 23]\n REMOVE_TEMPS(n$20); [line 23]\n " shape="box"] 24 -> 17 ; -23 [label="23: BinaryOperatorStmt: Assign \n NULLIFY(&ShouldStop,false); [line 22]\n n$19=*&stop:_Bool * [line 22]\n *n$19:_Bool =1 [line 22]\n REMOVE_TEMPS(n$19); [line 22]\n NULLIFY(&stop,false); [line 22]\n APPLY_ABSTRACTION; [line 22]\n " shape="box"] +23 [label="23: BinaryOperatorStmt: Assign \n NULLIFY(&ShouldStop,false); [line 30]\n n$19=*&stop:_Bool * [line 30]\n *n$19:_Bool =1 [line 30]\n REMOVE_TEMPS(n$19); [line 30]\n NULLIFY(&stop,false); [line 30]\n APPLY_ABSTRACTION; [line 30]\n " shape="box"] 23 -> 20 ; -22 [label="22: Prune (false branch) \n n$18=*&ShouldStop:int [line 20]\n PRUNE((n$18 == 0), false); [line 20]\n REMOVE_TEMPS(n$18); [line 20]\n APPLY_ABSTRACTION; [line 20]\n " shape="invhouse"] +22 [label="22: Prune (false branch) \n n$18=*&ShouldStop:int [line 28]\n PRUNE((n$18 == 0), false); [line 28]\n REMOVE_TEMPS(n$18); [line 28]\n APPLY_ABSTRACTION; [line 28]\n " shape="invhouse"] 22 -> 20 ; -21 [label="21: Prune (true branch) \n n$18=*&ShouldStop:int [line 20]\n PRUNE((n$18 != 0), true); [line 20]\n REMOVE_TEMPS(n$18); [line 20]\n " shape="invhouse"] +21 [label="21: Prune (true branch) \n n$18=*&ShouldStop:int [line 28]\n PRUNE((n$18 != 0), true); [line 28]\n REMOVE_TEMPS(n$18); [line 28]\n " shape="invhouse"] 21 -> 23 ; -20 [label="20: + \n NULLIFY(&ShouldStop,false); [line 20]\n NULLIFY(&stop,false); [line 20]\n " ] +20 [label="20: + \n NULLIFY(&ShouldStop,false); [line 28]\n NULLIFY(&stop,false); [line 28]\n " ] 20 -> 19 ; 19 [label="19: Exit __objc_anonymous_block_MyBlock_array______1 \n " color=yellow style=filled] -18 [label="18: Start __objc_anonymous_block_MyBlock_array______1\nFormals: object:struct objc_object * idx:unsigned long stop:_Bool *\nLocals: ShouldStop:int \n DECLARE_LOCALS(&return,&ShouldStop); [line 15]\n NULLIFY(&idx,false); [line 15]\n NULLIFY(&object,false); [line 15]\n " color=yellow style=filled] +18 [label="18: Start __objc_anonymous_block_MyBlock_array______1\nFormals: object:struct objc_object * idx:unsigned long stop:_Bool *\nLocals: ShouldStop:int \n DECLARE_LOCALS(&return,&ShouldStop); [line 23]\n NULLIFY(&idx,false); [line 23]\n NULLIFY(&object,false); [line 23]\n " color=yellow style=filled] 18 -> 21 ; 18 -> 22 ; -17 [label="17: DeclStmt \n n$17=_fun_malloc_no_fail(sizeof(signed char ):signed char ) [line 15]\n *&stop:_Bool *=n$17 [line 15]\n REMOVE_TEMPS(n$17); [line 15]\n " shape="box"] +17 [label="17: DeclStmt \n n$17=_fun_malloc_no_fail(sizeof(signed char ):signed char ) [line 23]\n *&stop:_Bool *=n$17 [line 23]\n REMOVE_TEMPS(n$17); [line 23]\n " shape="box"] 17 -> 16 ; -16 [label="16: BinaryOperatorStmt: Assign \n n$16=*&stop:_Bool * [line 15]\n *n$16:void =0 [line 15]\n REMOVE_TEMPS(n$16); [line 15]\n " shape="box"] +16 [label="16: BinaryOperatorStmt: Assign \n n$16=*&stop:_Bool * [line 23]\n *n$16:void =0 [line 23]\n REMOVE_TEMPS(n$16); [line 23]\n " shape="box"] 16 -> 5 ; -15 [label="15: DeclStmt \n n$13=*&objects:class NSArray * [line 15]\n n$14=*&idx:unsigned long [line 15]\n n$15=_fun_NSArray_objectAtIndexedSubscript:(n$13:class NSArray *,n$14:unsigned long ) virtual [line 15]\n *&object:struct objc_object *=n$15 [line 15]\n REMOVE_TEMPS(n$13,n$14,n$15); [line 15]\n NULLIFY(&object,false); [line 15]\n " shape="box"] +15 [label="15: DeclStmt \n n$13=*&objects:class NSArray * [line 23]\n n$14=*&idx:unsigned long [line 23]\n n$15=_fun_NSArray_objectAtIndexedSubscript:(n$13:class NSArray *,n$14:unsigned long ) virtual [line 23]\n *&object:struct objc_object *=n$15 [line 23]\n REMOVE_TEMPS(n$13,n$14,n$15); [line 23]\n NULLIFY(&object,false); [line 23]\n " shape="box"] 15 -> 14 ; -14 [label="14: Call n$8 \n n$8=*&infer___objc_anonymous_block_MyBlock_array______1:_fn_ (*) [line 15]\n n$9=*&object:struct objc_object * [line 15]\n n$10=*&idx:unsigned long [line 15]\n n$11=*&stop:_Bool * [line 15]\n n$12=n$8(n$9:struct objc_object *,n$10:unsigned long ,n$11:_Bool *) [line 15]\n REMOVE_TEMPS(n$8,n$9,n$10,n$11,n$12); [line 15]\n " shape="box"] +14 [label="14: Call n$8 \n n$8=*&infer___objc_anonymous_block_MyBlock_array______1:_fn_ (*) [line 23]\n n$9=*&object:struct objc_object * [line 23]\n n$10=*&idx:unsigned long [line 23]\n n$11=*&stop:_Bool * [line 23]\n n$12=n$8(n$9:struct objc_object *,n$10:unsigned long ,n$11:_Bool *) [line 23]\n REMOVE_TEMPS(n$8,n$9,n$10,n$11,n$12); [line 23]\n " shape="box"] 14 -> 11 ; -13 [label="13: Prune (false branch) \n n$7=*n$6:signed char [line 15]\n PRUNE((n$7 == 0), false); [line 15]\n REMOVE_TEMPS(n$6,n$7); [line 15]\n " shape="invhouse"] +13 [label="13: Prune (false branch) \n n$7=*n$6:signed char [line 23]\n PRUNE((n$7 == 0), false); [line 23]\n REMOVE_TEMPS(n$6,n$7); [line 23]\n " shape="invhouse"] 13 -> 10 ; -12 [label="12: Prune (true branch) \n n$7=*n$6:signed char [line 15]\n PRUNE((n$7 != 0), true); [line 15]\n REMOVE_TEMPS(n$6,n$7); [line 15]\n APPLY_ABSTRACTION; [line 15]\n " shape="invhouse"] +12 [label="12: Prune (true branch) \n n$7=*n$6:signed char [line 23]\n PRUNE((n$7 != 0), true); [line 23]\n REMOVE_TEMPS(n$6,n$7); [line 23]\n APPLY_ABSTRACTION; [line 23]\n " shape="invhouse"] 12 -> 3 ; -11 [label="11: UnaryOperator \n n$6=*&stop:_Bool * [line 15]\n " shape="box"] +11 [label="11: UnaryOperator \n n$6=*&stop:_Bool * [line 23]\n " shape="box"] 11 -> 12 ; @@ -173,24 +173,24 @@ digraph iCFG { 10 -> 6 ; -9 [label="9: Prune (false branch) \n PRUNE(((n$3 < n$5) == 0), false); [line 15]\n REMOVE_TEMPS(n$3,n$4,n$5); [line 15]\n APPLY_ABSTRACTION; [line 15]\n " shape="invhouse"] +9 [label="9: Prune (false branch) \n PRUNE(((n$3 < n$5) == 0), false); [line 23]\n REMOVE_TEMPS(n$3,n$4,n$5); [line 23]\n APPLY_ABSTRACTION; [line 23]\n " shape="invhouse"] 9 -> 3 ; -8 [label="8: Prune (true branch) \n PRUNE(((n$3 < n$5) != 0), true); [line 15]\n REMOVE_TEMPS(n$3,n$4,n$5); [line 15]\n " shape="invhouse"] +8 [label="8: Prune (true branch) \n PRUNE(((n$3 < n$5) != 0), true); [line 23]\n REMOVE_TEMPS(n$3,n$4,n$5); [line 23]\n " shape="invhouse"] 8 -> 15 ; -7 [label="7: BinaryOperatorStmt: LT \n n$3=*&idx:unsigned long [line 15]\n n$4=*&objects:class NSArray * [line 15]\n n$5=_fun_NSArray_count(n$4:class NSArray *) virtual [line 15]\n " shape="box"] +7 [label="7: BinaryOperatorStmt: LT \n n$3=*&idx:unsigned long [line 23]\n n$4=*&objects:class NSArray * [line 23]\n n$5=_fun_NSArray_count(n$4:class NSArray *) virtual [line 23]\n " shape="box"] 7 -> 8 ; 7 -> 9 ; -6 [label="6: UnaryOperator \n n$2=*&idx:unsigned long [line 15]\n *&idx:unsigned long =(n$2 + 1) [line 15]\n REMOVE_TEMPS(n$2); [line 15]\n APPLY_ABSTRACTION; [line 15]\n " shape="box"] +6 [label="6: UnaryOperator \n n$2=*&idx:unsigned long [line 23]\n *&idx:unsigned long =(n$2 + 1) [line 23]\n REMOVE_TEMPS(n$2); [line 23]\n APPLY_ABSTRACTION; [line 23]\n " shape="box"] 6 -> 4 ; -5 [label="5: DeclStmt \n *&idx:unsigned long =0 [line 15]\n APPLY_ABSTRACTION; [line 15]\n " shape="box"] +5 [label="5: DeclStmt \n *&idx:unsigned long =0 [line 23]\n APPLY_ABSTRACTION; [line 23]\n " shape="box"] 5 -> 4 ; @@ -198,14 +198,14 @@ digraph iCFG { 4 -> 7 ; -3 [label="3: Call _fun_free \n NULLIFY(&idx,false); [line 15]\n NULLIFY(&infer___objc_anonymous_block_MyBlock_array______1,false); [line 15]\n NULLIFY(&objects,false); [line 15]\n n$0=*&stop:_Bool * [line 15]\n n$1=_fun_free(n$0:void *) [line 15]\n NULLIFY(&object,true); [line 15]\n NULLIFY(&idx,true); [line 15]\n NULLIFY(&stop,true); [line 15]\n NULLIFY(&objects,true); [line 15]\n REMOVE_TEMPS(n$0,n$1); [line 15]\n NULLIFY(&__objc_anonymous_block_MyBlock_array______1,true); [line 15]\n NULLIFY(&infer___objc_anonymous_block_MyBlock_array______1,true); [line 15]\n NULLIFY(&idx,false); [line 15]\n NULLIFY(&infer___objc_anonymous_block_MyBlock_array______1,false); [line 15]\n NULLIFY(&objects,false); [line 15]\n NULLIFY(&stop,false); [line 15]\n APPLY_ABSTRACTION; [line 15]\n " shape="box"] +3 [label="3: Call _fun_free \n NULLIFY(&idx,false); [line 23]\n NULLIFY(&infer___objc_anonymous_block_MyBlock_array______1,false); [line 23]\n NULLIFY(&objects,false); [line 23]\n n$0=*&stop:_Bool * [line 23]\n n$1=_fun_free(n$0:void *) [line 23]\n NULLIFY(&object,true); [line 23]\n NULLIFY(&idx,true); [line 23]\n NULLIFY(&stop,true); [line 23]\n NULLIFY(&objects,true); [line 23]\n REMOVE_TEMPS(n$0,n$1); [line 23]\n NULLIFY(&__objc_anonymous_block_MyBlock_array______1,true); [line 23]\n NULLIFY(&infer___objc_anonymous_block_MyBlock_array______1,true); [line 23]\n NULLIFY(&idx,false); [line 23]\n NULLIFY(&infer___objc_anonymous_block_MyBlock_array______1,false); [line 23]\n NULLIFY(&objects,false); [line 23]\n NULLIFY(&stop,false); [line 23]\n APPLY_ABSTRACTION; [line 23]\n " shape="box"] 3 -> 2 ; 2 [label="2: Exit MyBlock_array \n " color=yellow style=filled] -1 [label="1: Start MyBlock_array\nFormals: self:class MyBlock *\nLocals: idx:unsigned long object:struct objc_object * stop:_Bool * infer___objc_anonymous_block_MyBlock_array______1:_fn_ (*) objects:class NSArray * a:class NSArray * \n DECLARE_LOCALS(&return,&idx,&object,&stop,&infer___objc_anonymous_block_MyBlock_array______1,&objects,&a); [line 12]\n NULLIFY(&a,false); [line 12]\n NULLIFY(&idx,false); [line 12]\n NULLIFY(&infer___objc_anonymous_block_MyBlock_array______1,false); [line 12]\n NULLIFY(&object,false); [line 12]\n NULLIFY(&objects,false); [line 12]\n NULLIFY(&self,false); [line 12]\n NULLIFY(&stop,false); [line 12]\n " color=yellow style=filled] +1 [label="1: Start MyBlock_array\nFormals: self:class MyBlock *\nLocals: idx:unsigned long object:struct objc_object * stop:_Bool * infer___objc_anonymous_block_MyBlock_array______1:_fn_ (*) objects:class NSArray * a:class NSArray * \n DECLARE_LOCALS(&return,&idx,&object,&stop,&infer___objc_anonymous_block_MyBlock_array______1,&objects,&a); [line 20]\n NULLIFY(&a,false); [line 20]\n NULLIFY(&idx,false); [line 20]\n NULLIFY(&infer___objc_anonymous_block_MyBlock_array______1,false); [line 20]\n NULLIFY(&object,false); [line 20]\n NULLIFY(&objects,false); [line 20]\n NULLIFY(&self,false); [line 20]\n NULLIFY(&stop,false); [line 20]\n " color=yellow style=filled] 1 -> 26 ; diff --git a/infer/tests/codetoanalyze/objc/frontend/block/block-it.m b/infer/tests/codetoanalyze/objc/frontend/block/block-it.m index a037c21f0..2242b3ed6 100644 --- a/infer/tests/codetoanalyze/objc/frontend/block/block-it.m +++ b/infer/tests/codetoanalyze/objc/frontend/block/block-it.m @@ -1,3 +1,11 @@ +/* + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import @@ -10,7 +18,7 @@ -(void) array { - + NSArray *a = [[NSArray alloc] init]; [a enumerateObjectsUsingBlock:^(id object, NSUInteger idx, BOOL *stop) { int ShouldStop; @@ -30,22 +38,22 @@ NSArray *a = [[NSArray alloc] init]; NSArray *objects = a; - + // The call to the iterator in the above function is translated as: void (^enumerateObjectsUsingBlock)(id, NSUInteger, BOOL *)= ^(id object, NSUInteger idx, BOOL* stop) { - + int ShouldStop; - + if (ShouldStop) { *stop= YES; }; }; BOOL *stop = malloc(sizeof(BOOL)); *stop = NO; - + for (NSUInteger idx=0; idx diff --git a/infer/tests/codetoanalyze/objc/frontend/block/block_release.m b/infer/tests/codetoanalyze/objc/frontend/block/block_release.m index 4e0eea04e..b56d451de 100644 --- a/infer/tests/codetoanalyze/objc/frontend/block/block_release.m +++ b/infer/tests/codetoanalyze/objc/frontend/block/block_release.m @@ -1,11 +1,11 @@ /* -* Copyright (c) 2014 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2014 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import #import diff --git a/infer/tests/codetoanalyze/objc/frontend/block/dispatch.m b/infer/tests/codetoanalyze/objc/frontend/block/dispatch.m index 1aeb85e52..77273e337 100644 --- a/infer/tests/codetoanalyze/objc/frontend/block/dispatch.m +++ b/infer/tests/codetoanalyze/objc/frontend/block/dispatch.m @@ -1,11 +1,11 @@ /* -* Copyright (c) 2014 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2014 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import @@ -47,9 +47,3 @@ int main () { if (b == 0) return *p; else return 0; } - - - - - - diff --git a/infer/tests/codetoanalyze/objc/frontend/block/dispatch_examples.m b/infer/tests/codetoanalyze/objc/frontend/block/dispatch_examples.m index da4964589..91c4330f4 100644 --- a/infer/tests/codetoanalyze/objc/frontend/block/dispatch_examples.m +++ b/infer/tests/codetoanalyze/objc/frontend/block/dispatch_examples.m @@ -1,11 +1,11 @@ /* -* Copyright (c) 2014 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2014 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import diff --git a/infer/tests/codetoanalyze/objc/frontend/block/retain_cycle.m b/infer/tests/codetoanalyze/objc/frontend/block/retain_cycle.m index edab1fa6e..654863623 100644 --- a/infer/tests/codetoanalyze/objc/frontend/block/retain_cycle.m +++ b/infer/tests/codetoanalyze/objc/frontend/block/retain_cycle.m @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import @@ -28,7 +28,7 @@ typedef void (^MyHandler)(D* data); } - (void)sHandler:(MyHandler)h { - + self->_h=h; } @@ -56,18 +56,18 @@ typedef void (^MyHandler)(D* data); @end A* foo(A* a) { - + [a capture]; - + return a; }; int main(int argc, const char * argv[]) { - + A* a = [A alloc]; - + a=foo(a); - + return 0; } diff --git a/infer/tests/codetoanalyze/objc/frontend/block/static.m b/infer/tests/codetoanalyze/objc/frontend/block/static.m index bb04f533c..fe1a47ac1 100644 --- a/infer/tests/codetoanalyze/objc/frontend/block/static.m +++ b/infer/tests/codetoanalyze/objc/frontend/block/static.m @@ -1,11 +1,11 @@ /* -* Copyright (c) 2014 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2014 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import @@ -22,7 +22,7 @@ sharedInstance = [[self alloc] init]; //return sharedInstance; }(); - + return sharedInstance; } @@ -33,7 +33,7 @@ sharedInstance = [[self alloc] init]; //return sharedInstance; }(); - + } @@ -45,7 +45,7 @@ //NSLog(@"Passing from block...\n"); id p = sharedInstance; }(); - + return sharedInstance; } @@ -55,12 +55,12 @@ + (int)test3 { static int i; - + ^{ // NSLog(@"Passing from block...\n"); i++; }(); - + return i; } @@ -69,6 +69,6 @@ int main(int argc, const char * argv[]) { - + return 0; } diff --git a/infer/tests/codetoanalyze/objc/frontend/boxing/Boxing.h b/infer/tests/codetoanalyze/objc/frontend/boxing/Boxing.h index 7d319820a..49c802e98 100644 --- a/infer/tests/codetoanalyze/objc/frontend/boxing/Boxing.h +++ b/infer/tests/codetoanalyze/objc/frontend/boxing/Boxing.h @@ -1,11 +1,11 @@ /* -* Copyright (c) 2014 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2014 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import diff --git a/infer/tests/codetoanalyze/objc/frontend/boxing/Boxing.m b/infer/tests/codetoanalyze/objc/frontend/boxing/Boxing.m index fef3f58ab..9666b51bd 100644 --- a/infer/tests/codetoanalyze/objc/frontend/boxing/Boxing.m +++ b/infer/tests/codetoanalyze/objc/frontend/boxing/Boxing.m @@ -1,11 +1,11 @@ /* -* Copyright (c) 2014 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2014 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import "Boxing.h" diff --git a/infer/tests/codetoanalyze/objc/frontend/boxing/array.m b/infer/tests/codetoanalyze/objc/frontend/boxing/array.m index c0d796195..6b8e83b4f 100644 --- a/infer/tests/codetoanalyze/objc/frontend/boxing/array.m +++ b/infer/tests/codetoanalyze/objc/frontend/boxing/array.m @@ -1,11 +1,11 @@ /* -* Copyright (c) 2014 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2014 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import diff --git a/infer/tests/codetoanalyze/objc/frontend/boxing/array_literal.c b/infer/tests/codetoanalyze/objc/frontend/boxing/array_literal.c index 4fac720fa..0e706ddfa 100644 --- a/infer/tests/codetoanalyze/objc/frontend/boxing/array_literal.c +++ b/infer/tests/codetoanalyze/objc/frontend/boxing/array_literal.c @@ -1,11 +1,11 @@ /* -* Copyright (c) 2014 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2014 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import diff --git a/infer/tests/codetoanalyze/objc/frontend/boxing/dict_literal.c b/infer/tests/codetoanalyze/objc/frontend/boxing/dict_literal.c index 5803d06a1..1a27dc526 100644 --- a/infer/tests/codetoanalyze/objc/frontend/boxing/dict_literal.c +++ b/infer/tests/codetoanalyze/objc/frontend/boxing/dict_literal.c @@ -1,25 +1,24 @@ /* -* Copyright (c) 2014 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2014 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import NSDictionary* get_array1() { - + return [NSDictionary dictionaryWithObjectsAndKeys: @"Matt", @"firstName", @"Galloway", @"lastName", @28, @"age", nil]; } NSDictionary* get_array2() { - + return @{@"firstName" : @"Matt", @"lastName" : @"Galloway", @"age" : @28}; } - diff --git a/infer/tests/codetoanalyze/objc/frontend/boxing/string_literal.c b/infer/tests/codetoanalyze/objc/frontend/boxing/string_literal.c index 676615422..005dd1ea1 100644 --- a/infer/tests/codetoanalyze/objc/frontend/boxing/string_literal.c +++ b/infer/tests/codetoanalyze/objc/frontend/boxing/string_literal.c @@ -1,11 +1,11 @@ /* -* Copyright (c) 2014 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2014 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import diff --git a/infer/tests/codetoanalyze/objc/frontend/conditional_operation/ConditionalOperation.m b/infer/tests/codetoanalyze/objc/frontend/conditional_operation/ConditionalOperation.m index ff459a0d1..e5e6e2f8a 100644 --- a/infer/tests/codetoanalyze/objc/frontend/conditional_operation/ConditionalOperation.m +++ b/infer/tests/codetoanalyze/objc/frontend/conditional_operation/ConditionalOperation.m @@ -1,11 +1,11 @@ /* -* Copyright (c) 2014 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2014 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import diff --git a/infer/tests/codetoanalyze/objc/frontend/exceptions/ExceptionExample.m b/infer/tests/codetoanalyze/objc/frontend/exceptions/ExceptionExample.m index 871213eef..7c6d7e88e 100644 --- a/infer/tests/codetoanalyze/objc/frontend/exceptions/ExceptionExample.m +++ b/infer/tests/codetoanalyze/objc/frontend/exceptions/ExceptionExample.m @@ -1,11 +1,11 @@ /* -* Copyright (c) 2014 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2014 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import diff --git a/infer/tests/codetoanalyze/objc/frontend/fast_enumeration/Fast_enumeration.m b/infer/tests/codetoanalyze/objc/frontend/fast_enumeration/Fast_enumeration.m index d6f2a612f..4a3797752 100644 --- a/infer/tests/codetoanalyze/objc/frontend/fast_enumeration/Fast_enumeration.m +++ b/infer/tests/codetoanalyze/objc/frontend/fast_enumeration/Fast_enumeration.m @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import diff --git a/infer/tests/codetoanalyze/objc/frontend/predefined_expr/PredefinedExprExample.m b/infer/tests/codetoanalyze/objc/frontend/predefined_expr/PredefinedExprExample.m index 92b2aceca..e6a9ecf5c 100644 --- a/infer/tests/codetoanalyze/objc/frontend/predefined_expr/PredefinedExprExample.m +++ b/infer/tests/codetoanalyze/objc/frontend/predefined_expr/PredefinedExprExample.m @@ -1,11 +1,11 @@ /* -* Copyright (c) 2014 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2014 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import diff --git a/infer/tests/codetoanalyze/objc/frontend/property/Car.h b/infer/tests/codetoanalyze/objc/frontend/property/Car.h index 348c76a68..d594b9658 100644 --- a/infer/tests/codetoanalyze/objc/frontend/property/Car.h +++ b/infer/tests/codetoanalyze/objc/frontend/property/Car.h @@ -1,11 +1,11 @@ /* -* Copyright (c) 2014 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2014 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import diff --git a/infer/tests/codetoanalyze/objc/frontend/property/Car.m b/infer/tests/codetoanalyze/objc/frontend/property/Car.m index 53646df22..15632d510 100644 --- a/infer/tests/codetoanalyze/objc/frontend/property/Car.m +++ b/infer/tests/codetoanalyze/objc/frontend/property/Car.m @@ -1,16 +1,16 @@ /* -* Copyright (c) 2014 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2014 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import "Car.h" @implementation Car -@synthesize running = _running; +@synthesize running = _running; @end diff --git a/infer/tests/codetoanalyze/objc/frontend/property/PropertyAttributes.m b/infer/tests/codetoanalyze/objc/frontend/property/PropertyAttributes.m index 175ed440a..4e789c4df 100644 --- a/infer/tests/codetoanalyze/objc/frontend/property/PropertyAttributes.m +++ b/infer/tests/codetoanalyze/objc/frontend/property/PropertyAttributes.m @@ -1,11 +1,11 @@ /* -* Copyright (c) 2014 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2014 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import diff --git a/infer/tests/codetoanalyze/objc/frontend/property/PropertyCustomAccessor.m b/infer/tests/codetoanalyze/objc/frontend/property/PropertyCustomAccessor.m index eeff8bda9..cfecd3261 100644 --- a/infer/tests/codetoanalyze/objc/frontend/property/PropertyCustomAccessor.m +++ b/infer/tests/codetoanalyze/objc/frontend/property/PropertyCustomAccessor.m @@ -1,11 +1,11 @@ /* -* Copyright (c) 2014 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2014 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import diff --git a/infer/tests/codetoanalyze/objc/frontend/property/PropertyImplSetter.h b/infer/tests/codetoanalyze/objc/frontend/property/PropertyImplSetter.h index 37da7f78f..58dbef82b 100644 --- a/infer/tests/codetoanalyze/objc/frontend/property/PropertyImplSetter.h +++ b/infer/tests/codetoanalyze/objc/frontend/property/PropertyImplSetter.h @@ -1,11 +1,11 @@ /* -* Copyright (c) 2014 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2014 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import diff --git a/infer/tests/codetoanalyze/objc/frontend/property/PropertyImplSetter.m b/infer/tests/codetoanalyze/objc/frontend/property/PropertyImplSetter.m index d96f319d4..d3dbca5f8 100644 --- a/infer/tests/codetoanalyze/objc/frontend/property/PropertyImplSetter.m +++ b/infer/tests/codetoanalyze/objc/frontend/property/PropertyImplSetter.m @@ -1,11 +1,11 @@ /* -* Copyright (c) 2014 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2014 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import "PropertyImplSetter.h" diff --git a/infer/tests/codetoanalyze/objc/frontend/property/Property_getter.m b/infer/tests/codetoanalyze/objc/frontend/property/Property_getter.m index bdd6d2c20..a09806b92 100644 --- a/infer/tests/codetoanalyze/objc/frontend/property/Property_getter.m +++ b/infer/tests/codetoanalyze/objc/frontend/property/Property_getter.m @@ -1,11 +1,11 @@ /* -* Copyright (c) 2014 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2014 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import diff --git a/infer/tests/codetoanalyze/objc/frontend/property/aclass.m b/infer/tests/codetoanalyze/objc/frontend/property/aclass.m index 845a154ed..a3c5cc8c1 100644 --- a/infer/tests/codetoanalyze/objc/frontend/property/aclass.m +++ b/infer/tests/codetoanalyze/objc/frontend/property/aclass.m @@ -1,11 +1,11 @@ /* -* Copyright (c) 2014 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2014 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import diff --git a/infer/tests/codetoanalyze/objc/frontend/property/main_car.m b/infer/tests/codetoanalyze/objc/frontend/property/main_car.m index 5a7867421..475b21318 100644 --- a/infer/tests/codetoanalyze/objc/frontend/property/main_car.m +++ b/infer/tests/codetoanalyze/objc/frontend/property/main_car.m @@ -1,17 +1,17 @@ /* -* Copyright (c) 2014 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2014 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import "Car.h" int main() { Car *honda = [[Car alloc] init]; - honda.running = YES; - NSLog(@"%d", honda.running); + honda.running = YES; + NSLog(@"%d", honda.running); return 0; } diff --git a/infer/tests/codetoanalyze/objc/frontend/property_in_protocol/MyProtocol.h b/infer/tests/codetoanalyze/objc/frontend/property_in_protocol/MyProtocol.h index 4a0aee221..f449ebd6c 100644 --- a/infer/tests/codetoanalyze/objc/frontend/property_in_protocol/MyProtocol.h +++ b/infer/tests/codetoanalyze/objc/frontend/property_in_protocol/MyProtocol.h @@ -1,11 +1,11 @@ /* -* Copyright (c) 2014 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2014 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import diff --git a/infer/tests/codetoanalyze/objc/frontend/property_in_protocol/Test.h b/infer/tests/codetoanalyze/objc/frontend/property_in_protocol/Test.h index 6512bcd28..1251df592 100644 --- a/infer/tests/codetoanalyze/objc/frontend/property_in_protocol/Test.h +++ b/infer/tests/codetoanalyze/objc/frontend/property_in_protocol/Test.h @@ -1,19 +1,19 @@ /* -* Copyright (c) 2014 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2014 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import #import "MyProtocol.h" @interface Test : NSObject { - + int numberOfFiles; - + } @end diff --git a/infer/tests/codetoanalyze/objc/frontend/property_in_protocol/Test.m b/infer/tests/codetoanalyze/objc/frontend/property_in_protocol/Test.m index f05c2bc3d..405bc495c 100644 --- a/infer/tests/codetoanalyze/objc/frontend/property_in_protocol/Test.m +++ b/infer/tests/codetoanalyze/objc/frontend/property_in_protocol/Test.m @@ -1,11 +1,11 @@ /* -* Copyright (c) 2014 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2014 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import "Test.h" diff --git a/infer/tests/codetoanalyze/objc/frontend/protocol/protocol.m b/infer/tests/codetoanalyze/objc/frontend/protocol/protocol.m index 73f454312..4a49c297f 100644 --- a/infer/tests/codetoanalyze/objc/frontend/protocol/protocol.m +++ b/infer/tests/codetoanalyze/objc/frontend/protocol/protocol.m @@ -1,11 +1,11 @@ /* -* Copyright (c) 2014 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2014 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import diff --git a/infer/tests/codetoanalyze/objc/frontend/returnstmt/void_return.m b/infer/tests/codetoanalyze/objc/frontend/returnstmt/void_return.m index 281634fec..19a7d1910 100644 --- a/infer/tests/codetoanalyze/objc/frontend/returnstmt/void_return.m +++ b/infer/tests/codetoanalyze/objc/frontend/returnstmt/void_return.m @@ -1,11 +1,11 @@ /* -* Copyright (c) 2014 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2014 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import diff --git a/infer/tests/codetoanalyze/objc/frontend/self_static/Self.m b/infer/tests/codetoanalyze/objc/frontend/self_static/Self.m index cb6b12c96..00198a2fb 100644 --- a/infer/tests/codetoanalyze/objc/frontend/self_static/Self.m +++ b/infer/tests/codetoanalyze/objc/frontend/self_static/Self.m @@ -1,11 +1,11 @@ /* -* Copyright (c) 2014 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2014 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import diff --git a/infer/tests/codetoanalyze/objc/frontend/self_static/static.m b/infer/tests/codetoanalyze/objc/frontend/self_static/static.m index e845ae57b..727af819e 100644 --- a/infer/tests/codetoanalyze/objc/frontend/self_static/static.m +++ b/infer/tests/codetoanalyze/objc/frontend/self_static/static.m @@ -1,11 +1,11 @@ /* -* Copyright (c) 2014 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2014 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import @@ -16,7 +16,7 @@ - (int) getX; @end -@implementation MyClass +@implementation MyClass + (void)aClassMethod { MyClass *myClass = [self alloc]; } diff --git a/infer/tests/codetoanalyze/objc/frontend/strings/global_string_literal.m b/infer/tests/codetoanalyze/objc/frontend/strings/global_string_literal.m index 784a89e54..1dee1acee 100644 --- a/infer/tests/codetoanalyze/objc/frontend/strings/global_string_literal.m +++ b/infer/tests/codetoanalyze/objc/frontend/strings/global_string_literal.m @@ -1,11 +1,11 @@ /* -* Copyright (c) 2014 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2014 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import diff --git a/infer/tests/codetoanalyze/objc/frontend/strings/string_literal.m b/infer/tests/codetoanalyze/objc/frontend/strings/string_literal.m index e28144729..ec2ac291a 100644 --- a/infer/tests/codetoanalyze/objc/frontend/strings/string_literal.m +++ b/infer/tests/codetoanalyze/objc/frontend/strings/string_literal.m @@ -1,11 +1,11 @@ /* -* Copyright (c) 2014 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2014 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import diff --git a/infer/tests/codetoanalyze/objc/frontend/subclass/A.h b/infer/tests/codetoanalyze/objc/frontend/subclass/A.h index 90c5eab56..101132ada 100644 --- a/infer/tests/codetoanalyze/objc/frontend/subclass/A.h +++ b/infer/tests/codetoanalyze/objc/frontend/subclass/A.h @@ -1,11 +1,11 @@ /* -* Copyright (c) 2014 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2014 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import diff --git a/infer/tests/codetoanalyze/objc/frontend/subclass/A.m b/infer/tests/codetoanalyze/objc/frontend/subclass/A.m index 3c8ea59c2..52c87275e 100644 --- a/infer/tests/codetoanalyze/objc/frontend/subclass/A.m +++ b/infer/tests/codetoanalyze/objc/frontend/subclass/A.m @@ -1,11 +1,11 @@ /* -* Copyright (c) 2014 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2014 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import diff --git a/infer/tests/codetoanalyze/objc/frontend/subclass/MyClass.h b/infer/tests/codetoanalyze/objc/frontend/subclass/MyClass.h index 85f01b29b..91f536725 100644 --- a/infer/tests/codetoanalyze/objc/frontend/subclass/MyClass.h +++ b/infer/tests/codetoanalyze/objc/frontend/subclass/MyClass.h @@ -1,11 +1,11 @@ /* -* Copyright (c) 2014 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2014 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import diff --git a/infer/tests/codetoanalyze/objc/frontend/subclass/MyClass.m b/infer/tests/codetoanalyze/objc/frontend/subclass/MyClass.m index f403547ff..5493f2143 100644 --- a/infer/tests/codetoanalyze/objc/frontend/subclass/MyClass.m +++ b/infer/tests/codetoanalyze/objc/frontend/subclass/MyClass.m @@ -1,11 +1,11 @@ /* -* Copyright (c) 2014 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2014 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import "MyClass.h" diff --git a/infer/tests/codetoanalyze/objc/frontend/subclass/MySubClass.h b/infer/tests/codetoanalyze/objc/frontend/subclass/MySubClass.h index d6d8500e6..46b0b60c1 100644 --- a/infer/tests/codetoanalyze/objc/frontend/subclass/MySubClass.h +++ b/infer/tests/codetoanalyze/objc/frontend/subclass/MySubClass.h @@ -1,11 +1,11 @@ /* -* Copyright (c) 2014 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2014 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import "MyClass.h" @@ -13,4 +13,3 @@ } - (int)myNumber; @end - diff --git a/infer/tests/codetoanalyze/objc/frontend/subclass/MySubClass.m b/infer/tests/codetoanalyze/objc/frontend/subclass/MySubClass.m index 90e2a8099..d39cf6346 100644 --- a/infer/tests/codetoanalyze/objc/frontend/subclass/MySubClass.m +++ b/infer/tests/codetoanalyze/objc/frontend/subclass/MySubClass.m @@ -1,11 +1,11 @@ /* -* Copyright (c) 2014 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2014 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import "MySubClass.h" @@ -13,7 +13,7 @@ } - (int)myNumber { - + int subclassNumber = [super myNumber] + 1; return subclassNumber; } diff --git a/infer/tests/codetoanalyze/objc/frontend/subclass/main.c b/infer/tests/codetoanalyze/objc/frontend/subclass/main.c index a940d5da3..75e70b03d 100644 --- a/infer/tests/codetoanalyze/objc/frontend/subclass/main.c +++ b/infer/tests/codetoanalyze/objc/frontend/subclass/main.c @@ -1,11 +1,11 @@ /* -* Copyright (c) 2014 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2014 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import "A.h" diff --git a/infer/tests/codetoanalyze/objc/frontend/types/attributes.m b/infer/tests/codetoanalyze/objc/frontend/types/attributes.m index 8ef71ff04..17ad5bf81 100644 --- a/infer/tests/codetoanalyze/objc/frontend/types/attributes.m +++ b/infer/tests/codetoanalyze/objc/frontend/types/attributes.m @@ -1,11 +1,11 @@ /* -* Copyright (c) 2014 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2014 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import @@ -18,13 +18,13 @@ @end int main () { - + A * __weak aWeakRef =0; A * __strong aStrongRef =0; A * __unsafe_unretained anUnsafeUnretRef =0; A * __autoreleasing anAutoRelRef =0; A * aStdRef =0; - + // interaction with __strong aStrongRef=[A alloc]; // counter =1 @@ -39,6 +39,6 @@ int main () { anUnsafeUnretRef = aStdRef; //counter=2 - + return 0; } diff --git a/infer/tests/codetoanalyze/objc/frontend/types/testloop.m b/infer/tests/codetoanalyze/objc/frontend/types/testloop.m index 79ffbee96..6450b7723 100644 --- a/infer/tests/codetoanalyze/objc/frontend/types/testloop.m +++ b/infer/tests/codetoanalyze/objc/frontend/types/testloop.m @@ -1,11 +1,11 @@ /* -* Copyright (c) 2014 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2014 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import diff --git a/infer/tests/codetoanalyze/objc/frontend/types/void_call.m b/infer/tests/codetoanalyze/objc/frontend/types/void_call.m index b8a2934fb..cdbe3e704 100644 --- a/infer/tests/codetoanalyze/objc/frontend/types/void_call.m +++ b/infer/tests/codetoanalyze/objc/frontend/types/void_call.m @@ -1,11 +1,11 @@ /* -* Copyright (c) 2014 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2014 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import @@ -34,26 +34,26 @@ void foo1(int a) { } int bar1(int a) { - + return a++; } int main() { - + int x=1; foo1(x); - + x=bar1(x); AClass* o =[AClass alloc]; - + if (o) { - + [o foo:x]; x=[o bar:x]; - + } - + return 0; - + } diff --git a/infer/tests/codetoanalyze/objc/frontend/vardecl/aclass.m b/infer/tests/codetoanalyze/objc/frontend/vardecl/aclass.m index c23054e28..f471167f1 100644 --- a/infer/tests/codetoanalyze/objc/frontend/vardecl/aclass.m +++ b/infer/tests/codetoanalyze/objc/frontend/vardecl/aclass.m @@ -1,11 +1,11 @@ /* -* Copyright (c) 2014 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2014 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import diff --git a/infer/tests/codetoanalyze/objc/frontend/vardecl/aclass_2.m b/infer/tests/codetoanalyze/objc/frontend/vardecl/aclass_2.m index 40f9458cf..cba1bdcef 100644 --- a/infer/tests/codetoanalyze/objc/frontend/vardecl/aclass_2.m +++ b/infer/tests/codetoanalyze/objc/frontend/vardecl/aclass_2.m @@ -1,11 +1,11 @@ /* -* Copyright (c) 2014 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2014 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import diff --git a/infer/tests/codetoanalyze/objc/frontend/vardecl/initlist.m b/infer/tests/codetoanalyze/objc/frontend/vardecl/initlist.m index c89f9a8a9..9e87d3ec0 100644 --- a/infer/tests/codetoanalyze/objc/frontend/vardecl/initlist.m +++ b/infer/tests/codetoanalyze/objc/frontend/vardecl/initlist.m @@ -1,11 +1,11 @@ /* -* Copyright (c) 2014 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2014 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import diff --git a/infer/tests/codetoanalyze/objc/frontend/vardecl/last_af.m b/infer/tests/codetoanalyze/objc/frontend/vardecl/last_af.m index 2fa01f68d..140c52f5d 100644 --- a/infer/tests/codetoanalyze/objc/frontend/vardecl/last_af.m +++ b/infer/tests/codetoanalyze/objc/frontend/vardecl/last_af.m @@ -1,11 +1,11 @@ /* -* Copyright (c) 2014 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2014 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ int main() { int a = 0, b = a + 2; diff --git a/infer/tests/codetoanalyze/objc/warnings/ParameterNotNullableExample.m b/infer/tests/codetoanalyze/objc/warnings/ParameterNotNullableExample.m index 23bb3c2f2..3d4255b54 100644 --- a/infer/tests/codetoanalyze/objc/warnings/ParameterNotNullableExample.m +++ b/infer/tests/codetoanalyze/objc/warnings/ParameterNotNullableExample.m @@ -1,11 +1,12 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ + #import typedef struct { diff --git a/infer/tests/codetoanalyze/objc/warnings/atomic_prop.m b/infer/tests/codetoanalyze/objc/warnings/atomic_prop.m index cd44507d8..0895a4842 100644 --- a/infer/tests/codetoanalyze/objc/warnings/atomic_prop.m +++ b/infer/tests/codetoanalyze/objc/warnings/atomic_prop.m @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import diff --git a/infer/tests/codetoanalyze/objc/warnings/strong_delegate.m b/infer/tests/codetoanalyze/objc/warnings/strong_delegate.m index 3da97d5b3..c4368eac6 100644 --- a/infer/tests/codetoanalyze/objc/warnings/strong_delegate.m +++ b/infer/tests/codetoanalyze/objc/warnings/strong_delegate.m @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import diff --git a/infer/tests/codetoanalyze/objcpp/frontend/funcoverloading/af_test.mm b/infer/tests/codetoanalyze/objcpp/frontend/funcoverloading/af_test.mm index ac95b5679..9ac7ef74e 100644 --- a/infer/tests/codetoanalyze/objcpp/frontend/funcoverloading/af_test.mm +++ b/infer/tests/codetoanalyze/objcpp/frontend/funcoverloading/af_test.mm @@ -1,11 +1,11 @@ /* -* Copyright (c) 2014 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2014 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ #import diff --git a/infer/tests/endtoend/c/AngelismTest.java b/infer/tests/endtoend/c/AngelismTest.java index fa4a5df8a..57f603816 100644 --- a/infer/tests/endtoend/c/AngelismTest.java +++ b/infer/tests/endtoend/c/AngelismTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.c; diff --git a/infer/tests/endtoend/c/ArrayOutOfBoundsTest.java b/infer/tests/endtoend/c/ArrayOutOfBoundsTest.java index a2036b415..04ea82bef 100644 --- a/infer/tests/endtoend/c/ArrayOutOfBoundsTest.java +++ b/infer/tests/endtoend/c/ArrayOutOfBoundsTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.c; diff --git a/infer/tests/endtoend/c/AssertTest.java b/infer/tests/endtoend/c/AssertTest.java index 70a9c64f8..29cc961ba 100644 --- a/infer/tests/endtoend/c/AssertTest.java +++ b/infer/tests/endtoend/c/AssertTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.c; diff --git a/infer/tests/endtoend/c/AssertionFailureTest.java b/infer/tests/endtoend/c/AssertionFailureTest.java index c3abc1f68..075aeae88 100644 --- a/infer/tests/endtoend/c/AssertionFailureTest.java +++ b/infer/tests/endtoend/c/AssertionFailureTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.c; diff --git a/infer/tests/endtoend/c/DanglingDereferenceTest.java b/infer/tests/endtoend/c/DanglingDereferenceTest.java index 88a422a5a..88c050e74 100644 --- a/infer/tests/endtoend/c/DanglingDereferenceTest.java +++ b/infer/tests/endtoend/c/DanglingDereferenceTest.java @@ -1,6 +1,10 @@ /* - * Copyright (c) 2013- Facebook. + * Copyright (c) 2013 - present Facebook, Inc. * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. */ package endtoend.c; @@ -19,22 +23,22 @@ import utils.InferResults; import utils.InferRunner; public class DanglingDereferenceTest { - + public static final String SOURCE_FILE = "dangling_deref/dpd.c"; - + public static final String DANGLING_POINTER_DEREFERENCE = "DANGLING_POINTER_DEREFERENCE"; - + private static InferResults inferResults; - + @BeforeClass public static void runInfer() throws InterruptedException, IOException { inferResults = InferResults.loadCInferResults( DanglingDereferenceTest.class, SOURCE_FILE); } - - + + @Test public void DanglingDereferenceTest1() throws InterruptedException, IOException, InferException { assertThat( @@ -45,7 +49,7 @@ public class DanglingDereferenceTest { SOURCE_FILE, "dpd")); } - + @Test public void DanglingDereferenceTest2() throws InterruptedException, IOException, InferException { assertThat( @@ -56,7 +60,7 @@ public class DanglingDereferenceTest { SOURCE_FILE, "intraprocdpd")); } - - - -} \ No newline at end of file + + + +} diff --git a/infer/tests/endtoend/c/DivideByZeroTest.java b/infer/tests/endtoend/c/DivideByZeroTest.java index a928e6b93..ea40e0dc0 100644 --- a/infer/tests/endtoend/c/DivideByZeroTest.java +++ b/infer/tests/endtoend/c/DivideByZeroTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.c; diff --git a/infer/tests/endtoend/c/EnumTest.java b/infer/tests/endtoend/c/EnumTest.java index f66b73274..455ebdb81 100644 --- a/infer/tests/endtoend/c/EnumTest.java +++ b/infer/tests/endtoend/c/EnumTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.c; diff --git a/infer/tests/endtoend/c/InitListExprTest.java b/infer/tests/endtoend/c/InitListExprTest.java index d8d066757..a3a99398b 100644 --- a/infer/tests/endtoend/c/InitListExprTest.java +++ b/infer/tests/endtoend/c/InitListExprTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.c; diff --git a/infer/tests/endtoend/c/ListsTest.java b/infer/tests/endtoend/c/ListsTest.java index 9c2ba1e45..e1b98ea06 100644 --- a/infer/tests/endtoend/c/ListsTest.java +++ b/infer/tests/endtoend/c/ListsTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.c; diff --git a/infer/tests/endtoend/c/LocalVarsTest.java b/infer/tests/endtoend/c/LocalVarsTest.java index dc32c15f9..a481ec357 100644 --- a/infer/tests/endtoend/c/LocalVarsTest.java +++ b/infer/tests/endtoend/c/LocalVarsTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.c; diff --git a/infer/tests/endtoend/c/MemoryLeakTest.java b/infer/tests/endtoend/c/MemoryLeakTest.java index 8e5cb8f91..802a14d98 100644 --- a/infer/tests/endtoend/c/MemoryLeakTest.java +++ b/infer/tests/endtoend/c/MemoryLeakTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.c; diff --git a/infer/tests/endtoend/c/NullDereferenceTest.java b/infer/tests/endtoend/c/NullDereferenceTest.java index 43e56f6ac..1d4deada6 100644 --- a/infer/tests/endtoend/c/NullDereferenceTest.java +++ b/infer/tests/endtoend/c/NullDereferenceTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.c; diff --git a/infer/tests/endtoend/c/NullDereferenceTest2.java b/infer/tests/endtoend/c/NullDereferenceTest2.java index 564ddd03a..0fb87e5a0 100644 --- a/infer/tests/endtoend/c/NullDereferenceTest2.java +++ b/infer/tests/endtoend/c/NullDereferenceTest2.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.c; diff --git a/infer/tests/endtoend/c/ResourceLeakTest.java b/infer/tests/endtoend/c/ResourceLeakTest.java index 56488c310..478306022 100644 --- a/infer/tests/endtoend/c/ResourceLeakTest.java +++ b/infer/tests/endtoend/c/ResourceLeakTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.c; diff --git a/infer/tests/endtoend/c/SentinelTest.java b/infer/tests/endtoend/c/SentinelTest.java index b50777a70..b645dfffb 100644 --- a/infer/tests/endtoend/c/SentinelTest.java +++ b/infer/tests/endtoend/c/SentinelTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.c; diff --git a/infer/tests/endtoend/cpp/ClassTemplateTest.java b/infer/tests/endtoend/cpp/ClassTemplateTest.java index 0dfcd7059..760da039b 100644 --- a/infer/tests/endtoend/cpp/ClassTemplateTest.java +++ b/infer/tests/endtoend/cpp/ClassTemplateTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.cpp; diff --git a/infer/tests/endtoend/cpp/ConstructorWithBodyTest.java b/infer/tests/endtoend/cpp/ConstructorWithBodyTest.java index 13484fa8e..062124f03 100644 --- a/infer/tests/endtoend/cpp/ConstructorWithBodyTest.java +++ b/infer/tests/endtoend/cpp/ConstructorWithBodyTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.cpp; diff --git a/infer/tests/endtoend/cpp/FunctionTemplateTest.java b/infer/tests/endtoend/cpp/FunctionTemplateTest.java index a316a96fd..d3afd3da1 100644 --- a/infer/tests/endtoend/cpp/FunctionTemplateTest.java +++ b/infer/tests/endtoend/cpp/FunctionTemplateTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.cpp; diff --git a/infer/tests/endtoend/cpp/InheritanceFieldTest.java b/infer/tests/endtoend/cpp/InheritanceFieldTest.java index af46f0215..d4436d69a 100644 --- a/infer/tests/endtoend/cpp/InheritanceFieldTest.java +++ b/infer/tests/endtoend/cpp/InheritanceFieldTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.cpp; diff --git a/infer/tests/endtoend/cpp/LValueConditionalTest.java b/infer/tests/endtoend/cpp/LValueConditionalTest.java index 0493b2638..2a5ef758c 100644 --- a/infer/tests/endtoend/cpp/LValueConditionalTest.java +++ b/infer/tests/endtoend/cpp/LValueConditionalTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.cpp; diff --git a/infer/tests/endtoend/cpp/MemoryLeakCppBucketTest.java b/infer/tests/endtoend/cpp/MemoryLeakCppBucketTest.java index 4cf918203..c151d9497 100644 --- a/infer/tests/endtoend/cpp/MemoryLeakCppBucketTest.java +++ b/infer/tests/endtoend/cpp/MemoryLeakCppBucketTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.cpp; diff --git a/infer/tests/endtoend/cpp/MemoryLeakTest.java b/infer/tests/endtoend/cpp/MemoryLeakTest.java index 105389b50..5653f20b1 100644 --- a/infer/tests/endtoend/cpp/MemoryLeakTest.java +++ b/infer/tests/endtoend/cpp/MemoryLeakTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.cpp; diff --git a/infer/tests/endtoend/cpp/MethodTemplateTest.java b/infer/tests/endtoend/cpp/MethodTemplateTest.java index bd98b1ef0..85b6fa976 100644 --- a/infer/tests/endtoend/cpp/MethodTemplateTest.java +++ b/infer/tests/endtoend/cpp/MethodTemplateTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.cpp; diff --git a/infer/tests/endtoend/cpp/NamespaceFunctionTest.java b/infer/tests/endtoend/cpp/NamespaceFunctionTest.java index 73ab265f3..36a21e510 100644 --- a/infer/tests/endtoend/cpp/NamespaceFunctionTest.java +++ b/infer/tests/endtoend/cpp/NamespaceFunctionTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.cpp; diff --git a/infer/tests/endtoend/cpp/NamespaceGlobalVariableTest.java b/infer/tests/endtoend/cpp/NamespaceGlobalVariableTest.java index 18e1df5eb..6c426875a 100644 --- a/infer/tests/endtoend/cpp/NamespaceGlobalVariableTest.java +++ b/infer/tests/endtoend/cpp/NamespaceGlobalVariableTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.cpp; diff --git a/infer/tests/endtoend/cpp/NestedCPPOperatorsTest.java b/infer/tests/endtoend/cpp/NestedCPPOperatorsTest.java index 65c67ea9c..c5e8af734 100644 --- a/infer/tests/endtoend/cpp/NestedCPPOperatorsTest.java +++ b/infer/tests/endtoend/cpp/NestedCPPOperatorsTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.cpp; diff --git a/infer/tests/endtoend/cpp/NullReturnedByMethodTest.java b/infer/tests/endtoend/cpp/NullReturnedByMethodTest.java index b3b52adb3..8bcea0446 100644 --- a/infer/tests/endtoend/cpp/NullReturnedByMethodTest.java +++ b/infer/tests/endtoend/cpp/NullReturnedByMethodTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.cpp; diff --git a/infer/tests/endtoend/cpp/ObjectDereferenceTest.java b/infer/tests/endtoend/cpp/ObjectDereferenceTest.java index f07718186..9112c00b2 100644 --- a/infer/tests/endtoend/cpp/ObjectDereferenceTest.java +++ b/infer/tests/endtoend/cpp/ObjectDereferenceTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.cpp; diff --git a/infer/tests/endtoend/cpp/OperatorOverloadTest.java b/infer/tests/endtoend/cpp/OperatorOverloadTest.java index f867827bb..448278ab2 100644 --- a/infer/tests/endtoend/cpp/OperatorOverloadTest.java +++ b/infer/tests/endtoend/cpp/OperatorOverloadTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.cpp; diff --git a/infer/tests/endtoend/cpp/ReferenceStructTest.java b/infer/tests/endtoend/cpp/ReferenceStructTest.java index c24845860..167132593 100644 --- a/infer/tests/endtoend/cpp/ReferenceStructTest.java +++ b/infer/tests/endtoend/cpp/ReferenceStructTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.cpp; diff --git a/infer/tests/endtoend/cpp/ReferenceTypeTest.java b/infer/tests/endtoend/cpp/ReferenceTypeTest.java index ab333e4c6..f7cce1eab 100644 --- a/infer/tests/endtoend/cpp/ReferenceTypeTest.java +++ b/infer/tests/endtoend/cpp/ReferenceTypeTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.cpp; diff --git a/infer/tests/endtoend/cpp/StaticMethodTest.java b/infer/tests/endtoend/cpp/StaticMethodTest.java index 252db4d62..901be6e10 100644 --- a/infer/tests/endtoend/cpp/StaticMethodTest.java +++ b/infer/tests/endtoend/cpp/StaticMethodTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.cpp; diff --git a/infer/tests/endtoend/cpp/TemporaryLValueTest.java b/infer/tests/endtoend/cpp/TemporaryLValueTest.java index c30ef1c2a..7bc2629a0 100644 --- a/infer/tests/endtoend/cpp/TemporaryLValueTest.java +++ b/infer/tests/endtoend/cpp/TemporaryLValueTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.cpp; diff --git a/infer/tests/endtoend/cpp/ThisNotNullTest.java b/infer/tests/endtoend/cpp/ThisNotNullTest.java index 067dedf36..cbb48d3f2 100644 --- a/infer/tests/endtoend/cpp/ThisNotNullTest.java +++ b/infer/tests/endtoend/cpp/ThisNotNullTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.cpp; diff --git a/infer/tests/endtoend/java/checkers/ExpensiveCallTest.java b/infer/tests/endtoend/java/checkers/ExpensiveCallTest.java index 948d70920..2b7678bf8 100644 --- a/infer/tests/endtoend/java/checkers/ExpensiveCallTest.java +++ b/infer/tests/endtoend/java/checkers/ExpensiveCallTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.java.checkers; diff --git a/infer/tests/endtoend/java/checkers/ExpensiveInheritanceTest.java b/infer/tests/endtoend/java/checkers/ExpensiveInheritanceTest.java index 9c3dd97b3..83e7bbf9b 100644 --- a/infer/tests/endtoend/java/checkers/ExpensiveInheritanceTest.java +++ b/infer/tests/endtoend/java/checkers/ExpensiveInheritanceTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.java.checkers; diff --git a/infer/tests/endtoend/java/checkers/ExpensiveSubtypingTest.java b/infer/tests/endtoend/java/checkers/ExpensiveSubtypingTest.java index c2d8c2df1..a8d73a70e 100644 --- a/infer/tests/endtoend/java/checkers/ExpensiveSubtypingTest.java +++ b/infer/tests/endtoend/java/checkers/ExpensiveSubtypingTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.java.checkers; diff --git a/infer/tests/endtoend/java/checkers/ImmutableCastTest.java b/infer/tests/endtoend/java/checkers/ImmutableCastTest.java index e5e2413ad..e10d55bd0 100644 --- a/infer/tests/endtoend/java/checkers/ImmutableCastTest.java +++ b/infer/tests/endtoend/java/checkers/ImmutableCastTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.java.checkers; diff --git a/infer/tests/endtoend/java/checkers/PerformanceCriticalSubtypingTest.java b/infer/tests/endtoend/java/checkers/PerformanceCriticalSubtypingTest.java index c6faadcc4..716d1496a 100644 --- a/infer/tests/endtoend/java/checkers/PerformanceCriticalSubtypingTest.java +++ b/infer/tests/endtoend/java/checkers/PerformanceCriticalSubtypingTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.java.checkers; diff --git a/infer/tests/endtoend/java/checkers/PrintfArgsCheckerTest.java b/infer/tests/endtoend/java/checkers/PrintfArgsCheckerTest.java index 08a9403de..b32a47095 100644 --- a/infer/tests/endtoend/java/checkers/PrintfArgsCheckerTest.java +++ b/infer/tests/endtoend/java/checkers/PrintfArgsCheckerTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.java.checkers; diff --git a/infer/tests/endtoend/java/comparison/ArrayIndexOutOfBoundsExceptionTest.java b/infer/tests/endtoend/java/comparison/ArrayIndexOutOfBoundsExceptionTest.java index 7c16903ac..161f8427e 100644 --- a/infer/tests/endtoend/java/comparison/ArrayIndexOutOfBoundsExceptionTest.java +++ b/infer/tests/endtoend/java/comparison/ArrayIndexOutOfBoundsExceptionTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.java.comparison; diff --git a/infer/tests/endtoend/java/comparison/ClassCastExceptionTest.java b/infer/tests/endtoend/java/comparison/ClassCastExceptionTest.java index a6aee38c8..2c0aec558 100644 --- a/infer/tests/endtoend/java/comparison/ClassCastExceptionTest.java +++ b/infer/tests/endtoend/java/comparison/ClassCastExceptionTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.java.comparison; diff --git a/infer/tests/endtoend/java/comparison/NullPointerExceptionTest.java b/infer/tests/endtoend/java/comparison/NullPointerExceptionTest.java index 4ee2d645a..b91bb6dd0 100644 --- a/infer/tests/endtoend/java/comparison/NullPointerExceptionTest.java +++ b/infer/tests/endtoend/java/comparison/NullPointerExceptionTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.java.comparison; diff --git a/infer/tests/endtoend/java/eradicate/ActivityFieldNotInitializedTest.java b/infer/tests/endtoend/java/eradicate/ActivityFieldNotInitializedTest.java index 9adf56007..adc14c4b5 100644 --- a/infer/tests/endtoend/java/eradicate/ActivityFieldNotInitializedTest.java +++ b/infer/tests/endtoend/java/eradicate/ActivityFieldNotInitializedTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2014 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2014 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.java.eradicate; diff --git a/infer/tests/endtoend/java/eradicate/FieldNotInitializedTest.java b/infer/tests/endtoend/java/eradicate/FieldNotInitializedTest.java index d92987c2b..8cdd3eeca 100644 --- a/infer/tests/endtoend/java/eradicate/FieldNotInitializedTest.java +++ b/infer/tests/endtoend/java/eradicate/FieldNotInitializedTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.java.eradicate; diff --git a/infer/tests/endtoend/java/eradicate/FieldNotNullableTest.java b/infer/tests/endtoend/java/eradicate/FieldNotNullableTest.java index d80e4c880..90ce4ad5b 100644 --- a/infer/tests/endtoend/java/eradicate/FieldNotNullableTest.java +++ b/infer/tests/endtoend/java/eradicate/FieldNotNullableTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.java.eradicate; diff --git a/infer/tests/endtoend/java/eradicate/InconsistentSubclassAnnotationTest.java b/infer/tests/endtoend/java/eradicate/InconsistentSubclassAnnotationTest.java index b164ec2f1..f6cdd9be4 100644 --- a/infer/tests/endtoend/java/eradicate/InconsistentSubclassAnnotationTest.java +++ b/infer/tests/endtoend/java/eradicate/InconsistentSubclassAnnotationTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.java.eradicate; diff --git a/infer/tests/endtoend/java/eradicate/LibraryCallsTest.java b/infer/tests/endtoend/java/eradicate/LibraryCallsTest.java index 36f255d58..c3da7ea3e 100644 --- a/infer/tests/endtoend/java/eradicate/LibraryCallsTest.java +++ b/infer/tests/endtoend/java/eradicate/LibraryCallsTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.java.eradicate; diff --git a/infer/tests/endtoend/java/eradicate/NoReuseUndefFunctionValuesTest.java b/infer/tests/endtoend/java/eradicate/NoReuseUndefFunctionValuesTest.java index 0e717e6fe..708ba9911 100644 --- a/infer/tests/endtoend/java/eradicate/NoReuseUndefFunctionValuesTest.java +++ b/infer/tests/endtoend/java/eradicate/NoReuseUndefFunctionValuesTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.java.eradicate; diff --git a/infer/tests/endtoend/java/eradicate/NullFieldAccessTest.java b/infer/tests/endtoend/java/eradicate/NullFieldAccessTest.java index 9827ae90e..8fc448aee 100644 --- a/infer/tests/endtoend/java/eradicate/NullFieldAccessTest.java +++ b/infer/tests/endtoend/java/eradicate/NullFieldAccessTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.java.eradicate; diff --git a/infer/tests/endtoend/java/eradicate/NullMethodCallTest.java b/infer/tests/endtoend/java/eradicate/NullMethodCallTest.java index 9c9e70f93..a8a77f83b 100644 --- a/infer/tests/endtoend/java/eradicate/NullMethodCallTest.java +++ b/infer/tests/endtoend/java/eradicate/NullMethodCallTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.java.eradicate; diff --git a/infer/tests/endtoend/java/eradicate/ParameterNotNullableTest.java b/infer/tests/endtoend/java/eradicate/ParameterNotNullableTest.java index 7fe015a31..a873b4955 100644 --- a/infer/tests/endtoend/java/eradicate/ParameterNotNullableTest.java +++ b/infer/tests/endtoend/java/eradicate/ParameterNotNullableTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.java.eradicate; diff --git a/infer/tests/endtoend/java/eradicate/ReturnNotNullableTest.java b/infer/tests/endtoend/java/eradicate/ReturnNotNullableTest.java index 1209b98f2..fa19a0f9f 100644 --- a/infer/tests/endtoend/java/eradicate/ReturnNotNullableTest.java +++ b/infer/tests/endtoend/java/eradicate/ReturnNotNullableTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.java.eradicate; diff --git a/infer/tests/endtoend/java/eradicate/SuppressWarningsTest.java b/infer/tests/endtoend/java/eradicate/SuppressWarningsTest.java index a3111ab53..f47722cd8 100644 --- a/infer/tests/endtoend/java/eradicate/SuppressWarningsTest.java +++ b/infer/tests/endtoend/java/eradicate/SuppressWarningsTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.java.eradicate; diff --git a/infer/tests/endtoend/java/eradicate/SuppressedFieldNotInitializedTest.java b/infer/tests/endtoend/java/eradicate/SuppressedFieldNotInitializedTest.java index 76118806c..040d934a1 100644 --- a/infer/tests/endtoend/java/eradicate/SuppressedFieldNotInitializedTest.java +++ b/infer/tests/endtoend/java/eradicate/SuppressedFieldNotInitializedTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.java.eradicate; diff --git a/infer/tests/endtoend/java/harness/CallbackTest.java b/infer/tests/endtoend/java/harness/CallbackTest.java index 7fa18f733..a02909ba7 100644 --- a/infer/tests/endtoend/java/harness/CallbackTest.java +++ b/infer/tests/endtoend/java/harness/CallbackTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.java.harness; diff --git a/infer/tests/endtoend/java/harness/FindViewByIdTest.java b/infer/tests/endtoend/java/harness/FindViewByIdTest.java index 9ab0cc0fb..a9376f416 100644 --- a/infer/tests/endtoend/java/harness/FindViewByIdTest.java +++ b/infer/tests/endtoend/java/harness/FindViewByIdTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.java.harness; diff --git a/infer/tests/endtoend/java/harness/InhabitTest.java b/infer/tests/endtoend/java/harness/InhabitTest.java index d60274b5f..e9fd35a35 100644 --- a/infer/tests/endtoend/java/harness/InhabitTest.java +++ b/infer/tests/endtoend/java/harness/InhabitTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.java.harness; diff --git a/infer/tests/endtoend/java/harness/LifecycleTest.java b/infer/tests/endtoend/java/harness/LifecycleTest.java index e63f21839..820d8a580 100644 --- a/infer/tests/endtoend/java/harness/LifecycleTest.java +++ b/infer/tests/endtoend/java/harness/LifecycleTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.java.harness; diff --git a/infer/tests/endtoend/java/harness/SuperclassTest.java b/infer/tests/endtoend/java/harness/SuperclassTest.java index 18b4f8152..39ab7f225 100644 --- a/infer/tests/endtoend/java/harness/SuperclassTest.java +++ b/infer/tests/endtoend/java/harness/SuperclassTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.java.harness; diff --git a/infer/tests/endtoend/java/incremental/ChangedOnlyFuture.java b/infer/tests/endtoend/java/incremental/ChangedOnlyFuture.java index c6e4c1837..54ac2f22f 100644 --- a/infer/tests/endtoend/java/incremental/ChangedOnlyFuture.java +++ b/infer/tests/endtoend/java/incremental/ChangedOnlyFuture.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.java.incremental; diff --git a/infer/tests/endtoend/java/incremental/ChangedOnlyModeTest.java b/infer/tests/endtoend/java/incremental/ChangedOnlyModeTest.java index d6d42f1d4..73b43beeb 100644 --- a/infer/tests/endtoend/java/incremental/ChangedOnlyModeTest.java +++ b/infer/tests/endtoend/java/incremental/ChangedOnlyModeTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.java.incremental; diff --git a/infer/tests/endtoend/java/incremental/ChildChangedTest.java b/infer/tests/endtoend/java/incremental/ChildChangedTest.java index c5d9d4973..d6aee0b1b 100644 --- a/infer/tests/endtoend/java/incremental/ChildChangedTest.java +++ b/infer/tests/endtoend/java/incremental/ChildChangedTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.java.incremental; diff --git a/infer/tests/endtoend/java/incremental/FileUnchangedTest.java b/infer/tests/endtoend/java/incremental/FileUnchangedTest.java index b5f98670c..c9178fcd4 100644 --- a/infer/tests/endtoend/java/incremental/FileUnchangedTest.java +++ b/infer/tests/endtoend/java/incremental/FileUnchangedTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.java.incremental; diff --git a/infer/tests/endtoend/java/incremental/ParentChangedTest.java b/infer/tests/endtoend/java/incremental/ParentChangedTest.java index 822ed4a07..2a86b88d9 100644 --- a/infer/tests/endtoend/java/incremental/ParentChangedTest.java +++ b/infer/tests/endtoend/java/incremental/ParentChangedTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.java.incremental; diff --git a/infer/tests/endtoend/java/infer/AnalysisStopsTest.java b/infer/tests/endtoend/java/infer/AnalysisStopsTest.java index c3aaee666..bb849c009 100644 --- a/infer/tests/endtoend/java/infer/AnalysisStopsTest.java +++ b/infer/tests/endtoend/java/infer/AnalysisStopsTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.java.infer; diff --git a/infer/tests/endtoend/java/infer/ArrayOutOfBoundsTest.java b/infer/tests/endtoend/java/infer/ArrayOutOfBoundsTest.java index ddf48b29d..809fa6a80 100644 --- a/infer/tests/endtoend/java/infer/ArrayOutOfBoundsTest.java +++ b/infer/tests/endtoend/java/infer/ArrayOutOfBoundsTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.java.infer; diff --git a/infer/tests/endtoend/java/infer/AutoGeneratedTest.java b/infer/tests/endtoend/java/infer/AutoGeneratedTest.java index 662861771..dabc4b387 100644 --- a/infer/tests/endtoend/java/infer/AutoGeneratedTest.java +++ b/infer/tests/endtoend/java/infer/AutoGeneratedTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.java.infer; diff --git a/infer/tests/endtoend/java/infer/BuiltinsTest.java b/infer/tests/endtoend/java/infer/BuiltinsTest.java index 366868c26..89cef1899 100644 --- a/infer/tests/endtoend/java/infer/BuiltinsTest.java +++ b/infer/tests/endtoend/java/infer/BuiltinsTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.java.infer; diff --git a/infer/tests/endtoend/java/infer/ClassCastExceptionsTest.java b/infer/tests/endtoend/java/infer/ClassCastExceptionsTest.java index 2894cccfc..df18a6bdd 100644 --- a/infer/tests/endtoend/java/infer/ClassCastExceptionsTest.java +++ b/infer/tests/endtoend/java/infer/ClassCastExceptionsTest.java @@ -1,13 +1,13 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ -package endtoend.java.infer; + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ +package endtoend.java.infer; import static org.hamcrest.MatcherAssert.assertThat; import static utils.matchers.ResultContainsErrorInMethod.contains; diff --git a/infer/tests/endtoend/java/infer/CloseableAsResourceTest.java b/infer/tests/endtoend/java/infer/CloseableAsResourceTest.java index dfcccf240..795dc97db 100644 --- a/infer/tests/endtoend/java/infer/CloseableAsResourceTest.java +++ b/infer/tests/endtoend/java/infer/CloseableAsResourceTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.java.infer; diff --git a/infer/tests/endtoend/java/infer/ContextLeaksTest.java b/infer/tests/endtoend/java/infer/ContextLeaksTest.java index 77ef4b91f..af9202e98 100644 --- a/infer/tests/endtoend/java/infer/ContextLeaksTest.java +++ b/infer/tests/endtoend/java/infer/ContextLeaksTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.java.infer; diff --git a/infer/tests/endtoend/java/infer/CursorLeaksTest.java b/infer/tests/endtoend/java/infer/CursorLeaksTest.java index 0907f95aa..8c73f5398 100644 --- a/infer/tests/endtoend/java/infer/CursorLeaksTest.java +++ b/infer/tests/endtoend/java/infer/CursorLeaksTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.java.infer; diff --git a/infer/tests/endtoend/java/infer/DivideByZeroTest.java b/infer/tests/endtoend/java/infer/DivideByZeroTest.java index fa3554569..04956f640 100644 --- a/infer/tests/endtoend/java/infer/DivideByZeroTest.java +++ b/infer/tests/endtoend/java/infer/DivideByZeroTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.java.infer; diff --git a/infer/tests/endtoend/java/infer/FilterInputStreamLeaksTest.java b/infer/tests/endtoend/java/infer/FilterInputStreamLeaksTest.java index 0e5c0193b..39843a99a 100644 --- a/infer/tests/endtoend/java/infer/FilterInputStreamLeaksTest.java +++ b/infer/tests/endtoend/java/infer/FilterInputStreamLeaksTest.java @@ -1,12 +1,14 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ + //Class to tests resource leaks on the class FilterInputStream and its subclasses + package endtoend.java.infer; import static org.hamcrest.MatcherAssert.assertThat; diff --git a/infer/tests/endtoend/java/infer/FilterOutputStreamLeaksTest.java b/infer/tests/endtoend/java/infer/FilterOutputStreamLeaksTest.java index 7204df0b7..368910fbd 100644 --- a/infer/tests/endtoend/java/infer/FilterOutputStreamLeaksTest.java +++ b/infer/tests/endtoend/java/infer/FilterOutputStreamLeaksTest.java @@ -1,12 +1,14 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ + //Class to tests resource leaks on the class FilterOutputStream and its subclasses + package endtoend.java.infer; import static org.hamcrest.MatcherAssert.assertThat; diff --git a/infer/tests/endtoend/java/infer/HashMapModelTest.java b/infer/tests/endtoend/java/infer/HashMapModelTest.java index 64540e85a..9d1a83c76 100644 --- a/infer/tests/endtoend/java/infer/HashMapModelTest.java +++ b/infer/tests/endtoend/java/infer/HashMapModelTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.java.infer; diff --git a/infer/tests/endtoend/java/infer/IntegerClassTest.java b/infer/tests/endtoend/java/infer/IntegerClassTest.java index c9b6188c7..7f65f4efa 100644 --- a/infer/tests/endtoend/java/infer/IntegerClassTest.java +++ b/infer/tests/endtoend/java/infer/IntegerClassTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.java.infer; diff --git a/infer/tests/endtoend/java/infer/JunitAssertionTest.java b/infer/tests/endtoend/java/infer/JunitAssertionTest.java index b144effbc..542c640fc 100644 --- a/infer/tests/endtoend/java/infer/JunitAssertionTest.java +++ b/infer/tests/endtoend/java/infer/JunitAssertionTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.java.infer; diff --git a/infer/tests/endtoend/java/infer/NullPointerExceptionTest.java b/infer/tests/endtoend/java/infer/NullPointerExceptionTest.java index 544b3781a..106a6b5e7 100644 --- a/infer/tests/endtoend/java/infer/NullPointerExceptionTest.java +++ b/infer/tests/endtoend/java/infer/NullPointerExceptionTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.java.infer; diff --git a/infer/tests/endtoend/java/infer/ReaderLeaksTest.java b/infer/tests/endtoend/java/infer/ReaderLeaksTest.java index e29a82d82..af095e7e1 100644 --- a/infer/tests/endtoend/java/infer/ReaderLeaksTest.java +++ b/infer/tests/endtoend/java/infer/ReaderLeaksTest.java @@ -1,12 +1,14 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ + //Class to tests resource leaks on the class FilterOutputStream and its subclasses + package endtoend.java.infer; import static org.hamcrest.MatcherAssert.assertThat; diff --git a/infer/tests/endtoend/java/infer/ResourceLeaksTest.java b/infer/tests/endtoend/java/infer/ResourceLeaksTest.java index f27a015a4..f7eb05a51 100644 --- a/infer/tests/endtoend/java/infer/ResourceLeaksTest.java +++ b/infer/tests/endtoend/java/infer/ResourceLeaksTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.java.infer; diff --git a/infer/tests/endtoend/java/infer/ReturnValueIgnoredTest.java b/infer/tests/endtoend/java/infer/ReturnValueIgnoredTest.java index 47221b887..5962f5d82 100644 --- a/infer/tests/endtoend/java/infer/ReturnValueIgnoredTest.java +++ b/infer/tests/endtoend/java/infer/ReturnValueIgnoredTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.java.infer; diff --git a/infer/tests/endtoend/java/infer/TaintTest.java b/infer/tests/endtoend/java/infer/TaintTest.java index d7d394e1a..65e0d4a10 100644 --- a/infer/tests/endtoend/java/infer/TaintTest.java +++ b/infer/tests/endtoend/java/infer/TaintTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.java.infer; diff --git a/infer/tests/endtoend/java/infer/WriterLeaksTest.java b/infer/tests/endtoend/java/infer/WriterLeaksTest.java index 7f53f3e85..7ca67c639 100644 --- a/infer/tests/endtoend/java/infer/WriterLeaksTest.java +++ b/infer/tests/endtoend/java/infer/WriterLeaksTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.java.infer; diff --git a/infer/tests/endtoend/java/tracing/ArrayIndexOutOfBoundsExceptionTest.java b/infer/tests/endtoend/java/tracing/ArrayIndexOutOfBoundsExceptionTest.java index 1f68605f0..b69452182 100644 --- a/infer/tests/endtoend/java/tracing/ArrayIndexOutOfBoundsExceptionTest.java +++ b/infer/tests/endtoend/java/tracing/ArrayIndexOutOfBoundsExceptionTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.java.tracing; diff --git a/infer/tests/endtoend/java/tracing/ClassCastExceptionTest.java b/infer/tests/endtoend/java/tracing/ClassCastExceptionTest.java index 10ab9be77..d0547b3c3 100644 --- a/infer/tests/endtoend/java/tracing/ClassCastExceptionTest.java +++ b/infer/tests/endtoend/java/tracing/ClassCastExceptionTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.java.tracing; diff --git a/infer/tests/endtoend/java/tracing/LocallyDefinedExceptionTest.java b/infer/tests/endtoend/java/tracing/LocallyDefinedExceptionTest.java index d10a8e2f1..3c1368f7c 100644 --- a/infer/tests/endtoend/java/tracing/LocallyDefinedExceptionTest.java +++ b/infer/tests/endtoend/java/tracing/LocallyDefinedExceptionTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.java.tracing; diff --git a/infer/tests/endtoend/java/tracing/NullPointerExceptionTest.java b/infer/tests/endtoend/java/tracing/NullPointerExceptionTest.java index 4e54eeee0..687113410 100644 --- a/infer/tests/endtoend/java/tracing/NullPointerExceptionTest.java +++ b/infer/tests/endtoend/java/tracing/NullPointerExceptionTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.java.tracing; diff --git a/infer/tests/endtoend/java/tracing/ReportOnMainTest.java b/infer/tests/endtoend/java/tracing/ReportOnMainTest.java index 95cc54b17..c11c9d41e 100644 --- a/infer/tests/endtoend/java/tracing/ReportOnMainTest.java +++ b/infer/tests/endtoend/java/tracing/ReportOnMainTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.java.tracing; diff --git a/infer/tests/endtoend/java/tracing/UnavoidableExceptionTest.java b/infer/tests/endtoend/java/tracing/UnavoidableExceptionTest.java index 29500c02c..cc22e7940 100644 --- a/infer/tests/endtoend/java/tracing/UnavoidableExceptionTest.java +++ b/infer/tests/endtoend/java/tracing/UnavoidableExceptionTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.java.tracing; diff --git a/infer/tests/endtoend/objc/AtomicPropertyTest.java b/infer/tests/endtoend/objc/AtomicPropertyTest.java index c4baba538..0c1d977ba 100644 --- a/infer/tests/endtoend/objc/AtomicPropertyTest.java +++ b/infer/tests/endtoend/objc/AtomicPropertyTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.objc; diff --git a/infer/tests/endtoend/objc/AutoreleaseTest.java b/infer/tests/endtoend/objc/AutoreleaseTest.java index cf6adabae..a926d4329 100644 --- a/infer/tests/endtoend/objc/AutoreleaseTest.java +++ b/infer/tests/endtoend/objc/AutoreleaseTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.objc; diff --git a/infer/tests/endtoend/objc/BlockDispatchTest.java b/infer/tests/endtoend/objc/BlockDispatchTest.java index 82ea9afb7..1d8b4638f 100644 --- a/infer/tests/endtoend/objc/BlockDispatchTest.java +++ b/infer/tests/endtoend/objc/BlockDispatchTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.objc; diff --git a/infer/tests/endtoend/objc/BlockDivideByZeroTest.java b/infer/tests/endtoend/objc/BlockDivideByZeroTest.java index c66a17283..07585ae90 100644 --- a/infer/tests/endtoend/objc/BlockDivideByZeroTest.java +++ b/infer/tests/endtoend/objc/BlockDivideByZeroTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.objc; diff --git a/infer/tests/endtoend/objc/BlockGlobalVariableTest.java b/infer/tests/endtoend/objc/BlockGlobalVariableTest.java index 2c48c0e27..8eb4c7d7d 100644 --- a/infer/tests/endtoend/objc/BlockGlobalVariableTest.java +++ b/infer/tests/endtoend/objc/BlockGlobalVariableTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.objc; diff --git a/infer/tests/endtoend/objc/BlockReleaseTest.java b/infer/tests/endtoend/objc/BlockReleaseTest.java index d09f44326..98d0c8e63 100644 --- a/infer/tests/endtoend/objc/BlockReleaseTest.java +++ b/infer/tests/endtoend/objc/BlockReleaseTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.objc; diff --git a/infer/tests/endtoend/objc/BlockVarTest.java b/infer/tests/endtoend/objc/BlockVarTest.java index 90cd70955..9cdf9db3f 100644 --- a/infer/tests/endtoend/objc/BlockVarTest.java +++ b/infer/tests/endtoend/objc/BlockVarTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.objc; diff --git a/infer/tests/endtoend/objc/CADisplayLinkTest.java b/infer/tests/endtoend/objc/CADisplayLinkTest.java index f28356cad..28f1d5d06 100644 --- a/infer/tests/endtoend/objc/CADisplayLinkTest.java +++ b/infer/tests/endtoend/objc/CADisplayLinkTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.objc; diff --git a/infer/tests/endtoend/objc/CategoryProcdescTest.java b/infer/tests/endtoend/objc/CategoryProcdescTest.java index b100277b2..7f2eada32 100644 --- a/infer/tests/endtoend/objc/CategoryProcdescTest.java +++ b/infer/tests/endtoend/objc/CategoryProcdescTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.objc; diff --git a/infer/tests/endtoend/objc/DispatchTest.java b/infer/tests/endtoend/objc/DispatchTest.java index d8c60ad98..f00540fbe 100644 --- a/infer/tests/endtoend/objc/DispatchTest.java +++ b/infer/tests/endtoend/objc/DispatchTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.objc; diff --git a/infer/tests/endtoend/objc/ExplicitIvarNameInGetterTest.java b/infer/tests/endtoend/objc/ExplicitIvarNameInGetterTest.java index a9eab8bff..2a7c7ca9f 100644 --- a/infer/tests/endtoend/objc/ExplicitIvarNameInGetterTest.java +++ b/infer/tests/endtoend/objc/ExplicitIvarNameInGetterTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.objc; diff --git a/infer/tests/endtoend/objc/FieldSuperclassTest.java b/infer/tests/endtoend/objc/FieldSuperclassTest.java index 596a1c96f..1afe5b63f 100644 --- a/infer/tests/endtoend/objc/FieldSuperclassTest.java +++ b/infer/tests/endtoend/objc/FieldSuperclassTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.objc; diff --git a/infer/tests/endtoend/objc/MemoryLeakBucketingArcTest.java b/infer/tests/endtoend/objc/MemoryLeakBucketingArcTest.java index 75ca5ad78..713d2c2de 100644 --- a/infer/tests/endtoend/objc/MemoryLeakBucketingArcTest.java +++ b/infer/tests/endtoend/objc/MemoryLeakBucketingArcTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.objc; diff --git a/infer/tests/endtoend/objc/MemoryLeakBucketingTest.java b/infer/tests/endtoend/objc/MemoryLeakBucketingTest.java index e470a6cad..f306c3f5e 100644 --- a/infer/tests/endtoend/objc/MemoryLeakBucketingTest.java +++ b/infer/tests/endtoend/objc/MemoryLeakBucketingTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.objc; diff --git a/infer/tests/endtoend/objc/MemoryLeakTest.java b/infer/tests/endtoend/objc/MemoryLeakTest.java index 419bba07c..e815b3a33 100644 --- a/infer/tests/endtoend/objc/MemoryLeakTest.java +++ b/infer/tests/endtoend/objc/MemoryLeakTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.objc; diff --git a/infer/tests/endtoend/objc/MemoryLeaksFromModelsTest.java b/infer/tests/endtoend/objc/MemoryLeaksFromModelsTest.java index 20c7137e2..6a8eb226d 100644 --- a/infer/tests/endtoend/objc/MemoryLeaksFromModelsTest.java +++ b/infer/tests/endtoend/objc/MemoryLeaksFromModelsTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.objc; diff --git a/infer/tests/endtoend/objc/NPDCoreFoundationClassTest.java b/infer/tests/endtoend/objc/NPDCoreFoundationClassTest.java index 75b194685..89ec4f276 100644 --- a/infer/tests/endtoend/objc/NPDCoreFoundationClassTest.java +++ b/infer/tests/endtoend/objc/NPDCoreFoundationClassTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.objc; diff --git a/infer/tests/endtoend/objc/NPEArrayLiteralTest.java b/infer/tests/endtoend/objc/NPEArrayLiteralTest.java index 161514289..356f6007c 100644 --- a/infer/tests/endtoend/objc/NPEArrayLiteralTest.java +++ b/infer/tests/endtoend/objc/NPEArrayLiteralTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.objc; diff --git a/infer/tests/endtoend/objc/NPEDictionaryLiteralTest.java b/infer/tests/endtoend/objc/NPEDictionaryLiteralTest.java index e3bfa4224..73397e701 100644 --- a/infer/tests/endtoend/objc/NPEDictionaryLiteralTest.java +++ b/infer/tests/endtoend/objc/NPEDictionaryLiteralTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.objc; diff --git a/infer/tests/endtoend/objc/NPEEqualNamesTest.java b/infer/tests/endtoend/objc/NPEEqualNamesTest.java index 82d8f40ab..877702c3f 100644 --- a/infer/tests/endtoend/objc/NPEEqualNamesTest.java +++ b/infer/tests/endtoend/objc/NPEEqualNamesTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.objc; diff --git a/infer/tests/endtoend/objc/NPEMallocTest.java b/infer/tests/endtoend/objc/NPEMallocTest.java index e2f322e6a..a468db459 100644 --- a/infer/tests/endtoend/objc/NPEMallocTest.java +++ b/infer/tests/endtoend/objc/NPEMallocTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.objc; diff --git a/infer/tests/endtoend/objc/NPESelfTest.java b/infer/tests/endtoend/objc/NPESelfTest.java index 69054ddf2..6b5e975e6 100644 --- a/infer/tests/endtoend/objc/NPESelfTest.java +++ b/infer/tests/endtoend/objc/NPESelfTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.objc; diff --git a/infer/tests/endtoend/objc/NSAssertTest.java b/infer/tests/endtoend/objc/NSAssertTest.java index 1558498f8..bb946e67b 100644 --- a/infer/tests/endtoend/objc/NSAssertTest.java +++ b/infer/tests/endtoend/objc/NSAssertTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.objc; diff --git a/infer/tests/endtoend/objc/NSMakeCollectableTest.java b/infer/tests/endtoend/objc/NSMakeCollectableTest.java index 8f0419296..d00befc35 100644 --- a/infer/tests/endtoend/objc/NSMakeCollectableTest.java +++ b/infer/tests/endtoend/objc/NSMakeCollectableTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.objc; diff --git a/infer/tests/endtoend/objc/NSNumber2Test.java b/infer/tests/endtoend/objc/NSNumber2Test.java index 5dc9cabaf..c3259d593 100644 --- a/infer/tests/endtoend/objc/NSNumber2Test.java +++ b/infer/tests/endtoend/objc/NSNumber2Test.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.objc; diff --git a/infer/tests/endtoend/objc/NSNumberTest.java b/infer/tests/endtoend/objc/NSNumberTest.java index 58bfce130..47896257a 100644 --- a/infer/tests/endtoend/objc/NSNumberTest.java +++ b/infer/tests/endtoend/objc/NSNumberTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.objc; diff --git a/infer/tests/endtoend/objc/NilParamDerefObjCClassTest.java b/infer/tests/endtoend/objc/NilParamDerefObjCClassTest.java index b4e9d44c4..98bf12337 100644 --- a/infer/tests/endtoend/objc/NilParamDerefObjCClassTest.java +++ b/infer/tests/endtoend/objc/NilParamDerefObjCClassTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.objc; diff --git a/infer/tests/endtoend/objc/NoMemoryLeakBlockIteratorTest.java b/infer/tests/endtoend/objc/NoMemoryLeakBlockIteratorTest.java index ffaba6d56..4e31dbd30 100644 --- a/infer/tests/endtoend/objc/NoMemoryLeakBlockIteratorTest.java +++ b/infer/tests/endtoend/objc/NoMemoryLeakBlockIteratorTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.objc; diff --git a/infer/tests/endtoend/objc/NonnullAttributeTest.java b/infer/tests/endtoend/objc/NonnullAttributeTest.java index 143f1c457..c16f8ee85 100644 --- a/infer/tests/endtoend/objc/NonnullAttributeTest.java +++ b/infer/tests/endtoend/objc/NonnullAttributeTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.objc; diff --git a/infer/tests/endtoend/objc/NullDerefObjCBlockTest.java b/infer/tests/endtoend/objc/NullDerefObjCBlockTest.java index d44531269..f4cdda885 100644 --- a/infer/tests/endtoend/objc/NullDerefObjCBlockTest.java +++ b/infer/tests/endtoend/objc/NullDerefObjCBlockTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.objc; diff --git a/infer/tests/endtoend/objc/NullDerefObjCClassTest.java b/infer/tests/endtoend/objc/NullDerefObjCClassTest.java index 91867f15d..352a1c402 100644 --- a/infer/tests/endtoend/objc/NullDerefObjCClassTest.java +++ b/infer/tests/endtoend/objc/NullDerefObjCClassTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.objc; diff --git a/infer/tests/endtoend/objc/NullReturnedByMethodTest.java b/infer/tests/endtoend/objc/NullReturnedByMethodTest.java index 2d933ace2..ddbdea7c6 100644 --- a/infer/tests/endtoend/objc/NullReturnedByMethodTest.java +++ b/infer/tests/endtoend/objc/NullReturnedByMethodTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.objc; diff --git a/infer/tests/endtoend/objc/NullableTest.java b/infer/tests/endtoend/objc/NullableTest.java index f7bb151f9..dd184bead 100644 --- a/infer/tests/endtoend/objc/NullableTest.java +++ b/infer/tests/endtoend/objc/NullableTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.objc; diff --git a/infer/tests/endtoend/objc/ParameterNotNullableTest.java b/infer/tests/endtoend/objc/ParameterNotNullableTest.java index 66bda32f5..4e1cec549 100644 --- a/infer/tests/endtoend/objc/ParameterNotNullableTest.java +++ b/infer/tests/endtoend/objc/ParameterNotNullableTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.objc; diff --git a/infer/tests/endtoend/objc/PrematureNilTerminationTest.java b/infer/tests/endtoend/objc/PrematureNilTerminationTest.java index a13001b8b..d99dfd839 100644 --- a/infer/tests/endtoend/objc/PrematureNilTerminationTest.java +++ b/infer/tests/endtoend/objc/PrematureNilTerminationTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.objc; diff --git a/infer/tests/endtoend/objc/ProcdescTest.java b/infer/tests/endtoend/objc/ProcdescTest.java index 494dc7b43..cdf887cb6 100644 --- a/infer/tests/endtoend/objc/ProcdescTest.java +++ b/infer/tests/endtoend/objc/ProcdescTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.objc; diff --git a/infer/tests/endtoend/objc/PropertyMemoryLeakTest.java b/infer/tests/endtoend/objc/PropertyMemoryLeakTest.java index 4e676c18d..848880f37 100644 --- a/infer/tests/endtoend/objc/PropertyMemoryLeakTest.java +++ b/infer/tests/endtoend/objc/PropertyMemoryLeakTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.objc; diff --git a/infer/tests/endtoend/objc/PropertyTest.java b/infer/tests/endtoend/objc/PropertyTest.java index 40ca2e160..fd867d742 100644 --- a/infer/tests/endtoend/objc/PropertyTest.java +++ b/infer/tests/endtoend/objc/PropertyTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.objc; diff --git a/infer/tests/endtoend/objc/ProtocolProcdescTest.java b/infer/tests/endtoend/objc/ProtocolProcdescTest.java index 7e044fa9b..e472884ba 100644 --- a/infer/tests/endtoend/objc/ProtocolProcdescTest.java +++ b/infer/tests/endtoend/objc/ProtocolProcdescTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.objc; diff --git a/infer/tests/endtoend/objc/ResourceLeakTest.java b/infer/tests/endtoend/objc/ResourceLeakTest.java index 5aa88bdfb..f942beb0d 100644 --- a/infer/tests/endtoend/objc/ResourceLeakTest.java +++ b/infer/tests/endtoend/objc/ResourceLeakTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.objc; diff --git a/infer/tests/endtoend/objc/RetainCycle2Test.java b/infer/tests/endtoend/objc/RetainCycle2Test.java index e41c6ae7a..529457836 100644 --- a/infer/tests/endtoend/objc/RetainCycle2Test.java +++ b/infer/tests/endtoend/objc/RetainCycle2Test.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.objc; diff --git a/infer/tests/endtoend/objc/RetainCycleStaticVarTest.java b/infer/tests/endtoend/objc/RetainCycleStaticVarTest.java index 0fee5feee..99d82456e 100644 --- a/infer/tests/endtoend/objc/RetainCycleStaticVarTest.java +++ b/infer/tests/endtoend/objc/RetainCycleStaticVarTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.objc; diff --git a/infer/tests/endtoend/objc/RetainCycleTest.java b/infer/tests/endtoend/objc/RetainCycleTest.java index a3dbd5fbc..d91d14744 100644 --- a/infer/tests/endtoend/objc/RetainCycleTest.java +++ b/infer/tests/endtoend/objc/RetainCycleTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.objc; diff --git a/infer/tests/endtoend/objc/RetainreleaseTest.java b/infer/tests/endtoend/objc/RetainreleaseTest.java index 4a9648f00..9d624f812 100644 --- a/infer/tests/endtoend/objc/RetainreleaseTest.java +++ b/infer/tests/endtoend/objc/RetainreleaseTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.objc; diff --git a/infer/tests/endtoend/objc/ReturnTest.java b/infer/tests/endtoend/objc/ReturnTest.java index 1f80be1d0..6dda03ff4 100644 --- a/infer/tests/endtoend/objc/ReturnTest.java +++ b/infer/tests/endtoend/objc/ReturnTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.objc; diff --git a/infer/tests/endtoend/objc/StrongDelegateTest.java b/infer/tests/endtoend/objc/StrongDelegateTest.java index 1e72cca63..1ddc44d7f 100644 --- a/infer/tests/endtoend/objc/StrongDelegateTest.java +++ b/infer/tests/endtoend/objc/StrongDelegateTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.objc; diff --git a/infer/tests/endtoend/objc/SuperTest.java b/infer/tests/endtoend/objc/SuperTest.java index 679e4b94f..db524ebe8 100644 --- a/infer/tests/endtoend/objc/SuperTest.java +++ b/infer/tests/endtoend/objc/SuperTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.objc; diff --git a/infer/tests/endtoend/objc/TaintTest.java b/infer/tests/endtoend/objc/TaintTest.java index 4ea336c75..a9ba218e4 100644 --- a/infer/tests/endtoend/objc/TaintTest.java +++ b/infer/tests/endtoend/objc/TaintTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.objc; diff --git a/infer/tests/endtoend/objc/TollBridgeTest.java b/infer/tests/endtoend/objc/TollBridgeTest.java index 3e6b5d48d..eded568c5 100644 --- a/infer/tests/endtoend/objc/TollBridgeTest.java +++ b/infer/tests/endtoend/objc/TollBridgeTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.objc; diff --git a/infer/tests/endtoend/objc/UpdateDictNPETest.java b/infer/tests/endtoend/objc/UpdateDictNPETest.java index f04fd09d3..9ad7cd3d8 100644 --- a/infer/tests/endtoend/objc/UpdateDictNPETest.java +++ b/infer/tests/endtoend/objc/UpdateDictNPETest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package endtoend.objc; diff --git a/infer/tests/frontend/c/ArithmeticExpTest.java b/infer/tests/frontend/c/ArithmeticExpTest.java index 159f25478..8c1ed6b4a 100644 --- a/infer/tests/frontend/c/ArithmeticExpTest.java +++ b/infer/tests/frontend/c/ArithmeticExpTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package frontend.c; diff --git a/infer/tests/frontend/c/BoolTest.java b/infer/tests/frontend/c/BoolTest.java index fa637c1ad..3a96af6cc 100644 --- a/infer/tests/frontend/c/BoolTest.java +++ b/infer/tests/frontend/c/BoolTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package frontend.c; diff --git a/infer/tests/frontend/c/CommaOperatorTest.java b/infer/tests/frontend/c/CommaOperatorTest.java index 7f619c074..286ae7224 100644 --- a/infer/tests/frontend/c/CommaOperatorTest.java +++ b/infer/tests/frontend/c/CommaOperatorTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package frontend.c; diff --git a/infer/tests/frontend/c/ConditionalOperatorTest.java b/infer/tests/frontend/c/ConditionalOperatorTest.java index 897564939..379f14a27 100644 --- a/infer/tests/frontend/c/ConditionalOperatorTest.java +++ b/infer/tests/frontend/c/ConditionalOperatorTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package frontend.c; diff --git a/infer/tests/frontend/c/EnumerationTest.java b/infer/tests/frontend/c/EnumerationTest.java index ca6fd1a62..d12677088 100644 --- a/infer/tests/frontend/c/EnumerationTest.java +++ b/infer/tests/frontend/c/EnumerationTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package frontend.c; diff --git a/infer/tests/frontend/c/GnuexprTest.java b/infer/tests/frontend/c/GnuexprTest.java index a0dfb0d01..1e32f79b0 100644 --- a/infer/tests/frontend/c/GnuexprTest.java +++ b/infer/tests/frontend/c/GnuexprTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package frontend.c; diff --git a/infer/tests/frontend/c/GotoStmtLabelStmtTest.java b/infer/tests/frontend/c/GotoStmtLabelStmtTest.java index 55c7bf56f..15a5804f6 100644 --- a/infer/tests/frontend/c/GotoStmtLabelStmtTest.java +++ b/infer/tests/frontend/c/GotoStmtLabelStmtTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package frontend.c; diff --git a/infer/tests/frontend/c/InitListExprTest.java b/infer/tests/frontend/c/InitListExprTest.java index d13dc4a34..2ce082681 100644 --- a/infer/tests/frontend/c/InitListExprTest.java +++ b/infer/tests/frontend/c/InitListExprTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package frontend.c; diff --git a/infer/tests/frontend/c/LoopsTest.java b/infer/tests/frontend/c/LoopsTest.java index 51138aa01..4c81cb42c 100644 --- a/infer/tests/frontend/c/LoopsTest.java +++ b/infer/tests/frontend/c/LoopsTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package frontend.c; diff --git a/infer/tests/frontend/c/NestedOperatorsTest.java b/infer/tests/frontend/c/NestedOperatorsTest.java index 9765af6ba..793822afd 100644 --- a/infer/tests/frontend/c/NestedOperatorsTest.java +++ b/infer/tests/frontend/c/NestedOperatorsTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package frontend.c; diff --git a/infer/tests/frontend/c/PrototypeTest.java b/infer/tests/frontend/c/PrototypeTest.java index 0322318a4..0800a88e2 100644 --- a/infer/tests/frontend/c/PrototypeTest.java +++ b/infer/tests/frontend/c/PrototypeTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package frontend.c; diff --git a/infer/tests/frontend/c/SwitchStmtTest.java b/infer/tests/frontend/c/SwitchStmtTest.java index 922ba0150..663fed229 100644 --- a/infer/tests/frontend/c/SwitchStmtTest.java +++ b/infer/tests/frontend/c/SwitchStmtTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package frontend.c; diff --git a/infer/tests/frontend/c/TypesTest.java b/infer/tests/frontend/c/TypesTest.java index c521ffba9..91d91aed6 100644 --- a/infer/tests/frontend/c/TypesTest.java +++ b/infer/tests/frontend/c/TypesTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package frontend.c; diff --git a/infer/tests/frontend/cpp/CastsTest.java b/infer/tests/frontend/cpp/CastsTest.java index 3273ddb05..1ac54bca6 100644 --- a/infer/tests/frontend/cpp/CastsTest.java +++ b/infer/tests/frontend/cpp/CastsTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package frontend.cpp; diff --git a/infer/tests/frontend/cpp/ClassTest.java b/infer/tests/frontend/cpp/ClassTest.java index bbe07adc4..a9bdbd647 100644 --- a/infer/tests/frontend/cpp/ClassTest.java +++ b/infer/tests/frontend/cpp/ClassTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package frontend.cpp; diff --git a/infer/tests/frontend/cpp/ConditionalTest.java b/infer/tests/frontend/cpp/ConditionalTest.java index 87c1e6857..93997489b 100644 --- a/infer/tests/frontend/cpp/ConditionalTest.java +++ b/infer/tests/frontend/cpp/ConditionalTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package frontend.cpp; diff --git a/infer/tests/frontend/cpp/ConstructorsTest.java b/infer/tests/frontend/cpp/ConstructorsTest.java index af2c4c9d6..3f0a6702a 100644 --- a/infer/tests/frontend/cpp/ConstructorsTest.java +++ b/infer/tests/frontend/cpp/ConstructorsTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package frontend.cpp; diff --git a/infer/tests/frontend/cpp/FunctionsTest.java b/infer/tests/frontend/cpp/FunctionsTest.java index 9db40027b..0a902f32a 100644 --- a/infer/tests/frontend/cpp/FunctionsTest.java +++ b/infer/tests/frontend/cpp/FunctionsTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package frontend.cpp; diff --git a/infer/tests/frontend/cpp/InheritanceTest.java b/infer/tests/frontend/cpp/InheritanceTest.java index 410d75195..892174e0b 100644 --- a/infer/tests/frontend/cpp/InheritanceTest.java +++ b/infer/tests/frontend/cpp/InheritanceTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package frontend.cpp; diff --git a/infer/tests/frontend/cpp/LiteralsTest.java b/infer/tests/frontend/cpp/LiteralsTest.java index 7f1ad31d1..2660bd2bd 100644 --- a/infer/tests/frontend/cpp/LiteralsTest.java +++ b/infer/tests/frontend/cpp/LiteralsTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package frontend.cpp; diff --git a/infer/tests/frontend/cpp/MethodsTest.java b/infer/tests/frontend/cpp/MethodsTest.java index a3222543b..b5f748fce 100644 --- a/infer/tests/frontend/cpp/MethodsTest.java +++ b/infer/tests/frontend/cpp/MethodsTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package frontend.cpp; diff --git a/infer/tests/frontend/cpp/NamespaceTest.java b/infer/tests/frontend/cpp/NamespaceTest.java index 7c3789ee7..7adcd853e 100644 --- a/infer/tests/frontend/cpp/NamespaceTest.java +++ b/infer/tests/frontend/cpp/NamespaceTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package frontend.cpp; diff --git a/infer/tests/frontend/cpp/NestedCPPOperatorsTest.java b/infer/tests/frontend/cpp/NestedCPPOperatorsTest.java index 99cee0a16..19b86cd0d 100644 --- a/infer/tests/frontend/cpp/NestedCPPOperatorsTest.java +++ b/infer/tests/frontend/cpp/NestedCPPOperatorsTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package frontend.cpp; diff --git a/infer/tests/frontend/cpp/NestedOperatorsTest.java b/infer/tests/frontend/cpp/NestedOperatorsTest.java index b81d4f386..15c86a06d 100644 --- a/infer/tests/frontend/cpp/NestedOperatorsTest.java +++ b/infer/tests/frontend/cpp/NestedOperatorsTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package frontend.cpp; diff --git a/infer/tests/frontend/cpp/NewTest.java b/infer/tests/frontend/cpp/NewTest.java index 20606c0e8..279fe26b2 100644 --- a/infer/tests/frontend/cpp/NewTest.java +++ b/infer/tests/frontend/cpp/NewTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package frontend.cpp; diff --git a/infer/tests/frontend/cpp/ReferenceTest.java b/infer/tests/frontend/cpp/ReferenceTest.java index 34f79359c..f2d72149f 100644 --- a/infer/tests/frontend/cpp/ReferenceTest.java +++ b/infer/tests/frontend/cpp/ReferenceTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package frontend.cpp; @@ -76,7 +76,7 @@ public class ReferenceTest { throws InterruptedException, IOException, InferException { frontendTest("temporary_lvalue.cpp"); } - + @Test public void testReferenceTypeE2EDotFilesMatch() throws InterruptedException, IOException, InferException { diff --git a/infer/tests/frontend/cpp/SelfParameterTest.java b/infer/tests/frontend/cpp/SelfParameterTest.java index f1a4f2b93..d53df3135 100644 --- a/infer/tests/frontend/cpp/SelfParameterTest.java +++ b/infer/tests/frontend/cpp/SelfParameterTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package frontend.cpp; diff --git a/infer/tests/frontend/cpp/TemplatesTest.java b/infer/tests/frontend/cpp/TemplatesTest.java index 52cd5a5a9..a2f549587 100644 --- a/infer/tests/frontend/cpp/TemplatesTest.java +++ b/infer/tests/frontend/cpp/TemplatesTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package frontend.cpp; diff --git a/infer/tests/frontend/objc/ArcExampleTest.java b/infer/tests/frontend/objc/ArcExampleTest.java index d895a95ab..7f4921df2 100644 --- a/infer/tests/frontend/objc/ArcExampleTest.java +++ b/infer/tests/frontend/objc/ArcExampleTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2014 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2014 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package frontend.objc; @@ -84,4 +84,3 @@ public class ArcExampleTest { newDotFile, dotFileEqualTo(arc_dotty)); } } - diff --git a/infer/tests/frontend/objc/BlockTest.java b/infer/tests/frontend/objc/BlockTest.java index cb1695d20..9fe02990c 100644 --- a/infer/tests/frontend/objc/BlockTest.java +++ b/infer/tests/frontend/objc/BlockTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package frontend.objc; @@ -151,13 +151,13 @@ public class BlockTest { @Test public void whenCaptureRunOnDispatchThenDotFilesAreTheSame() throws InterruptedException, IOException, InferException { - + String block_src = "infer/tests/codetoanalyze/objc/frontend/block/dispatch.m"; - + String block_dotty = "infer/tests/codetoanalyze/objc/frontend/block/dispatch.dot"; - + ImmutableList inferCmd = InferRunner.createiOSInferCommandFrontend(folder, block_src); File newDotFile = InferRunner.runInferFrontend(inferCmd); diff --git a/infer/tests/frontend/objc/BoxingTest.java b/infer/tests/frontend/objc/BoxingTest.java index 3991d4a97..97ccea056 100644 --- a/infer/tests/frontend/objc/BoxingTest.java +++ b/infer/tests/frontend/objc/BoxingTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package frontend.objc; diff --git a/infer/tests/frontend/objc/CategoryTest.java b/infer/tests/frontend/objc/CategoryTest.java index cb2bab732..372683d93 100644 --- a/infer/tests/frontend/objc/CategoryTest.java +++ b/infer/tests/frontend/objc/CategoryTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package frontend.objc; diff --git a/infer/tests/frontend/objc/ConditionalOperatorTest.java b/infer/tests/frontend/objc/ConditionalOperatorTest.java index dd5d438b7..dd6fbf1fb 100644 --- a/infer/tests/frontend/objc/ConditionalOperatorTest.java +++ b/infer/tests/frontend/objc/ConditionalOperatorTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package frontend.objc; diff --git a/infer/tests/frontend/objc/ExceptionTest.java b/infer/tests/frontend/objc/ExceptionTest.java index f5924d954..f9977ca22 100644 --- a/infer/tests/frontend/objc/ExceptionTest.java +++ b/infer/tests/frontend/objc/ExceptionTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package frontend.objc; diff --git a/infer/tests/frontend/objc/FastEnumerationTest.java b/infer/tests/frontend/objc/FastEnumerationTest.java index c8585f294..cd9a159ee 100644 --- a/infer/tests/frontend/objc/FastEnumerationTest.java +++ b/infer/tests/frontend/objc/FastEnumerationTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package frontend.objc; diff --git a/infer/tests/frontend/objc/LateDefinedVarDeclTest.java b/infer/tests/frontend/objc/LateDefinedVarDeclTest.java index a9e3bd840..f12e74cee 100644 --- a/infer/tests/frontend/objc/LateDefinedVarDeclTest.java +++ b/infer/tests/frontend/objc/LateDefinedVarDeclTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package frontend.objc; diff --git a/infer/tests/frontend/objc/MallocTest.java b/infer/tests/frontend/objc/MallocTest.java index 7739865df..04102e898 100644 --- a/infer/tests/frontend/objc/MallocTest.java +++ b/infer/tests/frontend/objc/MallocTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package frontend.objc; diff --git a/infer/tests/frontend/objc/MemoryLeakBenchmarkTest.java b/infer/tests/frontend/objc/MemoryLeakBenchmarkTest.java index 4f2ce7e93..bcad8dcdc 100644 --- a/infer/tests/frontend/objc/MemoryLeakBenchmarkTest.java +++ b/infer/tests/frontend/objc/MemoryLeakBenchmarkTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package frontend.objc; @@ -77,11 +77,11 @@ public class MemoryLeakBenchmarkTest { String ml_expr = "infer/tests/codetoanalyze/" + "objc/errors/memory_leaks_benchmark/RetainReleaseExample2.m"; - + String ml_dotty = "infer/tests/codetoanalyze/" + "objc/errors/memory_leaks_benchmark/RetainReleaseExample2.dot"; - + ImmutableList inferCmd = InferRunner.createiOSInferCommandFrontend(folder, ml_expr); File newDotFile = InferRunner.runInferFrontend(inferCmd); diff --git a/infer/tests/frontend/objc/NSAssertTest.java b/infer/tests/frontend/objc/NSAssertTest.java index 722c9ccf7..873157c3d 100644 --- a/infer/tests/frontend/objc/NSAssertTest.java +++ b/infer/tests/frontend/objc/NSAssertTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2014 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2014 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package frontend.objc; diff --git a/infer/tests/frontend/objc/NonnullAttributeTest.java b/infer/tests/frontend/objc/NonnullAttributeTest.java index 49f3851d7..82f141946 100644 --- a/infer/tests/frontend/objc/NonnullAttributeTest.java +++ b/infer/tests/frontend/objc/NonnullAttributeTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2014 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2014 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package frontend.objc; diff --git a/infer/tests/frontend/objc/PredefinedExpressionTest.java b/infer/tests/frontend/objc/PredefinedExpressionTest.java index ecc2a66b9..14b524615 100644 --- a/infer/tests/frontend/objc/PredefinedExpressionTest.java +++ b/infer/tests/frontend/objc/PredefinedExpressionTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2014 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2014 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package frontend.objc; diff --git a/infer/tests/frontend/objc/PropertyTest.java b/infer/tests/frontend/objc/PropertyTest.java index 681f8926e..ad0f71a12 100644 --- a/infer/tests/frontend/objc/PropertyTest.java +++ b/infer/tests/frontend/objc/PropertyTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package frontend.objc; diff --git a/infer/tests/frontend/objc/ProtocolTest.java b/infer/tests/frontend/objc/ProtocolTest.java index 0d999cea4..f31351123 100644 --- a/infer/tests/frontend/objc/ProtocolTest.java +++ b/infer/tests/frontend/objc/ProtocolTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package frontend.objc; diff --git a/infer/tests/frontend/objc/ReturnTest.java b/infer/tests/frontend/objc/ReturnTest.java index 4778d4592..ecd09ab59 100644 --- a/infer/tests/frontend/objc/ReturnTest.java +++ b/infer/tests/frontend/objc/ReturnTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package frontend.objc; diff --git a/infer/tests/frontend/objc/StaticSelf.java b/infer/tests/frontend/objc/StaticSelf.java index 5a7d0c3ae..a90930c45 100644 --- a/infer/tests/frontend/objc/StaticSelf.java +++ b/infer/tests/frontend/objc/StaticSelf.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package frontend.objc; diff --git a/infer/tests/frontend/objc/StringTest.java b/infer/tests/frontend/objc/StringTest.java index 3893554f5..f5bd3f9fb 100644 --- a/infer/tests/frontend/objc/StringTest.java +++ b/infer/tests/frontend/objc/StringTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package frontend.objc; diff --git a/infer/tests/frontend/objc/SubclassTest.java b/infer/tests/frontend/objc/SubclassTest.java index 8483592f8..b1b6878bd 100644 --- a/infer/tests/frontend/objc/SubclassTest.java +++ b/infer/tests/frontend/objc/SubclassTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package frontend.objc; diff --git a/infer/tests/frontend/objc/TypesTest.java b/infer/tests/frontend/objc/TypesTest.java index a533c1980..0812fd160 100644 --- a/infer/tests/frontend/objc/TypesTest.java +++ b/infer/tests/frontend/objc/TypesTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package frontend.objc; @@ -51,19 +51,19 @@ public class TypesTest { " the dotty files should be the same.", newDotFile, dotFileEqualTo(block_dotty)); } - + @Test public void whenCaptureRunOnAttributesThenDotFilesAreTheSame() throws InterruptedException, IOException, InferException { - + String block_src = "infer/tests/codetoanalyze/objc/frontend/" + "types/attributes.m"; - + String block_dotty = "infer/tests/codetoanalyze/objc/frontend/" + "types/attributes.dot"; - + ImmutableList inferCmd = InferRunner.createObjCInferCommandFrontendArc(folder, block_src); File newDotFile = InferRunner.runInferFrontend(inferCmd); diff --git a/infer/tests/frontend/objcpp/FuncOverloadingTest.java b/infer/tests/frontend/objcpp/FuncOverloadingTest.java index 56b2150ad..15b5e52f0 100644 --- a/infer/tests/frontend/objcpp/FuncOverloadingTest.java +++ b/infer/tests/frontend/objcpp/FuncOverloadingTest.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package frontend.objcpp; diff --git a/infer/tests/utils/ClangFrontendUtils.java b/infer/tests/utils/ClangFrontendUtils.java index 15ed9ee1e..cc02f5ee7 100644 --- a/infer/tests/utils/ClangFrontendUtils.java +++ b/infer/tests/utils/ClangFrontendUtils.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package utils; diff --git a/infer/tests/utils/InferError.java b/infer/tests/utils/InferError.java index 0afb09647..d45a0514b 100644 --- a/infer/tests/utils/InferError.java +++ b/infer/tests/utils/InferError.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package utils; diff --git a/infer/tests/utils/InferException.java b/infer/tests/utils/InferException.java index 2b2de0a9b..a4843f9d2 100644 --- a/infer/tests/utils/InferException.java +++ b/infer/tests/utils/InferException.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package utils; diff --git a/infer/tests/utils/InferResults.java b/infer/tests/utils/InferResults.java index ed02caff3..5b3e3b358 100644 --- a/infer/tests/utils/InferResults.java +++ b/infer/tests/utils/InferResults.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package utils; diff --git a/infer/tests/utils/InferRunner.java b/infer/tests/utils/InferRunner.java index 21f98f186..06a8a7782 100644 --- a/infer/tests/utils/InferRunner.java +++ b/infer/tests/utils/InferRunner.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package utils; diff --git a/infer/tests/utils/InferStats.java b/infer/tests/utils/InferStats.java index fd9ff4bf5..ceac2a31f 100644 --- a/infer/tests/utils/InferStats.java +++ b/infer/tests/utils/InferStats.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package utils; diff --git a/infer/tests/utils/Language.java b/infer/tests/utils/Language.java index 2dfec6406..2a8139548 100644 --- a/infer/tests/utils/Language.java +++ b/infer/tests/utils/Language.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package utils; diff --git a/infer/tests/utils/TestType.java b/infer/tests/utils/TestType.java index b23f37d36..ac62c9876 100644 --- a/infer/tests/utils/TestType.java +++ b/infer/tests/utils/TestType.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2013 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2013 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package utils; diff --git a/infer/tests/utils/matchers/DotFilesEqual.java b/infer/tests/utils/matchers/DotFilesEqual.java index 506e55b32..63f8f9bc8 100644 --- a/infer/tests/utils/matchers/DotFilesEqual.java +++ b/infer/tests/utils/matchers/DotFilesEqual.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package utils.matchers; diff --git a/infer/tests/utils/matchers/ErrorPattern.java b/infer/tests/utils/matchers/ErrorPattern.java index a5d1c6a73..ef7884a5c 100644 --- a/infer/tests/utils/matchers/ErrorPattern.java +++ b/infer/tests/utils/matchers/ErrorPattern.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package utils.matchers; diff --git a/infer/tests/utils/matchers/NumberOfFilesAnalyzed.java b/infer/tests/utils/matchers/NumberOfFilesAnalyzed.java index 1e4786651..8a4df5c6f 100644 --- a/infer/tests/utils/matchers/NumberOfFilesAnalyzed.java +++ b/infer/tests/utils/matchers/NumberOfFilesAnalyzed.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package utils.matchers; diff --git a/infer/tests/utils/matchers/NumberOfProceduresAnalyzed.java b/infer/tests/utils/matchers/NumberOfProceduresAnalyzed.java index 823eb6055..058d513c4 100644 --- a/infer/tests/utils/matchers/NumberOfProceduresAnalyzed.java +++ b/infer/tests/utils/matchers/NumberOfProceduresAnalyzed.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package utils.matchers; diff --git a/infer/tests/utils/matchers/ResultContainsErrorInMethod.java b/infer/tests/utils/matchers/ResultContainsErrorInMethod.java index 749405274..31ed98296 100644 --- a/infer/tests/utils/matchers/ResultContainsErrorInMethod.java +++ b/infer/tests/utils/matchers/ResultContainsErrorInMethod.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package utils.matchers; diff --git a/infer/tests/utils/matchers/ResultContainsErrorNoFilename.java b/infer/tests/utils/matchers/ResultContainsErrorNoFilename.java index b8ccf0dbc..9352c02ed 100644 --- a/infer/tests/utils/matchers/ResultContainsErrorNoFilename.java +++ b/infer/tests/utils/matchers/ResultContainsErrorNoFilename.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package utils.matchers; diff --git a/infer/tests/utils/matchers/ResultContainsExactly.java b/infer/tests/utils/matchers/ResultContainsExactly.java index 4aeac9e8d..0dc4ce39a 100644 --- a/infer/tests/utils/matchers/ResultContainsExactly.java +++ b/infer/tests/utils/matchers/ResultContainsExactly.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package utils.matchers; diff --git a/infer/tests/utils/matchers/ResultContainsLineNumbers.java b/infer/tests/utils/matchers/ResultContainsLineNumbers.java index a43431068..4154c6325 100644 --- a/infer/tests/utils/matchers/ResultContainsLineNumbers.java +++ b/infer/tests/utils/matchers/ResultContainsLineNumbers.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package utils.matchers; diff --git a/infer/tests/utils/matchers/ResultContainsNoErrorInMethod.java b/infer/tests/utils/matchers/ResultContainsNoErrorInMethod.java index 2e7356ad8..050d3a1e6 100644 --- a/infer/tests/utils/matchers/ResultContainsNoErrorInMethod.java +++ b/infer/tests/utils/matchers/ResultContainsNoErrorInMethod.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package utils.matchers; diff --git a/infer/tests/utils/matchers/ResultContainsNumberOfErrorsInMethod.java b/infer/tests/utils/matchers/ResultContainsNumberOfErrorsInMethod.java index 2e5432270..480eda851 100644 --- a/infer/tests/utils/matchers/ResultContainsNumberOfErrorsInMethod.java +++ b/infer/tests/utils/matchers/ResultContainsNumberOfErrorsInMethod.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package utils.matchers; diff --git a/infer/tests/utils/matchers/ResultContainsOnlyTheseErrors.java b/infer/tests/utils/matchers/ResultContainsOnlyTheseErrors.java index 41aee6fa9..2d0737e09 100644 --- a/infer/tests/utils/matchers/ResultContainsOnlyTheseErrors.java +++ b/infer/tests/utils/matchers/ResultContainsOnlyTheseErrors.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package utils.matchers; diff --git a/infer/tests/utils/matchers/ResultContainsTheseErrors.java b/infer/tests/utils/matchers/ResultContainsTheseErrors.java index 7cd4920d6..5eae2af14 100644 --- a/infer/tests/utils/matchers/ResultContainsTheseErrors.java +++ b/infer/tests/utils/matchers/ResultContainsTheseErrors.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package utils.matchers; diff --git a/infer/tests/utils/matchers/ResultContainsZeroErrorsInMethod.java b/infer/tests/utils/matchers/ResultContainsZeroErrorsInMethod.java index e081b4279..7148f5c94 100644 --- a/infer/tests/utils/matchers/ResultContainsZeroErrorsInMethod.java +++ b/infer/tests/utils/matchers/ResultContainsZeroErrorsInMethod.java @@ -1,11 +1,11 @@ /* -* Copyright (c) 2015 - present Facebook, Inc. -* All rights reserved. -* -* 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 -* of patent rights can be found in the PATENTS file in the same directory. -*/ + * Copyright (c) 2015 - present Facebook, Inc. + * All rights reserved. + * + * 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 + * of patent rights can be found in the PATENTS file in the same directory. + */ package utils.matchers;