From e0ac46e69d7adbe327148550ffafe746cbc0ec78 Mon Sep 17 00:00:00 2001 From: Mehdi Amini Date: Mon, 17 Jul 2023 12:47:39 -0700 Subject: [PATCH] Revert "Remove rdar links; NFC" This reverts commit d618f1c3b12effd0c2bdb7d02108d3551f389d3d. This commit wasn't reviewed ahead of time and significant concerns were raised immediately after it landed. According to our developer policy this warrants immediate revert of the commit. https://llvm.org/docs/DeveloperPolicy.html#patch-reversion-policy Differential Revision: https://reviews.llvm.org/D155509 --- clang/lib/Analysis/CFG.cpp | 3 +- clang/lib/Analysis/RetainSummaryManager.cpp | 18 +- clang/lib/CodeGen/CGObjCMac.cpp | 7 +- clang/lib/CodeGen/CodeGenModule.cpp | 2 +- clang/lib/Driver/ToolChains/Clang.cpp | 3 +- clang/lib/Sema/SemaObjCProperty.cpp | 4 +- .../Checkers/CheckSecuritySyntaxOnly.cpp | 5 + .../RetainCountDiagnostics.cpp | 5 +- clang/lib/StaticAnalyzer/Core/CallEvent.cpp | 2 +- .../StaticAnalyzer/Core/ExprEngineObjC.cpp | 2 +- clang/test/ARCMT/GC-check-warn-nsalloc.m | 1 + clang/test/ARCMT/GC-no-finalize-removal.m | 1 + .../ARCMT/GC-no-finalize-removal.m.result | 1 + clang/test/ARCMT/GC.m | 1 + clang/test/ARCMT/GC.m.result | 1 + clang/test/ARCMT/check-with-pch.m | 1 + clang/test/ARCMT/checking.m | 4 + .../no-canceling-bridge-to-bridge-cast.m | 1 + clang/test/ARCMT/nonobjc-to-objc-cast-2.m | 1 + clang/test/ARCMT/objcmt-arc-cf-annotations.m | 122 +- .../ARCMT/objcmt-arc-cf-annotations.m.result | 122 +- clang/test/ARCMT/objcmt-atomic-property.m | 2 + .../ARCMT/objcmt-atomic-property.m.result | 2 + clang/test/ARCMT/objcmt-boxing.m | 1 + clang/test/ARCMT/objcmt-boxing.m.result | 1 + clang/test/ARCMT/objcmt-migrate-all.m | 2 + clang/test/ARCMT/objcmt-migrate-all.m.result | 2 + clang/test/ARCMT/objcmt-ns-macros.m | 9 + clang/test/ARCMT/objcmt-ns-macros.m.result | 9 + .../test/ARCMT/objcmt-ns-nonatomic-iosonly.m | 3 + .../objcmt-ns-nonatomic-iosonly.m.result | 3 + .../ARCMT/objcmt-ns-returns-inner-pointer.m | 1 + .../objcmt-ns-returns-inner-pointer.m.result | 1 + .../test/ARCMT/objcmt-property-availability.m | 1 + .../objcmt-property-availability.m.result | 1 + clang/test/ARCMT/objcmt-property-dot-syntax.m | 5 + .../ARCMT/objcmt-property-dot-syntax.m.result | 5 + clang/test/ARCMT/objcmt-property.m | 5 + clang/test/ARCMT/objcmt-property.m.result | 5 + .../test/ARCMT/objcmt-protocol-conformance.m | 1 + .../objcmt-protocol-conformance.m.result | 1 + clang/test/ARCMT/objcmt-undefined-ns-macros.m | 2 + .../ARCMT/objcmt-undefined-ns-macros.m.result | 2 + clang/test/Analysis/DeallocMissingRelease.m | 4 +- .../test/Analysis/DeallocUseAfterFreeErrors.m | 1 + .../Inputs/expected-plists/edges-new.mm.plist | 2620 +++++----- .../expected-plists/inline-plist.c.plist | 442 +- .../expected-plists/malloc-plist.c.plist | 544 +-- .../expected-plists/plist-output.m.plist | 984 ++-- .../retain-release.m.objc.plist | 4308 ++++++++-------- .../retain-release.m.objcpp.plist | 4324 ++++++++--------- clang/test/Analysis/NSString.m | 3 +- clang/test/Analysis/OSAtomic_mac.cpp | 2 +- clang/test/Analysis/PR46264.cpp | 2 + .../Analysis/UserNullabilityAnnotations.m | 1 + clang/test/Analysis/array-struct-region.c | 2 +- clang/test/Analysis/blocks.m | 4 +- clang/test/Analysis/call-and-message.m | 1 + clang/test/Analysis/call-invalidation.cpp | 2 +- clang/test/Analysis/cfref_rdar6080742.c | 1 + clang/test/Analysis/dead-stores.c | 4 +- clang/test/Analysis/default-analyze.m | 2 +- clang/test/Analysis/delegates.m | 1 + clang/test/Analysis/edges-new.mm | 5 +- clang/test/Analysis/generics.m | 4 +- clang/test/Analysis/inline-plist.c | 1 + .../Inputs/expected-plists/path-notes.m.plist | 64 +- .../inlining/eager-reclamation-path-notes.c | 2 +- .../inlining/false-positive-suppression.c | 1 + clang/test/Analysis/inlining/path-notes.m | 1 + clang/test/Analysis/malloc-interprocedural.c | 2 +- clang/test/Analysis/malloc-plist.c | 1 + clang/test/Analysis/malloc.c | 7 +- clang/test/Analysis/misc-ps-64.m | 18 +- clang/test/Analysis/misc-ps-arm.m | 3 +- clang/test/Analysis/misc-ps-eager-assume.m | 3 + clang/test/Analysis/misc-ps-ranges.m | 1 + clang/test/Analysis/misc-ps-region-store.cpp | 5 +- clang/test/Analysis/misc-ps-region-store.m | 101 +- clang/test/Analysis/misc-ps.m | 68 +- .../Analysis/mutually_exclusive_null_fp.cpp | 2 + ...undefined-larger-than-voidptr-ret-region.m | 4 +- clang/test/Analysis/null-deref-ps.c | 1 + clang/test/Analysis/objc-arc.m | 2 +- clang/test/Analysis/objc-encode.m | 2 +- clang/test/Analysis/objc-subscript.m | 3 + .../test/Analysis/osobject-retain-release.cpp | 1 + clang/test/Analysis/plist-output-alternate.m | 2 +- clang/test/Analysis/plist-output.m | 3 +- clang/test/Analysis/properties.m | 12 +- clang/test/Analysis/properties.mm | 1 + clang/test/Analysis/reference.cpp | 2 +- clang/test/Analysis/retain-release-inline.m | 1 + .../Analysis/retain-release-region-store.m | 10 +- clang/test/Analysis/retain-release.m | 120 +- clang/test/Analysis/retain-release.mm | 1 + clang/test/Analysis/security-syntax-checks.m | 10 +- clang/test/Analysis/stack-addr-ps.c | 2 + clang/test/Analysis/stack-addr-ps.cpp | 1 + clang/test/Analysis/templates.cpp | 2 + .../uninit-bug-first-iteration-init.c | 2 + .../Analysis/uninit-exhaustive-switch-bug.c | 2 + clang/test/Analysis/uninit-ps-rdar6145427.m | 2 + clang/test/Analysis/uninit-vals.c | 4 +- clang/test/Analysis/uninit-vals.m | 8 +- clang/test/Analysis/unused-ivars.m | 23 +- .../basic.lookup/basic.lookup.elab/p2.cpp | 1 + .../basic.lookup/basic.lookup.unqual/p14.cpp | 2 + .../CXX/class.access/class.access.base/p5.cpp | 2 +- .../CXX/class.access/class.friend/p11.cpp | 1 + .../CXX/class.access/class.protected/p1.cpp | 2 +- clang/test/CXX/class.access/p4.cpp | 1 + clang/test/CXX/class.access/p6.cpp | 1 + .../class.derived/class.member.lookup/p8.cpp | 1 + .../namespace.def/namespace.memdef/p3.cpp | 2 + .../basic.namespace/namespace.udir/p6.cpp | 1 + clang/test/CXX/dcl.decl/dcl.init/p6.cpp | 1 + .../CXX/dcl.decl/dcl.meaning/dcl.array/p3.cpp | 1 + .../test/CXX/expr/expr.const/p3-0x-nowarn.cpp | 1 + .../CXX/expr/expr.unary/expr.unary.op/p4.cpp | 2 + .../over.best.ics/over.ics.list/p6.cpp | 1 + .../CXX/temp/temp.decls/temp.friend/p5.cpp | 2 + .../test/CXX/temp/temp.spec/temp.inst/p11.cpp | 1 + .../2008-07-30-implicit-initialization.c | 1 + .../2008-07-30-redef-of-bitcasted-decl.c | 1 + .../2008-08-04-void-pointer-arithmetic.c | 1 + clang/test/CodeGen/2009-01-05-BlockInlining.c | 1 + .../2009-06-18-StaticInitTailPadPack.c | 1 + clang/test/CodeGen/2010-01-13-MemBarrier.c | 1 + clang/test/CodeGen/2010-02-15-DbgStaticVar.c | 1 + clang/test/CodeGen/2010-05-26-AsmSideEffect.c | 1 + .../test/CodeGen/2010-07-08-DeclDebugLineNo.c | 5 +- clang/test/CodeGen/2010-08-12-asm-aggr-arg.c | 6 +- .../CodeGen/X86/x86_32-arguments-darwin.c | 7 +- .../test/CodeGen/X86/x86_32-arguments-linux.c | 5 +- clang/test/CodeGen/X86/x86_32-inline-asm.c | 4 + .../CodeGen/X86/x86_64-arguments-darwin.c | 1 + clang/test/CodeGen/X86/x86_64-arguments.c | 14 + clang/test/CodeGen/alignment.c | 2 +- .../CodeGen/arm-apcs-zerolength-bitfield.c | 1 + clang/test/CodeGen/arm-arguments.c | 1 + clang/test/CodeGen/arm-asm-diag.c | 1 + clang/test/CodeGen/arm-asm-warn.c | 1 + clang/test/CodeGen/arm-neon-misc.c | 4 +- clang/test/CodeGen/arm-vector-align.c | 5 +- clang/test/CodeGen/arm64-arguments.c | 2 + clang/test/CodeGen/arm64_vdupq_n_f64.c | 3 + clang/test/CodeGen/asm-inout.c | 2 +- clang/test/CodeGen/asm.c | 7 +- clang/test/CodeGen/asm_arm64.c | 7 + clang/test/CodeGen/atomic-arm64.c | 2 + clang/test/CodeGen/atomic.c | 2 +- clang/test/CodeGen/attr-cleanup.c | 1 + clang/test/CodeGen/attr-weak-import.c | 1 + clang/test/CodeGen/bitfield-2.c | 3 + clang/test/CodeGen/block-3.c | 2 + clang/test/CodeGen/block-byref-aggr.c | 3 +- .../test/CodeGen/block-with-predefinedexpr.c | 1 + clang/test/CodeGen/blocks.c | 7 +- clang/test/CodeGen/blocksignature.c | 3 + clang/test/CodeGen/blockstret.c | 4 + clang/test/CodeGen/builtin-attributes.c | 1 + clang/test/CodeGen/builtin-expect.c | 1 + clang/test/CodeGen/builtin-memfns.c | 3 + clang/test/CodeGen/builtins-overflow.c | 1 + clang/test/CodeGen/byval-memcpy-elim.c | 1 + clang/test/CodeGen/c11atomics-ios.c | 2 + .../CodeGen/capture-complex-expr-in-block.c | 1 + clang/test/CodeGen/cfstring.c | 5 +- clang/test/CodeGen/cfstring2.c | 1 + clang/test/CodeGen/complex-builtins-3.c | 1 + clang/test/CodeGen/complex.c | 1 + clang/test/CodeGen/conditional-gnu-ext.c | 3 + clang/test/CodeGen/conditional.c | 1 + clang/test/CodeGen/debug-info-block-decl.c | 1 + clang/test/CodeGen/debug-info-crash.c | 1 + clang/test/CodeGen/debug-info-file-change.c | 1 + clang/test/CodeGen/debug-info-line2.c | 1 + clang/test/CodeGen/debug-info-scope.c | 1 + clang/test/CodeGen/debug-info.c | 2 + clang/test/CodeGen/decl.c | 5 +- clang/test/CodeGen/designated-initializers.c | 2 + clang/test/CodeGen/dostmt.c | 1 + clang/test/CodeGen/exceptions-strictfp.c | 1 + clang/test/CodeGen/exceptions.c | 1 + clang/test/CodeGen/exprs.c | 3 + clang/test/CodeGen/ext-vector.c | 4 +- clang/test/CodeGen/func-aligned.c | 1 + clang/test/CodeGen/func-in-block.c | 1 + clang/test/CodeGen/function-attributes.c | 2 +- clang/test/CodeGen/functions.c | 1 + clang/test/CodeGen/global-init.c | 1 + clang/test/CodeGen/implicit-arg.c | 1 + clang/test/CodeGen/init.c | 1 + clang/test/CodeGen/inline.c | 1 + clang/test/CodeGen/integer-overflow.c | 1 + clang/test/CodeGen/libcalls-fno-builtin.c | 2 + clang/test/CodeGen/ms-inline-asm.cpp | 2 + clang/test/CodeGen/ms_struct-bitfield-1.c | 1 + clang/test/CodeGen/ms_struct-bitfield-2.c | 1 + clang/test/CodeGen/ms_struct-bitfield-3.c | 1 + clang/test/CodeGen/ms_struct-bitfield-init.c | 1 + clang/test/CodeGen/ms_struct-bitfield.c | 5 +- clang/test/CodeGen/ms_struct-pack.c | 2 + clang/test/CodeGen/no-opt-volatile-memcpy.c | 1 + clang/test/CodeGen/noinline.c | 1 + clang/test/CodeGen/packed-nest-unpacked.c | 3 + clang/test/CodeGen/pascal-wchar-string.c | 1 + clang/test/CodeGen/pointer-to-int.c | 1 + clang/test/CodeGen/pragma-pack-2.c | 2 + clang/test/CodeGen/pragma-pack-3.c | 1 + clang/test/CodeGen/private-extern-redef.c | 1 + clang/test/CodeGen/redef-ext-inline.c | 1 + clang/test/CodeGen/sanitize-blocks.c | 1 + clang/test/CodeGen/struct-init.c | 1 + clang/test/CodeGen/switch-dce.c | 2 +- clang/test/CodeGen/switch.c | 1 + clang/test/CodeGen/transparent-union-redecl.c | 1 + clang/test/CodeGen/union-align.c | 1 + clang/test/CodeGen/unwind-attr.c | 4 +- clang/test/CodeGen/utf16-cfstrings.c | 1 + clang/test/CodeGen/vector-alignment.c | 1 + clang/test/CodeGen/visibility.c | 2 + clang/test/CodeGen/vla.c | 3 + clang/test/CodeGenCXX/2008-01-12-VecInit.cpp | 3 +- .../CodeGenCXX/2008-05-07-CrazyOffsetOf.cpp | 1 + .../CodeGenCXX/2009-08-05-ZeroInitWidth.cpp | 1 + .../CodeGenCXX/2009-08-11-VectorRetTy.cpp | 1 + clang/test/CodeGenCXX/2009-10-27-crash.cpp | 1 + .../test/CodeGenCXX/2012-03-16-StoreAlign.cpp | 1 + .../CodeGenCXX/align-avx-complete-objects.cpp | 1 + .../anonymous-union-member-initializer.cpp | 1 + .../CodeGenCXX/apple-kext-guard-variable.cpp | 2 + clang/test/CodeGenCXX/apple-kext-linkage.cpp | 2 +- .../apple-kext-no-staticinit-section.cpp | 1 + clang/test/CodeGenCXX/apple-kext.cpp | 2 + clang/test/CodeGenCXX/arm.cpp | 3 + .../CodeGenCXX/arm64-constructor-return.cpp | 1 + clang/test/CodeGenCXX/arm64.cpp | 4 +- clang/test/CodeGenCXX/armv7k.cpp | 4 +- clang/test/CodeGenCXX/asm.cpp | 2 +- clang/test/CodeGenCXX/attr-used.cpp | 2 +- .../test/CodeGenCXX/block-byref-cxx-objc.cpp | 3 + clang/test/CodeGenCXX/blocks-cxx11.cpp | 2 + clang/test/CodeGenCXX/blocks.cpp | 6 +- clang/test/CodeGenCXX/class-layout.cpp | 4 +- clang/test/CodeGenCXX/conditional-gnu-ext.cpp | 2 + .../copy-assign-volatile-synthesis.cpp | 1 + .../CodeGenCXX/copy-constructor-synthesis.cpp | 1 + clang/test/CodeGenCXX/cxx-block-objects.cpp | 1 + .../test/CodeGenCXX/cxx11-special-members.cpp | 1 + .../cxx11-trivial-initializer-struct.cpp | 2 + clang/test/CodeGenCXX/debug-info-byval.cpp | 1 + .../CodeGenCXX/debug-info-decl-nested.cpp | 2 + clang/test/CodeGenCXX/debug-info-enum.cpp | 1 + .../debug-info-indirect-field-decl.cpp | 2 + .../CodeGenCXX/debug-info-method-spec.cpp | 1 + clang/test/CodeGenCXX/debug-info-method2.cpp | 1 + clang/test/CodeGenCXX/debug-info-scope.cpp | 2 + .../CodeGenCXX/debug-info-template-fwd.cpp | 1 + clang/test/CodeGenCXX/debug-info-this.cpp | 1 + .../debug-info-zero-length-arrays.cpp | 1 + clang/test/CodeGenCXX/delete-two-arg.cpp | 1 + .../test/CodeGenCXX/derived-to-base-conv.cpp | 1 + .../CodeGenCXX/duplicate-mangled-name.cpp | 1 + clang/test/CodeGenCXX/eh.cpp | 6 + clang/test/CodeGenCXX/exceptions.cpp | 2 + .../global-block-literal-helpers.cpp | 1 + clang/test/CodeGenCXX/global-init.cpp | 4 +- clang/test/CodeGenCXX/globalinit-loc.cpp | 1 + .../CodeGenCXX/implicit-copy-constructor.cpp | 1 + .../inheriting-constructor-cleanup.cpp | 1 + clang/test/CodeGenCXX/inline-functions.cpp | 1 + clang/test/CodeGenCXX/internal-linkage.cpp | 1 + clang/test/CodeGenCXX/lambda-expressions.cpp | 1 + clang/test/CodeGenCXX/lpad-linetable.cpp | 1 + clang/test/CodeGenCXX/mangle-template.cpp | 1 + clang/test/CodeGenCXX/mangle.cpp | 8 + clang/test/CodeGenCXX/member-alignment.cpp | 2 + .../CodeGenCXX/member-function-pointers.cpp | 5 +- .../CodeGenCXX/microsoft-uuidof-mangling.cpp | 1 + clang/test/CodeGenCXX/ms_struct.cpp | 2 + clang/test/CodeGenCXX/new-overflow.cpp | 2 + .../CodeGenCXX/no-opt-volatile-memcpy.cpp | 1 + clang/test/CodeGenCXX/noexcept.cpp | 1 + clang/test/CodeGenCXX/nrvo.cpp | 1 + clang/test/CodeGenCXX/operator-new.cpp | 2 +- clang/test/CodeGenCXX/pragma-pack-2.cpp | 1 + clang/test/CodeGenCXX/predefined-expr.cpp | 1 + .../CodeGenCXX/reference-in-block-args.cpp | 1 + clang/test/CodeGenCXX/reference-in-blocks.cpp | 3 +- clang/test/CodeGenCXX/reference-init.cpp | 1 + clang/test/CodeGenCXX/rtti-linkage.cpp | 2 + clang/test/CodeGenCXX/runtimecc.cpp | 2 + .../specialized-static-data-mem-init.cpp | 1 + clang/test/CodeGenCXX/static-init.cpp | 1 + clang/test/CodeGenCXX/stmtexpr.cpp | 3 + .../template-dependent-bind-temporary.cpp | 1 + clang/test/CodeGenCXX/temporaries.cpp | 1 + clang/test/CodeGenCXX/throw-expressions.cpp | 1 + clang/test/CodeGenCXX/thunk-linkonce-odr.cpp | 1 + clang/test/CodeGenCXX/type_visibility.cpp | 2 + clang/test/CodeGenCXX/uncode-string.cpp | 1 + clang/test/CodeGenCXX/unknown-anytype.cpp | 1 + clang/test/CodeGenCXX/value-init.cpp | 1 + clang/test/CodeGenCXX/varargs.cpp | 1 + .../CodeGenCXX/vector-splat-conversion.cpp | 1 + .../visibility-hidden-extern-templates.cpp | 1 + .../CodeGenCXX/visibility-inlines-hidden.cpp | 1 + .../test/CodeGenCXX/visibility-ms-compat.cpp | 2 + clang/test/CodeGenCXX/visibility.cpp | 4 + clang/test/CodeGenCXX/vla.cpp | 1 + clang/test/CodeGenCXX/volatile.cpp | 2 +- clang/test/CodeGenCXX/vtable-debug-info.cpp | 1 + clang/test/CodeGenCXX/vtable-layout.cpp | 1 + clang/test/CodeGenCXX/vtable-linkage.cpp | 2 +- .../test/CodeGenCXX/weak-extern-typeinfo.cpp | 1 + clang/test/CodeGenCXX/x86_64-arguments.cpp | 9 +- .../CodeGenObjC/2007-10-23-GC-WriteBarrier.m | 1 + clang/test/CodeGenObjC/2008-11-25-Blocks.m | 1 + .../CodeGenObjC/2009-01-26-WriteBarrier-2.m | 1 + .../CodeGenObjC/2009-02-05-VolatileProp.m | 1 + clang/test/CodeGenObjC/2009-08-05-utf16.m | 1 + .../CodeGenObjC/2010-02-01-utf16-with-null.m | 1 + clang/test/CodeGenObjC/2010-03-17-StructRef.m | 2 +- clang/test/CodeGenObjC/arc-arm.m | 3 +- .../test/CodeGenObjC/arc-block-copy-escape.m | 2 + clang/test/CodeGenObjC/arc-blocks.m | 17 +- .../arc-captured-32bit-block-var-layout-2.m | 2 + .../arc-captured-32bit-block-var-layout.m | 2 + .../arc-captured-block-var-inlined-layout.m | 2 + .../arc-captured-block-var-layout.m | 2 + clang/test/CodeGenObjC/arc-compound-stmt.m | 1 + clang/test/CodeGenObjC/arc-cond-stmt.m | 1 + clang/test/CodeGenObjC/arc-exceptions.m | 2 +- clang/test/CodeGenObjC/arc-foreach.m | 3 + clang/test/CodeGenObjC/arc-i386.m | 3 +- clang/test/CodeGenObjC/arc-ivar-layout.m | 2 + .../arc-loadweakretained-release.m | 1 + clang/test/CodeGenObjC/arc-no-runtime.m | 1 + clang/test/CodeGenObjC/arc-precise-lifetime.m | 6 +- clang/test/CodeGenObjC/arc-property.m | 4 + clang/test/CodeGenObjC/arc-ternary-op.m | 1 + clang/test/CodeGenObjC/arc-unbridged-cast.m | 2 + clang/test/CodeGenObjC/arc-unopt.m | 1 + .../CodeGenObjC/arc-unoptimized-byref-var.m | 1 + clang/test/CodeGenObjC/arc-weak-property.m | 1 + clang/test/CodeGenObjC/arc-weak.m | 1 + clang/test/CodeGenObjC/arc-with-atthrow.m | 1 + clang/test/CodeGenObjC/arc.m | 25 +- .../arm-atomic-scalar-setter-getter.m | 1 + clang/test/CodeGenObjC/arm64-int32-ivar.m | 1 + .../CodeGenObjC/atomic-aggregate-property.m | 2 + .../auto-property-synthesize-protocol.m | 1 + clang/test/CodeGenObjC/autorelease.m | 3 + clang/test/CodeGenObjC/block-6.m | 1 + .../CodeGenObjC/block-byref-variable-layout.m | 2 + clang/test/CodeGenObjC/block-over-align.m | 1 + clang/test/CodeGenObjC/block-ptr-type-crash.m | 2 + clang/test/CodeGenObjC/block-var-layout.m | 3 + clang/test/CodeGenObjC/blocks-2.m | 2 +- clang/test/CodeGenObjC/blocks-4.m | 1 + clang/test/CodeGenObjC/blocks-5.m | 2 + clang/test/CodeGenObjC/blocks-ivar-debug.m | 1 + clang/test/CodeGenObjC/blocks.m | 4 + clang/test/CodeGenObjC/builtin-constant-p.m | 1 + .../CodeGenObjC/category-super-class-meth.m | 1 + clang/test/CodeGenObjC/class-type.m | 1 + clang/test/CodeGenObjC/complex-double-abi.m | 1 + clang/test/CodeGenObjC/complex-property.m | 2 + .../compound-literal-property-access.m | 1 + .../test/CodeGenObjC/constant-string-class.m | 1 + .../test/CodeGenObjC/debug-info-block-line.m | 1 + clang/test/CodeGenObjC/debug-info-blocks.m | 1 + clang/test/CodeGenObjC/debug-info-crash.m | 1 + .../debug-info-default-synth-ivar.m | 1 + .../test/CodeGenObjC/debug-info-getter-name.m | 2 + .../CodeGenObjC/debug-info-instancetype.m | 1 + .../CodeGenObjC/debug-info-lifetime-crash.m | 1 + .../debug-info-property-accessors.m | 2 + clang/test/CodeGenObjC/debug-info-selector.m | 1 + .../test/CodeGenObjC/debug-info-static-var.m | 1 + clang/test/CodeGenObjC/debug-property-synth.m | 1 + clang/test/CodeGenObjC/debuginfo-properties.m | 1 + .../CodeGenObjC/default-property-synthesis.m | 1 + .../CodeGenObjC/designated-initializers.m | 1 + clang/test/CodeGenObjC/dot-syntax-2.m | 1 + clang/test/CodeGenObjC/encode-cstyle-method.m | 1 + clang/test/CodeGenObjC/encode-test-6.m | 5 + clang/test/CodeGenObjC/encode-test.m | 2 + .../CodeGenObjC/exceptions-asm-attribute.m | 1 + .../test/CodeGenObjC/exceptions-nonfragile.m | 2 + clang/test/CodeGenObjC/exceptions.m | 7 +- .../extended-block-signature-encode.m | 1 + .../test/CodeGenObjC/extern-void-class-decl.m | 2 + clang/test/CodeGenObjC/for-in.m | 1 + clang/test/CodeGenObjC/forward-decl-param.m | 3 +- .../forward-protocol-metadata-symbols.m | 1 + clang/test/CodeGenObjC/gc-weak-attribute.m | 1 + .../CodeGenObjC/getter-property-mismatch.m | 1 + .../getter-property-type-mismatch.m | 1 + .../CodeGenObjC/instance-method-metadata.m | 2 + .../CodeGenObjC/ivar-base-as-invariant-load.m | 1 + .../CodeGenObjC/ivar-layout-array0-struct.m | 1 + .../CodeGenObjC/ivar-layout-flexible-array.m | 1 + .../CodeGenObjC/ivar-layout-nonfragile-abi2.m | 1 + clang/test/CodeGenObjC/ivars.m | 2 + clang/test/CodeGenObjC/local-static-block.m | 1 + clang/test/CodeGenObjC/messages-2.m | 1 + clang/test/CodeGenObjC/misc-atomic-property.m | 1 + clang/test/CodeGenObjC/mrr-autorelease.m | 2 + .../mrr-captured-block-var-inlined-layout.m | 2 + clang/test/CodeGenObjC/next-objc-dispatch.m | 2 + clang/test/CodeGenObjC/no-vararg-messaging.m | 1 + .../test/CodeGenObjC/ns_consume_null_check.m | 2 + clang/test/CodeGenObjC/null-check-bool-ret.m | 2 + .../test/CodeGenObjC/null-objc-empty-vtable.m | 1 + clang/test/CodeGenObjC/objc-alloc-init.m | 1 + .../CodeGenObjC/objc-asm-attribute-test.m | 2 + .../CodeGenObjC/objc-dictionary-literal.m | 1 + clang/test/CodeGenObjC/objc-literal-tests.m | 2 + .../CodeGenObjC/objc2-nonfragile-abi-impl.m | 1 + .../CodeGenObjC/objc2-protocol-metadata.m | 1 + .../objc2-strong-cast-block-import.m | 1 + .../test/CodeGenObjC/objc2-weak-ivar-debug.m | 1 + .../test/CodeGenObjC/objc2-write-barrier-5.m | 1 + .../CodeGenObjC/optimize-ivar-offset-load.m | 1 + .../CodeGenObjC/optimized-setter-ios-device.m | 1 + clang/test/CodeGenObjC/optimized-setter.m | 1 + clang/test/CodeGenObjC/os_log.m | 2 + clang/test/CodeGenObjC/overloadable.m | 1 + .../private-extern-selector-reference.m | 1 + clang/test/CodeGenObjC/property-agrr-getter.m | 1 + clang/test/CodeGenObjC/property-array-type.m | 1 + .../CodeGenObjC/property-ref-cast-to-void.m | 1 + .../CodeGenObjC/property-section-attribute.m | 1 + .../test/CodeGenObjC/property-type-mismatch.m | 1 + clang/test/CodeGenObjC/property.m | 2 + clang/test/CodeGenObjC/protocols.m | 1 + .../CodeGenObjC/reorder-synthesized-ivars.m | 1 + clang/test/CodeGenObjC/runtime-fns.m | 1 + clang/test/CodeGenObjC/sel-as-builtin-type.m | 1 + .../CodeGenObjC/selector-ref-invariance.m | 2 + clang/test/CodeGenObjC/simplify-exceptions.mm | 2 +- .../CodeGenObjC/stand-alone-implementation.m | 1 + clang/test/CodeGenObjC/stret-1.m | 1 + clang/test/CodeGenObjC/stret.m | 2 +- .../super-dotsyntax-struct-property.m | 2 + clang/test/CodeGenObjC/synthesize_ivar.m | 2 +- .../CodeGenObjC/tentative-cfconstantstring.m | 1 + clang/test/CodeGenObjC/terminate.m | 1 + clang/test/CodeGenObjC/try.m | 4 +- clang/test/CodeGenObjC/unoptimized-setter.m | 1 + clang/test/CodeGenObjC/unqual-copy-restore.m | 4 +- .../CodeGenObjC/weak-metaclass-visibility.m | 3 + clang/test/CodeGenObjCXX/arc-blocks.mm | 1 + .../CodeGenObjCXX/arc-cxx11-member-init.mm | 2 + clang/test/CodeGenObjCXX/arc-exceptions.mm | 3 +- .../arc-returns-inner-reference-ptr.mm | 1 + clang/test/CodeGenObjCXX/arc-weak.mm | 1 + clang/test/CodeGenObjCXX/arc.mm | 6 + .../CodeGenObjCXX/block-in-template-inst.mm | 1 + clang/test/CodeGenObjCXX/block-var-layout.mm | 3 + clang/test/CodeGenObjCXX/blocks.mm | 2 + clang/test/CodeGenObjCXX/catch-id-type.mm | 1 + clang/test/CodeGenObjCXX/copy.mm | 3 + .../CodeGenObjCXX/designated-initializers.mm | 2 +- clang/test/CodeGenObjCXX/destroy.mm | 1 + clang/test/CodeGenObjCXX/encode.mm | 4 + clang/test/CodeGenObjCXX/exception-cxx.mm | 1 + clang/test/CodeGenObjCXX/exceptions-legacy.mm | 2 + clang/test/CodeGenObjCXX/exceptions.mm | 1 + clang/test/CodeGenObjCXX/foreach-statement.mm | 1 + .../implementation-in-extern-c.mm | 1 + .../inheriting-constructor-cleanup.mm | 1 + clang/test/CodeGenObjCXX/ivar-objects.mm | 1 + .../test/CodeGenObjCXX/lambda-expressions.mm | 1 + clang/test/CodeGenObjCXX/lambda-to-block.mm | 1 + .../CodeGenObjCXX/lvalue-reference-getter.mm | 1 + clang/test/CodeGenObjCXX/mangle.mm | 3 + clang/test/CodeGenObjCXX/message-reference.mm | 1 + clang/test/CodeGenObjCXX/message.mm | 1 + clang/test/CodeGenObjCXX/nrvo.mm | 2 +- .../property-derived-to-base-conv.mm | 1 + clang/test/CodeGenObjCXX/property-dot-copy.mm | 2 + .../CodeGenObjCXX/property-dot-reference.mm | 2 + .../CodeGenObjCXX/property-lvalue-capture.mm | 1 + .../property-object-reference-1.mm | 1 + .../property-object-reference-2.mm | 1 + .../property-object-reference.mm | 1 + clang/test/CodeGenObjCXX/property-objects.mm | 3 + .../test/CodeGenObjCXX/property-reference.mm | 2 + .../refence-assign-write-barrier.mm | 1 + clang/test/CodeGenObjCXX/unknown-anytype.mm | 2 + .../write-barrier-global-assign.mm | 1 + clang/test/Coverage/targets.c | 2 +- clang/test/Driver/darwin-debug-flags.c | 2 + clang/test/Driver/darwin-max-type-align.c | 1 + clang/test/Driver/debug-options-as.c | 3 + clang/test/Driver/debug-options.c | 1 + clang/test/Driver/no-objc-arr.m | 1 + .../test/Driver/objc-sdk-migration-options.m | 1 + clang/test/FixIt/Inputs/nullability-objc.h | 2 + clang/test/FixIt/auto-fixit.m | 2 + clang/test/FixIt/auto-isa-fixit.m | 1 + clang/test/FixIt/bridge-cast-in-arc.mm | 9 +- clang/test/FixIt/fixit-autoreleasepool.m | 3 +- .../test/FixIt/fixit-class-method-messaging.m | 1 + clang/test/FixIt/fixit-interface-as-param.m | 7 +- .../FixIt/fixit-missing-method-return-type.m | 1 + .../test/FixIt/fixit-missing-self-in-block.m | 1 + .../FixIt/fixit-multiple-selector-warnings.m | 1 + clang/test/FixIt/fixit-newline-style.c | 1 + clang/test/FixIt/fixit-nsstring-compare.m | 7 +- clang/test/FixIt/fixit-objc-arc.m | 1 + .../FixIt/fixit-objc-bridge-related-attr.m | 17 +- .../fixit-objc-bridge-related-property.m | 5 +- clang/test/FixIt/fixit-objc-bridge-related.m | 17 +- .../fixit-objc-message-comma-separator.m | 3 +- clang/test/FixIt/fixit-objc.m | 2 + clang/test/FixIt/fixit-recursive-block.c | 4 +- clang/test/FixIt/fixit-static-object-decl.m | 1 + clang/test/FixIt/fixit.c | 2 + clang/test/FixIt/fixit.cpp | 2 +- clang/test/FixIt/multiarg-selector-fixit.m | 1 + clang/test/FixIt/no-macro-fixit.c | 1 + clang/test/FixIt/property-access-fixit.m | 1 + clang/test/FixIt/selector-fixit.m | 2 + clang/test/FixIt/typo-crash.m | 1 + clang/test/Frontend/dependency-gen.c | 1 + .../Frontend/dependency-generation-crash.c | 2 + clang/test/Frontend/objc-bool-is-bool.m | 2 + clang/test/Index/TestClassDecl.m | 2 +- clang/test/Index/TestClassForwardDecl.m | 2 +- .../annotate-comments-availability-attrs.cpp | 2 + clang/test/Index/annotate-comments-objc.m | 34 +- .../annotate-comments-property-accessor.m | 1 + clang/test/Index/annotate-comments-typedef.m | 1 + clang/test/Index/annotate-deep-statements.cpp | 1 + clang/test/Index/annotate-tokens.m | 738 +-- clang/test/Index/c-index-api-loadTU-test.m | 23 +- clang/test/Index/c-index-redecls.c | 3 +- clang/test/Index/cindex-on-invalid-usrs.m | 2 +- clang/test/Index/cindex-on-invalid.m | 7 +- clang/test/Index/codecompletion-chained.cpp | 7 +- clang/test/Index/comment-c-decls.c | 1 + clang/test/Index/comment-cplus-decls.cpp | 1 + .../Index/comment-cplus-template-decls.cpp | 1 + clang/test/Index/comment-cplus11-specific.cpp | 1 + clang/test/Index/comment-misc-tags.m | 3 + clang/test/Index/comment-objc-decls.m | 2 + .../Index/comment-to-html-xml-conversion.cpp | 2 + .../Index/comment-unqualified-objc-pointer.m | 1 + clang/test/Index/complete-block-properties.m | 15 +- .../complete-block-property-assignment.m | 22 +- clang/test/Index/complete-cached-globals.cpp | 2 + .../Index/complete-designated-initializer.m | 24 +- .../Index/complete-documentation-properties.m | 15 +- clang/test/Index/complete-method-decls.m | 1 + clang/test/Index/complete-module-undef.m | 3 +- clang/test/Index/complete-objc-message.m | 3 +- clang/test/Index/create-tu-fail.c | 1 + clang/test/Index/file-includes.c | 1 + clang/test/Index/headerfile-comment-to-html.m | 3 + clang/test/Index/index-decls.m | 28 +- clang/test/Index/index-file.cpp | 23 +- clang/test/Index/index-many-call-ops.cpp | 1 + clang/test/Index/index-many-logical-ops.c | 1 + clang/test/Index/initializer-memory.cpp | 2 +- clang/test/Index/local-symbols.m | 37 +- .../Index/overriding-ftemplate-comments.cpp | 2 +- .../test/Index/overriding-method-comments.mm | 2 +- .../test/Index/rdar12316296-codecompletion.m | 2 +- clang/test/Index/subclass-comment.mm | 1 + clang/test/Index/targeted-cursor.m | 1 + clang/test/Layout/ms_struct-bitfields.c | 2 + clang/test/Lexer/block_cmt_end.c | 2 +- clang/test/Lexer/comment-escape.c | 1 + clang/test/Lexer/constants.c | 1 + clang/test/Lexer/counter.c | 1 + clang/test/Lexer/ms-extensions.c | 1 + clang/test/Lexer/newline-eof.c | 1 + clang/test/Lexer/pragma-operators.cpp | 2 +- clang/test/Lexer/rdar-8914293.c | 1 + clang/test/Lexer/rdr-6096838-2.c | 1 + clang/test/Lexer/rdr-6096838.c | 1 + clang/test/Lexer/utf-16.c | 1 + clang/test/Misc/caret-diags-macros.c | 107 +- clang/test/Misc/emit-html.c | 2 + clang/test/Misc/predefines.c | 1 + clang/test/Modules/crashes.m | 1 + .../dependent-module-different-location.m | 2 +- clang/test/Modules/import-decl.cpp | 1 + clang/test/Modules/redecls.m | 1 + clang/test/Modules/self-import-header.m | 1 + clang/test/Modules/va_list.m | 2 + clang/test/PCH/__va_list_tag.c | 1 + clang/test/PCH/chain-categories2.m | 2 +- clang/test/PCH/crash-12631281.cpp | 1 + clang/test/PCH/cxx-templates.cpp | 4 +- clang/test/PCH/cxx-templates.h | 1 + clang/test/PCH/field-designator.c | 2 +- clang/test/PCH/format-strings.c | 2 + clang/test/PCH/friend-template.cpp | 1 + clang/test/PCH/irgen-rdar13114142.mm | 2 +- clang/test/PCH/macro-redef.c | 1 + clang/test/PCH/objc_import.m | 1 + clang/test/PCH/pending-ids.m | 1 + clang/test/PCH/rdar10830559.cpp | 2 + clang/test/PCH/single-token-macro.c | 2 + clang/test/Parser/asm-qualifiers.c | 1 + clang/test/Parser/asm.c | 5 +- clang/test/Parser/attr-availability.c | 1 + clang/test/Parser/attributes.c | 4 + clang/test/Parser/check-objc2-syntax-1.m | 1 + clang/test/Parser/check-syntax-1.m | 1 + clang/test/Parser/cxx-decl.cpp | 2 + clang/test/Parser/cxx-default-args.cpp | 1 + clang/test/Parser/cxx-member-crash.cpp | 2 + clang/test/Parser/cxx-template-decl.cpp | 1 + clang/test/Parser/cxx-typeof.cpp | 2 +- clang/test/Parser/declarators.c | 7 +- clang/test/Parser/goto.c | 3 +- clang/test/Parser/method-def-in-class.m | 1 + clang/test/Parser/missing-closing-rbrace.m | 1 + clang/test/Parser/missing-end-2.m | 1 + clang/test/Parser/missing-end-3.m | 1 + clang/test/Parser/missing-selector-name.mm | 1 + clang/test/Parser/objc-at-directive-fixit.m | 2 + clang/test/Parser/objc-boxing.m | 1 + .../Parser/objc-cxx-keyword-identifiers.mm | 2 + .../objc-error-qualified-implementation.m | 2 + clang/test/Parser/objc-init.m | 3 + clang/test/Parser/objc-messaging-1.m | 2 +- clang/test/Parser/objc-quirks.m | 2 + .../Parser/objcbridge-related-attribute.m | 1 + .../test/Parser/objcxx11-initialized-temps.mm | 1 + clang/test/Parser/recovery.c | 4 + clang/test/Parser/selector-1.m | 1 + clang/test/Parser/switch-recovery.cpp | 1 + clang/test/Parser/typeof.c | 1 + .../test/Preprocessor/_Pragma-in-macro-arg.c | 2 +- clang/test/Preprocessor/_Pragma.c | 1 + clang/test/Preprocessor/assembler-with-cpp.c | 3 + clang/test/Preprocessor/directive-invalid.c | 1 + clang/test/Preprocessor/expr_liveness.c | 1 + clang/test/Preprocessor/has_attribute.c | 1 + clang/test/Preprocessor/if_warning.c | 1 + clang/test/Preprocessor/line-directive.c | 1 + clang/test/Preprocessor/macro_expand.c | 1 + clang/test/Preprocessor/macro_fn.c | 5 +- .../Preprocessor/macro_fn_disable_expand.c | 2 +- .../Preprocessor/macro_paste_msextensions.c | 2 +- clang/test/Preprocessor/pragma_diagnostic.c | 1 + .../pragma_diagnostic_sections.cpp | 2 + clang/test/Preprocessor/pragma_microsoft.c | 2 + clang/test/Preprocessor/pragma_sysheader.c | 3 +- clang/test/Preprocessor/warn-macro-unused.c | 1 + clang/test/Rewriter/blockcast3.mm | 1 + clang/test/Rewriter/blockstruct.m | 1 + clang/test/Rewriter/crash.m | 2 + .../test/Rewriter/inner-block-helper-funcs.mm | 1 + clang/test/Rewriter/line-generation-test.m | 9 +- clang/test/Rewriter/missing-dllimport.c | 2 +- clang/test/Rewriter/modern-write-bf-abi.mm | 1 + .../no-integrated-preprocessing-64bit.m | 1 + .../Rewriter/no-integrated-preprocessing.m | 1 + .../objc-bool-literal-check-modern.mm | 1 + .../Rewriter/objc-bool-literal-modern-1.mm | 2 + .../test/Rewriter/objc-bool-literal-modern.mm | 1 + clang/test/Rewriter/objc-modern-StretAPI-2.mm | 1 + clang/test/Rewriter/objc-modern-StretAPI-3.mm | 1 + clang/test/Rewriter/objc-modern-StretAPI.mm | 1 + .../Rewriter/objc-modern-class-init-hooks.mm | 1 + clang/test/Rewriter/objc-modern-class-init.mm | 1 + .../objc-modern-container-subscript.mm | 1 + .../Rewriter/objc-modern-fast-enumeration.mm | 1 + .../Rewriter/objc-modern-getclass-proto.mm | 1 + .../Rewriter/objc-modern-implicit-cast.mm | 1 + .../Rewriter/objc-modern-ivar-receiver-1.mm | 1 + .../test/Rewriter/objc-modern-linkage-spec.mm | 1 + .../objc-modern-metadata-visibility.mm | 1 + .../Rewriter/objc-modern-numeric-literal.mm | 1 + .../objc-modern-property-attributes.mm | 2 + .../Rewriter/objc-modern-property-bitfield.m | 1 + clang/test/Rewriter/property-dot-syntax.mm | 2 + clang/test/Rewriter/protocol-rewrite-1.m | 3 + clang/test/Rewriter/protocol-rewrite-2.m | 1 + clang/test/Rewriter/rewrite-anonymous-union.m | 1 + clang/test/Rewriter/rewrite-block-argument.m | 1 + clang/test/Rewriter/rewrite-block-consts.mm | 1 + .../test/Rewriter/rewrite-block-literal-1.mm | 4 +- clang/test/Rewriter/rewrite-block-literal.mm | 3 + clang/test/Rewriter/rewrite-block-pointer.mm | 6 + clang/test/Rewriter/rewrite-block-property.m | 1 + .../rewrite-byref-in-nested-blocks.mm | 3 + clang/test/Rewriter/rewrite-byref-vars.mm | 5 +- .../Rewriter/rewrite-captured-nested-bvar.c | 1 + .../test/Rewriter/rewrite-cast-ivar-access.mm | 2 + .../rewrite-cast-ivar-modern-access.mm | 1 + clang/test/Rewriter/rewrite-cast-to-bool.mm | 1 + .../Rewriter/rewrite-category-property.mm | 1 + clang/test/Rewriter/rewrite-eh.m | 1 + .../test/Rewriter/rewrite-elaborated-type.mm | 1 + clang/test/Rewriter/rewrite-extern-c.mm | 1 + clang/test/Rewriter/rewrite-foreach-6.m | 5 +- .../test/Rewriter/rewrite-foreach-in-block.mm | 1 + .../Rewriter/rewrite-foreach-protocol-id.m | 1 + clang/test/Rewriter/rewrite-forward-class.m | 1 + clang/test/Rewriter/rewrite-forward-class.mm | 2 + clang/test/Rewriter/rewrite-implementation.mm | 1 + .../test/Rewriter/rewrite-interface-locals.mm | 1 + clang/test/Rewriter/rewrite-ivar-use.m | 2 + clang/test/Rewriter/rewrite-line-directive.m | 1 + .../rewrite-local-externs-in-block.mm | 1 + .../test/Rewriter/rewrite-local-static-id.mm | 1 + clang/test/Rewriter/rewrite-message-expr.mm | 1 + .../Rewriter/rewrite-modern-array-literal.mm | 1 + .../rewrite-modern-atautoreleasepool.mm | 1 + .../Rewriter/rewrite-modern-block-consts.mm | 2 + clang/test/Rewriter/rewrite-modern-block.mm | 5 + .../rewrite-modern-captured-nested-bvar.mm | 1 + .../rewrite-modern-container-literal.mm | 1 + ...write-modern-default-property-synthesis.mm | 1 + .../rewrite-modern-extern-c-func-decl.mm | 7 +- .../test/Rewriter/rewrite-modern-ivar-use.mm | 1 + clang/test/Rewriter/rewrite-modern-ivars-2.mm | 2 + .../Rewriter/rewrite-modern-private-ivars.mm | 1 + .../Rewriter/rewrite-modern-protocol-1.mm | 1 + .../Rewriter/rewrite-modern-qualified-type.mm | 1 + .../Rewriter/rewrite-modern-struct-ivar-1.mm | 1 + .../Rewriter/rewrite-modern-struct-ivar.mm | 1 + clang/test/Rewriter/rewrite-modern-super.mm | 1 + .../Rewriter/rewrite-modern-synchronized.m | 1 + clang/test/Rewriter/rewrite-modern-throw.m | 1 + clang/test/Rewriter/rewrite-modern-typeof.mm | 2 + .../test/Rewriter/rewrite-nested-blocks-1.mm | 1 + .../test/Rewriter/rewrite-nested-blocks-2.mm | 1 + clang/test/Rewriter/rewrite-nested-blocks.mm | 3 + clang/test/Rewriter/rewrite-nested-ivar.mm | 2 + .../rewrite-nested-property-in-blocks.mm | 1 + clang/test/Rewriter/rewrite-no-nextline.mm | 1 + .../Rewriter/rewrite-property-attributes.mm | 1 + .../Rewriter/rewrite-property-set-cfstring.mm | 1 + .../Rewriter/rewrite-protocol-property.mm | 1 + .../Rewriter/rewrite-protocol-qualified.mm | 5 + clang/test/Rewriter/rewrite-qualified-id.mm | 1 + .../Rewriter/rewrite-rewritten-initializer.mm | 1 + clang/test/Rewriter/rewrite-super-message.mm | 1 + .../Rewriter/rewrite-trivial-constructor.mm | 1 + clang/test/Rewriter/rewrite-typeof.mm | 1 + .../test/Rewriter/rewrite-unique-block-api.mm | 1 + .../rewrite-user-defined-accessors.mm | 1 + clang/test/Rewriter/rewrite-vararg.m | 1 + .../test/Rewriter/unnamed-bf-modern-write.mm | 1 + clang/test/Sema/address_spaces.c | 2 + clang/test/Sema/anonymous-struct-union.c | 2 + clang/test/Sema/arm-neon-types.c | 4 +- clang/test/Sema/arm64-neon-args.c | 2 + clang/test/Sema/array-bounds-ptr-arith.c | 5 +- clang/test/Sema/array-init.c | 1 + clang/test/Sema/asm.c | 6 + .../test/Sema/atomic-requires-library-error.c | 1 + clang/test/Sema/attr-aligned.c | 2 + clang/test/Sema/attr-availability-android.c | 2 + clang/test/Sema/attr-availability-macosx.c | 2 + clang/test/Sema/attr-availability.c | 4 + clang/test/Sema/attr-deprecated-message.c | 1 + clang/test/Sema/attr-deprecated.c | 2 + clang/test/Sema/attr-format.c | 1 + clang/test/Sema/attr-section.c | 2 + clang/test/Sema/attr-unavailable-message.c | 3 + clang/test/Sema/attr-visibility.c | 1 + clang/test/Sema/attr-weak.c | 1 + clang/test/Sema/bitfield.c | 2 + clang/test/Sema/block-args.c | 3 + .../test/Sema/block-explicit-noreturn-type.c | 1 + clang/test/Sema/block-misc.c | 10 +- clang/test/Sema/block-return.c | 2 + clang/test/Sema/builtin-object-size.c | 4 +- clang/test/Sema/builtin_objc_msgSend.c | 1 + clang/test/Sema/builtins.c | 6 + clang/test/Sema/compare.c | 2 +- clang/test/Sema/complex-int.c | 1 + clang/test/Sema/compound-literal.c | 2 +- clang/test/Sema/const-eval-64.c | 1 + clang/test/Sema/const-eval.c | 5 +- clang/test/Sema/constant-conversion.c | 1 + clang/test/Sema/conversion-64-32.c | 2 + clang/test/Sema/conversion.c | 9 +- clang/test/Sema/crash-invalid-array.c | 1 + clang/test/Sema/decl-invalid.c | 3 + clang/test/Sema/enum.c | 5 + clang/test/Sema/expr-comma-c99.c | 1 + clang/test/Sema/expr-comma.c | 1 + clang/test/Sema/exprs.c | 8 + clang/test/Sema/ext_vector_casts.c | 2 + clang/test/Sema/extern-redecl.c | 2 + clang/test/Sema/format-strings.c | 14 +- clang/test/Sema/function-redecl.c | 1 + clang/test/Sema/function.c | 4 +- clang/test/Sema/i-c-e.c | 4 +- clang/test/Sema/implicit-int.c | 1 + clang/test/Sema/init.c | 6 +- clang/test/Sema/initialize-noreturn.c | 1 + clang/test/Sema/inline-redef.c | 2 +- clang/test/Sema/invalid-cast.cpp | 2 +- clang/test/Sema/invalid-decl.c | 2 + clang/test/Sema/knr-def-call.c | 1 + clang/test/Sema/many-logical-ops.c | 1 + clang/test/Sema/memset-invalid-1.c | 1 + clang/test/Sema/merge-decls.c | 1 + .../no-documentation-warn-tagdecl-specifier.c | 1 + .../test/Sema/no-format-y2k-turnsoff-format.c | 1 + clang/test/Sema/non-null-warning.c | 1 + clang/test/Sema/nonnull.c | 2 + .../test/Sema/nowarn-documentation-property.m | 1 + clang/test/Sema/offsetof.c | 1 + .../test/Sema/outof-range-constant-compare.c | 1 + .../Sema/overloaded-func-transparent-union.c | 1 + clang/test/Sema/pointer-subtract-compat.c | 1 + clang/test/Sema/pragma-ms_struct.c | 1 + clang/test/Sema/pragma-pack-4.c | 1 + clang/test/Sema/pragma-pack-5.c | 2 +- clang/test/Sema/pragma-unused.c | 1 + clang/test/Sema/predef.c | 2 +- clang/test/Sema/redefinition.c | 2 + clang/test/Sema/return-noreturn.c | 1 + clang/test/Sema/scope-check.c | 1 + clang/test/Sema/self-comparison.c | 2 +- clang/test/Sema/statements.c | 1 + clang/test/Sema/stdcall-fastcall-x64.c | 1 + clang/test/Sema/stdcall-fastcall.c | 1 + clang/test/Sema/struct-decl.c | 3 +- clang/test/Sema/struct-packed-align.c | 1 + clang/test/Sema/switch-1.c | 3 + clang/test/Sema/switch.c | 3 + clang/test/Sema/tentative-decls.c | 2 + clang/test/Sema/type-spec-struct-union.c | 1 + clang/test/Sema/typedef-redef.c | 1 + clang/test/Sema/types.c | 6 + clang/test/Sema/typo-correction.c | 1 + clang/test/Sema/unused-expr.c | 3 + clang/test/Sema/varargs-x86-64.c | 1 + clang/test/Sema/varargs_unreachable.c | 4 +- .../test/Sema/variadic-incomplete-arg-type.c | 1 + clang/test/Sema/vector-cast.c | 1 + clang/test/Sema/vector-init.c | 1 + clang/test/Sema/warn-bad-function-cast.c | 1 + clang/test/Sema/warn-documentation-fixits.cpp | 7 +- clang/test/Sema/warn-documentation.cpp | 7 + clang/test/Sema/warn-documentation.m | 8 +- clang/test/Sema/warn-duplicate-enum.c | 1 + clang/test/Sema/warn-missing-prototypes.c | 1 + .../test/Sema/warn-outof-range-assign-enum.c | 1 + clang/test/Sema/warn-shadow.c | 2 + clang/test/Sema/warn-strict-prototypes.c | 1 + clang/test/Sema/warn-tautological-compare.c | 2 + clang/test/Sema/warn-unreachable.c | 5 +- clang/test/Sema/warn-unused-function.c | 2 + clang/test/Sema/warn-unused-value.c | 1 + clang/test/Sema/weak-import-on-enum.c | 1 + clang/test/SemaCXX/2008-01-11-BadWarning.cpp | 1 + .../SemaCXX/Inputs/override-system-header.h | 1 + clang/test/SemaCXX/abstract.cpp | 3 + clang/test/SemaCXX/alignof.cpp | 2 + clang/test/SemaCXX/anonymous-union.cpp | 3 + clang/test/SemaCXX/arrow-operator.cpp | 1 + clang/test/SemaCXX/attr-deprecated.cpp | 2 + clang/test/SemaCXX/attr-unavailable.cpp | 2 + .../SemaCXX/base-class-ambiguity-check.cpp | 2 +- clang/test/SemaCXX/blocks.cpp | 3 + clang/test/SemaCXX/builtin_objc_msgSend.cpp | 1 + clang/test/SemaCXX/builtins.cpp | 1 + .../SemaCXX/c99-variable-length-array.cpp | 2 +- clang/test/SemaCXX/constant-expression.cpp | 1 + .../test/SemaCXX/constructor-initializer.cpp | 3 +- clang/test/SemaCXX/constructor.cpp | 1 + clang/test/SemaCXX/conversion.cpp | 1 + clang/test/SemaCXX/copy-assignment.cpp | 2 +- clang/test/SemaCXX/crash-lambda-12645424.cpp | 2 +- clang/test/SemaCXX/crashes.cpp | 2 + .../SemaCXX/cxx0x-deleted-default-ctor.cpp | 1 + .../SemaCXX/cxx0x-initializer-constructor.cpp | 2 +- .../cxx11-call-to-deleted-constructor.cpp | 1 + clang/test/SemaCXX/cxx11-crashes.cpp | 2 + .../SemaCXX/cxx1z-init-statement-template.cpp | 1 + clang/test/SemaCXX/destructor.cpp | 1 + clang/test/SemaCXX/enum-scoped.cpp | 1 + clang/test/SemaCXX/enum.cpp | 1 + clang/test/SemaCXX/expressions.cpp | 1 + clang/test/SemaCXX/friend-out-of-line.cpp | 1 + clang/test/SemaCXX/function-extern-c.cpp | 1 + clang/test/SemaCXX/i-c-e-cxx.cpp | 1 + clang/test/SemaCXX/instantiate-blocks.cpp | 2 + clang/test/SemaCXX/lambda-expressions.cpp | 1 + clang/test/SemaCXX/linkage-spec.cpp | 2 + clang/test/SemaCXX/linkage.cpp | 2 +- clang/test/SemaCXX/lookup-member.cpp | 1 + clang/test/SemaCXX/member-init.cpp | 2 +- clang/test/SemaCXX/microsoft-super.cpp | 2 + clang/test/SemaCXX/ms_struct.cpp | 1 + clang/test/SemaCXX/neon-vector-types.cpp | 1 + clang/test/SemaCXX/nested-name-spec.cpp | 1 + clang/test/SemaCXX/new-delete.cpp | 2 + clang/test/SemaCXX/no-exceptions.cpp | 1 + .../no-warn-composite-pointer-type.cpp | 1 + .../SemaCXX/non-empty-class-size-zero.cpp | 1 + .../ns_returns_retained_block_return.cpp | 1 + clang/test/SemaCXX/overload-call.cpp | 1 + .../SemaCXX/override-in-system-header.cpp | 2 + clang/test/SemaCXX/pragma-visibility.cpp | 1 + clang/test/SemaCXX/reinterpret-cast.cpp | 1 + clang/test/SemaCXX/return.cpp | 1 + clang/test/SemaCXX/switch.cpp | 3 +- clang/test/SemaCXX/tag-ambig.cpp | 1 + clang/test/SemaCXX/undefined-internal.cpp | 1 + clang/test/SemaCXX/uninitialized.cpp | 3 +- clang/test/SemaCXX/unknown-anytype.cpp | 2 + clang/test/SemaCXX/unused.cpp | 1 + clang/test/SemaCXX/vararg-non-pod.cpp | 3 +- clang/test/SemaCXX/vector-casts.cpp | 1 + .../test/SemaCXX/warn-large-by-value-copy.cpp | 1 + clang/test/SemaCXX/warn-missing-noreturn.cpp | 5 +- clang/test/SemaCXX/warn-shadow.cpp | 4 +- .../SemaCXX/warn-static-function-inheader.cpp | 1 + clang/test/SemaCXX/warn-weak-vtables.cpp | 1 + clang/test/SemaCXX/wchar_t.cpp | 1 + .../SemaCXX/writable-strings-deprecated.cpp | 1 + clang/test/SemaCXX/zero-length-arrays.cpp | 1 + clang/test/SemaObjC/ClassPropertyNotObject.m | 1 + clang/test/SemaObjC/ContClassPropertyLookup.m | 1 + clang/test/SemaObjC/NSString-type.m | 1 + clang/test/SemaObjC/access-property-getter.m | 1 + clang/test/SemaObjC/arc-bridged-cast.m | 21 +- clang/test/SemaObjC/arc-cf.m | 1 + clang/test/SemaObjC/arc-decls.m | 12 + clang/test/SemaObjC/arc-dict-bridged-cast.m | 5 +- clang/test/SemaObjC/arc-invalid.m | 2 + clang/test/SemaObjC/arc-jump-block.m | 2 + clang/test/SemaObjC/arc-no-runtime.m | 2 + clang/test/SemaObjC/arc-nsconsumed-errors.m | 1 + clang/test/SemaObjC/arc-objc-lifetime.m | 6 + .../arc-objcbridge-related-attribute.m | 1 + clang/test/SemaObjC/arc-peformselector.m | 1 + clang/test/SemaObjC/arc-property-decl-attrs.m | 8 + clang/test/SemaObjC/arc-property-lifetime.m | 8 + clang/test/SemaObjC/arc-property.m | 4 + .../SemaObjC/arc-readonly-property-ivar-1.m | 1 + .../SemaObjC/arc-readonly-property-ivar.m | 1 + clang/test/SemaObjC/arc-repeated-weak.mm | 2 + .../test/SemaObjC/arc-setter-property-match.m | 1 + clang/test/SemaObjC/arc-type-conversion.m | 1 + .../SemaObjC/arc-unavailable-for-weakref.m | 4 + .../arc-unavailable-system-function.m | 1 + clang/test/SemaObjC/arc-unbridged-cast.m | 3 + clang/test/SemaObjC/arc-unsafe-assigns.m | 1 + clang/test/SemaObjC/arc.m | 36 +- clang/test/SemaObjC/assign-rvalue-message.m | 1 + clang/test/SemaObjC/attr-availability-1.m | 7 +- clang/test/SemaObjC/attr-availability.m | 7 +- clang/test/SemaObjC/attr-deprecated.m | 5 + clang/test/SemaObjC/attr-designated-init.m | 3 + .../test/SemaObjC/attr-ns_returns_retained.m | 2 + clang/test/SemaObjC/attr-objc-gc.m | 1 + .../SemaObjC/bad-property-synthesis-crash.m | 1 + clang/test/SemaObjC/block-attr.m | 1 + .../test/SemaObjC/block-id-as-block-argtype.m | 1 + clang/test/SemaObjC/block-on-method-param.m | 1 + clang/test/SemaObjC/block-return.m | 1 + clang/test/SemaObjC/block-type-safety.m | 7 + clang/test/SemaObjC/blocks.m | 1 + clang/test/SemaObjC/boxing-illegal.m | 1 + .../test/SemaObjC/builtin_objc_assign_ivar.m | 1 + .../SemaObjC/builtin_objc_lib_functions.m | 2 + clang/test/SemaObjC/builtin_objc_msgSend.m | 2 + clang/test/SemaObjC/category-1.m | 11 +- ...heck-objcbridge-related-attribute-lookup.m | 1 + clang/test/SemaObjC/class-bitfield.m | 2 + .../class-extension-after-implementation.m | 1 + .../SemaObjC/class-extension-dup-methods.m | 1 + .../SemaObjC/class-message-protocol-lookup.m | 3 + clang/test/SemaObjC/class-property-access.m | 1 + clang/test/SemaObjC/class-proto-1.m | 1 + .../SemaObjC/class-protocol-method-match.m | 1 + clang/test/SemaObjC/class-unavail-warning.m | 2 + clang/test/SemaObjC/compare-qualified-class.m | 2 + clang/test/SemaObjC/comptypes-10.m | 2 + clang/test/SemaObjC/comptypes-legal.m | 1 + clang/test/SemaObjC/conditional-expr-4.m | 1 + clang/test/SemaObjC/conditional-expr-7.m | 1 + clang/test/SemaObjC/conditional-expr-8.m | 2 + .../test/SemaObjC/conflict-atomic-property.m | 1 + .../test/SemaObjC/conflict-nonfragile-abi2.m | 3 + clang/test/SemaObjC/continuation-class-err.m | 1 + .../SemaObjC/continuation-class-property.m | 4 + .../SemaObjC/crash-on-objc-bool-literal.m | 1 + clang/test/SemaObjC/dealloc.m | 7 +- .../SemaObjC/debugger-cast-result-to-id.m | 1 + clang/test/SemaObjC/debugger-support.m | 1 + clang/test/SemaObjC/default-synthesize-1.m | 3 + clang/test/SemaObjC/default-synthesize-2.m | 3 + clang/test/SemaObjC/default-synthesize-3.m | 5 + clang/test/SemaObjC/default-synthesize.m | 4 + .../test/SemaObjC/delay-parsing-cfunctions.m | 1 + .../SemaObjC/deprecate_function_containers.m | 2 + .../SemaObjC/deprecated-objc-introspection.m | 2 + .../SemaObjC/direct-synthesized-ivar-access.m | 2 + clang/test/SemaObjC/dist-object-modifiers.m | 1 + .../duplicate-property-class-extension.m | 1 + clang/test/SemaObjC/encode-typeof-test.m | 2 + clang/test/SemaObjC/enum-fixed-type.m | 3 + .../err-ivar-access-in-class-method.m | 1 + clang/test/SemaObjC/error-implicit-property.m | 1 + clang/test/SemaObjC/error-missing-getter.m | 3 + .../SemaObjC/error-outof-scope-property-use.m | 1 + clang/test/SemaObjC/exprs.m | 6 + clang/test/SemaObjC/foreach.m | 3 + clang/test/SemaObjC/format-cstrings-warning.m | 1 + clang/test/SemaObjC/format-ostrace-warning.m | 1 + clang/test/SemaObjC/format-strings-objc.m | 11 +- clang/test/SemaObjC/format-strings-oslog.m | 2 + clang/test/SemaObjC/forward-class-1.m | 1 + clang/test/SemaObjC/forward-class-redeclare.m | 1 + .../forward-protocol-incomplete-impl-warn.m | 1 + clang/test/SemaObjC/generic-selection.m | 1 + clang/test/SemaObjC/iboutlet.m | 4 + clang/test/SemaObjC/iboutletcollection-attr.m | 3 + clang/test/SemaObjC/id.m | 3 +- clang/test/SemaObjC/idiomatic-parentheses.m | 2 + .../ignore-qualifier-on-qualified-id.m | 1 + .../SemaObjC/illegal-nonarc-bridged-cast.m | 1 + .../test/SemaObjC/incomplete-implementation.m | 3 + clang/test/SemaObjC/instancetype.m | 1 + clang/test/SemaObjC/interface-1.m | 8 + clang/test/SemaObjC/interface-scope-2.m | 3 + clang/test/SemaObjC/invalid-code.m | 4 + .../SemaObjC/ivar-in-class-extension-error.m | 1 + clang/test/SemaObjC/ivar-lookup.m | 3 + clang/test/SemaObjC/message.m | 2 + clang/test/SemaObjC/method-attributes.m | 5 + clang/test/SemaObjC/method-bad-param.m | 2 + clang/test/SemaObjC/method-conflict-1.m | 6 +- clang/test/SemaObjC/method-conflict-2.m | 4 +- clang/test/SemaObjC/method-conflict.m | 1 + .../SemaObjC/method-in-class-extension-impl.m | 1 + clang/test/SemaObjC/method-lookup-3.m | 1 + clang/test/SemaObjC/method-lookup-5.m | 1 + clang/test/SemaObjC/method-prototype-scope.m | 2 + .../method-redecls-invalid-interface.m | 1 + clang/test/SemaObjC/method-sentinel-attr.m | 2 + clang/test/SemaObjC/method-typecheck-1.m | 1 + .../SemaObjC/method-undef-category-warn-1.m | 2 + clang/test/SemaObjC/method-undefined-warn-1.m | 2 + .../SemaObjC/mismatched-undefined-method.m | 1 + .../SemaObjC/missing-method-return-type.m | 1 + .../multiple-property-deprecated-decl.m | 1 + .../narrow-property-type-in-cont-class.m | 1 + clang/test/SemaObjC/nested-typedef-decl.m | 1 + clang/test/SemaObjC/no-ivar-access-control.m | 1 + .../SemaObjC/no-ivar-in-interface-block.m | 1 + .../test/SemaObjC/no-protocol-option-tests.m | 1 + clang/test/SemaObjC/no-warn-qual-mismatch.m | 1 + .../test/SemaObjC/no-warning-unavail-unimp.m | 2 + clang/test/SemaObjC/nonnull.h | 1 + clang/test/SemaObjC/nonnull.m | 2 + .../nowarn-superclass-method-mismatch.m | 1 + .../SemaObjC/ns-consumed-error-not-warning.m | 1 + .../ns_returns_retained_block_return.m | 1 + clang/test/SemaObjC/nsobject-attribute.m | 6 + clang/test/SemaObjC/nullability.m | 1 + clang/test/SemaObjC/nullable-weak-property.m | 2 + clang/test/SemaObjC/objc-array-literal.m | 3 + .../SemaObjC/objc-asm-attribute-neg-test.m | 1 + clang/test/SemaObjC/objc-buffered-methods.m | 1 + clang/test/SemaObjC/objc-cf-audited-warning.m | 1 + .../SemaObjC/objc-container-subscripting-3.m | 1 + .../objc-container-subscripting-attr.m | 1 + clang/test/SemaObjC/objc-dictionary-literal.m | 3 + .../objc-independent-class-attribute.m | 1 + clang/test/SemaObjC/objc-literal-nsnumber.m | 3 + .../SemaObjC/objc-mixed-bridge-attribute.m | 1 + .../SemaObjC/objc-qualified-property-lookup.m | 1 + .../test/SemaObjC/objcbridge-attribute-arc.m | 2 + clang/test/SemaObjC/objcbridge-attribute.m | 2 + .../SemaObjC/objcbridge-related-attribute.m | 1 + .../SemaObjC/objcbridgemutable-attribute.m | 1 + clang/test/SemaObjC/opaque-is-access-warn.m | 1 + clang/test/SemaObjC/opaque-is-access.m | 1 + clang/test/SemaObjC/override-nullability.m | 1 + .../overriding-property-in-class-extension.m | 1 + clang/test/SemaObjC/ovl-check.m | 2 +- .../test/SemaObjC/parameterized_classes_arc.m | 2 + .../SemaObjC/parameterized_classes_subst.m | 3 +- clang/test/SemaObjC/pedantic-dynamic-test.m | 1 + clang/test/SemaObjC/pragma-pack.m | 2 +- clang/test/SemaObjC/property-10.m | 1 + clang/test/SemaObjC/property-12.m | 2 + clang/test/SemaObjC/property-3.m | 1 + clang/test/SemaObjC/property-9-impl-method.m | 1 + clang/test/SemaObjC/property-9.m | 5 +- .../SemaObjC/property-ambiguous-synthesis.m | 1 + clang/test/SemaObjC/property-category-4.m | 2 + clang/test/SemaObjC/property-category-impl.m | 1 + clang/test/SemaObjC/property-choose-expr.m | 1 + .../SemaObjC/property-deprecated-warning.m | 2 + clang/test/SemaObjC/property-dot-receiver.m | 1 + clang/test/SemaObjC/property-impl-misuse.m | 2 + ...ty-implement-readonly-with-custom-setter.m | 1 + .../SemaObjC/property-in-class-extension-1.m | 2 + .../SemaObjC/property-in-class-extension.m | 2 + clang/test/SemaObjC/property-inherited.m | 5 +- clang/test/SemaObjC/property-lookup-in-id.m | 1 + clang/test/SemaObjC/property-missing.m | 1 + clang/test/SemaObjC/property-not-lvalue.m | 2 + .../property-ns-returns-not-retained-attr.m | 1 + clang/test/SemaObjC/property-ownership-attr.m | 1 + clang/test/SemaObjC/property-user-setter.m | 3 + clang/test/SemaObjC/property.m | 2 + clang/test/SemaObjC/protocol-archane.m | 2 + clang/test/SemaObjC/protocol-expr-neg-1.m | 1 + .../protocol-implementing-class-methods.m | 2 + clang/test/SemaObjC/protocol-warn.m | 1 + clang/test/SemaObjC/protocols.m | 2 + clang/test/SemaObjC/provisional-ivar-lookup.m | 1 + .../qualified-protocol-method-conflicts.m | 1 + clang/test/SemaObjC/rdar6248119.m | 2 + .../SemaObjC/rdr-6211479-array-property.m | 1 + clang/test/SemaObjC/receiver-forward-class.m | 1 + .../SemaObjC/related-result-type-inference.m | 5 + .../SemaObjC/resolve-method-in-global-pool.m | 3 + clang/test/SemaObjC/return.m | 3 +- clang/test/SemaObjC/scope-check.m | 2 + clang/test/SemaObjC/selector-1.m | 2 + clang/test/SemaObjC/selector-2.m | 1 + clang/test/SemaObjC/selector-3.m | 6 + clang/test/SemaObjC/selector-4.m | 1 + clang/test/SemaObjC/self-assign.m | 1 + clang/test/SemaObjC/self-declared-in-block.m | 3 + clang/test/SemaObjC/self-in-function.m | 1 + clang/test/SemaObjC/setter-dotsyntax.m | 1 + clang/test/SemaObjC/severe-syntax-error.m | 1 + clang/test/SemaObjC/sign-conversion.m | 2 + clang/test/SemaObjC/sizeof-interface.m | 3 + .../SemaObjC/special-dep-unavail-warning.m | 2 + .../SemaObjC/stand-alone-implementation.m | 1 + .../SemaObjC/subclassing-restricted-attr.m | 2 + .../super-class-protocol-conformance.m | 3 + clang/test/SemaObjC/super-dealloc-attribute.m | 4 + clang/test/SemaObjC/super-property-notation.m | 1 + clang/test/SemaObjC/super.m | 4 +- .../test/SemaObjC/synth-provisional-ivars-1.m | 1 + clang/test/SemaObjC/synthesized-ivar.m | 4 + clang/test/SemaObjC/tentative-property-decl.m | 1 + .../test/SemaObjC/typo-correction-subscript.m | 1 + clang/test/SemaObjC/typo-correction.m | 1 + .../SemaObjC/undef-arg-super-method-call.m | 1 + clang/test/SemaObjC/unguarded-availability.m | 1 + .../SemaObjC/unimplemented-protocol-prop.m | 1 + .../unqualified-to-qualified-class-warn.m | 2 + clang/test/SemaObjC/unsafe-perform-selector.m | 1 + .../SemaObjC/unused-backing-ivar-warning.m | 7 + clang/test/SemaObjC/unused.m | 3 + clang/test/SemaObjC/warn-called-once.m | 1 + clang/test/SemaObjC/warn-cast-of-sel-expr.m | 2 + .../warn-category-method-deprecated.m | 1 + .../warn-deprecated-implementations.m | 2 + clang/test/SemaObjC/warn-direct-ivar-access.m | 2 + .../SemaObjC/warn-explicit-call-initialize.m | 1 + .../warn-forward-class-attr-deprecated.m | 1 + .../SemaObjC/warn-implicit-atomic-property.m | 1 + .../warn-incompatible-builtin-types.m | 1 + .../warn-protocol-method-deprecated.m | 1 + .../SemaObjC/warn-retain-block-property.m | 21 +- clang/test/SemaObjC/warn-retain-cycle.m | 2 + .../SemaObjC/warn-strict-selector-match.m | 1 + .../SemaObjC/warning-missing-selector-name.m | 1 + clang/test/SemaObjC/weak-attr-ivar.m | 1 + clang/test/SemaObjC/weak-property.m | 1 + .../test/SemaObjC/x86-method-vector-values.m | 2 + .../nullability-consistency-system.h | 2 +- clang/test/SemaObjCXX/NSString-type.mm | 1 + .../SemaObjCXX/abstract-class-type-ivar.mm | 2 + clang/test/SemaObjCXX/arc-0x.mm | 6 +- clang/test/SemaObjCXX/arc-bool-conversion.mm | 1 + clang/test/SemaObjCXX/arc-bridged-cast.mm | 1 + .../test/SemaObjCXX/arc-nsconsumed-errors.mm | 1 + clang/test/SemaObjCXX/arc-objc-lifetime.mm | 4 + clang/test/SemaObjCXX/arc-overloading.mm | 1 + clang/test/SemaObjCXX/arc-type-conversion.mm | 2 + .../SemaObjCXX/arc-unavailable-for-weakref.mm | 2 + clang/test/SemaObjCXX/arc-unbridged-cast.mm | 4 + .../SemaObjCXX/argument-dependent-lookup.mm | 5 +- clang/test/SemaObjCXX/blocks.mm | 6 +- .../capturing-flexible-array-in-block.mm | 1 + .../conversion-to-objc-pointer-2.mm | 1 + .../SemaObjCXX/conversion-to-objc-pointer.mm | 1 + clang/test/SemaObjCXX/crash.mm | 3 + .../SemaObjCXX/cstyle-block-pointer-cast.mm | 1 + clang/test/SemaObjCXX/cxx1y-lambda.mm | 1 + clang/test/SemaObjCXX/cxxoperator-selector.mm | 1 + .../SemaObjCXX/debugger-cast-result-to-id.mm | 3 + .../SemaObjCXX/delay-parsing-cfunctions.mm | 1 + .../SemaObjCXX/delay-parsing-cplusfuncs.mm | 1 + .../SemaObjCXX/delay-parsing-func-tryblock.mm | 1 + clang/test/SemaObjCXX/expr-objcxx.mm | 1 + clang/test/SemaObjCXX/foreach-block.mm | 1 + clang/test/SemaObjCXX/foreach.mm | 3 + .../SemaObjCXX/fragile-abi-object-assign.m | 1 + clang/test/SemaObjCXX/instancetype.mm | 1 + clang/test/SemaObjCXX/ivar-construct.mm | 1 + clang/test/SemaObjCXX/linkage-spec.mm | 2 + clang/test/SemaObjCXX/literals.mm | 1 + clang/test/SemaObjCXX/message.mm | 2 + .../SemaObjCXX/missing-lhs-gun-extension.mm | 1 + clang/test/SemaObjCXX/namespace-lookup.mm | 1 + .../SemaObjCXX/objcbridge-attribute-arc.mm | 1 + clang/test/SemaObjCXX/objcbridge-attribute.mm | 1 + .../objcbridge-related-attribute.mm | 1 + .../test/SemaObjCXX/objcbridge-static-cast.mm | 1 + clang/test/SemaObjCXX/overload.mm | 1 + .../SemaObjCXX/parameterized_classes_arc.mm | 2 + clang/test/SemaObjCXX/propert-dot-error.mm | 2 + clang/test/SemaObjCXX/properties.mm | 7 + clang/test/SemaObjCXX/property-reference.mm | 4 + .../SemaObjCXX/property-synthesis-error.mm | 2 + .../test/SemaObjCXX/property-type-mismatch.mm | 1 + clang/test/SemaObjCXX/pseudo-destructor.mm | 1 + clang/test/SemaObjCXX/references.mm | 1 + clang/test/SemaObjCXX/typo-correction.mm | 4 + clang/test/SemaObjCXX/unknown-anytype.mm | 2 + clang/test/SemaObjCXX/void_to_obj.mm | 2 + .../SemaObjCXX/warn-implicit-self-in-block.mm | 1 + clang/test/SemaTemplate/class-template-id.cpp | 1 + .../SemaTemplate/constructor-template.cpp | 2 + clang/test/SemaTemplate/deduction.cpp | 1 + .../SemaTemplate/default-arguments-cxx0x.cpp | 3 + clang/test/SemaTemplate/instantiate-attr.cpp | 1 + .../test/SemaTemplate/instantiate-declref.cpp | 1 + .../SemaTemplate/instantiate-local-class.cpp | 4 +- .../SemaTemplate/partial-spec-instantiate.cpp | 2 + clang/test/SemaTemplate/pragma-ms_struct.cpp | 1 + clang/test/SemaTemplate/rdar9173693.cpp | 1 + clang/test/SemaTemplate/temp_arg_nontype.cpp | 1 + 1244 files changed, 9800 insertions(+), 7680 deletions(-) diff --git a/clang/lib/Analysis/CFG.cpp b/clang/lib/Analysis/CFG.cpp index 3f2367fafc88..ecbf05d61bac 100644 --- a/clang/lib/Analysis/CFG.cpp +++ b/clang/lib/Analysis/CFG.cpp @@ -2252,7 +2252,8 @@ CFGBlock *CFGBuilder::Visit(Stmt * S, AddStmtChoice asc, // FIXME: The expression inside a CXXDefaultArgExpr is owned by the // called function's declaration, not by the caller. If we simply add // this expression to the CFG, we could end up with the same Expr - // appearing multiple times. PR13385 + // appearing multiple times. + // PR13385 / // // It's likewise possible for multiple CXXDefaultInitExprs for the same // expression to be used in the same function (through aggregate diff --git a/clang/lib/Analysis/RetainSummaryManager.cpp b/clang/lib/Analysis/RetainSummaryManager.cpp index bc7974f2c3d3..8c997b645f15 100644 --- a/clang/lib/Analysis/RetainSummaryManager.cpp +++ b/clang/lib/Analysis/RetainSummaryManager.cpp @@ -301,6 +301,7 @@ const RetainSummary *RetainSummaryManager::getSummaryForObjCOrCFObject( std::string RetTyName = RetTy.getAsString(); if (FName == "pthread_create" || FName == "pthread_setspecific") { + // Part of: and . // This will be addressed better with IPA. return getPersistentStopSummary(); } else if(FName == "NSMakeCollectable") { @@ -310,6 +311,7 @@ const RetainSummary *RetainSummaryManager::getSummaryForObjCOrCFObject( : getPersistentStopSummary(); } else if (FName == "CMBufferQueueDequeueAndRetain" || FName == "CMBufferQueueDequeueIfDataReadyAndRetain") { + // Part of: . return getPersistentSummary(RetEffect::MakeOwned(ObjKind::CF), ScratchArgs, ArgEffect(DoNothing), @@ -322,11 +324,13 @@ const RetainSummary *RetainSummaryManager::getSummaryForObjCOrCFObject( FName == "IOServiceNameMatching" || FName == "IORegistryEntryIDMatching" || FName == "IOOpenFirmwarePathMatching"))) { + // Part of . (IOKit) // This should be addressed using a API table. return getPersistentSummary(RetEffect::MakeOwned(ObjKind::CF), ScratchArgs, ArgEffect(DoNothing), ArgEffect(DoNothing)); } else if (FName == "IOServiceGetMatchingService" || FName == "IOServiceGetMatchingServices") { + // FIXES: // This should be addressed using a API table. This strcmp is also // a little gross, but there is no need to super optimize here. ScratchArgs = AF.add(ScratchArgs, 1, ArgEffect(DecRef, ObjKind::CF)); @@ -335,12 +339,14 @@ const RetainSummary *RetainSummaryManager::getSummaryForObjCOrCFObject( ArgEffect(DoNothing), ArgEffect(DoNothing)); } else if (FName == "IOServiceAddNotification" || FName == "IOServiceAddMatchingNotification") { + // Part of . (IOKit) // This should be addressed using a API table. ScratchArgs = AF.add(ScratchArgs, 2, ArgEffect(DecRef, ObjKind::CF)); return getPersistentSummary(RetEffect::MakeNoRet(), ScratchArgs, ArgEffect(DoNothing), ArgEffect(DoNothing)); } else if (FName == "CVPixelBufferCreateWithBytes") { + // FIXES: // Eventually this can be improved by recognizing that the pixel // buffer passed to CVPixelBufferCreateWithBytes is released via // a callback and doing full IPA to make sure this is done correctly. @@ -351,6 +357,7 @@ const RetainSummary *RetainSummaryManager::getSummaryForObjCOrCFObject( ScratchArgs, ArgEffect(DoNothing), ArgEffect(DoNothing)); } else if (FName == "CGBitmapContextCreateWithData") { + // FIXES: // Eventually this can be improved by recognizing that 'releaseInfo' // passed to CGBitmapContextCreateWithData is released via // a callback and doing full IPA to make sure this is done correctly. @@ -358,6 +365,7 @@ const RetainSummary *RetainSummaryManager::getSummaryForObjCOrCFObject( return getPersistentSummary(RetEffect::MakeOwned(ObjKind::CF), ScratchArgs, ArgEffect(DoNothing), ArgEffect(DoNothing)); } else if (FName == "CVPixelBufferCreateWithPlanarBytes") { + // FIXES: // Eventually this can be improved by recognizing that the pixel // buffer passed to CVPixelBufferCreateWithPlanarBytes is released // via a callback and doing full IPA to make sure this is done @@ -378,9 +386,10 @@ const RetainSummary *RetainSummaryManager::getSummaryForObjCOrCFObject( ArgEffect(DoNothing), ArgEffect(DoNothing)); } else if (FName == "dispatch_set_context" || FName == "xpc_connection_set_context") { - // The analyzer currently doesn't have a good way to reason about the - // finalizer function for libdispatch. If we pass a context object that is - // memory managed, stop tracking it. + // - The analyzer currently doesn't have + // a good way to reason about the finalizer function for libdispatch. + // If we pass a context object that is memory managed, stop tracking it. + // - Same problem, but for XPC. // FIXME: this hack should possibly go away once we can handle // libdispatch and XPC finalizers. ScratchArgs = AF.add(ScratchArgs, 1, ArgEffect(StopTracking)); @@ -731,6 +740,7 @@ RetainSummaryManager::canEval(const CallExpr *CE, const FunctionDecl *FD, // It's okay to be a little sloppy here. if (FName == "CMBufferQueueDequeueAndRetain" || FName == "CMBufferQueueDequeueIfDataReadyAndRetain") { + // Part of: . // These are not retain. They just return something and retain it. return std::nullopt; } @@ -1233,6 +1243,7 @@ void RetainSummaryManager::InitializeMethodSummaries() { // FIXME: For now we opt for false negatives with NSWindow, as these objects // self-own themselves. However, they only do this once they are displayed. // Thus, we need to track an NSWindow's display status. + // This is tracked in . // See also http://llvm.org/bugs/show_bug.cgi?id=3714. const RetainSummary *NoTrackYet = getPersistentSummary(RetEffect::MakeNoRet(), ScratchArgs, @@ -1248,6 +1259,7 @@ void RetainSummaryManager::InitializeMethodSummaries() { // For NSNull, objects returned by +null are singletons that ignore // retain/release semantics. Just don't track them. + // addClassMethSummary("NSNull", "null", NoTrackYet); // Don't track allocated autorelease pools, as it is okay to prematurely diff --git a/clang/lib/CodeGen/CGObjCMac.cpp b/clang/lib/CodeGen/CGObjCMac.cpp index c3c1394d75e2..32f4f411347a 100644 --- a/clang/lib/CodeGen/CGObjCMac.cpp +++ b/clang/lib/CodeGen/CGObjCMac.cpp @@ -3329,7 +3329,7 @@ CGObjCCommonMac::EmitProtocolMethodTypes(Twine Name, struct _objc_method_list *instance_methods; struct _objc_method_list *class_methods; struct _objc_protocol_list *protocols; - uint32_t size; + uint32_t size; // struct _objc_property_list *instance_properties; struct _objc_property_list *class_properties; }; @@ -4492,7 +4492,8 @@ llvm::FunctionType *FragileHazards::GetAsmFnType() { indeterminate value. For the purposes of LLVM IR, it may be sufficient to make loads and stores within the @try (to variables declared outside the @try) volatile. This is necessary for - optimized correctness, but is not currently being done. + optimized correctness, but is not currently being done; this is + being tracked as rdar://problem/8160285 The basic framework for a @try-catch-finally is as follows: { @@ -5091,7 +5092,7 @@ enum ImageInfoFlags { eImageInfo_OptimizedByDyld = (1 << 3), // This flag is set by the dyld shared cache. // A flag indicating that the module has no instances of a @synthesize of a - // superclass variable. + // superclass variable. eImageInfo_CorrectedSynthesize = (1 << 4), // This flag is no longer set by clang. eImageInfo_ImageIsSimulated = (1 << 5), eImageInfo_ClassProperties = (1 << 6) diff --git a/clang/lib/CodeGen/CodeGenModule.cpp b/clang/lib/CodeGen/CodeGenModule.cpp index 1a9cfc21ba71..7dbe9d6c9ea0 100644 --- a/clang/lib/CodeGen/CodeGenModule.cpp +++ b/clang/lib/CodeGen/CodeGenModule.cpp @@ -5979,7 +5979,7 @@ CodeGenModule::GetAddrOfConstantCFString(const StringLiteral *Literal) { } // Note: -fwritable-strings doesn't make the backing store strings of - // CFStrings writable. + // CFStrings writable. (See ) auto *GV = new llvm::GlobalVariable(getModule(), C->getType(), /*isConstant=*/true, llvm::GlobalValue::PrivateLinkage, C, ".str"); diff --git a/clang/lib/Driver/ToolChains/Clang.cpp b/clang/lib/Driver/ToolChains/Clang.cpp index 1b791a7ab0b0..e2e36abcd178 100644 --- a/clang/lib/Driver/ToolChains/Clang.cpp +++ b/clang/lib/Driver/ToolChains/Clang.cpp @@ -5562,7 +5562,8 @@ void Clang::ConstructJob(Compilation &C, const JobAction &JA, } // Enable -mconstructor-aliases except on darwin, where we have to work around - // a linker bug, and CUDA device code, where aliases aren't supported. + // a linker bug (see ), and CUDA device code, where + // aliases aren't supported. if (!RawTriple.isOSDarwin() && !RawTriple.isNVPTX()) CmdArgs.push_back("-mconstructor-aliases"); diff --git a/clang/lib/Sema/SemaObjCProperty.cpp b/clang/lib/Sema/SemaObjCProperty.cpp index dd8bc0192697..7e5dc3a71cbb 100644 --- a/clang/lib/Sema/SemaObjCProperty.cpp +++ b/clang/lib/Sema/SemaObjCProperty.cpp @@ -2795,7 +2795,9 @@ void Sema::CheckObjCPropertyAttributes(Decl *PDecl, } // FIXME: Implement warning dependent on NSCopying being - // implemented. (Please trim this list while you are at it.) + // implemented. See also: + // + // (please trim this list while you are at it). } if (!(Attributes & ObjCPropertyAttribute::kind_copy) && diff --git a/clang/lib/StaticAnalyzer/Checkers/CheckSecuritySyntaxOnly.cpp b/clang/lib/StaticAnalyzer/Checkers/CheckSecuritySyntaxOnly.cpp index d63dc036f19b..18d575041ba7 100644 --- a/clang/lib/StaticAnalyzer/Checkers/CheckSecuritySyntaxOnly.cpp +++ b/clang/lib/StaticAnalyzer/Checkers/CheckSecuritySyntaxOnly.cpp @@ -219,6 +219,7 @@ void WalkAST::VisitForStmt(ForStmt *FS) { //===----------------------------------------------------------------------===// // Check: floating point variable used as loop counter. +// Originally: // Implements: CERT security coding advisory FLP-30. //===----------------------------------------------------------------------===// @@ -467,6 +468,7 @@ void WalkAST::checkCall_bzero(const CallExpr *CE, const FunctionDecl *FD) { //===----------------------------------------------------------------------===// // Check: Any use of 'gets' is insecure. +// Originally: // Implements (part of): 300-BSI (buildsecurityin.us-cert.gov) // CWE-242: Use of Inherently Dangerous Function //===----------------------------------------------------------------------===// @@ -846,6 +848,7 @@ bool WalkAST::checkCall_strCommon(const CallExpr *CE, const FunctionDecl *FD) { //===----------------------------------------------------------------------===// // Check: Linear congruent random number generators should not be used +// Originally: // CWE-338: Use of cryptographically weak prng //===----------------------------------------------------------------------===// @@ -889,6 +892,7 @@ void WalkAST::checkCall_rand(const CallExpr *CE, const FunctionDecl *FD) { //===----------------------------------------------------------------------===// // Check: 'random' should not be used +// Originally: //===----------------------------------------------------------------------===// void WalkAST::checkCall_random(const CallExpr *CE, const FunctionDecl *FD) { @@ -987,6 +991,7 @@ void WalkAST::checkMsg_decodeValueOfObjCType(const ObjCMessageExpr *ME) { //===----------------------------------------------------------------------===// // Check: Should check whether privileges are dropped successfully. +// Originally: //===----------------------------------------------------------------------===// void WalkAST::checkUncheckedReturnValue(CallExpr *CE) { diff --git a/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountDiagnostics.cpp b/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountDiagnostics.cpp index 688d3839cf13..379163e12787 100644 --- a/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountDiagnostics.cpp +++ b/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountDiagnostics.cpp @@ -786,8 +786,9 @@ RefLeakReportVisitor::getEndPath(BugReporterContext &BRC, assert(RV); if (RV->getKind() == RefVal::ErrorLeakReturned) { - // FIXME: "create" only applies to CF objects. Only "copy", "alloc", - // "retain" and "new" transfer ownership to the caller for NS objects. + // FIXME: Per comments in rdar://6320065, "create" only applies to CF + // objects. Only "copy", "alloc", "retain" and "new" transfer ownership + // to the caller for NS objects. const Decl *D = &EndN->getCodeDecl(); os << (isa(D) ? " is returned from a method " diff --git a/clang/lib/StaticAnalyzer/Core/CallEvent.cpp b/clang/lib/StaticAnalyzer/Core/CallEvent.cpp index 3d8a0575235c..195940e5e643 100644 --- a/clang/lib/StaticAnalyzer/Core/CallEvent.cpp +++ b/clang/lib/StaticAnalyzer/Core/CallEvent.cpp @@ -765,7 +765,7 @@ RuntimeDefinition CXXInstanceCall::getRuntimeDefinition() const { // the static type. However, because we currently don't update // DynamicTypeInfo when an object is cast, we can't actually be sure the // DynamicTypeInfo is up to date. This assert should be re-enabled once - // this is fixed. + // this is fixed. //assert(!MD->getParent()->isDerivedFrom(RD) && "Bad DynamicTypeInfo"); return {}; diff --git a/clang/lib/StaticAnalyzer/Core/ExprEngineObjC.cpp b/clang/lib/StaticAnalyzer/Core/ExprEngineObjC.cpp index 3d102a888383..8072531ef6fd 100644 --- a/clang/lib/StaticAnalyzer/Core/ExprEngineObjC.cpp +++ b/clang/lib/StaticAnalyzer/Core/ExprEngineObjC.cpp @@ -178,7 +178,7 @@ void ExprEngine::VisitObjCMessage(const ObjCMessageExpr *ME, // We could avoid dropping coverage by performing an explicit case split // on each method call -- but this would get very expensive. An alternative // would be to introduce lazy constraints. - // FIXME: This ignores many potential bugs. + // FIXME: This ignores many potential bugs (). // Revisit once we have lazier constraints. if (Msg->isInstanceMessage()) { SVal recVal = Msg->getReceiverSVal(); diff --git a/clang/test/ARCMT/GC-check-warn-nsalloc.m b/clang/test/ARCMT/GC-check-warn-nsalloc.m index 1c33de5b65b2..26ead5f6a090 100644 --- a/clang/test/ARCMT/GC-check-warn-nsalloc.m +++ b/clang/test/ARCMT/GC-check-warn-nsalloc.m @@ -1,6 +1,7 @@ // RUN: %clang_cc1 -arcmt-action=check -no-ns-alloc-error -triple x86_64-apple-darwin10 -fobjc-gc-only %s 2>&1 | grep 'warning: \[rewriter\] call returns pointer to GC managed memory' // RUN: %clang_cc1 -arcmt-action=check -no-ns-alloc-error -triple x86_64-apple-darwin10 -fobjc-gc-only -x objective-c++ %s 2>&1 | grep 'warning: \[rewriter\] call returns pointer to GC managed memory' // TODO: Investigate VerifyDiagnosticConsumer failures on these tests when using -verify. +// rdar://10532541 typedef unsigned NSUInteger; void *__strong NSAllocateCollectable(NSUInteger size, NSUInteger options); diff --git a/clang/test/ARCMT/GC-no-finalize-removal.m b/clang/test/ARCMT/GC-no-finalize-removal.m index 07a737c1b775..a8db819d90b8 100644 --- a/clang/test/ARCMT/GC-no-finalize-removal.m +++ b/clang/test/ARCMT/GC-no-finalize-removal.m @@ -77,6 +77,7 @@ __attribute__((objc_arc_weak_reference_unavailable)) } @end +// rdar://10532449 @interface rdar10532449 @property (assign) id assign_prop; @property (assign, readonly) id __strong strong_readonly_prop; diff --git a/clang/test/ARCMT/GC-no-finalize-removal.m.result b/clang/test/ARCMT/GC-no-finalize-removal.m.result index a2105b32fc75..b563d196ee65 100644 --- a/clang/test/ARCMT/GC-no-finalize-removal.m.result +++ b/clang/test/ARCMT/GC-no-finalize-removal.m.result @@ -85,6 +85,7 @@ __attribute__((objc_arc_weak_reference_unavailable)) } @end +// rdar://10532449 @interface rdar10532449 @property (strong) id assign_prop; @property (strong, readonly) id strong_readonly_prop; diff --git a/clang/test/ARCMT/GC.m b/clang/test/ARCMT/GC.m index 97723e89ed36..2c9ea9ca3324 100644 --- a/clang/test/ARCMT/GC.m +++ b/clang/test/ARCMT/GC.m @@ -77,6 +77,7 @@ __attribute__((objc_arc_weak_reference_unavailable)) } @end +// rdar://10532449 @interface rdar10532449 @property (assign) id assign_prop; @property (assign, readonly) id __strong strong_readonly_prop; diff --git a/clang/test/ARCMT/GC.m.result b/clang/test/ARCMT/GC.m.result index b60b07ac9c11..595ff23a7259 100644 --- a/clang/test/ARCMT/GC.m.result +++ b/clang/test/ARCMT/GC.m.result @@ -72,6 +72,7 @@ __attribute__((objc_arc_weak_reference_unavailable)) } @end +// rdar://10532449 @interface rdar10532449 @property (strong) id assign_prop; @property (strong, readonly) id strong_readonly_prop; diff --git a/clang/test/ARCMT/check-with-pch.m b/clang/test/ARCMT/check-with-pch.m index c2fda3b52cbc..c20646b68f24 100644 --- a/clang/test/ARCMT/check-with-pch.m +++ b/clang/test/ARCMT/check-with-pch.m @@ -2,6 +2,7 @@ // RUN: %clang_cc1 -include-pch %t.pch -arcmt-action=check -verify -triple x86_64-apple-darwin10 -fblocks -Werror %s // REQUIRES: x86-registered-target +// rdar://9601437 @interface I9601437 { __unsafe_unretained id x; } diff --git a/clang/test/ARCMT/checking.m b/clang/test/ARCMT/checking.m index 5bc456c6301c..0c69a7ffaad6 100644 --- a/clang/test/ARCMT/checking.m +++ b/clang/test/ARCMT/checking.m @@ -288,6 +288,7 @@ id test9(Test9 *v) { return [v init1]; } +// rdar://9491791 void rdar9491791(int p) { switch (p) { case 3:; @@ -301,10 +302,12 @@ void rdar9491791(int p) { #define RELEASE_MACRO(x) do { [x release]; } while(1) +// rdar://9504750 void rdar9504750(id p) { RELEASE_MACRO(p); // expected-error {{ARC forbids explicit message send of 'release'}} } +// rdar://8939557 @interface TestReadonlyProperty : NSObject @property(assign,readonly) NSObject *value; @end @@ -316,6 +319,7 @@ void rdar9504750(id p) { } @end +// rdar://9601437 @interface I9601437 { __unsafe_unretained id x; } diff --git a/clang/test/ARCMT/no-canceling-bridge-to-bridge-cast.m b/clang/test/ARCMT/no-canceling-bridge-to-bridge-cast.m index be4939495152..3e440d660c19 100644 --- a/clang/test/ARCMT/no-canceling-bridge-to-bridge-cast.m +++ b/clang/test/ARCMT/no-canceling-bridge-to-bridge-cast.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -arcmt-action=check -triple x86_64-apple-darwin10 -fsyntax-only -x objective-c -verify %s +// rdar://10387088 typedef const void * CFTypeRef; CFTypeRef CFBridgingRetain(id X); id CFBridgingRelease(CFTypeRef); diff --git a/clang/test/ARCMT/nonobjc-to-objc-cast-2.m b/clang/test/ARCMT/nonobjc-to-objc-cast-2.m index 391c636906d5..b8f562f8a42d 100644 --- a/clang/test/ARCMT/nonobjc-to-objc-cast-2.m +++ b/clang/test/ARCMT/nonobjc-to-objc-cast-2.m @@ -56,6 +56,7 @@ CFStringRef f3(void) { extern void NSLog(NSString *format, ...); +// rdar://13192395 void f4(NSString *s) { NSLog(@"%@", (CFStringRef)s); // expected-error {{cast of Objective-C pointer type 'NSString *' to C pointer type 'CFStringRef' (aka 'const struct __CFString *') requires a bridged cast}} \ // expected-note{{use __bridge to convert directly (no change in ownership)}} \ diff --git a/clang/test/ARCMT/objcmt-arc-cf-annotations.m b/clang/test/ARCMT/objcmt-arc-cf-annotations.m index ede11d05c4c2..6b394e3b33ea 100644 --- a/clang/test/ARCMT/objcmt-arc-cf-annotations.m +++ b/clang/test/ARCMT/objcmt-arc-cf-annotations.m @@ -608,6 +608,7 @@ void f17(int x, CFTypeRef p) { } @end +// int isFoo(char c); static void rdar_6659160(char *inkind, char *inname) @@ -681,10 +682,10 @@ void pr3820_DeallocAfterRelease(void) // message sent to released object } -// The problem here is that 'length' binds to '($0 - 1)' after '--length', but -// SimpleConstraintManager doesn't know how to reason about -// '($0 - 1) > constant'. As a temporary hack, we drop the value of '($0 - 1)' -// and conjure a new symbol. +// From . The problem here is that 'length' binds to +// '($0 - 1)' after '--length', but SimpleConstraintManager doesn't know how to +// reason about '($0 - 1) > constant'. As a temporary hack, we drop the value +// of '($0 - 1)' and conjure a new symbol. void rdar6704930(unsigned char *s, unsigned int length) { NSString* name = 0; if (s != 0) { @@ -715,6 +716,7 @@ void rdar6704930(unsigned char *s, unsigned int length) { } //===----------------------------------------------------------------------===// +// // One build of the analyzer accidentally stopped tracking the allocated // object after the 'retain'. //===----------------------------------------------------------------------===// @@ -747,8 +749,9 @@ void rdar6704930(unsigned char *s, unsigned int length) { @end //===----------------------------------------------------------------------===// -// clang checker fails to catch use-after-release +// clang checker fails to catch use-after-release //===----------------------------------------------------------------------===// + int rdar_6257780_Case1(void) { NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init]; NSArray *array = [NSArray array]; @@ -758,16 +761,18 @@ int rdar_6257780_Case1(void) { } //===----------------------------------------------------------------------===// -// Analyzer is confused about NSAutoreleasePool -allocWithZone:. +// Analyzer is confused about NSAutoreleasePool -allocWithZone:. //===----------------------------------------------------------------------===// + void rdar_10640253_autorelease_allocWithZone(void) { NSAutoreleasePool *pool = [[NSAutoreleasePool allocWithZone:(NSZone*)0] init]; (void) pool; } //===----------------------------------------------------------------------===// -// Checker should understand new/setObject:/release constructs +// Checker should understand new/setObject:/release constructs //===----------------------------------------------------------------------===// + void rdar_6866843(void) { NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init]; NSMutableDictionary* dictionary = [[NSMutableDictionary alloc] init]; @@ -783,8 +788,9 @@ void rdar_6866843(void) { //===----------------------------------------------------------------------===// -// Classes typedef-ed to CF objects should get the same treatment as CF objects +// Classes typedef-ed to CF objects should get the same treatment as CF objects //===----------------------------------------------------------------------===// + typedef CFTypeRef OtherRef; @interface RDar6877235 : NSObject {} @@ -802,8 +808,10 @@ typedef CFTypeRef OtherRef; @end //===----------------------------------------------------------------------===// -// false positive - init method returns an object owned by caller +// false positive - init method returns an object +// owned by caller //===----------------------------------------------------------------------===// + @interface RDar6320065 : NSObject { NSString *_foo; } @@ -844,8 +852,10 @@ int RDar6320065_test(void) { } //===----------------------------------------------------------------------===// -// -awakeAfterUsingCoder: returns an owned object and claims the receiver +// -awakeAfterUsingCoder: returns an owned object +// and claims the receiver //===----------------------------------------------------------------------===// + @interface RDar7129086 : NSObject {} @end @implementation RDar7129086 - (id)awakeAfterUsingCoder:(NSCoder *)aDecoder { @@ -855,8 +865,10 @@ int RDar6320065_test(void) { @end //===----------------------------------------------------------------------===// -// [NSData dataWithBytesNoCopy] does not return a retained object +// [NSData dataWithBytesNoCopy] does not return a +// retained object //===----------------------------------------------------------------------===// + @interface RDar6859457 : NSObject {} - (NSString*) NoCopyString; - (NSString*) noCopyString; @@ -897,6 +909,7 @@ static void PR4230_new(void) // Method name that has a null IdentifierInfo* for its first selector slot. // This test just makes sure that we handle it. //===----------------------------------------------------------------------===// + @interface TestNullIdentifier @end @@ -907,7 +920,8 @@ static void PR4230_new(void) @end //===----------------------------------------------------------------------===// -// don't flag leaks for return types that cannot be determined to be CF types +// don't flag leaks for return types that cannot be +// determined to be CF types //===----------------------------------------------------------------------===// // We don't know if 'struct s6893565' represents a Core Foundation type, so @@ -925,8 +939,9 @@ typedef struct s6893565* TD6893565; @end //===----------------------------------------------------------------------===// -// clang: false positives w/QC and CoreImage methods +// clang: false positives w/QC and CoreImage methods //===----------------------------------------------------------------------===// + void rdar6902710(QCView *view, QCRenderer *renderer, CIContext *context, NSString *str, CIImage *img, CGRect rect, CIFormat form, CGColorSpaceRef cs) { @@ -937,15 +952,19 @@ void rdar6902710(QCView *view, QCRenderer *renderer, CIContext *context, } //===----------------------------------------------------------------------===// -// -[CIContext createCGLayerWithSize:info:] misinterpreted by clang scan-build +// -[CIContext createCGLayerWithSize:info:] +// misinterpreted by clang scan-build //===----------------------------------------------------------------------===// + void rdar6945561(CIContext *context, CGSize size, CFDictionaryRef d) { [context createCGLayerWithSize:size info:d]; // expected-warning{{leak}} } //===----------------------------------------------------------------------===// -// Add knowledge of IOKit functions to retain/release checker. +// add knowledge of IOKit functions to retain/release +// checker //===----------------------------------------------------------------------===// + void IOBSDNameMatching_wrapper(mach_port_t mainPort, uint32_t options, const char * bsdName) { IOBSDNameMatching(mainPort, options, bsdName); // expected-warning{{leak}} } @@ -1001,8 +1020,10 @@ void IOServiceAddMatchingNotification_wrapper(IONotificationPortRef notifyPort, //===----------------------------------------------------------------------===// // Test of handling objects whose references "escape" to containers. //===----------------------------------------------------------------------===// + void CFDictionaryAddValue(CFMutableDictionaryRef, void *, void *); +// void rdar_6539791(CFMutableDictionaryRef y, void* key, void* val_key) { CFMutableDictionaryRef x = CFDictionaryCreateMutable(kCFAllocatorDefault, 1, &kCFTypeDictionaryKeyCallBacks, &kCFTypeDictionaryValueCallBacks); CFDictionaryAddValue(y, key, x); @@ -1016,6 +1037,7 @@ void rdar_6539791(CFMutableDictionaryRef y, void* key, void* val_key) { } } +// // Same issue, except with "AppendValue" functions. void rdar_6560661(CFMutableArrayRef x) { signed z = 1; @@ -1027,6 +1049,7 @@ void rdar_6560661(CFMutableArrayRef x) { CFRelease(value); // no-warning } +// // Same issue, excwept with "CFAttributeStringSetAttribute". void rdar_7152619(CFStringRef str) { CFAttributedStringRef string = CFAttributedStringCreate(kCFAllocatorDefault, str, 0); @@ -1086,13 +1109,14 @@ void rdar_7184450_pos(CGContextRef myContext, CGFloat x, CGPoint myStartPoint, } //===----------------------------------------------------------------------===// -// clang false positive: retained instance passed to thread in pthread_create -// marked as leak +// clang false positive: retained instance passed to +// thread in pthread_create marked as leak // // Until we have full IPA, the analyzer should stop tracking the reference // count of objects passed to pthread_create. // //===----------------------------------------------------------------------===// + struct _opaque_pthread_t {}; struct _opaque_pthread_attr_t {}; typedef struct _opaque_pthread_t *__darwin_pthread_t; @@ -1120,15 +1144,18 @@ void rdar_7299394_positive(pthread_attr_t *attr, pthread_t *thread) { } //===----------------------------------------------------------------------===// -// false positive with not understanding thread local storage +// false positive with not understanding thread +// local storage //===----------------------------------------------------------------------===// + void rdar11282706(pthread_key_t key) { NSNumber *number = [[NSNumber alloc] initWithInt:5]; // no-warning pthread_setspecific(key, (void*) number); } //===----------------------------------------------------------------------===// -// False leak associated with call to CVPixelBufferCreateWithBytes () +// False leak associated with call to +// CVPixelBufferCreateWithBytes () // // According to the Core Video Reference (ADC), CVPixelBufferCreateWithBytes and // CVPixelBufferCreateWithPlanarBytes can release (via a callback) the @@ -1136,6 +1163,7 @@ void rdar11282706(pthread_key_t key) { // the reference count for the objects passed for this argument. This // could be made smarter. //===----------------------------------------------------------------------===// + typedef int int32_t; typedef UInt32 FourCharCode; typedef FourCharCode OSType; @@ -1226,7 +1254,8 @@ CVReturn rdar_7283567_2(CFAllocatorRef allocator, size_t width, size_t height, } //===----------------------------------------------------------------------===// -// False leak associated with CGBitmapContextCreateWithData +// False leak associated with +// CGBitmapContextCreateWithData //===----------------------------------------------------------------------===// typedef uint32_t CGBitmapInfo; typedef void (*CGBitmapContextReleaseDataCallback)(void *releaseInfo, void *data); @@ -1251,13 +1280,14 @@ void rdar_7358899(void *data, } //===----------------------------------------------------------------------===// -// Allow 'new', 'copy', 'alloc', 'init' prefix to start before '_' when -// determining Cocoa fundamental rule. +// allow 'new', 'copy', 'alloc', 'init' prefix to +// start before '_' when determining Cocoa fundamental rule // // Previously the retain/release checker just skipped prefixes before the // first '_' entirely. Now the checker honors the prefix if it results in a // recognizable naming convention (e.g., 'new', 'init'). //===----------------------------------------------------------------------===// + @interface RDar7265711 {} - (id) new_stuff; @end @@ -1272,8 +1302,10 @@ void rdar7265711_b(RDar7265711 *x) { } //===----------------------------------------------------------------------===// -// clang thinks [NSCursor dragCopyCursor] returns a retained reference +// clang thinks [NSCursor dragCopyCursor] returns a +// retained reference //===----------------------------------------------------------------------===// + @interface NSCursor : NSObject + (NSCursor *)dragCopyCursor; @end @@ -1286,9 +1318,10 @@ void rdar7306898(void) { } //===----------------------------------------------------------------------===// -// Sending 'release', 'retain', etc. to a Class directly is not likely what the -// user intended. +// sending 'release', 'retain', etc. to a Class +// directly is not likely what the user intended //===----------------------------------------------------------------------===// + @interface RDar7252064 : NSObject @end void rdar7252064(void) { [RDar7252064 release]; // expected-warning{{The 'release' message should be sent to instances of class 'RDar7252064' and not the class directly}} @@ -1429,9 +1462,10 @@ CFDateRef returnsRetainedCFDate(void) { //===----------------------------------------------------------------------===// // Test that leaks post-dominated by "panic" functions are not reported. // -// Do not report a leak when post-dominated by a call to a noreturn or panic -// function. +// do not report a leak when post-dominated by a call +// to a noreturn or panic function //===----------------------------------------------------------------------===// + void panic(void) __attribute__((noreturn)); void panic_not_in_hardcoded_list(void) __attribute__((noreturn)); @@ -1459,9 +1493,9 @@ void test_panic_pos_2(int x) { if (x) panic(); if (!x) { - // This showed up previously where we silently missed checking the function - // type for noreturn. "panic()" is a hard-coded known panic function that - // isn't always noreturn. + // This showed up in , where we silently missed checking + // the function type for noreturn. "panic()" is a hard-coded known panic function + // that isn't always noreturn. panic_not_in_hardcoded_list(); } } @@ -1508,14 +1542,17 @@ void test_blocks_1_indirect_retain_via_call(void) { } @end -// Correcly handle Class<...> in Cocoa Conventions detector. +// - Correcly handle Class<...> in Cocoa Conventions +// detector. + @protocol Prot_R8272168 @end Class GetAClassThatImplementsProt_R8272168(void); void r8272168(void) { GetAClassThatImplementsProt_R8272168(); } -// Test case which in the past triggered a false positive. +// Test case for , which in the past triggered +// a false positive. @interface RDar8356342 - (NSDate*) rdar8356342:(NSDate *)inValue; @end @@ -1533,7 +1570,8 @@ void r8272168(void) { } @end -// This test case previously crashed because of a bug in BugReporter. +// - This test case previously crashed because +// of a bug in BugReporter. extern const void *CFDictionaryGetValue(CFDictionaryRef theDict, const void *key); typedef struct __CFError * CFErrorRef; extern const CFStringRef kCFErrorUnderlyingErrorKey; @@ -1555,15 +1593,16 @@ static void rdar_8724287(CFErrorRef error) } } -// Make sure the model applies cf_consumed correctly in argument positions -// besides the first. +// - Make sure the model applies cf_consumed +// correctly in argument positions besides the first. extern void *CFStringCreate(void); extern void rdar_9234108_helper(void *key, void * CF_CONSUMED value); void rdar_9234108(void) { rdar_9234108_helper(0, CFStringCreate()); } -// Make sure that objc_method_family works to override naming conventions. +// - Make sure that objc_method_family works +// to override naming conventions. struct TwoDoubles { double one; double two; @@ -1587,6 +1626,7 @@ void rdar9726279(void) { [value release]; } +// // Test camelcase support for CF conventions. While Core Foundation APIs // don't use camel casing, other code is allowed to use it. CFArrayRef camelcase_create_1(void) { @@ -1638,6 +1678,7 @@ CFArrayRef camel_copymachine(void) { return CFArrayCreateMutable(0, 10, &kCFTypeArrayCallBacks); // expected-warning {{leak}} } +// rdar://problem/8024350 @protocol F18P - (id) clone; @end @@ -1652,6 +1693,7 @@ CFArrayRef camel_copymachine(void) { } @end +// Radar 6582778. void rdar6582778(void) { CFAbsoluteTime t = CFAbsoluteTimeGetCurrent(); CFTypeRef vals[] = { CFDateCreate(0, t) }; // expected-warning {{leak}} @@ -1664,7 +1706,9 @@ void rdar6582778_2(void) { global = CFDateCreate(0, t); // no-warning } -// Test that objects passed to containers are marked "escaped". +// - Test that objects passed to containers +// are marked "escaped". + void rdar10232019(void) { NSMutableArray *array = [NSMutableArray array]; @@ -1687,6 +1731,7 @@ void rdar10232019_positive(void) { } // RetainCountChecker support for XPC. +// typedef void * xpc_object_t; xpc_object_t _CFXPCCreateXPCObjectFromCFObject(CFTypeRef cf); void xpc_release(xpc_object_t object); @@ -1992,8 +2037,9 @@ static int Cond; @end //===----------------------------------------------------------------------===// -// xpc_connection_set_finalizer_f +// xpc_connection_set_finalizer_f //===----------------------------------------------------------------------===// + typedef xpc_object_t xpc_connection_t; typedef void (*xpc_finalizer_t)(void *value); void xpc_connection_set_context(xpc_connection_t connection, void *ctx); diff --git a/clang/test/ARCMT/objcmt-arc-cf-annotations.m.result b/clang/test/ARCMT/objcmt-arc-cf-annotations.m.result index d4832f14be6a..33727329fe5e 100644 --- a/clang/test/ARCMT/objcmt-arc-cf-annotations.m.result +++ b/clang/test/ARCMT/objcmt-arc-cf-annotations.m.result @@ -650,6 +650,7 @@ void f17(int x, CFTypeRef p) { } @end +// int isFoo(char c); static void rdar_6659160(char *inkind, char *inname) @@ -723,10 +724,10 @@ void pr3820_DeallocAfterRelease(void) // message sent to released object } -// The problem here is that 'length' binds to '($0 - 1)' after '--length', but -// SimpleConstraintManager doesn't know how to reason about -// '($0 - 1) > constant'. As a temporary hack, we drop the value of '($0 - 1)' -// and conjure a new symbol. +// From . The problem here is that 'length' binds to +// '($0 - 1)' after '--length', but SimpleConstraintManager doesn't know how to +// reason about '($0 - 1) > constant'. As a temporary hack, we drop the value +// of '($0 - 1)' and conjure a new symbol. void rdar6704930(unsigned char *s, unsigned int length) { NSString* name = 0; if (s != 0) { @@ -757,6 +758,7 @@ void rdar6704930(unsigned char *s, unsigned int length) { } //===----------------------------------------------------------------------===// +// // One build of the analyzer accidentally stopped tracking the allocated // object after the 'retain'. //===----------------------------------------------------------------------===// @@ -789,8 +791,9 @@ void rdar6704930(unsigned char *s, unsigned int length) { @end //===----------------------------------------------------------------------===// -// clang checker fails to catch use-after-release +// clang checker fails to catch use-after-release //===----------------------------------------------------------------------===// + int rdar_6257780_Case1(void) { NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init]; NSArray *array = [NSArray array]; @@ -800,16 +803,18 @@ int rdar_6257780_Case1(void) { } //===----------------------------------------------------------------------===// -// Analyzer is confused about NSAutoreleasePool -allocWithZone:. +// Analyzer is confused about NSAutoreleasePool -allocWithZone:. //===----------------------------------------------------------------------===// + void rdar_10640253_autorelease_allocWithZone(void) { NSAutoreleasePool *pool = [[NSAutoreleasePool allocWithZone:(NSZone*)0] init]; (void) pool; } //===----------------------------------------------------------------------===// -// Checker should understand new/setObject:/release constructs +// Checker should understand new/setObject:/release constructs //===----------------------------------------------------------------------===// + void rdar_6866843(void) { NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init]; NSMutableDictionary* dictionary = [[NSMutableDictionary alloc] init]; @@ -825,8 +830,9 @@ void rdar_6866843(void) { //===----------------------------------------------------------------------===// -// Classes typedef-ed to CF objects should get the same treatment as CF objects +// Classes typedef-ed to CF objects should get the same treatment as CF objects //===----------------------------------------------------------------------===// + typedef CFTypeRef OtherRef; @interface RDar6877235 : NSObject {} @@ -844,8 +850,10 @@ typedef CFTypeRef OtherRef; @end //===----------------------------------------------------------------------===// -// false positive - init method returns an object owned by caller +// false positive - init method returns an object +// owned by caller //===----------------------------------------------------------------------===// + @interface RDar6320065 : NSObject { NSString *_foo; } @@ -886,8 +894,10 @@ int RDar6320065_test(void) { } //===----------------------------------------------------------------------===// -// -awakeAfterUsingCoder: returns an owned object and claims the receiver +// -awakeAfterUsingCoder: returns an owned object +// and claims the receiver //===----------------------------------------------------------------------===// + @interface RDar7129086 : NSObject {} @end @implementation RDar7129086 - (id)awakeAfterUsingCoder:(NSCoder *)aDecoder { @@ -897,8 +907,10 @@ int RDar6320065_test(void) { @end //===----------------------------------------------------------------------===// -// [NSData dataWithBytesNoCopy] does not return a retained object +// [NSData dataWithBytesNoCopy] does not return a +// retained object //===----------------------------------------------------------------------===// + @interface RDar6859457 : NSObject {} - (NSString*) NoCopyString; - (NSString*) noCopyString; @@ -939,6 +951,7 @@ static void PR4230_new(void) // Method name that has a null IdentifierInfo* for its first selector slot. // This test just makes sure that we handle it. //===----------------------------------------------------------------------===// + @interface TestNullIdentifier @end @@ -949,7 +962,8 @@ static void PR4230_new(void) @end //===----------------------------------------------------------------------===// -// don't flag leaks for return types that cannot be determined to be CF types +// don't flag leaks for return types that cannot be +// determined to be CF types //===----------------------------------------------------------------------===// // We don't know if 'struct s6893565' represents a Core Foundation type, so @@ -967,8 +981,9 @@ typedef struct s6893565* TD6893565; @end //===----------------------------------------------------------------------===// -// clang: false positives w/QC and CoreImage methods +// clang: false positives w/QC and CoreImage methods //===----------------------------------------------------------------------===// + void rdar6902710(QCView *view, QCRenderer *renderer, CIContext *context, NSString *str, CIImage *img, CGRect rect, CIFormat form, CGColorSpaceRef cs) { @@ -979,15 +994,19 @@ void rdar6902710(QCView *view, QCRenderer *renderer, CIContext *context, } //===----------------------------------------------------------------------===// -// -[CIContext createCGLayerWithSize:info:] misinterpreted by clang scan-build +// -[CIContext createCGLayerWithSize:info:] +// misinterpreted by clang scan-build //===----------------------------------------------------------------------===// + void rdar6945561(CIContext *context, CGSize size, CFDictionaryRef d) { [context createCGLayerWithSize:size info:d]; // expected-warning{{leak}} } //===----------------------------------------------------------------------===// -// Add knowledge of IOKit functions to retain/release checker. +// add knowledge of IOKit functions to retain/release +// checker //===----------------------------------------------------------------------===// + void IOBSDNameMatching_wrapper(mach_port_t mainPort, uint32_t options, const char * bsdName) { IOBSDNameMatching(mainPort, options, bsdName); // expected-warning{{leak}} } @@ -1043,8 +1062,10 @@ void IOServiceAddMatchingNotification_wrapper(IONotificationPortRef notifyPort, //===----------------------------------------------------------------------===// // Test of handling objects whose references "escape" to containers. //===----------------------------------------------------------------------===// + void CFDictionaryAddValue(CFMutableDictionaryRef, void *, void *); +// void rdar_6539791(CFMutableDictionaryRef y, void* key, void* val_key) { CFMutableDictionaryRef x = CFDictionaryCreateMutable(kCFAllocatorDefault, 1, &kCFTypeDictionaryKeyCallBacks, &kCFTypeDictionaryValueCallBacks); CFDictionaryAddValue(y, key, x); @@ -1058,6 +1079,7 @@ void rdar_6539791(CFMutableDictionaryRef y, void* key, void* val_key) { } } +// // Same issue, except with "AppendValue" functions. void rdar_6560661(CFMutableArrayRef x) { signed z = 1; @@ -1069,6 +1091,7 @@ void rdar_6560661(CFMutableArrayRef x) { CFRelease(value); // no-warning } +// // Same issue, excwept with "CFAttributeStringSetAttribute". void rdar_7152619(CFStringRef str) { CFAttributedStringRef string = CFAttributedStringCreate(kCFAllocatorDefault, str, 0); @@ -1128,13 +1151,14 @@ void rdar_7184450_pos(CGContextRef myContext, CGFloat x, CGPoint myStartPoint, } //===----------------------------------------------------------------------===// -// clang false positive: retained instance passed to thread in pthread_create -// marked as leak +// clang false positive: retained instance passed to +// thread in pthread_create marked as leak // // Until we have full IPA, the analyzer should stop tracking the reference // count of objects passed to pthread_create. // //===----------------------------------------------------------------------===// + struct _opaque_pthread_t {}; struct _opaque_pthread_attr_t {}; typedef struct _opaque_pthread_t *__darwin_pthread_t; @@ -1162,15 +1186,18 @@ void rdar_7299394_positive(pthread_attr_t *attr, pthread_t *thread) { } //===----------------------------------------------------------------------===// -// false positive with not understanding thread local storage +// false positive with not understanding thread +// local storage //===----------------------------------------------------------------------===// + void rdar11282706(pthread_key_t key) { NSNumber *number = [[NSNumber alloc] initWithInt:5]; // no-warning pthread_setspecific(key, (void*) number); } //===----------------------------------------------------------------------===// -// False leak associated with call to CVPixelBufferCreateWithBytes () +// False leak associated with call to +// CVPixelBufferCreateWithBytes () // // According to the Core Video Reference (ADC), CVPixelBufferCreateWithBytes and // CVPixelBufferCreateWithPlanarBytes can release (via a callback) the @@ -1178,6 +1205,7 @@ void rdar11282706(pthread_key_t key) { // the reference count for the objects passed for this argument. This // could be made smarter. //===----------------------------------------------------------------------===// + typedef int int32_t; typedef UInt32 FourCharCode; typedef FourCharCode OSType; @@ -1268,7 +1296,8 @@ CVReturn rdar_7283567_2(CFAllocatorRef allocator, size_t width, size_t height, } //===----------------------------------------------------------------------===// -// False leak associated with CGBitmapContextCreateWithData +// False leak associated with +// CGBitmapContextCreateWithData //===----------------------------------------------------------------------===// typedef uint32_t CGBitmapInfo; typedef void (*CGBitmapContextReleaseDataCallback)(void *releaseInfo, void *data); @@ -1293,13 +1322,14 @@ void rdar_7358899(void *data, } //===----------------------------------------------------------------------===// -// Allow 'new', 'copy', 'alloc', 'init' prefix to start before '_' when -// determining Cocoa fundamental rule. +// allow 'new', 'copy', 'alloc', 'init' prefix to +// start before '_' when determining Cocoa fundamental rule // // Previously the retain/release checker just skipped prefixes before the // first '_' entirely. Now the checker honors the prefix if it results in a // recognizable naming convention (e.g., 'new', 'init'). //===----------------------------------------------------------------------===// + @interface RDar7265711 {} - (id) new_stuff; @end @@ -1314,8 +1344,10 @@ void rdar7265711_b(RDar7265711 *x) { } //===----------------------------------------------------------------------===// -// clang thinks [NSCursor dragCopyCursor] returns a retained reference +// clang thinks [NSCursor dragCopyCursor] returns a +// retained reference //===----------------------------------------------------------------------===// + @interface NSCursor : NSObject + (NSCursor *)dragCopyCursor; @end @@ -1328,9 +1360,10 @@ void rdar7306898(void) { } //===----------------------------------------------------------------------===// -// Sending 'release', 'retain', etc. to a Class directly is not likely what the -// user intended. +// sending 'release', 'retain', etc. to a Class +// directly is not likely what the user intended //===----------------------------------------------------------------------===// + @interface RDar7252064 : NSObject @end void rdar7252064(void) { [RDar7252064 release]; // expected-warning{{The 'release' message should be sent to instances of class 'RDar7252064' and not the class directly}} @@ -1471,9 +1504,10 @@ CFDateRef returnsRetainedCFDate(void) { //===----------------------------------------------------------------------===// // Test that leaks post-dominated by "panic" functions are not reported. // -// Do not report a leak when post-dominated by a call to a noreturn or panic -// function. +// do not report a leak when post-dominated by a call +// to a noreturn or panic function //===----------------------------------------------------------------------===// + void panic(void) __attribute__((noreturn)); void panic_not_in_hardcoded_list(void) __attribute__((noreturn)); @@ -1501,9 +1535,9 @@ void test_panic_pos_2(int x) { if (x) panic(); if (!x) { - // This showed up previously where we silently missed checking the function - // type for noreturn. "panic()" is a hard-coded known panic function that - // isn't always noreturn. + // This showed up in , where we silently missed checking + // the function type for noreturn. "panic()" is a hard-coded known panic function + // that isn't always noreturn. panic_not_in_hardcoded_list(); } } @@ -1550,14 +1584,17 @@ void test_blocks_1_indirect_retain_via_call(void) { } @end -// Correcly handle Class<...> in Cocoa Conventions detector. +// - Correcly handle Class<...> in Cocoa Conventions +// detector. + @protocol Prot_R8272168 @end Class GetAClassThatImplementsProt_R8272168(void); void r8272168(void) { GetAClassThatImplementsProt_R8272168(); } -// Test case which in the past triggered a false positive. +// Test case for , which in the past triggered +// a false positive. @interface RDar8356342 - (NSDate*) rdar8356342:(NSDate *)inValue; @end @@ -1575,7 +1612,8 @@ void r8272168(void) { } @end -// This test case previously crashed because of a bug in BugReporter. +// - This test case previously crashed because +// of a bug in BugReporter. extern const void *CFDictionaryGetValue(CFDictionaryRef theDict, const void *key) CF_RETURNS_NOT_RETAINED; typedef struct __CFError * CFErrorRef; extern const CFStringRef kCFErrorUnderlyingErrorKey; @@ -1597,8 +1635,8 @@ static void rdar_8724287(CFErrorRef error) } } -// Make sure the model applies cf_consumed correctly in argument positions -// besides the first. +// - Make sure the model applies cf_consumed +// correctly in argument positions besides the first. CF_IMPLICIT_BRIDGING_ENABLED @@ -1611,7 +1649,8 @@ void rdar_9234108(void) { rdar_9234108_helper(0, CFStringCreate()); } -// Make sure that objc_method_family works to override naming conventions. +// - Make sure that objc_method_family works +// to override naming conventions. struct TwoDoubles { double one; double two; @@ -1635,6 +1674,7 @@ void rdar9726279(void) { [value release]; } +// // Test camelcase support for CF conventions. While Core Foundation APIs // don't use camel casing, other code is allowed to use it. CFArrayRef camelcase_create_1(void) { @@ -1686,6 +1726,7 @@ CFArrayRef camel_copymachine(void) { return CFArrayCreateMutable(0, 10, &kCFTypeArrayCallBacks); // expected-warning {{leak}} } +// rdar://problem/8024350 @protocol F18P - (id) clone; @end @@ -1700,6 +1741,7 @@ CFArrayRef camel_copymachine(void) { } @end +// Radar 6582778. void rdar6582778(void) { CFAbsoluteTime t = CFAbsoluteTimeGetCurrent(); CFTypeRef vals[] = { CFDateCreate(0, t) }; // expected-warning {{leak}} @@ -1712,7 +1754,9 @@ void rdar6582778_2(void) { global = CFDateCreate(0, t); // no-warning } -// Test that objects passed to containers are marked "escaped". +// - Test that objects passed to containers +// are marked "escaped". + void rdar10232019(void) { NSMutableArray *array = [NSMutableArray array]; @@ -1735,6 +1779,7 @@ void rdar10232019_positive(void) { } // RetainCountChecker support for XPC. +// typedef void * xpc_object_t; xpc_object_t _CFXPCCreateXPCObjectFromCFObject(CFTypeRef cf); void xpc_release(xpc_object_t object); @@ -2040,8 +2085,9 @@ static int Cond; @end //===----------------------------------------------------------------------===// -// xpc_connection_set_finalizer_f +// xpc_connection_set_finalizer_f //===----------------------------------------------------------------------===// + typedef xpc_object_t xpc_connection_t; typedef void (*xpc_finalizer_t)(void *value); void xpc_connection_set_context(xpc_connection_t connection, void *ctx); diff --git a/clang/test/ARCMT/objcmt-atomic-property.m b/clang/test/ARCMT/objcmt-atomic-property.m index 00b5e09c8e08..78ab3ec71596 100644 --- a/clang/test/ARCMT/objcmt-atomic-property.m +++ b/clang/test/ARCMT/objcmt-atomic-property.m @@ -177,6 +177,7 @@ DEPRECATED - (void)setXxxdelegateYYY:(id)delegate DEPRECATED; @end +// rdar://14987909 #define NS_AVAILABLE __attribute__((availability(macosx,introduced=10.0))) #define NORETURN __attribute__((noreturn)) #define ALIGNED __attribute__((aligned(16))) @@ -215,6 +216,7 @@ DEPRECATED @end +// rdar://15082818 @class NSMutableDictionary; @interface NSArray diff --git a/clang/test/ARCMT/objcmt-atomic-property.m.result b/clang/test/ARCMT/objcmt-atomic-property.m.result index c829a7aacb50..3378ff1e487f 100644 --- a/clang/test/ARCMT/objcmt-atomic-property.m.result +++ b/clang/test/ARCMT/objcmt-atomic-property.m.result @@ -154,6 +154,7 @@ DEPRECATED - (void)setXxxdelegateYYY:(id)delegate DEPRECATED; @end +// rdar://14987909 #define NS_AVAILABLE __attribute__((availability(macosx,introduced=10.0))) #define NORETURN __attribute__((noreturn)) #define ALIGNED __attribute__((aligned(16))) @@ -190,6 +191,7 @@ DEPRECATED @end +// rdar://15082818 @class NSMutableDictionary; @interface NSArray diff --git a/clang/test/ARCMT/objcmt-boxing.m b/clang/test/ARCMT/objcmt-boxing.m index 07ee68dda33b..c4b6f42b1bd5 100644 --- a/clang/test/ARCMT/objcmt-boxing.m +++ b/clang/test/ARCMT/objcmt-boxing.m @@ -100,6 +100,7 @@ void boxString() { static const char strarr[] = "coolbox"; s = [NSString stringWithUTF8String:strarr]; + // rdar://18080352 const char *utf8Bytes = "blah"; NSString *string1 = [NSString stringWithUTF8String:utf8Bytes]; NSString *string2 = [[NSString alloc] initWithUTF8String:utf8Bytes]; diff --git a/clang/test/ARCMT/objcmt-boxing.m.result b/clang/test/ARCMT/objcmt-boxing.m.result index a60b35900bf3..59fdb88d51a3 100644 --- a/clang/test/ARCMT/objcmt-boxing.m.result +++ b/clang/test/ARCMT/objcmt-boxing.m.result @@ -100,6 +100,7 @@ void boxString() { static const char strarr[] = "coolbox"; s = @(strarr); + // rdar://18080352 const char *utf8Bytes = "blah"; NSString *string1 = @(utf8Bytes); NSString *string2 = @(utf8Bytes); diff --git a/clang/test/ARCMT/objcmt-migrate-all.m b/clang/test/ARCMT/objcmt-migrate-all.m index 0aa66756b761..7ae898cf9cba 100644 --- a/clang/test/ARCMT/objcmt-migrate-all.m +++ b/clang/test/ARCMT/objcmt-migrate-all.m @@ -2,6 +2,7 @@ // RUN: %clang_cc1 -objcmt-migrate-all -mt-migrate-directory %t %s -x objective-c -fobjc-runtime-has-weak -fobjc-arc -triple x86_64-apple-darwin11 // RUN: c-arcmt-test -mt-migrate-directory %t | arcmt-test -verify-transformed-files %s.result // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fsyntax-only -x objective-c -fobjc-runtime-has-weak -fobjc-arc %s.result +// rdar://15396636 #ifndef NS_RETURNS_INNER_POINTER // defined in iOS 6 for sure #define NS_RETURNS_INNER_POINTER __attribute__((objc_returns_inner_pointer)) @@ -108,6 +109,7 @@ CF_IMPLICIT_BRIDGING_DISABLED - (JSObjectRef*)JSObject2; @end +// rdar://15044991 typedef void *SecTrustRef; @interface NSURLProtectionSpace diff --git a/clang/test/ARCMT/objcmt-migrate-all.m.result b/clang/test/ARCMT/objcmt-migrate-all.m.result index e0972875e11b..d2ee4090b28c 100644 --- a/clang/test/ARCMT/objcmt-migrate-all.m.result +++ b/clang/test/ARCMT/objcmt-migrate-all.m.result @@ -2,6 +2,7 @@ // RUN: %clang_cc1 -objcmt-migrate-all -mt-migrate-directory %t %s -x objective-c -fobjc-runtime-has-weak -fobjc-arc -triple x86_64-apple-darwin11 // RUN: c-arcmt-test -mt-migrate-directory %t | arcmt-test -verify-transformed-files %s.result // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fsyntax-only -x objective-c -fobjc-runtime-has-weak -fobjc-arc %s.result +// rdar://15396636 #ifndef NS_RETURNS_INNER_POINTER // defined in iOS 6 for sure #define NS_RETURNS_INNER_POINTER __attribute__((objc_returns_inner_pointer)) @@ -108,6 +109,7 @@ CF_IMPLICIT_BRIDGING_DISABLED @property (nonatomic, readonly) JSObjectRef *JSObject2; @end +// rdar://15044991 typedef void *SecTrustRef; @interface NSURLProtectionSpace diff --git a/clang/test/ARCMT/objcmt-ns-macros.m b/clang/test/ARCMT/objcmt-ns-macros.m index 902e765bead3..5bc390be58e1 100644 --- a/clang/test/ARCMT/objcmt-ns-macros.m +++ b/clang/test/ARCMT/objcmt-ns-macros.m @@ -214,6 +214,7 @@ typedef enum { Random6 } UIP8_3; +// rdar://15200602 #define NS_AVAILABLE_MAC(X) __attribute__((availability(macosx,introduced=X))) #define NS_ENUM_AVAILABLE_MAC(X) __attribute__((availability(macosx,introduced=X))) @@ -224,8 +225,10 @@ enum { } NS_ENUM_AVAILABLE_MAC(10.9); typedef NSInteger NSModalResponse NS_AVAILABLE_MAC(10.9); +// rdar://15201056 typedef NSUInteger FarFarAwayOptions; +// rdar://15200915 typedef NSUInteger FarAwayOptions; enum { NSWorkspaceLaunchAndPrint = 0x00000002, @@ -278,6 +281,7 @@ enum { FarFarAway2 = 1 << 2 }; +// rdar://15200915 typedef NS_OPTIONS(NSUInteger, NSWindowOcclusionState) { NSWindowOcclusionStateVisible = 1UL << 1, }; @@ -300,12 +304,14 @@ enum { NSWindowDocumentIconButton }; +// rdar://18262255 typedef enum : NSUInteger { ThingOne, ThingTwo, ThingThree, } Thing; +// rdar://18498539 typedef enum { one = 1 } NumericEnum; @@ -325,6 +331,7 @@ typedef enum { NumericEnum4; +// rdar://18532199 enum { UI8one = 1 @@ -357,6 +364,7 @@ enum }; typedef uint8_t UI8Type; +// rdar://19352510 typedef enum : NSInteger {zero} MyEnum; typedef enum : NSUInteger {two} MyEnumNSUInteger; @@ -372,6 +380,7 @@ typedef enum : unsigned long long { ll4 } MyEnumunsignedlonglong; +// rdar://19994496 typedef enum : int8_t {int8_one} MyOneEnum; typedef enum : int16_t { diff --git a/clang/test/ARCMT/objcmt-ns-macros.m.result b/clang/test/ARCMT/objcmt-ns-macros.m.result index d4c0870e8cdc..010782776736 100644 --- a/clang/test/ARCMT/objcmt-ns-macros.m.result +++ b/clang/test/ARCMT/objcmt-ns-macros.m.result @@ -205,6 +205,7 @@ typedef NS_ENUM(unsigned int, UIP8_3) { Random6 }; +// rdar://15200602 #define NS_AVAILABLE_MAC(X) __attribute__((availability(macosx,introduced=X))) #define NS_ENUM_AVAILABLE_MAC(X) __attribute__((availability(macosx,introduced=X))) @@ -214,8 +215,10 @@ typedef NS_ENUM(NSInteger, NSModalResponse) { NSModalResponseContinue = (-1002), } NS_ENUM_AVAILABLE_MAC(10.9); +// rdar://15201056 typedef NSUInteger FarFarAwayOptions; +// rdar://15200915 typedef NS_OPTIONS(NSUInteger, FarAwayOptions) { FarAway1 = 1 << 1, FarAway2 = 1 << 2 @@ -263,6 +266,7 @@ enum { FarFarAway2 = 1 << 2 }; +// rdar://15200915 typedef NS_OPTIONS(NSUInteger, NSWindowOcclusionState) { NSWindowOcclusionStateVisible = 1UL << 1, }; @@ -283,12 +287,14 @@ typedef NS_ENUM(NSUInteger, NSSelectionDirection) { // standard window buttons +// rdar://18262255 typedef NS_ENUM(NSUInteger, Thing) { ThingOne, ThingTwo, ThingThree, }; +// rdar://18498539 typedef NS_ENUM(unsigned int, NumericEnum) { one = 1 }; @@ -305,6 +311,7 @@ typedef NS_OPTIONS(unsigned int, NumericEnum4) { Four = 4 }; +// rdar://18532199 typedef NS_ENUM(int8_t, MyEnumeratedType) { UI8one = 1 @@ -333,6 +340,7 @@ typedef NS_ENUM(uint8_t, UI8Type) UIU8one = 1 }; +// rdar://19352510 typedef NS_ENUM(NSInteger, MyEnum) {zero}; typedef NS_ENUM(NSUInteger, MyEnumNSUInteger) {two}; @@ -348,6 +356,7 @@ typedef NS_ENUM(unsigned long long, MyEnumunsignedlonglong) { ll4 }; +// rdar://19994496 typedef NS_ENUM(int8_t, MyOneEnum) {int8_one}; typedef NS_ENUM(int16_t, Myint16_tEnum) { diff --git a/clang/test/ARCMT/objcmt-ns-nonatomic-iosonly.m b/clang/test/ARCMT/objcmt-ns-nonatomic-iosonly.m index 55a116c8ca5d..57b20415f969 100644 --- a/clang/test/ARCMT/objcmt-ns-nonatomic-iosonly.m +++ b/clang/test/ARCMT/objcmt-ns-nonatomic-iosonly.m @@ -8,6 +8,7 @@ #define AVAILABLE_WEBKIT_VERSION_3_0_AND_LATER #define DEPRECATED __attribute__((deprecated)) +// rdar://15442742 #if TARGET_OS_IPHONE #define NS_NONATOMIC_IOSONLY nonatomic #else @@ -183,6 +184,7 @@ DEPRECATED - (void)setXxxdelegateYYY:(id)delegate DEPRECATED; @end +// rdar://14987909 #define NS_AVAILABLE __attribute__((availability(macosx,introduced=10.0))) #define NORETURN __attribute__((noreturn)) #define ALIGNED __attribute__((aligned(16))) @@ -221,6 +223,7 @@ DEPRECATED @end +// rdar://15082818 @class NSMutableDictionary; @interface NSArray diff --git a/clang/test/ARCMT/objcmt-ns-nonatomic-iosonly.m.result b/clang/test/ARCMT/objcmt-ns-nonatomic-iosonly.m.result index 512deb12583a..8e9e3a0c21ca 100644 --- a/clang/test/ARCMT/objcmt-ns-nonatomic-iosonly.m.result +++ b/clang/test/ARCMT/objcmt-ns-nonatomic-iosonly.m.result @@ -8,6 +8,7 @@ #define AVAILABLE_WEBKIT_VERSION_3_0_AND_LATER #define DEPRECATED __attribute__((deprecated)) +// rdar://15442742 #if TARGET_OS_IPHONE #define NS_NONATOMIC_IOSONLY nonatomic #else @@ -160,6 +161,7 @@ DEPRECATED - (void)setXxxdelegateYYY:(id)delegate DEPRECATED; @end +// rdar://14987909 #define NS_AVAILABLE __attribute__((availability(macosx,introduced=10.0))) #define NORETURN __attribute__((noreturn)) #define ALIGNED __attribute__((aligned(16))) @@ -196,6 +198,7 @@ DEPRECATED @end +// rdar://15082818 @class NSMutableDictionary; @interface NSArray diff --git a/clang/test/ARCMT/objcmt-ns-returns-inner-pointer.m b/clang/test/ARCMT/objcmt-ns-returns-inner-pointer.m index 853d16dc7894..bff7d80b9414 100644 --- a/clang/test/ARCMT/objcmt-ns-returns-inner-pointer.m +++ b/clang/test/ARCMT/objcmt-ns-returns-inner-pointer.m @@ -108,6 +108,7 @@ CF_IMPLICIT_BRIDGING_DISABLED - (JSObjectRef*)JSObject2; @end +// rdar://15044991 typedef void *SecTrustRef; @interface NSURLProtectionSpace diff --git a/clang/test/ARCMT/objcmt-ns-returns-inner-pointer.m.result b/clang/test/ARCMT/objcmt-ns-returns-inner-pointer.m.result index c89c91eedce3..8048e06748aa 100644 --- a/clang/test/ARCMT/objcmt-ns-returns-inner-pointer.m.result +++ b/clang/test/ARCMT/objcmt-ns-returns-inner-pointer.m.result @@ -108,6 +108,7 @@ CF_IMPLICIT_BRIDGING_DISABLED - (JSObjectRef*)JSObject2 NS_RETURNS_INNER_POINTER; @end +// rdar://15044991 typedef void *SecTrustRef; @interface NSURLProtectionSpace diff --git a/clang/test/ARCMT/objcmt-property-availability.m b/clang/test/ARCMT/objcmt-property-availability.m index 37ba74f3346f..d499221a74cd 100644 --- a/clang/test/ARCMT/objcmt-property-availability.m +++ b/clang/test/ARCMT/objcmt-property-availability.m @@ -2,6 +2,7 @@ // RUN: %clang_cc1 -objcmt-migrate-readwrite-property -objcmt-migrate-readonly-property -mt-migrate-directory %t %s -x objective-c -fobjc-runtime-has-weak -fobjc-arc -triple x86_64-apple-darwin11 // RUN: c-arcmt-test -mt-migrate-directory %t | arcmt-test -verify-transformed-files %s.result // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fsyntax-only -x objective-c -fobjc-runtime-has-weak -fobjc-arc %s.result +// rdar://15300059 #define __NSi_7_0 introduced=7.0 diff --git a/clang/test/ARCMT/objcmt-property-availability.m.result b/clang/test/ARCMT/objcmt-property-availability.m.result index 3a212ac894c4..a5a45e37929c 100644 --- a/clang/test/ARCMT/objcmt-property-availability.m.result +++ b/clang/test/ARCMT/objcmt-property-availability.m.result @@ -2,6 +2,7 @@ // RUN: %clang_cc1 -objcmt-migrate-readwrite-property -objcmt-migrate-readonly-property -mt-migrate-directory %t %s -x objective-c -fobjc-runtime-has-weak -fobjc-arc -triple x86_64-apple-darwin11 // RUN: c-arcmt-test -mt-migrate-directory %t | arcmt-test -verify-transformed-files %s.result // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fsyntax-only -x objective-c -fobjc-runtime-has-weak -fobjc-arc %s.result +// rdar://15300059 #define __NSi_7_0 introduced=7.0 diff --git a/clang/test/ARCMT/objcmt-property-dot-syntax.m b/clang/test/ARCMT/objcmt-property-dot-syntax.m index ec75b5140e18..00426dcbdc33 100644 --- a/clang/test/ARCMT/objcmt-property-dot-syntax.m +++ b/clang/test/ARCMT/objcmt-property-dot-syntax.m @@ -5,10 +5,12 @@ @class NSString; +// rdar://19140267 @protocol NSObject @property (readonly, copy) NSString *description; @end +// rdar://18498572 @interface NSObject @end @interface P : NSObject @@ -45,6 +47,7 @@ P* fun(void); - (NSString *)description { return [super description]; } @end +// rdar://19140267 @interface Sub : P @end @@ -75,6 +78,7 @@ id testRdar19038838(Rdar19038838 *obj) { return [obj newItem]; } +// rdar://19381786 @interface rdar19381786 : NSObject { rdar19381786* obj; @@ -95,6 +99,7 @@ id testRdar19038838(Rdar19038838 *obj) { } @end +// rdar://19140114 int NSOnState; int ArrNSOnState[4]; @interface rdar19140114 : NSObject diff --git a/clang/test/ARCMT/objcmt-property-dot-syntax.m.result b/clang/test/ARCMT/objcmt-property-dot-syntax.m.result index 5153b0e658f6..43d86a821d7c 100644 --- a/clang/test/ARCMT/objcmt-property-dot-syntax.m.result +++ b/clang/test/ARCMT/objcmt-property-dot-syntax.m.result @@ -5,10 +5,12 @@ @class NSString; +// rdar://19140267 @protocol NSObject @property (readonly, copy) NSString *description; @end +// rdar://18498572 @interface NSObject @end @interface P : NSObject @@ -45,6 +47,7 @@ P* fun(void); - (NSString *)description { return super.description; } @end +// rdar://19140267 @interface Sub : P @end @@ -75,6 +78,7 @@ id testRdar19038838(Rdar19038838 *obj) { return obj.newItem; } +// rdar://19381786 @interface rdar19381786 : NSObject { rdar19381786* obj; @@ -95,6 +99,7 @@ id testRdar19038838(Rdar19038838 *obj) { } @end +// rdar://19140114 int NSOnState; int ArrNSOnState[4]; @interface rdar19140114 : NSObject diff --git a/clang/test/ARCMT/objcmt-property.m b/clang/test/ARCMT/objcmt-property.m index f2b722e66d96..1ea41093850d 100644 --- a/clang/test/ARCMT/objcmt-property.m +++ b/clang/test/ARCMT/objcmt-property.m @@ -70,6 +70,7 @@ typedef char BOOL; - (id) dataSource; +// rdar://15509831 - (id)delegate; - (id)xxxdelegateYYY; @@ -179,6 +180,7 @@ DEPRECATED - (void)setXxxdelegateYYY:(id)delegate DEPRECATED; @end +// rdar://14987909 #define NS_AVAILABLE __attribute__((availability(macosx,introduced=10.0))) #define NORETURN __attribute__((noreturn)) #define ALIGNED __attribute__((aligned(16))) @@ -217,6 +219,7 @@ DEPRECATED @end +// rdar://15082818 @class NSMutableDictionary; @interface NSArray @@ -228,6 +231,7 @@ DEPRECATED - (void) setMyFuncptr : (id (*)(id, NSArray *, NSMutableDictionary *)) bl; @end +// rdar://15231241 @interface rdar15231241 @property (nonatomic, readonly) double Ddelegate; @property (nonatomic, readonly) float Fdelegate; @@ -235,6 +239,7 @@ DEPRECATED @property (nonatomic, readonly) BOOL Bdelegate; @end +// rdar://19372798 @protocol NSObject @end @protocol MyProtocol - (id)readonlyProperty; diff --git a/clang/test/ARCMT/objcmt-property.m.result b/clang/test/ARCMT/objcmt-property.m.result index 610f027cee5c..58f8ce2e0715 100644 --- a/clang/test/ARCMT/objcmt-property.m.result +++ b/clang/test/ARCMT/objcmt-property.m.result @@ -61,6 +61,7 @@ typedef char BOOL; @property (nonatomic, assign) id dataSource; +// rdar://15509831 @property (nonatomic, readonly, assign) id delegate; @property (nonatomic, assign) id xxxdelegateYYY; @@ -156,6 +157,7 @@ DEPRECATED - (void)setXxxdelegateYYY:(id)delegate DEPRECATED; @end +// rdar://14987909 #define NS_AVAILABLE __attribute__((availability(macosx,introduced=10.0))) #define NORETURN __attribute__((noreturn)) #define ALIGNED __attribute__((aligned(16))) @@ -192,6 +194,7 @@ DEPRECATED @end +// rdar://15082818 @class NSMutableDictionary; @interface NSArray @@ -201,6 +204,7 @@ DEPRECATED @property (nonatomic) id (*MyFuncptr)(id, NSArray *, NSMutableDictionary *); @end +// rdar://15231241 @interface rdar15231241 @property (nonatomic, readonly) double Ddelegate; @property (nonatomic, readonly) float Fdelegate; @@ -208,6 +212,7 @@ DEPRECATED @property (nonatomic, readonly) BOOL Bdelegate; @end +// rdar://19372798 @protocol NSObject @end @protocol MyProtocol @property (nonatomic, readonly, strong) id readonlyProperty; diff --git a/clang/test/ARCMT/objcmt-protocol-conformance.m b/clang/test/ARCMT/objcmt-protocol-conformance.m index e9bb4ac12e6d..f4c8f5112a62 100644 --- a/clang/test/ARCMT/objcmt-protocol-conformance.m +++ b/clang/test/ARCMT/objcmt-protocol-conformance.m @@ -112,6 +112,7 @@ @implementation Test7 @end +// rdar://15515206 @interface BTLEBrowser @end diff --git a/clang/test/ARCMT/objcmt-protocol-conformance.m.result b/clang/test/ARCMT/objcmt-protocol-conformance.m.result index 987532544bc6..0322ab81d6af 100644 --- a/clang/test/ARCMT/objcmt-protocol-conformance.m.result +++ b/clang/test/ARCMT/objcmt-protocol-conformance.m.result @@ -112,6 +112,7 @@ @implementation Test7 @end +// rdar://15515206 @interface BTLEBrowser @end diff --git a/clang/test/ARCMT/objcmt-undefined-ns-macros.m b/clang/test/ARCMT/objcmt-undefined-ns-macros.m index 473b49589222..2e1fa51d04b8 100644 --- a/clang/test/ARCMT/objcmt-undefined-ns-macros.m +++ b/clang/test/ARCMT/objcmt-undefined-ns-macros.m @@ -2,6 +2,8 @@ // RUN: %clang_cc1 -fmodules -objcmt-migrate-ns-macros -mt-migrate-directory %t %s -x objective-c -fobjc-runtime-has-weak -fobjc-arc -triple x86_64-apple-darwin11 // RUN: c-arcmt-test -mt-migrate-directory %t | arcmt-test -verify-transformed-files %s.result +// rdar://18498550 + typedef long NSInteger; enum { UIViewNone = 0x0, diff --git a/clang/test/ARCMT/objcmt-undefined-ns-macros.m.result b/clang/test/ARCMT/objcmt-undefined-ns-macros.m.result index a6942e20795f..30277ac57d49 100644 --- a/clang/test/ARCMT/objcmt-undefined-ns-macros.m.result +++ b/clang/test/ARCMT/objcmt-undefined-ns-macros.m.result @@ -2,6 +2,8 @@ // RUN: %clang_cc1 -fmodules -objcmt-migrate-ns-macros -mt-migrate-directory %t %s -x objective-c -fobjc-runtime-has-weak -fobjc-arc -triple x86_64-apple-darwin11 // RUN: c-arcmt-test -mt-migrate-directory %t | arcmt-test -verify-transformed-files %s.result +// rdar://18498550 + typedef long NSInteger; #ifndef NS_ENUM @import Foundation; diff --git a/clang/test/Analysis/DeallocMissingRelease.m b/clang/test/Analysis/DeallocMissingRelease.m index 60945d8e42a2..91af2bd0a231 100644 --- a/clang/test/Analysis/DeallocMissingRelease.m +++ b/clang/test/Analysis/DeallocMissingRelease.m @@ -222,8 +222,8 @@ #endif @end -// 'myproperty' has kind 'assign' and thus the assignment through the setter -// does not perform a release. +// : 'myproperty' has kind 'assign' and thus the +// assignment through the setter does not perform a release. @interface MyObject : NSObject { id __unsafe_unretained _myproperty; diff --git a/clang/test/Analysis/DeallocUseAfterFreeErrors.m b/clang/test/Analysis/DeallocUseAfterFreeErrors.m index a7b6c8346140..c20aebc89c5c 100644 --- a/clang/test/Analysis/DeallocUseAfterFreeErrors.m +++ b/clang/test/Analysis/DeallocUseAfterFreeErrors.m @@ -18,6 +18,7 @@ typedef unsigned long NSUInteger; typedef struct objc_selector *SEL; //===------------------------------------------------------------------------=== +// // Check that 'self' is not referenced after calling '[super dealloc]'. @interface SuperDeallocThenReleaseIvarClass : NSObject { diff --git a/clang/test/Analysis/Inputs/expected-plists/edges-new.mm.plist b/clang/test/Analysis/Inputs/expected-plists/edges-new.mm.plist index 31b6286b4465..62cd52b7aa82 100644 --- a/clang/test/Analysis/Inputs/expected-plists/edges-new.mm.plist +++ b/clang/test/Analysis/Inputs/expected-plists/edges-new.mm.plist @@ -11121,12 +11121,12 @@ start - line419 + line420 col3 file0 - line419 + line420 col4 file0 @@ -11134,12 +11134,12 @@ end - line419 + line420 col7 file0 - line419 + line420 col7 file0 @@ -11151,7 +11151,7 @@ kindevent location - line419 + line420 col7 file0 @@ -11159,12 +11159,12 @@ - line419 + line420 col7 file0 - line419 + line420 col14 file0 @@ -11184,12 +11184,12 @@ start - line419 + line420 col7 file0 - line419 + line420 col7 file0 @@ -11197,12 +11197,12 @@ end - line420 + line421 col5 file0 - line420 + line421 col7 file0 @@ -11214,7 +11214,7 @@ kindevent location - line420 + line421 col5 file0 @@ -11222,12 +11222,12 @@ - line420 + line421 col5 file0 - line420 + line421 col10 file0 @@ -11247,12 +11247,12 @@ start - line420 + line421 col5 file0 - line420 + line421 col7 file0 @@ -11260,12 +11260,12 @@ end - line421 + line422 col5 file0 - line421 + line422 col5 file0 @@ -11281,12 +11281,12 @@ start - line421 + line422 col5 file0 - line421 + line422 col5 file0 @@ -11294,12 +11294,12 @@ end - line421 + line422 col8 file0 - line421 + line422 col8 file0 @@ -11311,7 +11311,7 @@ kindevent location - line421 + line422 col8 file0 @@ -11319,12 +11319,12 @@ - line421 + line422 col6 file0 - line421 + line422 col6 file0 @@ -11348,7 +11348,7 @@ issue_hash_function_offset3 location - line421 + line422 col8 file0 @@ -11356,10 +11356,10 @@ 0 - 418 419 420 421 + 422 @@ -11370,7 +11370,7 @@ kindevent location - line430 + line431 col8 file0 @@ -11378,24 +11378,24 @@ - line430 + line431 col8 file0 - line430 + line431 col10 file0 - line430 + line431 col14 file0 - line430 + line431 col40 file0 @@ -11419,7 +11419,7 @@ issue_hash_function_offset2 location - line430 + line431 col8 file0 @@ -11427,7 +11427,7 @@ 0 - 430 + 431 @@ -11442,12 +11442,12 @@ start - line429 + line430 col3 file0 - line429 + line430 col4 file0 @@ -11455,12 +11455,12 @@ end - line429 + line430 col7 file0 - line429 + line430 col21 file0 @@ -11472,7 +11472,7 @@ kindevent location - line429 + line430 col7 file0 @@ -11480,12 +11480,12 @@ - line429 + line430 col7 file0 - line429 + line430 col23 file0 @@ -11505,12 +11505,12 @@ start - line429 + line430 col7 file0 - line429 + line430 col21 file0 @@ -11518,12 +11518,12 @@ end - line430 + line431 col5 file0 - line430 + line431 col6 file0 @@ -11535,7 +11535,7 @@ kindevent location - line430 + line431 col14 file0 @@ -11543,12 +11543,12 @@ - line430 + line431 col14 file0 - line430 + line431 col40 file0 @@ -11568,12 +11568,12 @@ start - line430 + line431 col5 file0 - line430 + line431 col6 file0 @@ -11581,12 +11581,12 @@ end - line432 + line433 col9 file0 - line432 + line433 col9 file0 @@ -11598,7 +11598,7 @@ kindevent location - line432 + line433 col9 file0 @@ -11620,7 +11620,7 @@ issue_hash_function_offset2 location - line432 + line433 col9 file0 @@ -11628,10 +11628,10 @@ 0 - 428 429 430 - 432 + 431 + 433 @@ -11642,7 +11642,7 @@ kindevent location - line444 + line445 col10 file0 @@ -11650,12 +11650,12 @@ - line444 + line445 col10 file0 - line444 + line445 col12 file0 @@ -11675,12 +11675,12 @@ start - line444 + line445 col3 file0 - line444 + line445 col7 file0 @@ -11688,12 +11688,12 @@ end - line445 + line446 col5 file0 - line445 + line446 col8 file0 @@ -11709,12 +11709,12 @@ start - line445 + line446 col5 file0 - line445 + line446 col8 file0 @@ -11722,12 +11722,12 @@ end - line448 + line449 col5 file0 - line448 + line449 col5 file0 @@ -11743,12 +11743,12 @@ start - line448 + line449 col5 file0 - line448 + line449 col5 file0 @@ -11756,12 +11756,12 @@ end - line448 + line449 col24 file0 - line448 + line449 col24 file0 @@ -11773,7 +11773,7 @@ kindevent location - line448 + line449 col24 file0 @@ -11781,12 +11781,12 @@ - line448 + line449 col5 file0 - line448 + line449 col26 file0 @@ -11810,7 +11810,7 @@ issue_hash_function_offset11 location - line448 + line449 col24 file0 @@ -11818,12 +11818,12 @@ 0 - 437 - 444 + 438 445 446 447 448 + 449 @@ -11834,7 +11834,7 @@ kindevent location - line444 + line445 col10 file0 @@ -11842,12 +11842,12 @@ - line444 + line445 col10 file0 - line444 + line445 col12 file0 @@ -11867,12 +11867,12 @@ start - line444 + line445 col3 file0 - line444 + line445 col7 file0 @@ -11880,12 +11880,12 @@ end - line451 + line452 col3 file0 - line451 + line452 col5 file0 @@ -11901,12 +11901,12 @@ start - line451 + line452 col3 file0 - line451 + line452 col5 file0 @@ -11914,12 +11914,12 @@ end - line453 + line454 col5 file0 - line453 + line454 col8 file0 @@ -11935,12 +11935,12 @@ start - line453 + line454 col5 file0 - line453 + line454 col8 file0 @@ -11948,12 +11948,12 @@ end - line456 + line457 col5 file0 - line456 + line457 col6 file0 @@ -11969,12 +11969,12 @@ start - line456 + line457 col5 file0 - line456 + line457 col6 file0 @@ -11982,12 +11982,12 @@ end - line456 + line457 col10 file0 - line456 + line457 col14 file0 @@ -11999,7 +11999,7 @@ kindpop-up location - line456 + line457 col10 file0 @@ -12007,12 +12007,12 @@ - line456 + line457 col10 file0 - line456 + line457 col14 file0 @@ -12031,12 +12031,12 @@ start - line456 + line457 col10 file0 - line456 + line457 col14 file0 @@ -12044,12 +12044,12 @@ end - line458 + line459 col5 file0 - line458 + line459 col9 file0 @@ -12065,12 +12065,12 @@ start - line458 + line459 col5 file0 - line458 + line459 col9 file0 @@ -12078,12 +12078,12 @@ end - line459 + line460 col12 file0 - line459 + line460 col12 file0 @@ -12099,12 +12099,12 @@ start - line459 + line460 col12 file0 - line459 + line460 col12 file0 @@ -12112,12 +12112,12 @@ end - line452 + line453 col3 file0 - line452 + line453 col4 file0 @@ -12129,7 +12129,7 @@ kindevent location - line452 + line453 col3 file0 @@ -12137,12 +12137,12 @@ - line452 + line453 col3 file0 - line452 + line453 col4 file0 @@ -12162,12 +12162,12 @@ start - line452 + line453 col3 file0 - line452 + line453 col4 file0 @@ -12175,12 +12175,12 @@ end - line453 + line454 col5 file0 - line453 + line454 col8 file0 @@ -12196,12 +12196,12 @@ start - line453 + line454 col5 file0 - line453 + line454 col8 file0 @@ -12209,12 +12209,12 @@ end - line456 + line457 col5 file0 - line456 + line457 col6 file0 @@ -12230,12 +12230,12 @@ start - line456 + line457 col5 file0 - line456 + line457 col6 file0 @@ -12243,12 +12243,12 @@ end - line456 + line457 col10 file0 - line456 + line457 col14 file0 @@ -12260,7 +12260,7 @@ kindpop-up location - line456 + line457 col10 file0 @@ -12268,12 +12268,12 @@ - line456 + line457 col10 file0 - line456 + line457 col14 file0 @@ -12292,12 +12292,12 @@ start - line456 + line457 col10 file0 - line456 + line457 col14 file0 @@ -12305,12 +12305,12 @@ end - line457 + line458 col7 file0 - line457 + line458 col7 file0 @@ -12326,12 +12326,12 @@ start - line457 + line458 col7 file0 - line457 + line458 col7 file0 @@ -12339,12 +12339,12 @@ end - line457 + line458 col26 file0 - line457 + line458 col26 file0 @@ -12356,7 +12356,7 @@ kindevent location - line457 + line458 col26 file0 @@ -12364,12 +12364,12 @@ - line457 + line458 col7 file0 - line457 + line458 col28 file0 @@ -12393,7 +12393,7 @@ issue_hash_function_offset20 location - line457 + line458 col26 file0 @@ -12401,9 +12401,8 @@ 0 - 437 - 444 - 451 + 438 + 445 452 453 454 @@ -12412,6 +12411,7 @@ 457 458 459 + 460 @@ -12422,7 +12422,7 @@ kindevent location - line444 + line445 col10 file0 @@ -12430,12 +12430,12 @@ - line444 + line445 col10 file0 - line444 + line445 col12 file0 @@ -12455,12 +12455,12 @@ start - line444 + line445 col3 file0 - line444 + line445 col7 file0 @@ -12468,12 +12468,12 @@ end - line451 + line452 col3 file0 - line451 + line452 col5 file0 @@ -12489,12 +12489,12 @@ start - line451 + line452 col3 file0 - line451 + line452 col5 file0 @@ -12502,12 +12502,12 @@ end - line453 + line454 col5 file0 - line453 + line454 col8 file0 @@ -12523,12 +12523,12 @@ start - line453 + line454 col5 file0 - line453 + line454 col8 file0 @@ -12536,12 +12536,12 @@ end - line456 + line457 col5 file0 - line456 + line457 col6 file0 @@ -12557,12 +12557,12 @@ start - line456 + line457 col5 file0 - line456 + line457 col6 file0 @@ -12570,12 +12570,12 @@ end - line456 + line457 col10 file0 - line456 + line457 col14 file0 @@ -12587,7 +12587,7 @@ kindpop-up location - line456 + line457 col10 file0 @@ -12595,12 +12595,12 @@ - line456 + line457 col10 file0 - line456 + line457 col14 file0 @@ -12619,12 +12619,12 @@ start - line456 + line457 col10 file0 - line456 + line457 col14 file0 @@ -12632,12 +12632,12 @@ end - line458 + line459 col5 file0 - line458 + line459 col9 file0 @@ -12653,12 +12653,12 @@ start - line458 + line459 col5 file0 - line458 + line459 col9 file0 @@ -12666,12 +12666,12 @@ end - line459 + line460 col12 file0 - line459 + line460 col12 file0 @@ -12687,12 +12687,12 @@ start - line459 + line460 col12 file0 - line459 + line460 col12 file0 @@ -12700,12 +12700,12 @@ end - line461 + line462 col3 file0 - line461 + line462 col5 file0 @@ -12721,12 +12721,12 @@ start - line461 + line462 col3 file0 - line461 + line462 col5 file0 @@ -12734,12 +12734,12 @@ end - line461 + line462 col19 file0 - line461 + line462 col19 file0 @@ -12751,7 +12751,7 @@ kindevent location - line461 + line462 col19 file0 @@ -12759,12 +12759,12 @@ - line461 + line462 col19 file0 - line461 + line462 col26 file0 @@ -12780,7 +12780,7 @@ kindevent location - line461 + line462 col19 file0 @@ -12788,12 +12788,12 @@ - line461 + line462 col19 file0 - line461 + line462 col26 file0 @@ -12813,12 +12813,12 @@ start - line461 + line462 col19 file0 - line461 + line462 col19 file0 @@ -12826,12 +12826,12 @@ end - line462 + line463 col5 file0 - line462 + line463 col8 file0 @@ -12847,12 +12847,12 @@ start - line462 + line463 col5 file0 - line462 + line463 col8 file0 @@ -12860,12 +12860,12 @@ end - line463 + line464 col5 file0 - line463 + line464 col5 file0 @@ -12881,12 +12881,12 @@ start - line463 + line464 col5 file0 - line463 + line464 col5 file0 @@ -12894,12 +12894,12 @@ end - line463 + line464 col24 file0 - line463 + line464 col24 file0 @@ -12911,7 +12911,7 @@ kindevent location - line463 + line464 col24 file0 @@ -12919,12 +12919,12 @@ - line463 + line464 col5 file0 - line463 + line464 col26 file0 @@ -12948,7 +12948,7 @@ issue_hash_function_offset26 location - line463 + line464 col24 file0 @@ -12956,19 +12956,19 @@ 0 - 437 - 444 - 451 + 438 + 445 452 453 454 455 456 - 458 + 457 459 - 461 + 460 462 463 + 464 @@ -12979,7 +12979,7 @@ kindevent location - line444 + line445 col10 file0 @@ -12987,12 +12987,12 @@ - line444 + line445 col10 file0 - line444 + line445 col12 file0 @@ -13012,12 +13012,12 @@ start - line444 + line445 col3 file0 - line444 + line445 col7 file0 @@ -13025,12 +13025,12 @@ end - line451 + line452 col3 file0 - line451 + line452 col5 file0 @@ -13046,12 +13046,12 @@ start - line451 + line452 col3 file0 - line451 + line452 col5 file0 @@ -13059,12 +13059,12 @@ end - line453 + line454 col5 file0 - line453 + line454 col8 file0 @@ -13080,12 +13080,12 @@ start - line453 + line454 col5 file0 - line453 + line454 col8 file0 @@ -13093,12 +13093,12 @@ end - line456 + line457 col5 file0 - line456 + line457 col6 file0 @@ -13114,12 +13114,12 @@ start - line456 + line457 col5 file0 - line456 + line457 col6 file0 @@ -13127,12 +13127,12 @@ end - line456 + line457 col10 file0 - line456 + line457 col14 file0 @@ -13144,7 +13144,7 @@ kindpop-up location - line456 + line457 col10 file0 @@ -13152,12 +13152,12 @@ - line456 + line457 col10 file0 - line456 + line457 col14 file0 @@ -13176,12 +13176,12 @@ start - line456 + line457 col10 file0 - line456 + line457 col14 file0 @@ -13189,12 +13189,12 @@ end - line458 + line459 col5 file0 - line458 + line459 col9 file0 @@ -13210,12 +13210,12 @@ start - line458 + line459 col5 file0 - line458 + line459 col9 file0 @@ -13223,12 +13223,12 @@ end - line459 + line460 col12 file0 - line459 + line460 col12 file0 @@ -13244,12 +13244,12 @@ start - line459 + line460 col12 file0 - line459 + line460 col12 file0 @@ -13257,12 +13257,12 @@ end - line461 + line462 col3 file0 - line461 + line462 col5 file0 @@ -13278,12 +13278,12 @@ start - line461 + line462 col3 file0 - line461 + line462 col5 file0 @@ -13291,12 +13291,12 @@ end - line461 + line462 col19 file0 - line461 + line462 col19 file0 @@ -13308,7 +13308,7 @@ kindevent location - line461 + line462 col19 file0 @@ -13316,12 +13316,12 @@ - line461 + line462 col19 file0 - line461 + line462 col26 file0 @@ -13337,7 +13337,7 @@ kindevent location - line461 + line462 col19 file0 @@ -13345,12 +13345,12 @@ - line461 + line462 col19 file0 - line461 + line462 col26 file0 @@ -13370,12 +13370,12 @@ start - line461 + line462 col19 file0 - line461 + line462 col19 file0 @@ -13383,12 +13383,12 @@ end - line466 + line467 col3 file0 - line466 + line467 col5 file0 @@ -13400,7 +13400,7 @@ kindevent location - line466 + line467 col8 file0 @@ -13408,12 +13408,12 @@ - line466 + line467 col8 file0 - line466 + line467 col11 file0 @@ -13433,12 +13433,12 @@ start - line466 + line467 col3 file0 - line466 + line467 col5 file0 @@ -13446,12 +13446,12 @@ end - line467 + line468 col5 file0 - line467 + line468 col8 file0 @@ -13467,12 +13467,12 @@ start - line467 + line468 col5 file0 - line467 + line468 col8 file0 @@ -13480,12 +13480,12 @@ end - line471 + line472 col5 file0 - line471 + line472 col5 file0 @@ -13501,12 +13501,12 @@ start - line471 + line472 col5 file0 - line471 + line472 col5 file0 @@ -13514,12 +13514,12 @@ end - line471 + line472 col24 file0 - line471 + line472 col24 file0 @@ -13531,7 +13531,7 @@ kindevent location - line471 + line472 col24 file0 @@ -13539,12 +13539,12 @@ - line471 + line472 col5 file0 - line471 + line472 col26 file0 @@ -13568,7 +13568,7 @@ issue_hash_function_offset34 location - line471 + line472 col24 file0 @@ -13576,23 +13576,23 @@ 0 - 437 - 444 - 451 + 438 + 445 452 453 454 455 456 - 458 + 457 459 - 461 - 466 + 460 + 462 467 468 469 470 471 + 472 @@ -13603,7 +13603,7 @@ kindevent location - line444 + line445 col10 file0 @@ -13611,12 +13611,12 @@ - line444 + line445 col10 file0 - line444 + line445 col12 file0 @@ -13636,12 +13636,12 @@ start - line444 + line445 col3 file0 - line444 + line445 col7 file0 @@ -13649,12 +13649,12 @@ end - line451 + line452 col3 file0 - line451 + line452 col5 file0 @@ -13670,12 +13670,12 @@ start - line451 + line452 col3 file0 - line451 + line452 col5 file0 @@ -13683,12 +13683,12 @@ end - line453 + line454 col5 file0 - line453 + line454 col8 file0 @@ -13704,12 +13704,12 @@ start - line453 + line454 col5 file0 - line453 + line454 col8 file0 @@ -13717,12 +13717,12 @@ end - line456 + line457 col5 file0 - line456 + line457 col6 file0 @@ -13738,12 +13738,12 @@ start - line456 + line457 col5 file0 - line456 + line457 col6 file0 @@ -13751,12 +13751,12 @@ end - line456 + line457 col10 file0 - line456 + line457 col14 file0 @@ -13768,7 +13768,7 @@ kindpop-up location - line456 + line457 col10 file0 @@ -13776,12 +13776,12 @@ - line456 + line457 col10 file0 - line456 + line457 col14 file0 @@ -13800,12 +13800,12 @@ start - line456 + line457 col10 file0 - line456 + line457 col14 file0 @@ -13813,12 +13813,12 @@ end - line458 + line459 col5 file0 - line458 + line459 col9 file0 @@ -13834,12 +13834,12 @@ start - line458 + line459 col5 file0 - line458 + line459 col9 file0 @@ -13847,12 +13847,12 @@ end - line459 + line460 col12 file0 - line459 + line460 col12 file0 @@ -13868,12 +13868,12 @@ start - line459 + line460 col12 file0 - line459 + line460 col12 file0 @@ -13881,12 +13881,12 @@ end - line461 + line462 col3 file0 - line461 + line462 col5 file0 @@ -13902,12 +13902,12 @@ start - line461 + line462 col3 file0 - line461 + line462 col5 file0 @@ -13915,12 +13915,12 @@ end - line461 + line462 col19 file0 - line461 + line462 col19 file0 @@ -13932,7 +13932,7 @@ kindevent location - line461 + line462 col19 file0 @@ -13940,12 +13940,12 @@ - line461 + line462 col19 file0 - line461 + line462 col26 file0 @@ -13961,7 +13961,7 @@ kindevent location - line461 + line462 col19 file0 @@ -13969,12 +13969,12 @@ - line461 + line462 col19 file0 - line461 + line462 col26 file0 @@ -13994,12 +13994,12 @@ start - line461 + line462 col19 file0 - line461 + line462 col19 file0 @@ -14007,12 +14007,12 @@ end - line466 + line467 col3 file0 - line466 + line467 col5 file0 @@ -14024,7 +14024,7 @@ kindevent location - line466 + line467 col8 file0 @@ -14032,12 +14032,12 @@ - line466 + line467 col8 file0 - line466 + line467 col11 file0 @@ -14057,12 +14057,12 @@ start - line466 + line467 col3 file0 - line466 + line467 col5 file0 @@ -14070,12 +14070,12 @@ end - line474 + line475 col3 file0 - line474 + line475 col5 file0 @@ -14091,12 +14091,12 @@ start - line474 + line475 col3 file0 - line474 + line475 col5 file0 @@ -14104,12 +14104,12 @@ end - line475 + line476 col3 file0 - line475 + line476 col5 file0 @@ -14121,7 +14121,7 @@ kindevent location - line475 + line476 col14 file0 @@ -14129,12 +14129,12 @@ - line475 + line476 col14 file0 - line475 + line476 col14 file0 @@ -14154,12 +14154,12 @@ start - line475 + line476 col3 file0 - line475 + line476 col5 file0 @@ -14167,12 +14167,12 @@ end - line476 + line477 col5 file0 - line476 + line477 col8 file0 @@ -14188,12 +14188,12 @@ start - line476 + line477 col5 file0 - line476 + line477 col8 file0 @@ -14201,12 +14201,12 @@ end - line479 + line480 col5 file0 - line479 + line480 col5 file0 @@ -14222,12 +14222,12 @@ start - line479 + line480 col5 file0 - line479 + line480 col5 file0 @@ -14235,12 +14235,12 @@ end - line480 + line481 col3 file0 - line480 + line481 col3 file0 @@ -14256,12 +14256,12 @@ start - line480 + line481 col3 file0 - line480 + line481 col3 file0 @@ -14269,12 +14269,12 @@ end - line475 + line476 col3 file0 - line475 + line476 col5 file0 @@ -14286,7 +14286,7 @@ kindevent location - line475 + line476 col3 file0 @@ -14294,12 +14294,12 @@ - line475 + line476 col3 file0 - line480 + line481 col3 file0 @@ -14315,7 +14315,7 @@ kindevent location - line475 + line476 col14 file0 @@ -14323,12 +14323,12 @@ - line475 + line476 col14 file0 - line475 + line476 col14 file0 @@ -14348,12 +14348,12 @@ start - line475 + line476 col3 file0 - line475 + line476 col5 file0 @@ -14361,12 +14361,12 @@ end - line476 + line477 col5 file0 - line476 + line477 col8 file0 @@ -14382,12 +14382,12 @@ start - line476 + line477 col5 file0 - line476 + line477 col8 file0 @@ -14395,12 +14395,12 @@ end - line479 + line480 col5 file0 - line479 + line480 col5 file0 @@ -14416,12 +14416,12 @@ start - line479 + line480 col5 file0 - line479 + line480 col5 file0 @@ -14429,12 +14429,12 @@ end - line480 + line481 col3 file0 - line480 + line481 col3 file0 @@ -14450,12 +14450,12 @@ start - line480 + line481 col3 file0 - line480 + line481 col3 file0 @@ -14463,12 +14463,12 @@ end - line475 + line476 col3 file0 - line475 + line476 col5 file0 @@ -14480,7 +14480,7 @@ kindevent location - line475 + line476 col3 file0 @@ -14488,12 +14488,12 @@ - line475 + line476 col3 file0 - line480 + line481 col3 file0 @@ -14513,12 +14513,12 @@ start - line475 + line476 col3 file0 - line475 + line476 col5 file0 @@ -14526,12 +14526,12 @@ end - line483 + line484 col3 file0 - line483 + line484 col5 file0 @@ -14543,7 +14543,7 @@ kindevent location - line483 + line484 col14 file0 @@ -14551,12 +14551,12 @@ - line483 + line484 col14 file0 - line483 + line484 col14 file0 @@ -14576,12 +14576,12 @@ start - line483 + line484 col3 file0 - line483 + line484 col5 file0 @@ -14589,12 +14589,12 @@ end - line490 + line491 col3 file0 - line490 + line491 col5 file0 @@ -14606,7 +14606,7 @@ kindevent location - line490 + line491 col3 file0 @@ -14614,12 +14614,12 @@ - line490 + line491 col3 file0 - line490 + line491 col5 file0 @@ -14639,12 +14639,12 @@ start - line490 + line491 col3 file0 - line490 + line491 col5 file0 @@ -14652,12 +14652,12 @@ end - line491 + line492 col5 file0 - line491 + line492 col8 file0 @@ -14673,12 +14673,12 @@ start - line491 + line492 col5 file0 - line491 + line492 col8 file0 @@ -14686,12 +14686,12 @@ end - line492 + line493 col5 file0 - line492 + line493 col6 file0 @@ -14707,12 +14707,12 @@ start - line492 + line493 col5 file0 - line492 + line493 col6 file0 @@ -14720,12 +14720,12 @@ end - line492 + line493 col9 file0 - line492 + line493 col9 file0 @@ -14737,7 +14737,7 @@ kindevent location - line492 + line493 col9 file0 @@ -14745,12 +14745,12 @@ - line492 + line493 col9 file0 - line492 + line493 col16 file0 @@ -14770,12 +14770,12 @@ start - line492 + line493 col9 file0 - line492 + line493 col9 file0 @@ -14783,12 +14783,12 @@ end - line493 + line494 col7 file0 - line493 + line494 col11 file0 @@ -14804,12 +14804,12 @@ start - line493 + line494 col7 file0 - line493 + line494 col11 file0 @@ -14817,12 +14817,12 @@ end - line496 + line497 col3 file0 - line496 + line497 col5 file0 @@ -14838,12 +14838,12 @@ start - line496 + line497 col3 file0 - line496 + line497 col5 file0 @@ -14851,12 +14851,12 @@ end - line497 + line498 col3 file0 - line497 + line498 col5 file0 @@ -14872,12 +14872,12 @@ start - line497 + line498 col3 file0 - line497 + line498 col5 file0 @@ -14885,12 +14885,12 @@ end - line497 + line498 col15 file0 - line497 + line498 col15 file0 @@ -14902,7 +14902,7 @@ kindevent location - line497 + line498 col15 file0 @@ -14910,12 +14910,12 @@ - line497 + line498 col15 file0 - line497 + line498 col22 file0 @@ -14931,7 +14931,7 @@ kindevent location - line497 + line498 col15 file0 @@ -14939,12 +14939,12 @@ - line497 + line498 col15 file0 - line497 + line498 col22 file0 @@ -14964,12 +14964,12 @@ start - line497 + line498 col15 file0 - line497 + line498 col15 file0 @@ -14977,12 +14977,12 @@ end - line498 + line499 col5 file0 - line498 + line499 col8 file0 @@ -14998,12 +14998,12 @@ start - line498 + line499 col5 file0 - line498 + line499 col8 file0 @@ -15011,12 +15011,12 @@ end - line499 + line500 col5 file0 - line499 + line500 col5 file0 @@ -15032,12 +15032,12 @@ start - line499 + line500 col5 file0 - line499 + line500 col5 file0 @@ -15045,12 +15045,12 @@ end - line499 + line500 col24 file0 - line499 + line500 col24 file0 @@ -15062,7 +15062,7 @@ kindevent location - line499 + line500 col24 file0 @@ -15070,12 +15070,12 @@ - line499 + line500 col5 file0 - line499 + line500 col26 file0 @@ -15099,7 +15099,7 @@ issue_hash_function_offset62 location - line499 + line500 col24 file0 @@ -15107,35 +15107,35 @@ 0 - 437 - 444 - 451 + 438 + 445 452 453 454 455 456 - 458 + 457 459 - 461 - 466 - 474 + 460 + 462 + 467 475 476 477 478 479 480 - 482 + 481 483 - 490 + 484 491 492 493 - 496 + 494 497 498 499 + 500 @@ -15146,7 +15146,7 @@ kindevent location - line444 + line445 col10 file0 @@ -15154,12 +15154,12 @@ - line444 + line445 col10 file0 - line444 + line445 col12 file0 @@ -15179,12 +15179,12 @@ start - line444 + line445 col3 file0 - line444 + line445 col7 file0 @@ -15192,12 +15192,12 @@ end - line451 + line452 col3 file0 - line451 + line452 col5 file0 @@ -15213,12 +15213,12 @@ start - line451 + line452 col3 file0 - line451 + line452 col5 file0 @@ -15226,12 +15226,12 @@ end - line453 + line454 col5 file0 - line453 + line454 col8 file0 @@ -15247,12 +15247,12 @@ start - line453 + line454 col5 file0 - line453 + line454 col8 file0 @@ -15260,12 +15260,12 @@ end - line456 + line457 col5 file0 - line456 + line457 col6 file0 @@ -15281,12 +15281,12 @@ start - line456 + line457 col5 file0 - line456 + line457 col6 file0 @@ -15294,12 +15294,12 @@ end - line456 + line457 col10 file0 - line456 + line457 col14 file0 @@ -15311,7 +15311,7 @@ kindpop-up location - line456 + line457 col10 file0 @@ -15319,12 +15319,12 @@ - line456 + line457 col10 file0 - line456 + line457 col14 file0 @@ -15343,12 +15343,12 @@ start - line456 + line457 col10 file0 - line456 + line457 col14 file0 @@ -15356,12 +15356,12 @@ end - line458 + line459 col5 file0 - line458 + line459 col9 file0 @@ -15377,12 +15377,12 @@ start - line458 + line459 col5 file0 - line458 + line459 col9 file0 @@ -15390,12 +15390,12 @@ end - line459 + line460 col12 file0 - line459 + line460 col12 file0 @@ -15411,12 +15411,12 @@ start - line459 + line460 col12 file0 - line459 + line460 col12 file0 @@ -15424,12 +15424,12 @@ end - line461 + line462 col3 file0 - line461 + line462 col5 file0 @@ -15445,12 +15445,12 @@ start - line461 + line462 col3 file0 - line461 + line462 col5 file0 @@ -15458,12 +15458,12 @@ end - line461 + line462 col19 file0 - line461 + line462 col19 file0 @@ -15475,7 +15475,7 @@ kindevent location - line461 + line462 col19 file0 @@ -15483,12 +15483,12 @@ - line461 + line462 col19 file0 - line461 + line462 col26 file0 @@ -15504,7 +15504,7 @@ kindevent location - line461 + line462 col19 file0 @@ -15512,12 +15512,12 @@ - line461 + line462 col19 file0 - line461 + line462 col26 file0 @@ -15537,12 +15537,12 @@ start - line461 + line462 col19 file0 - line461 + line462 col19 file0 @@ -15550,12 +15550,12 @@ end - line466 + line467 col3 file0 - line466 + line467 col5 file0 @@ -15567,7 +15567,7 @@ kindevent location - line466 + line467 col8 file0 @@ -15575,12 +15575,12 @@ - line466 + line467 col8 file0 - line466 + line467 col11 file0 @@ -15600,12 +15600,12 @@ start - line466 + line467 col3 file0 - line466 + line467 col5 file0 @@ -15613,12 +15613,12 @@ end - line474 + line475 col3 file0 - line474 + line475 col5 file0 @@ -15634,12 +15634,12 @@ start - line474 + line475 col3 file0 - line474 + line475 col5 file0 @@ -15647,12 +15647,12 @@ end - line475 + line476 col3 file0 - line475 + line476 col5 file0 @@ -15664,7 +15664,7 @@ kindevent location - line475 + line476 col14 file0 @@ -15672,12 +15672,12 @@ - line475 + line476 col14 file0 - line475 + line476 col14 file0 @@ -15697,12 +15697,12 @@ start - line475 + line476 col3 file0 - line475 + line476 col5 file0 @@ -15710,12 +15710,12 @@ end - line476 + line477 col5 file0 - line476 + line477 col8 file0 @@ -15731,12 +15731,12 @@ start - line476 + line477 col5 file0 - line476 + line477 col8 file0 @@ -15744,12 +15744,12 @@ end - line479 + line480 col5 file0 - line479 + line480 col5 file0 @@ -15765,12 +15765,12 @@ start - line479 + line480 col5 file0 - line479 + line480 col5 file0 @@ -15778,12 +15778,12 @@ end - line480 + line481 col3 file0 - line480 + line481 col3 file0 @@ -15799,12 +15799,12 @@ start - line480 + line481 col3 file0 - line480 + line481 col3 file0 @@ -15812,12 +15812,12 @@ end - line475 + line476 col3 file0 - line475 + line476 col5 file0 @@ -15829,7 +15829,7 @@ kindevent location - line475 + line476 col3 file0 @@ -15837,12 +15837,12 @@ - line475 + line476 col3 file0 - line480 + line481 col3 file0 @@ -15858,7 +15858,7 @@ kindevent location - line475 + line476 col14 file0 @@ -15866,12 +15866,12 @@ - line475 + line476 col14 file0 - line475 + line476 col14 file0 @@ -15891,12 +15891,12 @@ start - line475 + line476 col3 file0 - line475 + line476 col5 file0 @@ -15904,12 +15904,12 @@ end - line476 + line477 col5 file0 - line476 + line477 col8 file0 @@ -15925,12 +15925,12 @@ start - line476 + line477 col5 file0 - line476 + line477 col8 file0 @@ -15938,12 +15938,12 @@ end - line479 + line480 col5 file0 - line479 + line480 col5 file0 @@ -15959,12 +15959,12 @@ start - line479 + line480 col5 file0 - line479 + line480 col5 file0 @@ -15972,12 +15972,12 @@ end - line480 + line481 col3 file0 - line480 + line481 col3 file0 @@ -15993,12 +15993,12 @@ start - line480 + line481 col3 file0 - line480 + line481 col3 file0 @@ -16006,12 +16006,12 @@ end - line475 + line476 col3 file0 - line475 + line476 col5 file0 @@ -16023,7 +16023,7 @@ kindevent location - line475 + line476 col3 file0 @@ -16031,12 +16031,12 @@ - line475 + line476 col3 file0 - line480 + line481 col3 file0 @@ -16056,12 +16056,12 @@ start - line475 + line476 col3 file0 - line475 + line476 col5 file0 @@ -16069,12 +16069,12 @@ end - line483 + line484 col3 file0 - line483 + line484 col5 file0 @@ -16086,7 +16086,7 @@ kindevent location - line483 + line484 col14 file0 @@ -16094,12 +16094,12 @@ - line483 + line484 col14 file0 - line483 + line484 col14 file0 @@ -16119,12 +16119,12 @@ start - line483 + line484 col3 file0 - line483 + line484 col5 file0 @@ -16132,12 +16132,12 @@ end - line490 + line491 col3 file0 - line490 + line491 col5 file0 @@ -16149,7 +16149,7 @@ kindevent location - line490 + line491 col3 file0 @@ -16157,12 +16157,12 @@ - line490 + line491 col3 file0 - line490 + line491 col5 file0 @@ -16182,12 +16182,12 @@ start - line490 + line491 col3 file0 - line490 + line491 col5 file0 @@ -16195,12 +16195,12 @@ end - line491 + line492 col5 file0 - line491 + line492 col8 file0 @@ -16216,12 +16216,12 @@ start - line491 + line492 col5 file0 - line491 + line492 col8 file0 @@ -16229,12 +16229,12 @@ end - line492 + line493 col5 file0 - line492 + line493 col6 file0 @@ -16250,12 +16250,12 @@ start - line492 + line493 col5 file0 - line492 + line493 col6 file0 @@ -16263,12 +16263,12 @@ end - line492 + line493 col9 file0 - line492 + line493 col9 file0 @@ -16280,7 +16280,7 @@ kindevent location - line492 + line493 col9 file0 @@ -16288,12 +16288,12 @@ - line492 + line493 col9 file0 - line492 + line493 col16 file0 @@ -16313,12 +16313,12 @@ start - line492 + line493 col9 file0 - line492 + line493 col9 file0 @@ -16326,12 +16326,12 @@ end - line493 + line494 col7 file0 - line493 + line494 col11 file0 @@ -16347,12 +16347,12 @@ start - line493 + line494 col7 file0 - line493 + line494 col11 file0 @@ -16360,12 +16360,12 @@ end - line496 + line497 col3 file0 - line496 + line497 col5 file0 @@ -16381,12 +16381,12 @@ start - line496 + line497 col3 file0 - line496 + line497 col5 file0 @@ -16394,12 +16394,12 @@ end - line497 + line498 col3 file0 - line497 + line498 col5 file0 @@ -16415,12 +16415,12 @@ start - line497 + line498 col3 file0 - line497 + line498 col5 file0 @@ -16428,12 +16428,12 @@ end - line497 + line498 col15 file0 - line497 + line498 col15 file0 @@ -16445,7 +16445,7 @@ kindevent location - line497 + line498 col15 file0 @@ -16453,12 +16453,12 @@ - line497 + line498 col15 file0 - line497 + line498 col22 file0 @@ -16474,7 +16474,7 @@ kindevent location - line497 + line498 col15 file0 @@ -16482,12 +16482,12 @@ - line497 + line498 col15 file0 - line497 + line498 col22 file0 @@ -16507,12 +16507,12 @@ start - line497 + line498 col15 file0 - line497 + line498 col15 file0 @@ -16520,12 +16520,12 @@ end - line502 + line503 col3 file0 - line502 + line503 col5 file0 @@ -16541,12 +16541,12 @@ start - line502 + line503 col3 file0 - line502 + line503 col5 file0 @@ -16554,12 +16554,12 @@ end - line502 + line503 col10 file0 - line502 + line503 col10 file0 @@ -16571,7 +16571,7 @@ kindevent location - line502 + line503 col10 file0 @@ -16579,12 +16579,12 @@ - line502 + line503 col10 file0 - line502 + line503 col17 file0 @@ -16600,7 +16600,7 @@ kindevent location - line502 + line503 col10 file0 @@ -16608,12 +16608,12 @@ - line502 + line503 col10 file0 - line502 + line503 col17 file0 @@ -16633,12 +16633,12 @@ start - line502 + line503 col10 file0 - line502 + line503 col10 file0 @@ -16646,12 +16646,12 @@ end - line503 + line504 col5 file0 - line503 + line504 col8 file0 @@ -16667,12 +16667,12 @@ start - line503 + line504 col5 file0 - line503 + line504 col8 file0 @@ -16680,12 +16680,12 @@ end - line504 + line505 col5 file0 - line504 + line505 col5 file0 @@ -16701,12 +16701,12 @@ start - line504 + line505 col5 file0 - line504 + line505 col5 file0 @@ -16714,12 +16714,12 @@ end - line504 + line505 col24 file0 - line504 + line505 col24 file0 @@ -16731,7 +16731,7 @@ kindevent location - line504 + line505 col24 file0 @@ -16739,12 +16739,12 @@ - line504 + line505 col5 file0 - line504 + line505 col26 file0 @@ -16768,7 +16768,7 @@ issue_hash_function_offset67 location - line504 + line505 col24 file0 @@ -16776,36 +16776,36 @@ 0 - 437 - 444 - 451 + 438 + 445 452 453 454 455 456 - 458 + 457 459 - 461 - 466 - 474 + 460 + 462 + 467 475 476 477 478 479 480 - 482 + 481 483 - 490 + 484 491 492 493 - 496 + 494 497 - 502 + 498 503 504 + 505 @@ -16816,7 +16816,7 @@ kindevent location - line444 + line445 col10 file0 @@ -16824,12 +16824,12 @@ - line444 + line445 col10 file0 - line444 + line445 col12 file0 @@ -16849,12 +16849,12 @@ start - line444 + line445 col3 file0 - line444 + line445 col7 file0 @@ -16862,12 +16862,12 @@ end - line451 + line452 col3 file0 - line451 + line452 col5 file0 @@ -16883,12 +16883,12 @@ start - line451 + line452 col3 file0 - line451 + line452 col5 file0 @@ -16896,12 +16896,12 @@ end - line453 + line454 col5 file0 - line453 + line454 col8 file0 @@ -16917,12 +16917,12 @@ start - line453 + line454 col5 file0 - line453 + line454 col8 file0 @@ -16930,12 +16930,12 @@ end - line456 + line457 col5 file0 - line456 + line457 col6 file0 @@ -16951,12 +16951,12 @@ start - line456 + line457 col5 file0 - line456 + line457 col6 file0 @@ -16964,12 +16964,12 @@ end - line456 + line457 col10 file0 - line456 + line457 col14 file0 @@ -16981,7 +16981,7 @@ kindpop-up location - line456 + line457 col10 file0 @@ -16989,12 +16989,12 @@ - line456 + line457 col10 file0 - line456 + line457 col14 file0 @@ -17013,12 +17013,12 @@ start - line456 + line457 col10 file0 - line456 + line457 col14 file0 @@ -17026,12 +17026,12 @@ end - line458 + line459 col5 file0 - line458 + line459 col9 file0 @@ -17047,12 +17047,12 @@ start - line458 + line459 col5 file0 - line458 + line459 col9 file0 @@ -17060,12 +17060,12 @@ end - line459 + line460 col12 file0 - line459 + line460 col12 file0 @@ -17081,12 +17081,12 @@ start - line459 + line460 col12 file0 - line459 + line460 col12 file0 @@ -17094,12 +17094,12 @@ end - line461 + line462 col3 file0 - line461 + line462 col5 file0 @@ -17115,12 +17115,12 @@ start - line461 + line462 col3 file0 - line461 + line462 col5 file0 @@ -17128,12 +17128,12 @@ end - line461 + line462 col19 file0 - line461 + line462 col19 file0 @@ -17145,7 +17145,7 @@ kindevent location - line461 + line462 col19 file0 @@ -17153,12 +17153,12 @@ - line461 + line462 col19 file0 - line461 + line462 col26 file0 @@ -17174,7 +17174,7 @@ kindevent location - line461 + line462 col19 file0 @@ -17182,12 +17182,12 @@ - line461 + line462 col19 file0 - line461 + line462 col26 file0 @@ -17207,12 +17207,12 @@ start - line461 + line462 col19 file0 - line461 + line462 col19 file0 @@ -17220,12 +17220,12 @@ end - line466 + line467 col3 file0 - line466 + line467 col5 file0 @@ -17237,7 +17237,7 @@ kindevent location - line466 + line467 col8 file0 @@ -17245,12 +17245,12 @@ - line466 + line467 col8 file0 - line466 + line467 col11 file0 @@ -17270,12 +17270,12 @@ start - line466 + line467 col3 file0 - line466 + line467 col5 file0 @@ -17283,12 +17283,12 @@ end - line474 + line475 col3 file0 - line474 + line475 col5 file0 @@ -17304,12 +17304,12 @@ start - line474 + line475 col3 file0 - line474 + line475 col5 file0 @@ -17317,12 +17317,12 @@ end - line475 + line476 col3 file0 - line475 + line476 col5 file0 @@ -17334,7 +17334,7 @@ kindevent location - line475 + line476 col14 file0 @@ -17342,12 +17342,12 @@ - line475 + line476 col14 file0 - line475 + line476 col14 file0 @@ -17367,12 +17367,12 @@ start - line475 + line476 col3 file0 - line475 + line476 col5 file0 @@ -17380,12 +17380,12 @@ end - line476 + line477 col5 file0 - line476 + line477 col8 file0 @@ -17401,12 +17401,12 @@ start - line476 + line477 col5 file0 - line476 + line477 col8 file0 @@ -17414,12 +17414,12 @@ end - line479 + line480 col5 file0 - line479 + line480 col5 file0 @@ -17435,12 +17435,12 @@ start - line479 + line480 col5 file0 - line479 + line480 col5 file0 @@ -17448,12 +17448,12 @@ end - line480 + line481 col3 file0 - line480 + line481 col3 file0 @@ -17469,12 +17469,12 @@ start - line480 + line481 col3 file0 - line480 + line481 col3 file0 @@ -17482,12 +17482,12 @@ end - line475 + line476 col3 file0 - line475 + line476 col5 file0 @@ -17499,7 +17499,7 @@ kindevent location - line475 + line476 col3 file0 @@ -17507,12 +17507,12 @@ - line475 + line476 col3 file0 - line480 + line481 col3 file0 @@ -17528,7 +17528,7 @@ kindevent location - line475 + line476 col14 file0 @@ -17536,12 +17536,12 @@ - line475 + line476 col14 file0 - line475 + line476 col14 file0 @@ -17561,12 +17561,12 @@ start - line475 + line476 col3 file0 - line475 + line476 col5 file0 @@ -17574,12 +17574,12 @@ end - line476 + line477 col5 file0 - line476 + line477 col8 file0 @@ -17595,12 +17595,12 @@ start - line476 + line477 col5 file0 - line476 + line477 col8 file0 @@ -17608,12 +17608,12 @@ end - line479 + line480 col5 file0 - line479 + line480 col5 file0 @@ -17629,12 +17629,12 @@ start - line479 + line480 col5 file0 - line479 + line480 col5 file0 @@ -17642,12 +17642,12 @@ end - line480 + line481 col3 file0 - line480 + line481 col3 file0 @@ -17663,12 +17663,12 @@ start - line480 + line481 col3 file0 - line480 + line481 col3 file0 @@ -17676,12 +17676,12 @@ end - line475 + line476 col3 file0 - line475 + line476 col5 file0 @@ -17693,7 +17693,7 @@ kindevent location - line475 + line476 col3 file0 @@ -17701,12 +17701,12 @@ - line475 + line476 col3 file0 - line480 + line481 col3 file0 @@ -17726,12 +17726,12 @@ start - line475 + line476 col3 file0 - line475 + line476 col5 file0 @@ -17739,12 +17739,12 @@ end - line483 + line484 col3 file0 - line483 + line484 col5 file0 @@ -17756,7 +17756,7 @@ kindevent location - line483 + line484 col14 file0 @@ -17764,12 +17764,12 @@ - line483 + line484 col14 file0 - line483 + line484 col14 file0 @@ -17789,12 +17789,12 @@ start - line483 + line484 col3 file0 - line483 + line484 col5 file0 @@ -17802,12 +17802,12 @@ end - line490 + line491 col3 file0 - line490 + line491 col5 file0 @@ -17819,7 +17819,7 @@ kindevent location - line490 + line491 col3 file0 @@ -17827,12 +17827,12 @@ - line490 + line491 col3 file0 - line490 + line491 col5 file0 @@ -17852,12 +17852,12 @@ start - line490 + line491 col3 file0 - line490 + line491 col5 file0 @@ -17865,12 +17865,12 @@ end - line491 + line492 col5 file0 - line491 + line492 col8 file0 @@ -17886,12 +17886,12 @@ start - line491 + line492 col5 file0 - line491 + line492 col8 file0 @@ -17899,12 +17899,12 @@ end - line492 + line493 col5 file0 - line492 + line493 col6 file0 @@ -17920,12 +17920,12 @@ start - line492 + line493 col5 file0 - line492 + line493 col6 file0 @@ -17933,12 +17933,12 @@ end - line492 + line493 col9 file0 - line492 + line493 col9 file0 @@ -17950,7 +17950,7 @@ kindevent location - line492 + line493 col9 file0 @@ -17958,12 +17958,12 @@ - line492 + line493 col9 file0 - line492 + line493 col16 file0 @@ -17983,12 +17983,12 @@ start - line492 + line493 col9 file0 - line492 + line493 col9 file0 @@ -17996,12 +17996,12 @@ end - line493 + line494 col7 file0 - line493 + line494 col11 file0 @@ -18017,12 +18017,12 @@ start - line493 + line494 col7 file0 - line493 + line494 col11 file0 @@ -18030,12 +18030,12 @@ end - line496 + line497 col3 file0 - line496 + line497 col5 file0 @@ -18051,12 +18051,12 @@ start - line496 + line497 col3 file0 - line496 + line497 col5 file0 @@ -18064,12 +18064,12 @@ end - line497 + line498 col3 file0 - line497 + line498 col5 file0 @@ -18085,12 +18085,12 @@ start - line497 + line498 col3 file0 - line497 + line498 col5 file0 @@ -18098,12 +18098,12 @@ end - line497 + line498 col15 file0 - line497 + line498 col15 file0 @@ -18115,7 +18115,7 @@ kindevent location - line497 + line498 col15 file0 @@ -18123,12 +18123,12 @@ - line497 + line498 col15 file0 - line497 + line498 col22 file0 @@ -18144,7 +18144,7 @@ kindevent location - line497 + line498 col15 file0 @@ -18152,12 +18152,12 @@ - line497 + line498 col15 file0 - line497 + line498 col22 file0 @@ -18177,12 +18177,12 @@ start - line497 + line498 col15 file0 - line497 + line498 col15 file0 @@ -18190,12 +18190,12 @@ end - line502 + line503 col3 file0 - line502 + line503 col5 file0 @@ -18211,12 +18211,12 @@ start - line502 + line503 col3 file0 - line502 + line503 col5 file0 @@ -18224,12 +18224,12 @@ end - line502 + line503 col10 file0 - line502 + line503 col10 file0 @@ -18241,7 +18241,7 @@ kindevent location - line502 + line503 col10 file0 @@ -18249,12 +18249,12 @@ - line502 + line503 col10 file0 - line502 + line503 col17 file0 @@ -18270,7 +18270,7 @@ kindevent location - line502 + line503 col10 file0 @@ -18278,12 +18278,12 @@ - line502 + line503 col10 file0 - line502 + line503 col17 file0 @@ -18303,12 +18303,12 @@ start - line502 + line503 col10 file0 - line502 + line503 col10 file0 @@ -18316,12 +18316,12 @@ end - line507 + line508 col3 file0 - line507 + line508 col5 file0 @@ -18337,12 +18337,12 @@ start - line507 + line508 col3 file0 - line507 + line508 col5 file0 @@ -18350,12 +18350,12 @@ end - line507 + line508 col10 file0 - line507 + line508 col10 file0 @@ -18367,7 +18367,7 @@ kindevent location - line507 + line508 col10 file0 @@ -18375,12 +18375,12 @@ - line507 + line508 col10 file0 - line507 + line508 col17 file0 @@ -18396,7 +18396,7 @@ kindevent location - line507 + line508 col10 file0 @@ -18404,12 +18404,12 @@ - line507 + line508 col10 file0 - line507 + line508 col17 file0 @@ -18429,12 +18429,12 @@ start - line507 + line508 col10 file0 - line507 + line508 col10 file0 @@ -18442,12 +18442,12 @@ end - line508 + line509 col5 file0 - line508 + line509 col8 file0 @@ -18463,12 +18463,12 @@ start - line508 + line509 col5 file0 - line508 + line509 col8 file0 @@ -18476,12 +18476,12 @@ end - line509 + line510 col5 file0 - line509 + line510 col6 file0 @@ -18497,12 +18497,12 @@ start - line509 + line510 col5 file0 - line509 + line510 col6 file0 @@ -18510,12 +18510,12 @@ end - line509 + line510 col9 file0 - line509 + line510 col9 file0 @@ -18527,7 +18527,7 @@ kindevent location - line509 + line510 col9 file0 @@ -18535,12 +18535,12 @@ - line509 + line510 col9 file0 - line509 + line510 col16 file0 @@ -18560,12 +18560,12 @@ start - line509 + line510 col9 file0 - line509 + line510 col9 file0 @@ -18573,12 +18573,12 @@ end - line511 + line512 col5 file0 - line511 + line512 col5 file0 @@ -18594,12 +18594,12 @@ start - line511 + line512 col5 file0 - line511 + line512 col5 file0 @@ -18607,12 +18607,12 @@ end - line511 + line512 col24 file0 - line511 + line512 col24 file0 @@ -18624,7 +18624,7 @@ kindevent location - line511 + line512 col24 file0 @@ -18632,12 +18632,12 @@ - line511 + line512 col5 file0 - line511 + line512 col26 file0 @@ -18661,7 +18661,7 @@ issue_hash_function_offset74 location - line511 + line512 col24 file0 @@ -18669,38 +18669,38 @@ 0 - 437 - 444 - 451 + 438 + 445 452 453 454 455 456 - 458 + 457 459 - 461 - 466 - 474 + 460 + 462 + 467 475 476 477 478 479 480 - 482 + 481 483 - 490 + 484 491 492 493 - 496 + 494 497 - 502 - 507 + 498 + 503 508 509 - 511 + 510 + 512 @@ -18711,7 +18711,7 @@ kindevent location - line444 + line445 col10 file0 @@ -18719,12 +18719,12 @@ - line444 + line445 col10 file0 - line444 + line445 col12 file0 @@ -18744,12 +18744,12 @@ start - line444 + line445 col3 file0 - line444 + line445 col7 file0 @@ -18757,12 +18757,12 @@ end - line451 + line452 col3 file0 - line451 + line452 col5 file0 @@ -18778,12 +18778,12 @@ start - line451 + line452 col3 file0 - line451 + line452 col5 file0 @@ -18791,12 +18791,12 @@ end - line453 + line454 col5 file0 - line453 + line454 col8 file0 @@ -18812,12 +18812,12 @@ start - line453 + line454 col5 file0 - line453 + line454 col8 file0 @@ -18825,12 +18825,12 @@ end - line456 + line457 col5 file0 - line456 + line457 col6 file0 @@ -18846,12 +18846,12 @@ start - line456 + line457 col5 file0 - line456 + line457 col6 file0 @@ -18859,12 +18859,12 @@ end - line456 + line457 col10 file0 - line456 + line457 col14 file0 @@ -18876,7 +18876,7 @@ kindpop-up location - line456 + line457 col10 file0 @@ -18884,12 +18884,12 @@ - line456 + line457 col10 file0 - line456 + line457 col14 file0 @@ -18908,12 +18908,12 @@ start - line456 + line457 col10 file0 - line456 + line457 col14 file0 @@ -18921,12 +18921,12 @@ end - line458 + line459 col5 file0 - line458 + line459 col9 file0 @@ -18942,12 +18942,12 @@ start - line458 + line459 col5 file0 - line458 + line459 col9 file0 @@ -18955,12 +18955,12 @@ end - line459 + line460 col12 file0 - line459 + line460 col12 file0 @@ -18976,12 +18976,12 @@ start - line459 + line460 col12 file0 - line459 + line460 col12 file0 @@ -18989,12 +18989,12 @@ end - line461 + line462 col3 file0 - line461 + line462 col5 file0 @@ -19010,12 +19010,12 @@ start - line461 + line462 col3 file0 - line461 + line462 col5 file0 @@ -19023,12 +19023,12 @@ end - line461 + line462 col19 file0 - line461 + line462 col19 file0 @@ -19040,7 +19040,7 @@ kindevent location - line461 + line462 col19 file0 @@ -19048,12 +19048,12 @@ - line461 + line462 col19 file0 - line461 + line462 col26 file0 @@ -19069,7 +19069,7 @@ kindevent location - line461 + line462 col19 file0 @@ -19077,12 +19077,12 @@ - line461 + line462 col19 file0 - line461 + line462 col26 file0 @@ -19102,12 +19102,12 @@ start - line461 + line462 col19 file0 - line461 + line462 col19 file0 @@ -19115,12 +19115,12 @@ end - line466 + line467 col3 file0 - line466 + line467 col5 file0 @@ -19132,7 +19132,7 @@ kindevent location - line466 + line467 col8 file0 @@ -19140,12 +19140,12 @@ - line466 + line467 col8 file0 - line466 + line467 col11 file0 @@ -19165,12 +19165,12 @@ start - line466 + line467 col3 file0 - line466 + line467 col5 file0 @@ -19178,12 +19178,12 @@ end - line474 + line475 col3 file0 - line474 + line475 col5 file0 @@ -19199,12 +19199,12 @@ start - line474 + line475 col3 file0 - line474 + line475 col5 file0 @@ -19212,12 +19212,12 @@ end - line475 + line476 col3 file0 - line475 + line476 col5 file0 @@ -19229,7 +19229,7 @@ kindevent location - line475 + line476 col14 file0 @@ -19237,12 +19237,12 @@ - line475 + line476 col14 file0 - line475 + line476 col14 file0 @@ -19262,12 +19262,12 @@ start - line475 + line476 col3 file0 - line475 + line476 col5 file0 @@ -19275,12 +19275,12 @@ end - line476 + line477 col5 file0 - line476 + line477 col8 file0 @@ -19296,12 +19296,12 @@ start - line476 + line477 col5 file0 - line476 + line477 col8 file0 @@ -19309,12 +19309,12 @@ end - line479 + line480 col5 file0 - line479 + line480 col5 file0 @@ -19330,12 +19330,12 @@ start - line479 + line480 col5 file0 - line479 + line480 col5 file0 @@ -19343,12 +19343,12 @@ end - line480 + line481 col3 file0 - line480 + line481 col3 file0 @@ -19364,12 +19364,12 @@ start - line480 + line481 col3 file0 - line480 + line481 col3 file0 @@ -19377,12 +19377,12 @@ end - line475 + line476 col3 file0 - line475 + line476 col5 file0 @@ -19394,7 +19394,7 @@ kindevent location - line475 + line476 col3 file0 @@ -19402,12 +19402,12 @@ - line475 + line476 col3 file0 - line480 + line481 col3 file0 @@ -19423,7 +19423,7 @@ kindevent location - line475 + line476 col14 file0 @@ -19431,12 +19431,12 @@ - line475 + line476 col14 file0 - line475 + line476 col14 file0 @@ -19456,12 +19456,12 @@ start - line475 + line476 col3 file0 - line475 + line476 col5 file0 @@ -19469,12 +19469,12 @@ end - line476 + line477 col5 file0 - line476 + line477 col8 file0 @@ -19490,12 +19490,12 @@ start - line476 + line477 col5 file0 - line476 + line477 col8 file0 @@ -19503,12 +19503,12 @@ end - line479 + line480 col5 file0 - line479 + line480 col5 file0 @@ -19524,12 +19524,12 @@ start - line479 + line480 col5 file0 - line479 + line480 col5 file0 @@ -19537,12 +19537,12 @@ end - line480 + line481 col3 file0 - line480 + line481 col3 file0 @@ -19558,12 +19558,12 @@ start - line480 + line481 col3 file0 - line480 + line481 col3 file0 @@ -19571,12 +19571,12 @@ end - line475 + line476 col3 file0 - line475 + line476 col5 file0 @@ -19588,7 +19588,7 @@ kindevent location - line475 + line476 col3 file0 @@ -19596,12 +19596,12 @@ - line475 + line476 col3 file0 - line480 + line481 col3 file0 @@ -19621,12 +19621,12 @@ start - line475 + line476 col3 file0 - line475 + line476 col5 file0 @@ -19634,12 +19634,12 @@ end - line483 + line484 col3 file0 - line483 + line484 col5 file0 @@ -19651,7 +19651,7 @@ kindevent location - line483 + line484 col14 file0 @@ -19659,12 +19659,12 @@ - line483 + line484 col14 file0 - line483 + line484 col14 file0 @@ -19684,12 +19684,12 @@ start - line483 + line484 col3 file0 - line483 + line484 col5 file0 @@ -19697,12 +19697,12 @@ end - line490 + line491 col3 file0 - line490 + line491 col5 file0 @@ -19714,7 +19714,7 @@ kindevent location - line490 + line491 col3 file0 @@ -19722,12 +19722,12 @@ - line490 + line491 col3 file0 - line490 + line491 col5 file0 @@ -19747,12 +19747,12 @@ start - line490 + line491 col3 file0 - line490 + line491 col5 file0 @@ -19760,12 +19760,12 @@ end - line491 + line492 col5 file0 - line491 + line492 col8 file0 @@ -19781,12 +19781,12 @@ start - line491 + line492 col5 file0 - line491 + line492 col8 file0 @@ -19794,12 +19794,12 @@ end - line492 + line493 col5 file0 - line492 + line493 col6 file0 @@ -19815,12 +19815,12 @@ start - line492 + line493 col5 file0 - line492 + line493 col6 file0 @@ -19828,12 +19828,12 @@ end - line492 + line493 col9 file0 - line492 + line493 col9 file0 @@ -19845,7 +19845,7 @@ kindevent location - line492 + line493 col9 file0 @@ -19853,12 +19853,12 @@ - line492 + line493 col9 file0 - line492 + line493 col16 file0 @@ -19878,12 +19878,12 @@ start - line492 + line493 col9 file0 - line492 + line493 col9 file0 @@ -19891,12 +19891,12 @@ end - line493 + line494 col7 file0 - line493 + line494 col11 file0 @@ -19912,12 +19912,12 @@ start - line493 + line494 col7 file0 - line493 + line494 col11 file0 @@ -19925,12 +19925,12 @@ end - line496 + line497 col3 file0 - line496 + line497 col5 file0 @@ -19946,12 +19946,12 @@ start - line496 + line497 col3 file0 - line496 + line497 col5 file0 @@ -19959,12 +19959,12 @@ end - line497 + line498 col3 file0 - line497 + line498 col5 file0 @@ -19980,12 +19980,12 @@ start - line497 + line498 col3 file0 - line497 + line498 col5 file0 @@ -19993,12 +19993,12 @@ end - line497 + line498 col15 file0 - line497 + line498 col15 file0 @@ -20010,7 +20010,7 @@ kindevent location - line497 + line498 col15 file0 @@ -20018,12 +20018,12 @@ - line497 + line498 col15 file0 - line497 + line498 col22 file0 @@ -20039,7 +20039,7 @@ kindevent location - line497 + line498 col15 file0 @@ -20047,12 +20047,12 @@ - line497 + line498 col15 file0 - line497 + line498 col22 file0 @@ -20072,12 +20072,12 @@ start - line497 + line498 col15 file0 - line497 + line498 col15 file0 @@ -20085,12 +20085,12 @@ end - line502 + line503 col3 file0 - line502 + line503 col5 file0 @@ -20106,12 +20106,12 @@ start - line502 + line503 col3 file0 - line502 + line503 col5 file0 @@ -20119,12 +20119,12 @@ end - line502 + line503 col10 file0 - line502 + line503 col10 file0 @@ -20136,7 +20136,7 @@ kindevent location - line502 + line503 col10 file0 @@ -20144,12 +20144,12 @@ - line502 + line503 col10 file0 - line502 + line503 col17 file0 @@ -20165,7 +20165,7 @@ kindevent location - line502 + line503 col10 file0 @@ -20173,12 +20173,12 @@ - line502 + line503 col10 file0 - line502 + line503 col17 file0 @@ -20198,12 +20198,12 @@ start - line502 + line503 col10 file0 - line502 + line503 col10 file0 @@ -20211,12 +20211,12 @@ end - line507 + line508 col3 file0 - line507 + line508 col5 file0 @@ -20232,12 +20232,12 @@ start - line507 + line508 col3 file0 - line507 + line508 col5 file0 @@ -20245,12 +20245,12 @@ end - line507 + line508 col10 file0 - line507 + line508 col10 file0 @@ -20262,7 +20262,7 @@ kindevent location - line507 + line508 col10 file0 @@ -20270,12 +20270,12 @@ - line507 + line508 col10 file0 - line507 + line508 col17 file0 @@ -20291,7 +20291,7 @@ kindevent location - line507 + line508 col10 file0 @@ -20299,12 +20299,12 @@ - line507 + line508 col10 file0 - line507 + line508 col17 file0 @@ -20324,12 +20324,12 @@ start - line507 + line508 col10 file0 - line507 + line508 col10 file0 @@ -20337,12 +20337,12 @@ end - line514 + line515 col3 file0 - line514 + line515 col5 file0 @@ -20354,7 +20354,7 @@ kindevent location - line514 + line515 col3 file0 @@ -20362,12 +20362,12 @@ - line514 + line515 col3 file0 - line514 + line515 col5 file0 @@ -20387,12 +20387,12 @@ start - line514 + line515 col3 file0 - line514 + line515 col5 file0 @@ -20400,12 +20400,12 @@ end - line515 + line516 col5 file0 - line515 + line516 col8 file0 @@ -20421,12 +20421,12 @@ start - line515 + line516 col5 file0 - line515 + line516 col8 file0 @@ -20434,12 +20434,12 @@ end - line516 + line517 col5 file0 - line516 + line517 col6 file0 @@ -20455,12 +20455,12 @@ start - line516 + line517 col5 file0 - line516 + line517 col6 file0 @@ -20468,12 +20468,12 @@ end - line516 + line517 col9 file0 - line516 + line517 col9 file0 @@ -20485,7 +20485,7 @@ kindevent location - line516 + line517 col9 file0 @@ -20493,12 +20493,12 @@ - line516 + line517 col9 file0 - line516 + line517 col16 file0 @@ -20518,12 +20518,12 @@ start - line516 + line517 col9 file0 - line516 + line517 col9 file0 @@ -20531,12 +20531,12 @@ end - line517 + line518 col7 file0 - line517 + line518 col11 file0 @@ -20552,12 +20552,12 @@ start - line517 + line518 col7 file0 - line517 + line518 col11 file0 @@ -20565,12 +20565,12 @@ end - line520 + line521 col3 file0 - line520 + line521 col3 file0 @@ -20586,12 +20586,12 @@ start - line520 + line521 col3 file0 - line520 + line521 col3 file0 @@ -20599,12 +20599,12 @@ end - line520 + line521 col22 file0 - line520 + line521 col22 file0 @@ -20616,7 +20616,7 @@ kindevent location - line520 + line521 col22 file0 @@ -20624,12 +20624,12 @@ - line520 + line521 col3 file0 - line520 + line521 col24 file0 @@ -20653,7 +20653,7 @@ issue_hash_function_offset83 location - line520 + line521 col22 file0 @@ -20661,40 +20661,40 @@ 0 - 437 - 444 - 451 + 438 + 445 452 453 454 455 456 - 458 + 457 459 - 461 - 466 - 474 + 460 + 462 + 467 475 476 477 478 479 480 - 482 + 481 483 - 490 + 484 491 492 493 - 496 + 494 497 - 502 - 507 - 514 + 498 + 503 + 508 515 516 517 - 520 + 518 + 521 @@ -20705,7 +20705,7 @@ kindevent location - line528 + line529 col23 file0 @@ -20713,12 +20713,12 @@ - line528 + line529 col23 file0 - line528 + line529 col33 file0 @@ -20738,12 +20738,12 @@ start - line528 + line529 col3 file0 - line528 + line529 col6 file0 @@ -20751,12 +20751,12 @@ end - line530 + line531 col3 file0 - line530 + line531 col5 file0 @@ -20768,7 +20768,7 @@ kindevent location - line530 + line531 col16 file0 @@ -20776,12 +20776,12 @@ - line530 + line531 col16 file0 - line530 + line531 col38 file0 @@ -20801,12 +20801,12 @@ start - line530 + line531 col3 file0 - line530 + line531 col5 file0 @@ -20814,12 +20814,12 @@ end - line531 + line532 col3 file0 - line531 + line532 col4 file0 @@ -20835,12 +20835,12 @@ start - line531 + line532 col3 file0 - line531 + line532 col4 file0 @@ -20848,12 +20848,12 @@ end - line531 + line532 col7 file0 - line531 + line532 col7 file0 @@ -20865,7 +20865,7 @@ kindevent location - line531 + line532 col7 file0 @@ -20873,12 +20873,12 @@ - line531 + line532 col7 file0 - line531 + line532 col10 file0 @@ -20894,7 +20894,7 @@ kindevent location - line531 + line532 col7 file0 @@ -20902,12 +20902,12 @@ - line531 + line532 col7 file0 - line531 + line532 col10 file0 @@ -20927,12 +20927,12 @@ start - line531 + line532 col7 file0 - line531 + line532 col7 file0 @@ -20940,12 +20940,12 @@ end - line532 + line533 col5 file0 - line532 + line533 col10 file0 @@ -20957,7 +20957,7 @@ kindevent location - line532 + line533 col5 file0 @@ -20979,7 +20979,7 @@ issue_hash_function_offset1 location - line532 + line533 col5 file0 @@ -20987,12 +20987,12 @@ 0 - 527 528 529 530 531 532 + 533 @@ -21007,12 +21007,12 @@ start - line547 + line548 col3 file0 - line547 + line548 col5 file0 @@ -21020,12 +21020,12 @@ end - line550 + line551 col3 file0 - line550 + line551 col12 file0 @@ -21037,7 +21037,7 @@ kindevent location - line550 + line551 col21 file0 @@ -21045,12 +21045,12 @@ - line550 + line551 col21 file0 - line550 + line551 col30 file0 @@ -21070,12 +21070,12 @@ start - line550 + line551 col3 file0 - line550 + line551 col12 file0 @@ -21083,12 +21083,12 @@ end - line552 + line553 col5 file0 - line552 + line553 col6 file0 @@ -21104,12 +21104,12 @@ start - line552 + line553 col5 file0 - line552 + line553 col6 file0 @@ -21117,12 +21117,12 @@ end - line554 + line555 col1 file0 - line554 + line555 col1 file0 @@ -21134,7 +21134,7 @@ kindevent location - line554 + line555 col1 file0 @@ -21148,7 +21148,7 @@ kindevent location - line543 + line544 col3 file0 @@ -21166,12 +21166,12 @@ start - line543 + line544 col3 file0 - line543 + line544 col3 file0 @@ -21179,12 +21179,12 @@ end - line543 + line544 col19 file0 - line543 + line544 col24 file0 @@ -21196,7 +21196,7 @@ kindevent location - line543 + line544 col19 file0 @@ -21204,12 +21204,12 @@ - line543 + line544 col26 file0 - line543 + line544 col28 file0 @@ -21231,7 +21231,7 @@ issue_hash_function_offset0 location - line543 + line544 col19 file0 @@ -21239,14 +21239,14 @@ 0 - 542 543 - 546 + 544 547 548 - 550 - 552 - 554 + 549 + 551 + 553 + 555 @@ -21257,7 +21257,7 @@ kindevent location - line557 + line558 col12 file0 @@ -21265,12 +21265,12 @@ - line557 + line558 col12 file0 - line557 + line558 col34 file0 @@ -21290,12 +21290,12 @@ start - line557 + line558 col3 file0 - line557 + line558 col4 file0 @@ -21303,12 +21303,12 @@ end - line558 + line559 col3 file0 - line558 + line559 col4 file0 @@ -21324,12 +21324,12 @@ start - line558 + line559 col3 file0 - line558 + line559 col4 file0 @@ -21337,12 +21337,12 @@ end - line559 + line560 col12 file0 - line559 + line560 col12 file0 @@ -21354,7 +21354,7 @@ kindevent location - line559 + line560 col12 file0 @@ -21362,24 +21362,24 @@ - line559 + line560 col12 file0 - line559 + line560 col23 file0 - line559 + line560 col13 file0 - line559 + line560 col15 file0 @@ -21399,12 +21399,12 @@ start - line559 + line560 col12 file0 - line559 + line560 col12 file0 @@ -21412,12 +21412,12 @@ end - line560 + line561 col3 file0 - line560 + line561 col3 file0 @@ -21429,7 +21429,7 @@ kindevent location - line560 + line561 col3 file0 @@ -21437,24 +21437,24 @@ - line560 + line561 col3 file0 - line560 + line561 col15 file0 - line560 + line561 col4 file0 - line560 + line561 col6 file0 @@ -21474,12 +21474,12 @@ start - line560 + line561 col3 file0 - line560 + line561 col3 file0 @@ -21487,12 +21487,12 @@ end - line561 + line562 col3 file0 - line561 + line562 col4 file0 @@ -21508,12 +21508,12 @@ start - line561 + line562 col3 file0 - line561 + line562 col4 file0 @@ -21521,12 +21521,12 @@ end - line561 + line562 col12 file0 - line561 + line562 col12 file0 @@ -21538,7 +21538,7 @@ kindevent location - line561 + line562 col12 file0 @@ -21546,24 +21546,24 @@ - line561 + line562 col12 file0 - line562 + line563 col21 file0 - line561 + line562 col13 file0 - line561 + line562 col15 file0 @@ -21583,12 +21583,12 @@ start - line561 + line562 col12 file0 - line561 + line562 col12 file0 @@ -21596,12 +21596,12 @@ end - line561 + line562 col3 file0 - line561 + line562 col4 file0 @@ -21617,12 +21617,12 @@ start - line561 + line562 col3 file0 - line561 + line562 col4 file0 @@ -21630,12 +21630,12 @@ end - line563 + line564 col3 file0 - line563 + line564 col3 file0 @@ -21647,7 +21647,7 @@ kindevent location - line563 + line564 col3 file0 @@ -21655,24 +21655,24 @@ - line563 + line564 col3 file0 - line563 + line564 col15 file0 - line563 + line564 col4 file0 - line563 + line564 col6 file0 @@ -21692,12 +21692,12 @@ start - line563 + line564 col3 file0 - line563 + line564 col3 file0 @@ -21705,12 +21705,12 @@ end - line565 + line566 col3 file0 - line565 + line566 col4 file0 @@ -21726,12 +21726,12 @@ start - line565 + line566 col3 file0 - line565 + line566 col4 file0 @@ -21739,12 +21739,12 @@ end - line565 + line566 col15 file0 - line565 + line566 col15 file0 @@ -21756,7 +21756,7 @@ kindevent location - line565 + line566 col15 file0 @@ -21764,24 +21764,24 @@ - line565 + line566 col15 file0 - line565 + line566 col87 file0 - line565 + line566 col16 file0 - line565 + line566 col18 file0 @@ -21801,12 +21801,12 @@ start - line565 + line566 col15 file0 - line565 + line566 col15 file0 @@ -21814,12 +21814,12 @@ end - line565 + line566 col3 file0 - line565 + line566 col4 file0 @@ -21831,7 +21831,7 @@ kindevent location - line565 + line566 col3 file0 @@ -21839,12 +21839,12 @@ - line565 + line566 col3 file0 - line565 + line566 col11 file0 @@ -21864,12 +21864,12 @@ start - line565 + line566 col3 file0 - line565 + line566 col4 file0 @@ -21877,12 +21877,12 @@ end - line566 + line567 col3 file0 - line566 + line567 col3 file0 @@ -21894,7 +21894,7 @@ kindevent location - line566 + line567 col3 file0 @@ -21902,24 +21902,24 @@ - line566 + line567 col3 file0 - line566 + line567 col18 file0 - line566 + line567 col4 file0 - line566 + line567 col9 file0 @@ -21939,12 +21939,12 @@ start - line566 + line567 col3 file0 - line566 + line567 col3 file0 @@ -21952,12 +21952,12 @@ end - line567 + line568 col1 file0 - line567 + line568 col1 file0 @@ -21969,7 +21969,7 @@ kindevent location - line567 + line568 col1 file0 @@ -21991,7 +21991,7 @@ issue_hash_function_offset1 location - line567 + line568 col1 file0 @@ -21999,16 +21999,16 @@ 0 - 556 557 558 559 560 561 - 563 - 565 + 562 + 564 566 567 + 568 @@ -22019,7 +22019,7 @@ kindevent location - line571 + line572 col3 file0 @@ -22027,12 +22027,12 @@ - line571 + line572 col3 file0 - line571 + line572 col8 file0 @@ -22052,12 +22052,12 @@ start - line571 + line572 col3 file0 - line571 + line572 col5 file0 @@ -22065,12 +22065,12 @@ end - line572 + line573 col3 file0 - line572 + line573 col3 file0 @@ -22086,12 +22086,12 @@ start - line572 + line573 col3 file0 - line572 + line573 col3 file0 @@ -22099,12 +22099,12 @@ end - line572 + line573 col6 file0 - line572 + line573 col6 file0 @@ -22116,7 +22116,7 @@ kindevent location - line572 + line573 col6 file0 @@ -22124,12 +22124,12 @@ - line572 + line573 col4 file0 - line572 + line573 col4 file0 @@ -22153,7 +22153,7 @@ issue_hash_function_offset2 location - line572 + line573 col6 file0 @@ -22161,9 +22161,9 @@ 0 - 570 571 572 + 573 @@ -22178,12 +22178,12 @@ start - line583 + line584 col9 file0 - line583 + line584 col9 file0 @@ -22191,12 +22191,12 @@ end - line584 + line585 col9 file0 - line584 + line585 col9 file0 @@ -22212,12 +22212,12 @@ start - line584 + line585 col9 file0 - line584 + line585 col9 file0 @@ -22225,12 +22225,12 @@ end - line586 + line587 col7 file0 - line586 + line587 col8 file0 @@ -22246,12 +22246,12 @@ start - line586 + line587 col7 file0 - line586 + line587 col8 file0 @@ -22259,12 +22259,12 @@ end - line586 + line587 col11 file0 - line586 + line587 col11 file0 @@ -22280,12 +22280,12 @@ start - line586 + line587 col11 file0 - line586 + line587 col11 file0 @@ -22293,12 +22293,12 @@ end - line586 + line587 col11 file0 - line586 + line587 col11 file0 @@ -22310,7 +22310,7 @@ kindpop-up location - line586 + line587 col11 file0 @@ -22327,12 +22327,12 @@ start - line586 + line587 col11 file0 - line586 + line587 col11 file0 @@ -22340,12 +22340,12 @@ end - line587 + line588 col9 file0 - line587 + line588 col9 file0 @@ -22361,12 +22361,12 @@ start - line587 + line588 col9 file0 - line587 + line588 col9 file0 @@ -22374,12 +22374,12 @@ end - line587 + line588 col28 file0 - line587 + line588 col28 file0 @@ -22391,7 +22391,7 @@ kindevent location - line587 + line588 col28 file0 @@ -22399,12 +22399,12 @@ - line587 + line588 col9 file0 - line587 + line588 col30 file0 @@ -22426,7 +22426,7 @@ issue_hash_function_offset3 location - line587 + line588 col28 file0 @@ -22434,11 +22434,11 @@ 0 - 582 583 584 - 586 + 585 587 + 588 diff --git a/clang/test/Analysis/Inputs/expected-plists/inline-plist.c.plist b/clang/test/Analysis/Inputs/expected-plists/inline-plist.c.plist index 4f9183532935..1ee17de4b5fa 100644 --- a/clang/test/Analysis/Inputs/expected-plists/inline-plist.c.plist +++ b/clang/test/Analysis/Inputs/expected-plists/inline-plist.c.plist @@ -16,12 +16,12 @@ start - line11 + line12 col3 file0 - line11 + line12 col5 file0 @@ -29,12 +29,12 @@ end - line12 + line13 col3 file0 - line12 + line13 col4 file0 @@ -50,12 +50,12 @@ start - line12 + line13 col3 file0 - line12 + line13 col4 file0 @@ -63,12 +63,12 @@ end - line12 + line13 col7 file0 - line12 + line13 col7 file0 @@ -80,7 +80,7 @@ kindevent location - line12 + line13 col7 file0 @@ -88,12 +88,12 @@ - line12 + line13 col7 file0 - line12 + line13 col12 file0 @@ -113,12 +113,12 @@ start - line12 + line13 col7 file0 - line12 + line13 col7 file0 @@ -126,12 +126,12 @@ end - line17 + line18 col11 file0 - line17 + line18 col11 file0 @@ -143,7 +143,7 @@ kindevent location - line17 + line18 col11 file0 @@ -151,12 +151,12 @@ - line17 + line18 col10 file0 - line17 + line18 col12 file0 @@ -180,7 +180,7 @@ issue_hash_function_offset7 location - line17 + line18 col11 file0 @@ -188,12 +188,12 @@ 0 - 5 6 - 10 + 7 11 12 - 17 + 13 + 18 @@ -204,7 +204,7 @@ kindevent location - line26 + line27 col11 file0 @@ -212,12 +212,12 @@ - line26 + line27 col11 file0 - line26 + line27 col11 file0 @@ -233,7 +233,7 @@ kindevent location - line26 + line27 col3 file0 @@ -241,12 +241,12 @@ - line26 + line27 col3 file0 - line26 + line27 col12 file0 @@ -262,7 +262,7 @@ kindevent location - line21 + line22 col1 file0 @@ -280,12 +280,12 @@ start - line21 + line22 col1 file0 - line21 + line22 col4 file0 @@ -293,12 +293,12 @@ end - line22 + line23 col3 file0 - line22 + line23 col3 file0 @@ -314,12 +314,12 @@ start - line22 + line23 col3 file0 - line22 + line23 col3 file0 @@ -327,12 +327,12 @@ end - line22 + line23 col6 file0 - line22 + line23 col6 file0 @@ -344,7 +344,7 @@ kindevent location - line22 + line23 col6 file0 @@ -352,12 +352,12 @@ - line22 + line23 col4 file0 - line22 + line23 col4 file0 @@ -381,7 +381,7 @@ issue_hash_function_offset1 location - line22 + line23 col6 file0 @@ -389,10 +389,10 @@ 0 - 21 22 - 25 + 23 26 + 27 @@ -407,12 +407,12 @@ start - line38 + line39 col3 file0 - line38 + line39 col4 file0 @@ -420,12 +420,12 @@ end - line38 + line39 col7 file0 - line38 + line39 col7 file0 @@ -437,7 +437,7 @@ kindevent location - line38 + line39 col7 file0 @@ -445,12 +445,12 @@ - line38 + line39 col7 file0 - line38 + line39 col9 file0 @@ -470,12 +470,12 @@ start - line38 + line39 col7 file0 - line38 + line39 col7 file0 @@ -483,12 +483,12 @@ end - line44 + line45 col3 file0 - line44 + line45 col4 file0 @@ -504,12 +504,12 @@ start - line44 + line45 col3 file0 - line44 + line45 col4 file0 @@ -517,12 +517,12 @@ end - line44 + line45 col7 file0 - line44 + line45 col7 file0 @@ -534,7 +534,7 @@ kindpop-up location - line44 + line45 col7 file0 @@ -542,12 +542,12 @@ - line44 + line45 col7 file0 - line44 + line45 col7 file0 @@ -566,12 +566,12 @@ start - line44 + line45 col7 file0 - line44 + line45 col7 file0 @@ -579,12 +579,12 @@ end - line47 + line48 col5 file0 - line47 + line48 col16 file0 @@ -596,7 +596,7 @@ kindevent location - line47 + line48 col18 file0 @@ -604,12 +604,12 @@ - line47 + line48 col18 file0 - line47 + line48 col18 file0 @@ -625,7 +625,7 @@ kindevent location - line47 + line48 col5 file0 @@ -633,12 +633,12 @@ - line47 + line48 col5 file0 - line47 + line48 col19 file0 @@ -654,7 +654,7 @@ kindevent location - line31 + line32 col1 file0 @@ -672,12 +672,12 @@ start - line31 + line32 col1 file0 - line31 + line32 col4 file0 @@ -685,12 +685,12 @@ end - line32 + line33 col3 file0 - line32 + line33 col3 file0 @@ -706,12 +706,12 @@ start - line32 + line33 col3 file0 - line32 + line33 col3 file0 @@ -719,12 +719,12 @@ end - line32 + line33 col6 file0 - line32 + line33 col6 file0 @@ -736,7 +736,7 @@ kindevent location - line32 + line33 col6 file0 @@ -744,12 +744,12 @@ - line32 + line33 col4 file0 - line32 + line33 col4 file0 @@ -773,7 +773,7 @@ issue_hash_function_offset1 location - line32 + line33 col6 file0 @@ -781,12 +781,12 @@ 0 - 31 32 - 37 + 33 38 - 44 - 47 + 39 + 45 + 48 @@ -797,7 +797,7 @@ kindevent location - line58 + line59 col3 file0 @@ -805,12 +805,12 @@ - line58 + line59 col3 file0 - line58 + line59 col8 file0 @@ -830,12 +830,12 @@ start - line58 + line59 col3 file0 - line58 + line59 col5 file0 @@ -843,12 +843,12 @@ end - line59 + line60 col3 file0 - line59 + line60 col3 file0 @@ -860,7 +860,7 @@ kindevent location - line59 + line60 col3 file0 @@ -868,12 +868,12 @@ - line59 + line60 col3 file0 - line61 + line62 col5 file0 @@ -889,7 +889,7 @@ kindevent location - line59 + line60 col3 file0 @@ -907,12 +907,12 @@ start - line59 + line60 col3 file0 - line59 + line60 col3 file0 @@ -920,12 +920,12 @@ end - line60 + line61 col5 file0 - line60 + line61 col5 file0 @@ -941,12 +941,12 @@ start - line60 + line61 col5 file0 - line60 + line61 col5 file0 @@ -954,12 +954,12 @@ end - line60 + line61 col8 file0 - line60 + line61 col8 file0 @@ -971,7 +971,7 @@ kindevent location - line60 + line61 col8 file0 @@ -979,12 +979,12 @@ - line60 + line61 col6 file0 - line60 + line61 col6 file0 @@ -1005,7 +1005,7 @@ issue_hash_content_of_line_in_contexta2e7504f29818834127c44ba841f4da8 location - line60 + line61 col8 file0 @@ -1013,10 +1013,10 @@ 0 - 57 58 59 60 + 61 @@ -1031,12 +1031,12 @@ start - line66 + line67 col3 file0 - line66 + line67 col5 file0 @@ -1044,12 +1044,12 @@ end - line66 + line67 col12 file0 - line66 + line67 col12 file0 @@ -1061,7 +1061,7 @@ kindevent location - line66 + line67 col12 file0 @@ -1069,12 +1069,12 @@ - line66 + line67 col12 file0 - line69 + line70 col5 file0 @@ -1090,7 +1090,7 @@ kindevent location - line66 + line67 col12 file0 @@ -1108,12 +1108,12 @@ start - line66 + line67 col12 file0 - line66 + line67 col12 file0 @@ -1121,12 +1121,12 @@ end - line67 + line68 col5 file0 - line67 + line68 col7 file0 @@ -1138,7 +1138,7 @@ kindevent location - line67 + line68 col5 file0 @@ -1146,12 +1146,12 @@ - line67 + line68 col5 file0 - line67 + line68 col10 file0 @@ -1171,12 +1171,12 @@ start - line67 + line68 col5 file0 - line67 + line68 col7 file0 @@ -1184,12 +1184,12 @@ end - line68 + line69 col5 file0 - line68 + line69 col10 file0 @@ -1201,7 +1201,7 @@ kindevent location - line68 + line69 col5 file0 @@ -1209,12 +1209,12 @@ - line68 + line69 col5 file0 - line68 + line69 col12 file0 @@ -1230,7 +1230,7 @@ kindevent location - line66 + line67 col12 file0 @@ -1238,12 +1238,12 @@ - line66 + line67 col12 file0 - line69 + line70 col5 file0 @@ -1263,12 +1263,12 @@ start - line66 + line67 col12 file0 - line66 + line67 col12 file0 @@ -1276,12 +1276,12 @@ end - line66 + line67 col3 file0 - line66 + line67 col5 file0 @@ -1293,7 +1293,7 @@ kindevent location - line66 + line67 col3 file0 @@ -1301,12 +1301,12 @@ - line66 + line67 col3 file0 - line66 + line67 col8 file0 @@ -1326,12 +1326,12 @@ start - line66 + line67 col3 file0 - line66 + line67 col5 file0 @@ -1339,12 +1339,12 @@ end - line70 + line71 col3 file0 - line70 + line71 col3 file0 @@ -1360,12 +1360,12 @@ start - line70 + line71 col3 file0 - line70 + line71 col3 file0 @@ -1373,12 +1373,12 @@ end - line70 + line71 col6 file0 - line70 + line71 col6 file0 @@ -1390,7 +1390,7 @@ kindevent location - line70 + line71 col6 file0 @@ -1398,12 +1398,12 @@ - line70 + line71 col4 file0 - line70 + line71 col4 file0 @@ -1427,7 +1427,7 @@ issue_hash_function_offset5 location - line70 + line71 col6 file0 @@ -1435,11 +1435,11 @@ 0 - 65 66 67 68 - 70 + 69 + 71 @@ -1454,12 +1454,12 @@ start - line74 + line75 col3 file0 - line74 + line75 col9 file0 @@ -1467,12 +1467,12 @@ end - line75 + line76 col3 file0 - line75 + line76 col3 file0 @@ -1484,7 +1484,7 @@ kindevent location - line75 + line76 col3 file0 @@ -1492,12 +1492,12 @@ - line75 + line76 col3 file0 - line77 + line78 col5 file0 @@ -1513,7 +1513,7 @@ kindevent location - line75 + line76 col3 file0 @@ -1531,12 +1531,12 @@ start - line75 + line76 col3 file0 - line75 + line76 col3 file0 @@ -1544,12 +1544,12 @@ end - line76 + line77 col5 file0 - line76 + line77 col5 file0 @@ -1561,7 +1561,7 @@ kindevent location - line76 + line77 col5 file0 @@ -1569,12 +1569,12 @@ - line76 + line77 col5 file0 - line76 + line77 col9 file0 @@ -1590,7 +1590,7 @@ kindevent location - line75 + line76 col3 file0 @@ -1598,12 +1598,12 @@ - line75 + line76 col3 file0 - line77 + line78 col5 file0 @@ -1623,12 +1623,12 @@ start - line75 + line76 col3 file0 - line75 + line76 col3 file0 @@ -1636,12 +1636,12 @@ end - line78 + line79 col3 file0 - line78 + line79 col3 file0 @@ -1657,12 +1657,12 @@ start - line78 + line79 col3 file0 - line78 + line79 col3 file0 @@ -1670,12 +1670,12 @@ end - line78 + line79 col6 file0 - line78 + line79 col6 file0 @@ -1687,7 +1687,7 @@ kindevent location - line78 + line79 col6 file0 @@ -1695,12 +1695,12 @@ - line78 + line79 col4 file0 - line78 + line79 col4 file0 @@ -1724,7 +1724,7 @@ issue_hash_function_offset5 location - line78 + line79 col6 file0 @@ -1732,11 +1732,11 @@ 0 - 73 74 75 76 - 78 + 77 + 79 @@ -1751,12 +1751,12 @@ start - line82 + line83 col3 file0 - line82 + line83 col5 file0 @@ -1764,12 +1764,12 @@ end - line83 + line84 col3 file0 - line83 + line84 col3 file0 @@ -1781,7 +1781,7 @@ kindevent location - line83 + line84 col3 file0 @@ -1789,12 +1789,12 @@ - line83 + line84 col3 file0 - line85 + line86 col7 file0 @@ -1810,7 +1810,7 @@ kindevent location - line83 + line84 col3 file0 @@ -1828,12 +1828,12 @@ start - line83 + line84 col3 file0 - line83 + line84 col3 file0 @@ -1841,12 +1841,12 @@ end - line84 + line85 col5 file0 - line84 + line85 col5 file0 @@ -1858,7 +1858,7 @@ kindevent location - line84 + line85 col5 file0 @@ -1866,12 +1866,12 @@ - line84 + line85 col5 file0 - line84 + line85 col10 file0 @@ -1887,7 +1887,7 @@ kindevent location - line83 + line84 col3 file0 @@ -1895,12 +1895,12 @@ - line83 + line84 col3 file0 - line85 + line86 col7 file0 @@ -1920,12 +1920,12 @@ start - line83 + line84 col3 file0 - line83 + line84 col3 file0 @@ -1933,12 +1933,12 @@ end - line86 + line87 col3 file0 - line86 + line87 col3 file0 @@ -1954,12 +1954,12 @@ start - line86 + line87 col3 file0 - line86 + line87 col3 file0 @@ -1967,12 +1967,12 @@ end - line86 + line87 col6 file0 - line86 + line87 col6 file0 @@ -1984,7 +1984,7 @@ kindevent location - line86 + line87 col6 file0 @@ -1992,12 +1992,12 @@ - line86 + line87 col4 file0 - line86 + line87 col4 file0 @@ -2021,7 +2021,7 @@ issue_hash_function_offset5 location - line86 + line87 col6 file0 @@ -2029,12 +2029,12 @@ 0 - 81 82 83 84 85 86 + 87 diff --git a/clang/test/Analysis/Inputs/expected-plists/malloc-plist.c.plist b/clang/test/Analysis/Inputs/expected-plists/malloc-plist.c.plist index 8ae58503b9c7..15af3f37f947 100644 --- a/clang/test/Analysis/Inputs/expected-plists/malloc-plist.c.plist +++ b/clang/test/Analysis/Inputs/expected-plists/malloc-plist.c.plist @@ -2668,12 +2668,12 @@ start - line97 + line98 col3 file0 - line97 + line98 col6 file0 @@ -2681,12 +2681,12 @@ end - line99 + line100 col3 file0 - line99 + line100 col5 file0 @@ -2698,7 +2698,7 @@ kindevent location - line99 + line100 col12 file0 @@ -2706,12 +2706,12 @@ - line99 + line100 col12 file0 - line99 + line100 col30 file0 @@ -2731,12 +2731,12 @@ start - line99 + line100 col3 file0 - line99 + line100 col5 file0 @@ -2744,12 +2744,12 @@ end - line100 + line101 col3 file0 - line100 + line101 col20 file0 @@ -2761,7 +2761,7 @@ kindevent location - line100 + line101 col3 file0 @@ -2769,12 +2769,12 @@ - line100 + line101 col3 file0 - line100 + line101 col35 file0 @@ -2790,7 +2790,7 @@ kindevent location - line92 + line93 col1 file0 @@ -2808,12 +2808,12 @@ start - line92 + line93 col1 file0 - line92 + line93 col4 file0 @@ -2821,12 +2821,12 @@ end - line93 + line94 col3 file0 - line93 + line94 col6 file0 @@ -2838,7 +2838,7 @@ kindevent location - line93 + line94 col3 file0 @@ -2846,12 +2846,12 @@ - line93 + line94 col3 file0 - line93 + line94 col9 file0 @@ -2867,7 +2867,7 @@ kindevent location - line100 + line101 col3 file0 @@ -2875,12 +2875,12 @@ - line100 + line101 col3 file0 - line100 + line101 col35 file0 @@ -2900,12 +2900,12 @@ start - line100 + line101 col3 file0 - line100 + line101 col20 file0 @@ -2913,12 +2913,12 @@ end - line101 + line102 col3 file0 - line101 + line102 col3 file0 @@ -2934,12 +2934,12 @@ start - line101 + line102 col3 file0 - line101 + line102 col3 file0 @@ -2947,12 +2947,12 @@ end - line101 + line102 col6 file0 - line101 + line102 col6 file0 @@ -2964,7 +2964,7 @@ kindevent location - line101 + line102 col6 file0 @@ -2972,12 +2972,12 @@ - line101 + line102 col3 file0 - line101 + line102 col4 file0 @@ -3001,7 +3001,7 @@ issue_hash_function_offset5 location - line101 + line102 col6 file0 @@ -3009,13 +3009,13 @@ 0 - 92 93 - 96 + 94 97 - 99 + 98 100 101 + 102 @@ -3030,12 +3030,12 @@ start - line106 + line107 col5 file0 - line106 + line107 col7 file0 @@ -3043,12 +3043,12 @@ end - line108 + line109 col5 file0 - line108 + line109 col5 file0 @@ -3060,7 +3060,7 @@ kindevent location - line108 + line109 col15 file0 @@ -3068,12 +3068,12 @@ - line108 + line109 col15 file0 - line108 + line109 col24 file0 @@ -3093,12 +3093,12 @@ start - line108 + line109 col5 file0 - line108 + line109 col5 file0 @@ -3106,12 +3106,12 @@ end - line114 + line115 col5 file0 - line114 + line115 col6 file0 @@ -3123,7 +3123,7 @@ kindevent location - line114 + line115 col5 file0 @@ -3145,7 +3145,7 @@ issue_hash_function_offset3 location - line114 + line115 col5 file0 @@ -3153,7 +3153,6 @@ 0 - 105 106 107 108 @@ -3163,6 +3162,7 @@ 112 113 114 + 115 @@ -3173,7 +3173,7 @@ kindevent location - line122 + line123 col5 file0 @@ -3181,12 +3181,12 @@ - line122 + line123 col5 file0 - line122 + line123 col25 file0 @@ -3202,7 +3202,7 @@ kindevent location - line118 + line119 col1 file0 @@ -3220,12 +3220,12 @@ start - line118 + line119 col1 file0 - line118 + line119 col6 file0 @@ -3233,12 +3233,12 @@ end - line119 + line120 col5 file0 - line119 + line120 col8 file0 @@ -3250,7 +3250,7 @@ kindevent location - line119 + line120 col22 file0 @@ -3258,12 +3258,12 @@ - line119 + line120 col22 file0 - line119 + line120 col31 file0 @@ -3283,12 +3283,12 @@ start - line119 + line120 col5 file0 - line119 + line120 col8 file0 @@ -3296,12 +3296,12 @@ end - line120 + line121 col1 file0 - line120 + line121 col1 file0 @@ -3313,7 +3313,7 @@ kindevent location - line120 + line121 col1 file0 @@ -3335,7 +3335,7 @@ issue_hash_function_offset1 location - line120 + line121 col1 file0 @@ -3343,11 +3343,11 @@ 0 - 118 119 120 121 122 + 123 @@ -3358,7 +3358,7 @@ kindevent location - line131 + line132 col5 file0 @@ -3366,12 +3366,12 @@ - line131 + line132 col5 file0 - line131 + line132 col25 file0 @@ -3387,7 +3387,7 @@ kindevent location - line126 + line127 col1 file0 @@ -3405,12 +3405,12 @@ start - line126 + line127 col1 file0 - line126 + line127 col6 file0 @@ -3418,12 +3418,12 @@ end - line127 + line128 col5 file0 - line127 + line128 col8 file0 @@ -3435,7 +3435,7 @@ kindevent location - line127 + line128 col22 file0 @@ -3443,12 +3443,12 @@ - line127 + line128 col22 file0 - line127 + line128 col31 file0 @@ -3468,12 +3468,12 @@ start - line127 + line128 col5 file0 - line127 + line128 col8 file0 @@ -3481,12 +3481,12 @@ end - line128 + line129 col5 file0 - line128 + line129 col7 file0 @@ -3498,7 +3498,7 @@ kindevent location - line128 + line129 col5 file0 @@ -3520,7 +3520,7 @@ issue_hash_function_offset1 location - line128 + line129 col5 file0 @@ -3528,11 +3528,11 @@ 0 - 126 127 128 - 130 + 129 131 + 132 @@ -3543,7 +3543,7 @@ kindevent location - line140 + line141 col5 file0 @@ -3551,12 +3551,12 @@ - line140 + line141 col5 file0 - line140 + line141 col26 file0 @@ -3572,7 +3572,7 @@ kindevent location - line134 + line135 col1 file0 @@ -3590,12 +3590,12 @@ start - line134 + line135 col1 file0 - line134 + line135 col6 file0 @@ -3603,12 +3603,12 @@ end - line135 + line136 col5 file0 - line135 + line136 col8 file0 @@ -3620,7 +3620,7 @@ kindevent location - line135 + line136 col22 file0 @@ -3628,12 +3628,12 @@ - line135 + line136 col22 file0 - line135 + line136 col31 file0 @@ -3653,12 +3653,12 @@ start - line135 + line136 col5 file0 - line135 + line136 col8 file0 @@ -3666,12 +3666,12 @@ end - line136 + line137 col5 file0 - line136 + line137 col6 file0 @@ -3687,12 +3687,12 @@ start - line136 + line137 col5 file0 - line136 + line137 col6 file0 @@ -3700,12 +3700,12 @@ end - line136 + line137 col9 file0 - line136 + line137 col9 file0 @@ -3717,7 +3717,7 @@ kindevent location - line136 + line137 col9 file0 @@ -3725,12 +3725,12 @@ - line136 + line137 col9 file0 - line136 + line137 col9 file0 @@ -3750,12 +3750,12 @@ start - line136 + line137 col9 file0 - line136 + line137 col9 file0 @@ -3763,12 +3763,12 @@ end - line137 + line138 col9 file0 - line137 + line138 col9 file0 @@ -3780,7 +3780,7 @@ kindevent location - line137 + line138 col9 file0 @@ -3802,7 +3802,7 @@ issue_hash_function_offset1 location - line137 + line138 col9 file0 @@ -3810,12 +3810,12 @@ 0 - 134 135 136 137 - 139 + 138 140 + 141 @@ -3826,7 +3826,7 @@ kindevent location - line151 + line152 col5 file0 @@ -3834,12 +3834,12 @@ - line151 + line152 col5 file0 - line151 + line152 col26 file0 @@ -3855,7 +3855,7 @@ kindevent location - line143 + line144 col1 file0 @@ -3873,12 +3873,12 @@ start - line143 + line144 col1 file0 - line143 + line144 col6 file0 @@ -3886,12 +3886,12 @@ end - line144 + line145 col5 file0 - line144 + line145 col8 file0 @@ -3903,7 +3903,7 @@ kindevent location - line144 + line145 col22 file0 @@ -3911,12 +3911,12 @@ - line144 + line145 col22 file0 - line144 + line145 col31 file0 @@ -3936,12 +3936,12 @@ start - line144 + line145 col5 file0 - line144 + line145 col8 file0 @@ -3949,12 +3949,12 @@ end - line145 + line146 col5 file0 - line145 + line146 col6 file0 @@ -3970,12 +3970,12 @@ start - line145 + line146 col5 file0 - line145 + line146 col6 file0 @@ -3983,12 +3983,12 @@ end - line145 + line146 col9 file0 - line145 + line146 col9 file0 @@ -4000,7 +4000,7 @@ kindevent location - line145 + line146 col9 file0 @@ -4008,12 +4008,12 @@ - line145 + line146 col9 file0 - line145 + line146 col9 file0 @@ -4033,12 +4033,12 @@ start - line145 + line146 col9 file0 - line145 + line146 col9 file0 @@ -4046,12 +4046,12 @@ end - line148 + line149 col9 file0 - line148 + line149 col9 file0 @@ -4063,7 +4063,7 @@ kindevent location - line148 + line149 col9 file0 @@ -4085,7 +4085,7 @@ issue_hash_function_offset1 location - line148 + line149 col9 file0 @@ -4093,12 +4093,12 @@ 0 - 143 144 145 - 148 - 150 + 146 + 149 151 + 152 @@ -4109,7 +4109,7 @@ kindevent location - line162 + line163 col5 file0 @@ -4117,12 +4117,12 @@ - line162 + line163 col5 file0 - line162 + line163 col25 file0 @@ -4138,7 +4138,7 @@ kindevent location - line157 + line158 col1 file0 @@ -4156,12 +4156,12 @@ start - line157 + line158 col1 file0 - line157 + line158 col6 file0 @@ -4169,12 +4169,12 @@ end - line158 + line159 col5 file0 - line158 + line159 col8 file0 @@ -4186,7 +4186,7 @@ kindevent location - line158 + line159 col22 file0 @@ -4194,12 +4194,12 @@ - line158 + line159 col22 file0 - line158 + line159 col31 file0 @@ -4219,12 +4219,12 @@ start - line158 + line159 col5 file0 - line158 + line159 col8 file0 @@ -4232,12 +4232,12 @@ end - line159 + line160 col5 file0 - line159 + line160 col10 file0 @@ -4253,12 +4253,12 @@ start - line159 + line160 col5 file0 - line159 + line160 col10 file0 @@ -4266,12 +4266,12 @@ end - line159 + line160 col12 file0 - line159 + line160 col27 file0 @@ -4283,7 +4283,7 @@ kindevent location - line159 + line160 col12 file0 @@ -4305,7 +4305,7 @@ issue_hash_function_offset1 location - line159 + line160 col12 file0 @@ -4313,11 +4313,11 @@ 0 - 157 158 159 - 161 + 160 162 + 163 @@ -4328,7 +4328,7 @@ kindevent location - line173 + line174 col5 file0 @@ -4336,12 +4336,12 @@ - line173 + line174 col5 file0 - line173 + line174 col25 file0 @@ -4357,7 +4357,7 @@ kindevent location - line168 + line169 col1 file0 @@ -4375,12 +4375,12 @@ start - line168 + line169 col1 file0 - line168 + line169 col6 file0 @@ -4388,12 +4388,12 @@ end - line169 + line170 col5 file0 - line169 + line170 col8 file0 @@ -4405,7 +4405,7 @@ kindevent location - line169 + line170 col22 file0 @@ -4413,12 +4413,12 @@ - line169 + line170 col22 file0 - line169 + line170 col31 file0 @@ -4438,12 +4438,12 @@ start - line169 + line170 col5 file0 - line169 + line170 col8 file0 @@ -4451,12 +4451,12 @@ end - line170 + line171 col5 file0 - line170 + line171 col20 file0 @@ -4468,7 +4468,7 @@ kindevent location - line170 + line171 col5 file0 @@ -4490,7 +4490,7 @@ issue_hash_function_offset1 location - line170 + line171 col5 file0 @@ -4498,11 +4498,11 @@ 0 - 168 169 170 - 172 + 171 173 + 174 @@ -4513,7 +4513,7 @@ kindevent location - line185 + line186 col5 file0 @@ -4521,12 +4521,12 @@ - line185 + line186 col5 file0 - line185 + line186 col25 file0 @@ -4542,7 +4542,7 @@ kindevent location - line181 + line182 col1 file0 @@ -4560,12 +4560,12 @@ start - line181 + line182 col1 file0 - line181 + line182 col6 file0 @@ -4573,12 +4573,12 @@ end - line182 + line183 col5 file0 - line182 + line183 col10 file0 @@ -4590,7 +4590,7 @@ kindevent location - line182 + line183 col19 file0 @@ -4598,12 +4598,12 @@ - line182 + line183 col19 file0 - line182 + line183 col28 file0 @@ -4619,7 +4619,7 @@ kindevent location - line185 + line186 col5 file0 @@ -4627,12 +4627,12 @@ - line185 + line186 col5 file0 - line185 + line186 col25 file0 @@ -4652,12 +4652,12 @@ start - line185 + line186 col5 file0 - line185 + line186 col23 file0 @@ -4665,12 +4665,12 @@ end - line186 + line187 col1 file0 - line186 + line187 col1 file0 @@ -4682,7 +4682,7 @@ kindevent location - line186 + line187 col1 file0 @@ -4704,7 +4704,7 @@ issue_hash_function_offset1 location - line186 + line187 col1 file0 @@ -4712,11 +4712,11 @@ 0 - 181 182 - 184 + 183 185 186 + 187 @@ -4727,7 +4727,7 @@ kindevent location - line195 + line196 col3 file0 @@ -4735,12 +4735,12 @@ - line195 + line196 col3 file0 - line195 + line196 col13 file0 @@ -4756,7 +4756,7 @@ kindevent location - line190 + line191 col1 file0 @@ -4774,12 +4774,12 @@ start - line190 + line191 col1 file0 - line190 + line191 col3 file0 @@ -4787,12 +4787,12 @@ end - line191 + line192 col3 file0 - line191 + line192 col5 file0 @@ -4804,7 +4804,7 @@ kindevent location - line191 + line192 col12 file0 @@ -4812,12 +4812,12 @@ - line191 + line192 col12 file0 - line191 + line192 col21 file0 @@ -4837,12 +4837,12 @@ start - line191 + line192 col3 file0 - line191 + line192 col5 file0 @@ -4850,12 +4850,12 @@ end - line192 + line193 col3 file0 - line192 + line193 col8 file0 @@ -4867,7 +4867,7 @@ kindevent location - line195 + line196 col3 file0 @@ -4875,12 +4875,12 @@ - line195 + line196 col3 file0 - line195 + line196 col13 file0 @@ -4900,12 +4900,12 @@ start - line195 + line196 col3 file0 - line195 + line196 col11 file0 @@ -4913,12 +4913,12 @@ end - line196 + line197 col1 file0 - line196 + line197 col1 file0 @@ -4930,7 +4930,7 @@ kindevent location - line196 + line197 col1 file0 @@ -4952,7 +4952,7 @@ issue_hash_function_offset1 location - line196 + line197 col1 file0 @@ -4960,12 +4960,12 @@ 0 - 190 191 192 - 194 + 193 195 196 + 197 @@ -4976,7 +4976,7 @@ kindevent location - line207 + line208 col3 file0 @@ -4984,12 +4984,12 @@ - line207 + line208 col3 file0 - line207 + line208 col25 file0 @@ -5005,7 +5005,7 @@ kindevent location - line201 + line202 col1 file0 @@ -5023,12 +5023,12 @@ start - line201 + line202 col1 file0 - line201 + line202 col3 file0 @@ -5036,12 +5036,12 @@ end - line202 + line203 col3 file0 - line202 + line203 col8 file0 @@ -5057,12 +5057,12 @@ start - line202 + line203 col3 file0 - line202 + line203 col8 file0 @@ -5070,12 +5070,12 @@ end - line203 + line204 col3 file0 - line203 + line204 col3 file0 @@ -5087,7 +5087,7 @@ kindevent location - line203 + line204 col9 file0 @@ -5095,12 +5095,12 @@ - line203 + line204 col9 file0 - line203 + line204 col18 file0 @@ -5120,12 +5120,12 @@ start - line203 + line204 col3 file0 - line203 + line204 col3 file0 @@ -5133,12 +5133,12 @@ end - line204 + line205 col3 file0 - line204 + line205 col8 file0 @@ -5150,7 +5150,7 @@ kindevent location - line207 + line208 col3 file0 @@ -5158,12 +5158,12 @@ - line207 + line208 col3 file0 - line207 + line208 col25 file0 @@ -5183,12 +5183,12 @@ start - line207 + line208 col3 file0 - line207 + line208 col23 file0 @@ -5196,12 +5196,12 @@ end - line208 + line209 col1 file0 - line208 + line209 col1 file0 @@ -5213,7 +5213,7 @@ kindevent location - line208 + line209 col1 file0 @@ -5235,7 +5235,7 @@ issue_hash_function_offset1 location - line208 + line209 col1 file0 @@ -5243,13 +5243,13 @@ 0 - 201 202 203 204 - 206 + 205 207 208 + 209 diff --git a/clang/test/Analysis/Inputs/expected-plists/plist-output.m.plist b/clang/test/Analysis/Inputs/expected-plists/plist-output.m.plist index 32244329c434..b7ffbf5b5fee 100644 --- a/clang/test/Analysis/Inputs/expected-plists/plist-output.m.plist +++ b/clang/test/Analysis/Inputs/expected-plists/plist-output.m.plist @@ -1881,12 +1881,12 @@ start - line74 + line75 col3 file0 - line74 + line75 col4 file0 @@ -1894,12 +1894,12 @@ end - line74 + line75 col7 file0 - line74 + line75 col7 file0 @@ -1911,7 +1911,7 @@ kindevent location - line74 + line75 col7 file0 @@ -1919,12 +1919,12 @@ - line74 + line75 col7 file0 - line74 + line75 col14 file0 @@ -1944,12 +1944,12 @@ start - line74 + line75 col7 file0 - line74 + line75 col7 file0 @@ -1957,12 +1957,12 @@ end - line75 + line76 col5 file0 - line75 + line76 col7 file0 @@ -1974,7 +1974,7 @@ kindevent location - line75 + line76 col5 file0 @@ -1982,12 +1982,12 @@ - line75 + line76 col5 file0 - line75 + line76 col10 file0 @@ -2007,12 +2007,12 @@ start - line75 + line76 col5 file0 - line75 + line76 col7 file0 @@ -2020,12 +2020,12 @@ end - line76 + line77 col5 file0 - line76 + line77 col5 file0 @@ -2041,12 +2041,12 @@ start - line76 + line77 col5 file0 - line76 + line77 col5 file0 @@ -2054,12 +2054,12 @@ end - line76 + line77 col8 file0 - line76 + line77 col8 file0 @@ -2071,7 +2071,7 @@ kindevent location - line76 + line77 col8 file0 @@ -2079,12 +2079,12 @@ - line76 + line77 col6 file0 - line76 + line77 col6 file0 @@ -2108,7 +2108,7 @@ issue_hash_function_offset3 location - line76 + line77 col8 file0 @@ -2116,10 +2116,10 @@ 0 - 73 74 75 76 + 77 @@ -2130,7 +2130,7 @@ kindevent location - line85 + line86 col8 file0 @@ -2138,24 +2138,24 @@ - line85 + line86 col8 file0 - line85 + line86 col10 file0 - line85 + line86 col14 file0 - line85 + line86 col40 file0 @@ -2179,7 +2179,7 @@ issue_hash_function_offset2 location - line85 + line86 col8 file0 @@ -2187,7 +2187,7 @@ 0 - 85 + 86 @@ -2202,12 +2202,12 @@ start - line84 + line85 col3 file0 - line84 + line85 col4 file0 @@ -2215,12 +2215,12 @@ end - line84 + line85 col7 file0 - line84 + line85 col21 file0 @@ -2232,7 +2232,7 @@ kindevent location - line84 + line85 col7 file0 @@ -2240,12 +2240,12 @@ - line84 + line85 col7 file0 - line84 + line85 col23 file0 @@ -2265,12 +2265,12 @@ start - line84 + line85 col7 file0 - line84 + line85 col21 file0 @@ -2278,12 +2278,12 @@ end - line85 + line86 col5 file0 - line85 + line86 col6 file0 @@ -2295,7 +2295,7 @@ kindevent location - line85 + line86 col14 file0 @@ -2303,12 +2303,12 @@ - line85 + line86 col14 file0 - line85 + line86 col40 file0 @@ -2328,12 +2328,12 @@ start - line85 + line86 col5 file0 - line85 + line86 col6 file0 @@ -2341,12 +2341,12 @@ end - line87 + line88 col9 file0 - line87 + line88 col9 file0 @@ -2358,7 +2358,7 @@ kindevent location - line87 + line88 col9 file0 @@ -2380,7 +2380,7 @@ issue_hash_function_offset2 location - line87 + line88 col9 file0 @@ -2388,10 +2388,10 @@ 0 - 83 84 85 - 87 + 86 + 88 @@ -2402,7 +2402,7 @@ kindevent location - line94 + line95 col24 file0 @@ -2410,12 +2410,12 @@ - line94 + line95 col24 file0 - line94 + line95 col28 file0 @@ -2435,12 +2435,12 @@ start - line94 + line95 col3 file0 - line94 + line95 col5 file0 @@ -2448,12 +2448,12 @@ end - line95 + line96 col4 file0 - line95 + line96 col5 file0 @@ -2469,12 +2469,12 @@ start - line95 + line96 col4 file0 - line95 + line96 col5 file0 @@ -2482,12 +2482,12 @@ end - line95 + line96 col8 file0 - line95 + line96 col8 file0 @@ -2499,7 +2499,7 @@ kindpop-up location - line95 + line96 col8 file0 @@ -2507,12 +2507,12 @@ - line95 + line96 col8 file0 - line95 + line96 col8 file0 @@ -2531,12 +2531,12 @@ start - line95 + line96 col8 file0 - line95 + line96 col8 file0 @@ -2544,12 +2544,12 @@ end - line99 + line100 col3 file0 - line99 + line100 col3 file0 @@ -2565,12 +2565,12 @@ start - line99 + line100 col3 file0 - line99 + line100 col3 file0 @@ -2578,12 +2578,12 @@ end - line94 + line95 col3 file0 - line94 + line95 col5 file0 @@ -2595,7 +2595,7 @@ kindevent location - line94 + line95 col3 file0 @@ -2603,12 +2603,12 @@ - line94 + line95 col3 file0 - line94 + line95 col5 file0 @@ -2624,7 +2624,7 @@ kindevent location - line94 + line95 col24 file0 @@ -2632,12 +2632,12 @@ - line94 + line95 col24 file0 - line94 + line95 col28 file0 @@ -2657,12 +2657,12 @@ start - line94 + line95 col3 file0 - line94 + line95 col5 file0 @@ -2670,12 +2670,12 @@ end - line95 + line96 col4 file0 - line95 + line96 col5 file0 @@ -2691,12 +2691,12 @@ start - line95 + line96 col4 file0 - line95 + line96 col5 file0 @@ -2704,12 +2704,12 @@ end - line95 + line96 col8 file0 - line95 + line96 col8 file0 @@ -2721,7 +2721,7 @@ kindpop-up location - line95 + line96 col8 file0 @@ -2729,12 +2729,12 @@ - line95 + line96 col8 file0 - line95 + line96 col8 file0 @@ -2753,12 +2753,12 @@ start - line95 + line96 col8 file0 - line95 + line96 col8 file0 @@ -2766,12 +2766,12 @@ end - line96 + line97 col5 file0 - line96 + line97 col7 file0 @@ -2783,7 +2783,7 @@ kindevent location - line96 + line97 col5 file0 @@ -2791,12 +2791,12 @@ - line96 + line97 col5 file0 - line96 + line97 col10 file0 @@ -2816,12 +2816,12 @@ start - line96 + line97 col5 file0 - line96 + line97 col7 file0 @@ -2829,12 +2829,12 @@ end - line97 + line98 col5 file0 - line97 + line98 col5 file0 @@ -2850,12 +2850,12 @@ start - line97 + line98 col5 file0 - line97 + line98 col5 file0 @@ -2863,12 +2863,12 @@ end - line97 + line98 col8 file0 - line97 + line98 col8 file0 @@ -2880,7 +2880,7 @@ kindevent location - line97 + line98 col8 file0 @@ -2888,12 +2888,12 @@ - line97 + line98 col6 file0 - line97 + line98 col6 file0 @@ -2917,7 +2917,7 @@ issue_hash_function_offset4 location - line97 + line98 col8 file0 @@ -2925,12 +2925,12 @@ 0 - 93 94 95 96 97 - 99 + 98 + 100 @@ -2941,7 +2941,7 @@ kindevent location - line106 + line107 col3 file0 @@ -2949,12 +2949,12 @@ - line106 + line107 col3 file0 - line106 + line107 col8 file0 @@ -2974,12 +2974,12 @@ start - line106 + line107 col3 file0 - line106 + line107 col5 file0 @@ -2987,12 +2987,12 @@ end - line107 + line108 col3 file0 - line107 + line108 col5 file0 @@ -3004,7 +3004,7 @@ kindevent location - line107 + line108 col24 file0 @@ -3012,12 +3012,12 @@ - line107 + line108 col24 file0 - line107 + line108 col28 file0 @@ -3037,12 +3037,12 @@ start - line107 + line108 col3 file0 - line107 + line108 col5 file0 @@ -3050,12 +3050,12 @@ end - line110 + line111 col3 file0 - line110 + line111 col3 file0 @@ -3071,12 +3071,12 @@ start - line110 + line111 col3 file0 - line110 + line111 col3 file0 @@ -3084,12 +3084,12 @@ end - line110 + line111 col6 file0 - line110 + line111 col6 file0 @@ -3101,7 +3101,7 @@ kindevent location - line110 + line111 col6 file0 @@ -3109,12 +3109,12 @@ - line110 + line111 col4 file0 - line110 + line111 col4 file0 @@ -3138,7 +3138,7 @@ issue_hash_function_offset5 location - line110 + line111 col6 file0 @@ -3146,10 +3146,10 @@ 0 - 105 106 107 - 110 + 108 + 111 @@ -3160,7 +3160,7 @@ kindevent location - line114 + line115 col3 file0 @@ -3168,12 +3168,12 @@ - line114 + line115 col3 file0 - line114 + line115 col8 file0 @@ -3193,12 +3193,12 @@ start - line114 + line115 col3 file0 - line114 + line115 col5 file0 @@ -3206,12 +3206,12 @@ end - line116 + line117 col3 file0 - line116 + line117 col5 file0 @@ -3223,7 +3223,7 @@ kindevent location - line116 + line117 col11 file0 @@ -3231,12 +3231,12 @@ - line116 + line117 col11 file0 - line116 + line117 col15 file0 @@ -3256,12 +3256,12 @@ start - line116 + line117 col3 file0 - line116 + line117 col5 file0 @@ -3269,12 +3269,12 @@ end - line120 + line121 col3 file0 - line120 + line121 col3 file0 @@ -3290,12 +3290,12 @@ start - line120 + line121 col3 file0 - line120 + line121 col3 file0 @@ -3303,12 +3303,12 @@ end - line120 + line121 col6 file0 - line120 + line121 col6 file0 @@ -3320,7 +3320,7 @@ kindevent location - line120 + line121 col6 file0 @@ -3328,12 +3328,12 @@ - line120 + line121 col4 file0 - line120 + line121 col4 file0 @@ -3357,7 +3357,7 @@ issue_hash_function_offset7 location - line120 + line121 col6 file0 @@ -3365,11 +3365,11 @@ 0 - 113 114 115 116 - 120 + 117 + 121 @@ -3380,7 +3380,7 @@ kindevent location - line124 + line125 col3 file0 @@ -3388,12 +3388,12 @@ - line124 + line125 col3 file0 - line124 + line125 col8 file0 @@ -3413,12 +3413,12 @@ start - line124 + line125 col3 file0 - line124 + line125 col5 file0 @@ -3426,12 +3426,12 @@ end - line125 + line126 col3 file0 - line125 + line126 col5 file0 @@ -3443,7 +3443,7 @@ kindevent location - line125 + line126 col24 file0 @@ -3451,12 +3451,12 @@ - line125 + line126 col24 file0 - line125 + line126 col28 file0 @@ -3476,12 +3476,12 @@ start - line125 + line126 col3 file0 - line125 + line126 col5 file0 @@ -3489,12 +3489,12 @@ end - line126 + line127 col5 file0 - line126 + line127 col6 file0 @@ -3510,12 +3510,12 @@ start - line126 + line127 col5 file0 - line126 + line127 col6 file0 @@ -3523,12 +3523,12 @@ end - line126 + line127 col9 file0 - line126 + line127 col9 file0 @@ -3540,7 +3540,7 @@ kindpop-up location - line126 + line127 col9 file0 @@ -3548,12 +3548,12 @@ - line126 + line127 col9 file0 - line126 + line127 col9 file0 @@ -3572,12 +3572,12 @@ start - line126 + line127 col9 file0 - line126 + line127 col9 file0 @@ -3585,12 +3585,12 @@ end - line128 + line129 col3 file0 - line128 + line129 col3 file0 @@ -3606,12 +3606,12 @@ start - line128 + line129 col3 file0 - line128 + line129 col3 file0 @@ -3619,12 +3619,12 @@ end - line125 + line126 col3 file0 - line125 + line126 col5 file0 @@ -3636,7 +3636,7 @@ kindevent location - line125 + line126 col3 file0 @@ -3644,12 +3644,12 @@ - line125 + line126 col3 file0 - line125 + line126 col5 file0 @@ -3665,7 +3665,7 @@ kindevent location - line125 + line126 col24 file0 @@ -3673,12 +3673,12 @@ - line125 + line126 col24 file0 - line125 + line126 col28 file0 @@ -3698,12 +3698,12 @@ start - line125 + line126 col3 file0 - line125 + line126 col5 file0 @@ -3711,12 +3711,12 @@ end - line126 + line127 col5 file0 - line126 + line127 col6 file0 @@ -3732,12 +3732,12 @@ start - line126 + line127 col5 file0 - line126 + line127 col6 file0 @@ -3745,12 +3745,12 @@ end - line126 + line127 col9 file0 - line126 + line127 col9 file0 @@ -3762,7 +3762,7 @@ kindpop-up location - line126 + line127 col9 file0 @@ -3770,12 +3770,12 @@ - line126 + line127 col9 file0 - line126 + line127 col9 file0 @@ -3794,12 +3794,12 @@ start - line126 + line127 col9 file0 - line126 + line127 col9 file0 @@ -3807,12 +3807,12 @@ end - line127 + line128 col7 file0 - line127 + line128 col11 file0 @@ -3828,12 +3828,12 @@ start - line127 + line128 col7 file0 - line127 + line128 col11 file0 @@ -3841,12 +3841,12 @@ end - line129 + line130 col3 file0 - line129 + line130 col3 file0 @@ -3862,12 +3862,12 @@ start - line129 + line130 col3 file0 - line129 + line130 col3 file0 @@ -3875,12 +3875,12 @@ end - line129 + line130 col6 file0 - line129 + line130 col6 file0 @@ -3892,7 +3892,7 @@ kindevent location - line129 + line130 col6 file0 @@ -3900,12 +3900,12 @@ - line129 + line130 col4 file0 - line129 + line130 col4 file0 @@ -3929,7 +3929,7 @@ issue_hash_function_offset6 location - line129 + line130 col6 file0 @@ -3937,13 +3937,13 @@ 0 - 123 124 125 126 127 128 129 + 130 @@ -3958,12 +3958,12 @@ start - line133 + line134 col3 file0 - line133 + line134 col5 file0 @@ -3971,12 +3971,12 @@ end - line134 + line135 col3 file0 - line134 + line135 col5 file0 @@ -3988,7 +3988,7 @@ kindevent location - line134 + line135 col19 file0 @@ -3996,12 +3996,12 @@ - line134 + line135 col19 file0 - line134 + line135 col23 file0 @@ -4021,12 +4021,12 @@ start - line134 + line135 col3 file0 - line134 + line135 col5 file0 @@ -4034,12 +4034,12 @@ end - line134 + line135 col33 file0 - line134 + line135 col33 file0 @@ -4055,12 +4055,12 @@ start - line134 + line135 col33 file0 - line134 + line135 col33 file0 @@ -4068,12 +4068,12 @@ end - line134 + line135 col40 file0 - line134 + line135 col40 file0 @@ -4089,12 +4089,12 @@ start - line134 + line135 col40 file0 - line134 + line135 col40 file0 @@ -4102,12 +4102,12 @@ end - line134 + line135 col3 file0 - line134 + line135 col5 file0 @@ -4119,7 +4119,7 @@ kindevent location - line134 + line135 col3 file0 @@ -4127,12 +4127,12 @@ - line134 + line135 col3 file0 - line134 + line135 col5 file0 @@ -4148,7 +4148,7 @@ kindevent location - line134 + line135 col19 file0 @@ -4156,12 +4156,12 @@ - line134 + line135 col19 file0 - line134 + line135 col23 file0 @@ -4181,12 +4181,12 @@ start - line134 + line135 col3 file0 - line134 + line135 col5 file0 @@ -4194,12 +4194,12 @@ end - line134 + line135 col33 file0 - line134 + line135 col33 file0 @@ -4211,7 +4211,7 @@ kindevent location - line134 + line135 col33 file0 @@ -4219,12 +4219,12 @@ - line134 + line135 col33 file0 - line134 + line135 col37 file0 @@ -4244,12 +4244,12 @@ start - line134 + line135 col33 file0 - line134 + line135 col33 file0 @@ -4257,12 +4257,12 @@ end - line134 + line135 col40 file0 - line134 + line135 col40 file0 @@ -4278,12 +4278,12 @@ start - line134 + line135 col40 file0 - line134 + line135 col40 file0 @@ -4291,12 +4291,12 @@ end - line134 + line135 col3 file0 - line134 + line135 col5 file0 @@ -4308,7 +4308,7 @@ kindevent location - line134 + line135 col3 file0 @@ -4316,12 +4316,12 @@ - line134 + line135 col3 file0 - line134 + line135 col5 file0 @@ -4341,12 +4341,12 @@ start - line134 + line135 col3 file0 - line134 + line135 col5 file0 @@ -4354,12 +4354,12 @@ end - line135 + line136 col3 file0 - line135 + line136 col3 file0 @@ -4375,12 +4375,12 @@ start - line135 + line136 col3 file0 - line135 + line136 col3 file0 @@ -4388,12 +4388,12 @@ end - line135 + line136 col6 file0 - line135 + line136 col6 file0 @@ -4405,7 +4405,7 @@ kindevent location - line135 + line136 col6 file0 @@ -4413,12 +4413,12 @@ - line135 + line136 col4 file0 - line135 + line136 col4 file0 @@ -4442,7 +4442,7 @@ issue_hash_function_offset3 location - line135 + line136 col6 file0 @@ -4450,10 +4450,10 @@ 0 - 132 133 134 135 + 136 @@ -4468,12 +4468,12 @@ start - line139 + line140 col3 file0 - line139 + line140 col5 file0 @@ -4481,12 +4481,12 @@ end - line140 + line141 col3 file0 - line140 + line141 col5 file0 @@ -4498,7 +4498,7 @@ kindevent location - line140 + line141 col19 file0 @@ -4506,12 +4506,12 @@ - line140 + line141 col19 file0 - line140 + line141 col23 file0 @@ -4531,12 +4531,12 @@ start - line140 + line141 col3 file0 - line140 + line141 col5 file0 @@ -4544,12 +4544,12 @@ end - line141 + line142 col5 file0 - line141 + line142 col6 file0 @@ -4565,12 +4565,12 @@ start - line141 + line142 col5 file0 - line141 + line142 col6 file0 @@ -4578,12 +4578,12 @@ end - line142 + line143 col5 file0 - line142 + line143 col5 file0 @@ -4599,12 +4599,12 @@ start - line142 + line143 col5 file0 - line142 + line143 col5 file0 @@ -4612,12 +4612,12 @@ end - line143 + line144 col3 file0 - line143 + line144 col3 file0 @@ -4633,12 +4633,12 @@ start - line143 + line144 col3 file0 - line143 + line144 col3 file0 @@ -4646,12 +4646,12 @@ end - line140 + line141 col3 file0 - line140 + line141 col5 file0 @@ -4663,7 +4663,7 @@ kindevent location - line140 + line141 col3 file0 @@ -4671,12 +4671,12 @@ - line140 + line141 col3 file0 - line140 + line141 col5 file0 @@ -4692,7 +4692,7 @@ kindevent location - line140 + line141 col19 file0 @@ -4700,12 +4700,12 @@ - line140 + line141 col19 file0 - line140 + line141 col23 file0 @@ -4725,12 +4725,12 @@ start - line140 + line141 col3 file0 - line140 + line141 col5 file0 @@ -4738,12 +4738,12 @@ end - line141 + line142 col5 file0 - line141 + line142 col6 file0 @@ -4759,12 +4759,12 @@ start - line141 + line142 col5 file0 - line141 + line142 col6 file0 @@ -4772,12 +4772,12 @@ end - line142 + line143 col5 file0 - line142 + line143 col5 file0 @@ -4789,7 +4789,7 @@ kindevent location - line142 + line143 col5 file0 @@ -4797,12 +4797,12 @@ - line142 + line143 col5 file0 - line142 + line143 col9 file0 @@ -4822,12 +4822,12 @@ start - line142 + line143 col5 file0 - line142 + line143 col5 file0 @@ -4835,12 +4835,12 @@ end - line143 + line144 col3 file0 - line143 + line144 col3 file0 @@ -4856,12 +4856,12 @@ start - line143 + line144 col3 file0 - line143 + line144 col3 file0 @@ -4869,12 +4869,12 @@ end - line140 + line141 col3 file0 - line140 + line141 col5 file0 @@ -4886,7 +4886,7 @@ kindevent location - line140 + line141 col3 file0 @@ -4894,12 +4894,12 @@ - line140 + line141 col3 file0 - line140 + line141 col5 file0 @@ -4919,12 +4919,12 @@ start - line140 + line141 col3 file0 - line140 + line141 col5 file0 @@ -4932,12 +4932,12 @@ end - line144 + line145 col3 file0 - line144 + line145 col3 file0 @@ -4953,12 +4953,12 @@ start - line144 + line145 col3 file0 - line144 + line145 col3 file0 @@ -4966,12 +4966,12 @@ end - line144 + line145 col6 file0 - line144 + line145 col6 file0 @@ -4983,7 +4983,7 @@ kindevent location - line144 + line145 col6 file0 @@ -4991,12 +4991,12 @@ - line144 + line145 col4 file0 - line144 + line145 col4 file0 @@ -5020,7 +5020,7 @@ issue_hash_function_offset6 location - line144 + line145 col6 file0 @@ -5028,13 +5028,13 @@ 0 - 138 139 140 141 142 143 144 + 145 @@ -5049,12 +5049,12 @@ start - line148 + line149 col3 file0 - line148 + line149 col5 file0 @@ -5062,12 +5062,12 @@ end - line150 + line151 col3 file0 - line150 + line151 col7 file0 @@ -5079,7 +5079,7 @@ kindevent location - line150 + line151 col10 file0 @@ -5087,12 +5087,12 @@ - line150 + line151 col10 file0 - line150 + line151 col14 file0 @@ -5112,12 +5112,12 @@ start - line150 + line151 col3 file0 - line150 + line151 col7 file0 @@ -5125,12 +5125,12 @@ end - line151 + line152 col5 file0 - line151 + line152 col6 file0 @@ -5146,12 +5146,12 @@ start - line151 + line152 col5 file0 - line151 + line152 col6 file0 @@ -5159,12 +5159,12 @@ end - line152 + line153 col5 file0 - line152 + line153 col5 file0 @@ -5180,12 +5180,12 @@ start - line152 + line153 col5 file0 - line152 + line153 col5 file0 @@ -5193,12 +5193,12 @@ end - line153 + line154 col3 file0 - line153 + line154 col3 file0 @@ -5214,12 +5214,12 @@ start - line153 + line154 col3 file0 - line153 + line154 col3 file0 @@ -5227,12 +5227,12 @@ end - line150 + line151 col3 file0 - line150 + line151 col7 file0 @@ -5244,7 +5244,7 @@ kindevent location - line150 + line151 col3 file0 @@ -5252,12 +5252,12 @@ - line150 + line151 col3 file0 - line150 + line151 col7 file0 @@ -5273,7 +5273,7 @@ kindevent location - line150 + line151 col10 file0 @@ -5281,12 +5281,12 @@ - line150 + line151 col10 file0 - line150 + line151 col14 file0 @@ -5306,12 +5306,12 @@ start - line150 + line151 col3 file0 - line150 + line151 col7 file0 @@ -5319,12 +5319,12 @@ end - line151 + line152 col5 file0 - line151 + line152 col6 file0 @@ -5340,12 +5340,12 @@ start - line151 + line152 col5 file0 - line151 + line152 col6 file0 @@ -5353,12 +5353,12 @@ end - line152 + line153 col5 file0 - line152 + line153 col5 file0 @@ -5370,7 +5370,7 @@ kindevent location - line152 + line153 col5 file0 @@ -5378,12 +5378,12 @@ - line152 + line153 col5 file0 - line152 + line153 col9 file0 @@ -5403,12 +5403,12 @@ start - line152 + line153 col5 file0 - line152 + line153 col5 file0 @@ -5416,12 +5416,12 @@ end - line153 + line154 col3 file0 - line153 + line154 col3 file0 @@ -5437,12 +5437,12 @@ start - line153 + line154 col3 file0 - line153 + line154 col3 file0 @@ -5450,12 +5450,12 @@ end - line150 + line151 col3 file0 - line150 + line151 col7 file0 @@ -5467,7 +5467,7 @@ kindevent location - line150 + line151 col3 file0 @@ -5475,12 +5475,12 @@ - line150 + line151 col3 file0 - line150 + line151 col7 file0 @@ -5500,12 +5500,12 @@ start - line150 + line151 col3 file0 - line150 + line151 col7 file0 @@ -5513,12 +5513,12 @@ end - line154 + line155 col3 file0 - line154 + line155 col3 file0 @@ -5534,12 +5534,12 @@ start - line154 + line155 col3 file0 - line154 + line155 col3 file0 @@ -5547,12 +5547,12 @@ end - line154 + line155 col6 file0 - line154 + line155 col6 file0 @@ -5564,7 +5564,7 @@ kindevent location - line154 + line155 col6 file0 @@ -5572,12 +5572,12 @@ - line154 + line155 col4 file0 - line154 + line155 col4 file0 @@ -5601,7 +5601,7 @@ issue_hash_function_offset7 location - line154 + line155 col6 file0 @@ -5609,7 +5609,6 @@ 0 - 147 148 149 150 @@ -5617,6 +5616,7 @@ 152 153 154 + 155 @@ -5627,7 +5627,7 @@ kindevent location - line162 + line163 col3 file0 @@ -5635,12 +5635,12 @@ - line162 + line163 col8 file0 - line162 + line163 col8 file0 @@ -5664,7 +5664,7 @@ issue_hash_function_offset5 location - line162 + line163 col3 file0 @@ -5672,7 +5672,7 @@ 0 - 162 + 163 @@ -5683,7 +5683,7 @@ kindevent location - line158 + line159 col3 file0 @@ -5691,12 +5691,12 @@ - line158 + line159 col3 file0 - line158 + line159 col7 file0 @@ -5716,12 +5716,12 @@ start - line158 + line159 col3 file0 - line158 + line159 col5 file0 @@ -5729,12 +5729,12 @@ end - line159 + line160 col3 file0 - line159 + line160 col5 file0 @@ -5746,7 +5746,7 @@ kindevent location - line159 + line160 col8 file0 @@ -5754,12 +5754,12 @@ - line159 + line160 col8 file0 - line159 + line160 col13 file0 @@ -5779,12 +5779,12 @@ start - line159 + line160 col3 file0 - line159 + line160 col5 file0 @@ -5792,12 +5792,12 @@ end - line162 + line163 col3 file0 - line162 + line163 col3 file0 @@ -5813,12 +5813,12 @@ start - line162 + line163 col3 file0 - line162 + line163 col3 file0 @@ -5826,12 +5826,12 @@ end - line162 + line163 col5 file0 - line162 + line163 col6 file0 @@ -5843,7 +5843,7 @@ kindevent location - line162 + line163 col5 file0 @@ -5851,12 +5851,12 @@ - line162 + line163 col3 file0 - line162 + line163 col3 file0 @@ -5880,7 +5880,7 @@ issue_hash_function_offset5 location - line162 + line163 col5 file0 @@ -5888,10 +5888,10 @@ 0 - 157 158 159 - 162 + 160 + 163 @@ -5902,7 +5902,7 @@ kindevent location - line170 + line171 col3 file0 @@ -5910,12 +5910,12 @@ - line170 + line171 col3 file0 - line170 + line171 col7 file0 @@ -5935,12 +5935,12 @@ start - line170 + line171 col3 file0 - line170 + line171 col3 file0 @@ -5948,12 +5948,12 @@ end - line171 + line172 col3 file0 - line171 + line172 col3 file0 @@ -5969,12 +5969,12 @@ start - line171 + line172 col3 file0 - line171 + line172 col3 file0 @@ -5982,12 +5982,12 @@ end - line171 + line172 col6 file0 - line171 + line172 col6 file0 @@ -5999,7 +5999,7 @@ kindevent location - line171 + line172 col6 file0 @@ -6007,12 +6007,12 @@ - line171 + line172 col4 file0 - line171 + line172 col4 file0 @@ -6036,7 +6036,7 @@ issue_hash_function_offset2 location - line171 + line172 col6 file0 @@ -6044,9 +6044,9 @@ 0 - 169 170 171 + 172 @@ -6057,7 +6057,7 @@ kindevent location - line181 + line182 col3 file0 @@ -6065,12 +6065,12 @@ - line181 + line182 col3 file0 - line181 + line182 col25 file0 @@ -6090,12 +6090,12 @@ start - line181 + line182 col3 file0 - line181 + line182 col8 file0 @@ -6103,12 +6103,12 @@ end - line183 + line184 col3 file0 - line183 + line184 col16 file0 @@ -6120,7 +6120,7 @@ kindevent location - line183 + line184 col3 file0 @@ -6128,12 +6128,12 @@ - line183 + line184 col18 file0 - line183 + line184 col22 file0 @@ -6157,7 +6157,7 @@ issue_hash_function_offset3 location - line183 + line184 col3 file0 @@ -6165,10 +6165,10 @@ 0 - 180 181 182 183 + 184 @@ -6183,12 +6183,12 @@ start - line191 + line192 col3 file0 - line191 + line192 col4 file0 @@ -6196,12 +6196,12 @@ end - line191 + line192 col7 file0 - line191 + line192 col7 file0 @@ -6213,7 +6213,7 @@ kindevent location - line191 + line192 col7 file0 @@ -6221,12 +6221,12 @@ - line191 + line192 col7 file0 - line191 + line192 col7 file0 @@ -6246,12 +6246,12 @@ start - line191 + line192 col7 file0 - line191 + line192 col7 file0 @@ -6259,12 +6259,12 @@ end - line193 + line194 col3 file0 - line193 + line194 col8 file0 @@ -6280,12 +6280,12 @@ start - line193 + line194 col3 file0 - line193 + line194 col8 file0 @@ -6293,12 +6293,12 @@ end - line193 + line194 col12 file0 - line193 + line194 col12 file0 @@ -6310,7 +6310,7 @@ kindevent location - line193 + line194 col12 file0 @@ -6318,12 +6318,12 @@ - line193 + line194 col12 file0 - line193 + line194 col12 file0 @@ -6339,7 +6339,7 @@ kindevent location - line193 + line194 col10 file0 @@ -6347,12 +6347,12 @@ - line193 + line194 col10 file0 - line193 + line194 col28 file0 @@ -6376,7 +6376,7 @@ issue_hash_function_offset3 location - line193 + line194 col10 file0 @@ -6384,9 +6384,9 @@ 0 - 190 191 - 193 + 192 + 194 diff --git a/clang/test/Analysis/Inputs/expected-plists/retain-release.m.objc.plist b/clang/test/Analysis/Inputs/expected-plists/retain-release.m.objc.plist index fc20fad656e8..5e8213866637 100644 --- a/clang/test/Analysis/Inputs/expected-plists/retain-release.m.objc.plist +++ b/clang/test/Analysis/Inputs/expected-plists/retain-release.m.objc.plist @@ -9041,7 +9041,7 @@ kindevent location - line724 + line725 col20 file0 @@ -9049,12 +9049,12 @@ - line724 + line725 col20 file0 - line724 + line725 col63 file0 @@ -9074,12 +9074,12 @@ start - line724 + line725 col3 file0 - line724 + line725 col10 file0 @@ -9087,12 +9087,12 @@ end - line731 + line732 col3 file0 - line731 + line732 col4 file0 @@ -9108,12 +9108,12 @@ start - line731 + line732 col3 file0 - line731 + line732 col4 file0 @@ -9121,12 +9121,12 @@ end - line731 + line732 col6 file0 - line731 + line732 col6 file0 @@ -9138,7 +9138,7 @@ kindevent location - line731 + line732 col6 file0 @@ -9146,12 +9146,12 @@ - line731 + line732 col6 file0 - line731 + line732 col10 file0 @@ -9171,12 +9171,12 @@ start - line731 + line732 col6 file0 - line731 + line732 col6 file0 @@ -9184,12 +9184,12 @@ end - line732 + line733 col5 file0 - line732 + line733 col10 file0 @@ -9201,7 +9201,7 @@ kindevent location - line732 + line733 col5 file0 @@ -9209,12 +9209,12 @@ - line732 + line733 col5 file0 - line732 + line733 col10 file0 @@ -9238,7 +9238,7 @@ issue_hash_function_offset5 location - line732 + line733 col5 file0 @@ -9246,12 +9246,12 @@ 0 - 718 719 - 724 - 730 + 720 + 725 731 732 + 733 @@ -9266,12 +9266,12 @@ start - line724 + line725 col3 file0 - line724 + line725 col10 file0 @@ -9279,12 +9279,12 @@ end - line731 + line732 col3 file0 - line731 + line732 col4 file0 @@ -9300,12 +9300,12 @@ start - line731 + line732 col3 file0 - line731 + line732 col4 file0 @@ -9313,12 +9313,12 @@ end - line731 + line732 col6 file0 - line731 + line732 col6 file0 @@ -9330,7 +9330,7 @@ kindevent location - line731 + line732 col6 file0 @@ -9338,12 +9338,12 @@ - line731 + line732 col6 file0 - line731 + line732 col10 file0 @@ -9363,12 +9363,12 @@ start - line731 + line732 col6 file0 - line731 + line732 col6 file0 @@ -9376,12 +9376,12 @@ end - line734 + line735 col3 file0 - line734 + line735 col7 file0 @@ -9393,7 +9393,7 @@ kindevent location - line734 + line735 col3 file0 @@ -9401,12 +9401,12 @@ - line734 + line735 col3 file0 - line734 + line735 col19 file0 @@ -9426,12 +9426,12 @@ start - line734 + line735 col3 file0 - line734 + line735 col7 file0 @@ -9439,12 +9439,12 @@ end - line742 + line743 col3 file0 - line742 + line743 col4 file0 @@ -9460,12 +9460,12 @@ start - line742 + line743 col3 file0 - line742 + line743 col4 file0 @@ -9473,12 +9473,12 @@ end - line742 + line743 col6 file0 - line742 + line743 col9 file0 @@ -9490,7 +9490,7 @@ kindevent location - line742 + line743 col6 file0 @@ -9498,12 +9498,12 @@ - line742 + line743 col6 file0 - line742 + line743 col9 file0 @@ -9523,12 +9523,12 @@ start - line742 + line743 col6 file0 - line742 + line743 col9 file0 @@ -9536,12 +9536,12 @@ end - line744 + line745 col3 file0 - line744 + line745 col4 file0 @@ -9557,12 +9557,12 @@ start - line744 + line745 col3 file0 - line744 + line745 col4 file0 @@ -9570,12 +9570,12 @@ end - line744 + line745 col6 file0 - line744 + line745 col9 file0 @@ -9587,7 +9587,7 @@ kindpop-up location - line744 + line745 col6 file0 @@ -9595,12 +9595,12 @@ - line744 + line745 col6 file0 - line744 + line745 col9 file0 @@ -9619,12 +9619,12 @@ start - line744 + line745 col6 file0 - line744 + line745 col9 file0 @@ -9632,12 +9632,12 @@ end - line745 + line746 col5 file0 - line745 + line746 col9 file0 @@ -9653,12 +9653,12 @@ start - line745 + line746 col5 file0 - line745 + line746 col9 file0 @@ -9666,12 +9666,12 @@ end - line746 + line747 col3 file0 - line746 + line747 col4 file0 @@ -9687,12 +9687,12 @@ start - line746 + line747 col3 file0 - line746 + line747 col4 file0 @@ -9700,12 +9700,12 @@ end - line746 + line747 col13 file0 - line746 + line747 col17 file0 @@ -9717,7 +9717,7 @@ kindevent location - line746 + line747 col13 file0 @@ -9725,12 +9725,12 @@ - line746 + line747 col13 file0 - line746 + line747 col17 file0 @@ -9754,7 +9754,7 @@ issue_hash_function_offset27 location - line746 + line747 col13 file0 @@ -9762,17 +9762,17 @@ 0 - 718 719 - 724 - 730 + 720 + 725 731 - 734 + 732 735 - 742 - 744 + 736 + 743 745 746 + 747 @@ -9787,12 +9787,12 @@ start - line724 + line725 col3 file0 - line724 + line725 col10 file0 @@ -9800,12 +9800,12 @@ end - line730 + line731 col3 file0 - line730 + line731 col10 file0 @@ -9817,7 +9817,7 @@ kindevent location - line730 + line731 col20 file0 @@ -9825,12 +9825,12 @@ - line730 + line731 col20 file0 - line730 + line731 col57 file0 @@ -9850,12 +9850,12 @@ start - line730 + line731 col3 file0 - line730 + line731 col10 file0 @@ -9863,12 +9863,12 @@ end - line731 + line732 col3 file0 - line731 + line732 col4 file0 @@ -9884,12 +9884,12 @@ start - line731 + line732 col3 file0 - line731 + line732 col4 file0 @@ -9897,12 +9897,12 @@ end - line731 + line732 col6 file0 - line731 + line732 col6 file0 @@ -9914,7 +9914,7 @@ kindevent location - line731 + line732 col6 file0 @@ -9922,12 +9922,12 @@ - line731 + line732 col6 file0 - line731 + line732 col10 file0 @@ -9947,12 +9947,12 @@ start - line731 + line732 col6 file0 - line731 + line732 col6 file0 @@ -9960,12 +9960,12 @@ end - line734 + line735 col3 file0 - line734 + line735 col7 file0 @@ -9981,12 +9981,12 @@ start - line734 + line735 col3 file0 - line734 + line735 col7 file0 @@ -9994,12 +9994,12 @@ end - line742 + line743 col3 file0 - line742 + line743 col4 file0 @@ -10015,12 +10015,12 @@ start - line742 + line743 col3 file0 - line742 + line743 col4 file0 @@ -10028,12 +10028,12 @@ end - line742 + line743 col6 file0 - line742 + line743 col9 file0 @@ -10045,7 +10045,7 @@ kindevent location - line742 + line743 col6 file0 @@ -10053,12 +10053,12 @@ - line742 + line743 col6 file0 - line742 + line743 col9 file0 @@ -10078,12 +10078,12 @@ start - line742 + line743 col6 file0 - line742 + line743 col9 file0 @@ -10091,12 +10091,12 @@ end - line743 + line744 col5 file0 - line743 + line744 col9 file0 @@ -10112,12 +10112,12 @@ start - line743 + line744 col5 file0 - line743 + line744 col9 file0 @@ -10125,12 +10125,12 @@ end - line744 + line745 col3 file0 - line744 + line745 col4 file0 @@ -10146,12 +10146,12 @@ start - line744 + line745 col3 file0 - line744 + line745 col4 file0 @@ -10159,12 +10159,12 @@ end - line744 + line745 col6 file0 - line744 + line745 col9 file0 @@ -10176,7 +10176,7 @@ kindpop-up location - line744 + line745 col6 file0 @@ -10184,12 +10184,12 @@ - line744 + line745 col6 file0 - line744 + line745 col9 file0 @@ -10208,12 +10208,12 @@ start - line744 + line745 col6 file0 - line744 + line745 col9 file0 @@ -10221,12 +10221,12 @@ end - line745 + line746 col5 file0 - line745 + line746 col9 file0 @@ -10242,12 +10242,12 @@ start - line745 + line746 col5 file0 - line745 + line746 col9 file0 @@ -10255,12 +10255,12 @@ end - line746 + line747 col3 file0 - line746 + line747 col4 file0 @@ -10276,12 +10276,12 @@ start - line746 + line747 col3 file0 - line746 + line747 col4 file0 @@ -10289,12 +10289,12 @@ end - line746 + line747 col6 file0 - line746 + line747 col6 file0 @@ -10306,7 +10306,7 @@ kindevent location - line746 + line747 col6 file0 @@ -10314,12 +10314,12 @@ - line746 + line747 col6 file0 - line746 + line747 col21 file0 @@ -10339,12 +10339,12 @@ start - line746 + line747 col6 file0 - line746 + line747 col6 file0 @@ -10352,12 +10352,12 @@ end - line748 + line749 col3 file0 - line748 + line749 col4 file0 @@ -10373,12 +10373,12 @@ start - line748 + line749 col3 file0 - line748 + line749 col4 file0 @@ -10386,12 +10386,12 @@ end - line748 + line749 col6 file0 - line748 + line749 col6 file0 @@ -10403,7 +10403,7 @@ kindevent location - line748 + line749 col6 file0 @@ -10411,12 +10411,12 @@ - line748 + line749 col6 file0 - line748 + line749 col21 file0 @@ -10436,12 +10436,12 @@ start - line748 + line749 col6 file0 - line748 + line749 col6 file0 @@ -10449,12 +10449,12 @@ end - line751 + line752 col3 file0 - line751 + line752 col3 file0 @@ -10470,12 +10470,12 @@ start - line751 + line752 col3 file0 - line751 + line752 col3 file0 @@ -10483,12 +10483,12 @@ end - line752 + line753 col3 file0 - line752 + line753 col3 file0 @@ -10500,7 +10500,7 @@ kindevent location - line752 + line753 col3 file0 @@ -10508,12 +10508,12 @@ - line752 + line753 col4 file0 - line752 + line753 col7 file0 @@ -10537,7 +10537,7 @@ issue_hash_function_offset33 location - line752 + line753 col3 file0 @@ -10545,21 +10545,21 @@ 0 - 718 719 - 724 - 730 + 720 + 725 731 - 734 + 732 735 - 742 + 736 743 744 745 746 - 748 - 751 + 747 + 749 752 + 753 @@ -10570,7 +10570,7 @@ kindevent location - line774 + line775 col12 file0 @@ -10578,12 +10578,12 @@ - line774 + line775 col12 file0 - line774 + line775 col34 file0 @@ -10603,12 +10603,12 @@ start - line774 + line775 col3 file0 - line774 + line775 col4 file0 @@ -10616,12 +10616,12 @@ end - line775 + line776 col3 file0 - line775 + line776 col3 file0 @@ -10633,7 +10633,7 @@ kindevent location - line775 + line776 col3 file0 @@ -10641,24 +10641,24 @@ - line775 + line776 col3 file0 - line775 + line776 col15 file0 - line775 + line776 col4 file0 - line775 + line776 col6 file0 @@ -10678,12 +10678,12 @@ start - line775 + line776 col3 file0 - line775 + line776 col3 file0 @@ -10691,12 +10691,12 @@ end - line776 + line777 col3 file0 - line776 + line777 col3 file0 @@ -10708,7 +10708,7 @@ kindevent location - line776 + line777 col3 file0 @@ -10716,12 +10716,12 @@ - line776 + line777 col4 file0 - line776 + line777 col6 file0 @@ -10745,7 +10745,7 @@ issue_hash_function_offset3 location - line776 + line777 col3 file0 @@ -10753,11 +10753,11 @@ 0 - 772 773 774 775 776 + 777 @@ -10772,12 +10772,12 @@ start - line782 + line783 col3 file0 - line782 + line783 col7 file0 @@ -10785,12 +10785,12 @@ end - line783 + line784 col3 file0 - line783 + line784 col4 file0 @@ -10802,7 +10802,7 @@ kindevent location - line783 + line784 col12 file0 @@ -10810,12 +10810,12 @@ - line783 + line784 col12 file0 - line783 + line784 col34 file0 @@ -10835,12 +10835,12 @@ start - line783 + line784 col3 file0 - line783 + line784 col4 file0 @@ -10848,12 +10848,12 @@ end - line784 + line785 col3 file0 - line784 + line785 col3 file0 @@ -10865,7 +10865,7 @@ kindevent location - line784 + line785 col3 file0 @@ -10873,24 +10873,24 @@ - line784 + line785 col3 file0 - line784 + line785 col15 file0 - line784 + line785 col4 file0 - line784 + line785 col6 file0 @@ -10910,12 +10910,12 @@ start - line784 + line785 col3 file0 - line784 + line785 col3 file0 @@ -10923,12 +10923,12 @@ end - line785 + line786 col3 file0 - line785 + line786 col3 file0 @@ -10940,7 +10940,7 @@ kindevent location - line785 + line786 col3 file0 @@ -10948,12 +10948,12 @@ - line785 + line786 col4 file0 - line785 + line786 col6 file0 @@ -10977,7 +10977,7 @@ issue_hash_function_offset4 location - line785 + line786 col3 file0 @@ -10985,12 +10985,12 @@ 0 - 780 781 782 783 784 785 + 786 @@ -11005,12 +11005,12 @@ start - line836 + line838 col2 file0 - line836 + line838 col20 file0 @@ -11018,12 +11018,12 @@ end - line836 + line838 col31 file0 - line836 + line838 col31 file0 @@ -11035,7 +11035,7 @@ kindevent location - line836 + line838 col31 file0 @@ -11043,12 +11043,12 @@ - line836 + line838 col31 file0 - line836 + line838 col76 file0 @@ -11064,7 +11064,7 @@ kindevent location - line836 + line838 col30 file0 @@ -11072,24 +11072,24 @@ - line836 + line838 col30 file0 - line836 + line838 col84 file0 - line836 + line838 col31 file0 - line836 + line838 col76 file0 @@ -11109,12 +11109,12 @@ start - line836 + line838 col30 file0 - line836 + line838 col30 file0 @@ -11122,12 +11122,12 @@ end - line836 + line838 col2 file0 - line836 + line838 col20 file0 @@ -11143,12 +11143,12 @@ start - line836 + line838 col2 file0 - line836 + line838 col20 file0 @@ -11156,12 +11156,12 @@ end - line840 + line842 col2 file0 - line840 + line842 col6 file0 @@ -11177,12 +11177,12 @@ start - line840 + line842 col2 file0 - line840 + line842 col6 file0 @@ -11190,12 +11190,12 @@ end - line841 + line843 col1 file0 - line841 + line843 col1 file0 @@ -11207,7 +11207,7 @@ kindevent location - line841 + line843 col1 file0 @@ -11229,7 +11229,7 @@ issue_hash_function_offset1 location - line841 + line843 col1 file0 @@ -11237,11 +11237,11 @@ 0 - 835 - 836 + 837 838 840 - 841 + 842 + 843 @@ -11256,12 +11256,12 @@ start - line848 + line850 col2 file0 - line848 + line850 col20 file0 @@ -11269,12 +11269,12 @@ end - line848 + line850 col31 file0 - line848 + line850 col31 file0 @@ -11286,7 +11286,7 @@ kindevent location - line848 + line850 col31 file0 @@ -11294,12 +11294,12 @@ - line848 + line850 col31 file0 - line848 + line850 col76 file0 @@ -11315,7 +11315,7 @@ kindevent location - line848 + line850 col30 file0 @@ -11323,24 +11323,24 @@ - line848 + line850 col30 file0 - line848 + line850 col84 file0 - line848 + line850 col31 file0 - line848 + line850 col76 file0 @@ -11360,12 +11360,12 @@ start - line848 + line850 col30 file0 - line848 + line850 col30 file0 @@ -11373,12 +11373,12 @@ end - line848 + line850 col2 file0 - line848 + line850 col20 file0 @@ -11394,12 +11394,12 @@ start - line848 + line850 col2 file0 - line848 + line850 col20 file0 @@ -11407,12 +11407,12 @@ end - line849 + line851 col2 file0 - line849 + line851 col3 file0 @@ -11428,12 +11428,12 @@ start - line849 + line851 col2 file0 - line849 + line851 col3 file0 @@ -11441,12 +11441,12 @@ end - line849 + line851 col6 file0 - line849 + line851 col11 file0 @@ -11458,7 +11458,7 @@ kindevent location - line849 + line851 col6 file0 @@ -11466,12 +11466,12 @@ - line849 + line851 col6 file0 - line849 + line851 col11 file0 @@ -11491,12 +11491,12 @@ start - line849 + line851 col6 file0 - line849 + line851 col11 file0 @@ -11504,12 +11504,12 @@ end - line851 + line853 col1 file0 - line851 + line853 col1 file0 @@ -11521,7 +11521,7 @@ kindevent location - line851 + line853 col1 file0 @@ -11543,7 +11543,7 @@ issue_hash_function_offset1 location - line851 + line853 col1 file0 @@ -11551,10 +11551,10 @@ 0 - 847 - 848 849 + 850 851 + 853 @@ -11569,12 +11569,12 @@ start - line858 + line861 col3 file0 - line858 + line861 col19 file0 @@ -11582,12 +11582,12 @@ end - line859 + line862 col3 file0 - line859 + line862 col9 file0 @@ -11599,7 +11599,7 @@ kindevent location - line859 + line862 col20 file0 @@ -11607,12 +11607,12 @@ - line859 + line862 col20 file0 - line859 + line862 col34 file0 @@ -11632,12 +11632,12 @@ start - line859 + line862 col3 file0 - line859 + line862 col9 file0 @@ -11645,12 +11645,12 @@ end - line860 + line863 col3 file0 - line860 + line863 col3 file0 @@ -11662,7 +11662,7 @@ kindevent location - line860 + line863 col3 file0 @@ -11670,12 +11670,12 @@ - line860 + line863 col4 file0 - line860 + line863 col8 file0 @@ -11699,7 +11699,7 @@ issue_hash_function_offset3 location - line860 + line863 col3 file0 @@ -11707,10 +11707,10 @@ 0 - 857 - 858 - 859 860 + 861 + 862 + 863 @@ -11725,12 +11725,12 @@ start - line931 + line938 col3 file0 - line931 + line938 col3 file0 @@ -11738,12 +11738,12 @@ end - line932 + line939 col3 file0 - line932 + line939 col3 file0 @@ -11755,7 +11755,7 @@ kindevent location - line932 + line939 col3 file0 @@ -11763,12 +11763,12 @@ - line932 + line939 col3 file0 - line932 + line939 col36 file0 @@ -11788,12 +11788,12 @@ start - line932 + line939 col3 file0 - line932 + line939 col3 file0 @@ -11801,12 +11801,12 @@ end - line933 + line940 col3 file0 - line933 + line940 col8 file0 @@ -11818,7 +11818,7 @@ kindevent location - line933 + line940 col3 file0 @@ -11826,12 +11826,12 @@ - line933 + line940 col3 file0 - line933 + line940 col13 file0 @@ -11855,7 +11855,7 @@ issue_hash_function_offset2 location - line933 + line940 col3 file0 @@ -11863,10 +11863,10 @@ 0 - 930 - 931 - 932 - 933 + 937 + 938 + 939 + 940 @@ -11881,12 +11881,12 @@ start - line936 + line943 col3 file0 - line936 + line943 col3 file0 @@ -11894,12 +11894,12 @@ end - line937 + line944 col3 file0 - line937 + line944 col6 file0 @@ -11911,7 +11911,7 @@ kindevent location - line937 + line944 col10 file0 @@ -11919,12 +11919,12 @@ - line937 + line944 col10 file0 - line937 + line944 col43 file0 @@ -11944,12 +11944,12 @@ start - line937 + line944 col3 file0 - line937 + line944 col6 file0 @@ -11957,12 +11957,12 @@ end - line938 + line945 col3 file0 - line938 + line945 col8 file0 @@ -11974,7 +11974,7 @@ kindevent location - line938 + line945 col10 file0 @@ -11982,24 +11982,24 @@ - line938 + line945 col10 file0 - line938 + line945 col27 file0 - line938 + line945 col11 file0 - line938 + line945 col14 file0 @@ -12015,7 +12015,7 @@ kindevent location - line938 + line945 col3 file0 @@ -12023,12 +12023,12 @@ - line938 + line945 col3 file0 - line938 + line945 col27 file0 @@ -12052,7 +12052,7 @@ issue_hash_function_offset3 location - line938 + line945 col3 file0 @@ -12060,10 +12060,10 @@ 0 - 935 - 936 - 937 - 938 + 942 + 943 + 944 + 945 @@ -12074,7 +12074,7 @@ kindevent location - line972 + line983 col37 file0 @@ -12082,12 +12082,12 @@ - line972 + line983 col37 file0 - line972 + line983 col59 file0 @@ -12103,7 +12103,7 @@ kindevent location - line972 + line983 col30 file0 @@ -12111,12 +12111,12 @@ - line972 + line983 col30 file0 - line972 + line983 col59 file0 @@ -12140,7 +12140,7 @@ issue_hash_function_offset0 location - line972 + line983 col30 file0 @@ -12148,7 +12148,7 @@ 0 - 972 + 983 @@ -12159,7 +12159,7 @@ kindevent location - line973 + line984 col37 file0 @@ -12167,12 +12167,12 @@ - line973 + line984 col37 file0 - line973 + line984 col59 file0 @@ -12188,7 +12188,7 @@ kindevent location - line973 + line984 col30 file0 @@ -12196,12 +12196,12 @@ - line973 + line984 col30 file0 - line973 + line984 col59 file0 @@ -12225,7 +12225,7 @@ issue_hash_function_offset0 location - line973 + line984 col30 file0 @@ -12233,7 +12233,7 @@ 0 - 973 + 984 @@ -12244,7 +12244,7 @@ kindevent location - line977 + line988 col3 file0 @@ -12252,12 +12252,12 @@ - line977 + line988 col3 file0 - line977 + line988 col18 file0 @@ -12273,7 +12273,7 @@ kindevent location - line972 + line983 col1 file0 @@ -12291,12 +12291,12 @@ start - line972 + line983 col1 file0 - line972 + line983 col1 file0 @@ -12304,12 +12304,12 @@ end - line972 + line983 col30 file0 - line972 + line983 col35 file0 @@ -12321,7 +12321,7 @@ kindevent location - line972 + line983 col37 file0 @@ -12329,12 +12329,12 @@ - line972 + line983 col37 file0 - line972 + line983 col59 file0 @@ -12350,7 +12350,7 @@ kindevent location - line977 + line988 col3 file0 @@ -12358,12 +12358,12 @@ - line977 + line988 col3 file0 - line977 + line988 col18 file0 @@ -12383,12 +12383,12 @@ start - line977 + line988 col3 file0 - line977 + line988 col3 file0 @@ -12396,12 +12396,12 @@ end - line978 + line989 col3 file0 - line978 + line989 col3 file0 @@ -12413,7 +12413,7 @@ kindevent location - line978 + line989 col3 file0 @@ -12421,12 +12421,12 @@ - line978 + line989 col3 file0 - line978 + line989 col18 file0 @@ -12450,7 +12450,7 @@ issue_hash_function_offset1 location - line978 + line989 col3 file0 @@ -12458,10 +12458,10 @@ 0 - 972 - 976 - 977 - 978 + 983 + 987 + 988 + 989 @@ -12476,12 +12476,12 @@ start - line977 + line988 col3 file0 - line977 + line988 col3 file0 @@ -12489,12 +12489,12 @@ end - line978 + line989 col3 file0 - line978 + line989 col3 file0 @@ -12506,7 +12506,7 @@ kindevent location - line978 + line989 col3 file0 @@ -12514,12 +12514,12 @@ - line978 + line989 col3 file0 - line978 + line989 col18 file0 @@ -12535,7 +12535,7 @@ kindevent location - line973 + line984 col1 file0 @@ -12553,12 +12553,12 @@ start - line973 + line984 col1 file0 - line973 + line984 col1 file0 @@ -12566,12 +12566,12 @@ end - line973 + line984 col30 file0 - line973 + line984 col35 file0 @@ -12583,7 +12583,7 @@ kindevent location - line973 + line984 col37 file0 @@ -12591,12 +12591,12 @@ - line973 + line984 col37 file0 - line973 + line984 col59 file0 @@ -12612,7 +12612,7 @@ kindevent location - line978 + line989 col3 file0 @@ -12620,12 +12620,12 @@ - line978 + line989 col3 file0 - line978 + line989 col18 file0 @@ -12645,12 +12645,12 @@ start - line978 + line989 col3 file0 - line978 + line989 col3 file0 @@ -12658,12 +12658,12 @@ end - line979 + line990 col3 file0 - line979 + line990 col3 file0 @@ -12675,7 +12675,7 @@ kindevent location - line979 + line990 col3 file0 @@ -12683,12 +12683,12 @@ - line979 + line990 col3 file0 - line979 + line990 col54 file0 @@ -12712,7 +12712,7 @@ issue_hash_function_offset2 location - line979 + line990 col3 file0 @@ -12720,12 +12720,12 @@ 0 - 972 - 973 - 976 - 977 - 978 - 979 + 983 + 984 + 987 + 988 + 989 + 990 @@ -12736,7 +12736,7 @@ kindevent location - line1012 + line1023 col10 file0 @@ -12744,12 +12744,12 @@ - line1012 + line1023 col10 file0 - line1012 + line1023 col32 file0 @@ -12765,7 +12765,7 @@ kindevent location - line1012 + line1023 col3 file0 @@ -12773,12 +12773,12 @@ - line1012 + line1023 col3 file0 - line1012 + line1023 col32 file0 @@ -12802,7 +12802,7 @@ issue_hash_function_offset1 location - line1012 + line1023 col3 file0 @@ -12810,8 +12810,8 @@ 0 - 1011 - 1012 + 1022 + 1023 @@ -12822,7 +12822,7 @@ kindevent location - line1040 + line1053 col3 file0 @@ -12830,12 +12830,12 @@ - line1040 + line1053 col3 file0 - line1040 + line1053 col38 file0 @@ -12855,12 +12855,12 @@ start - line1040 + line1053 col3 file0 - line1040 + line1053 col3 file0 @@ -12868,12 +12868,12 @@ end - line1041 + line1054 col3 file0 - line1041 + line1054 col3 file0 @@ -12885,7 +12885,7 @@ kindevent location - line1041 + line1054 col3 file0 @@ -12893,12 +12893,12 @@ - line1041 + line1054 col3 file0 - line1041 + line1054 col42 file0 @@ -12922,7 +12922,7 @@ issue_hash_function_offset1 location - line1041 + line1054 col3 file0 @@ -12930,11 +12930,11 @@ 0 - 1037 - 1038 - 1039 - 1040 - 1041 + 1050 + 1051 + 1052 + 1053 + 1054 @@ -12949,12 +12949,12 @@ start - line1040 + line1053 col3 file0 - line1040 + line1053 col3 file0 @@ -12962,12 +12962,12 @@ end - line1041 + line1054 col3 file0 - line1041 + line1054 col3 file0 @@ -12979,7 +12979,7 @@ kindevent location - line1041 + line1054 col3 file0 @@ -12987,12 +12987,12 @@ - line1041 + line1054 col3 file0 - line1041 + line1054 col42 file0 @@ -13012,12 +13012,12 @@ start - line1041 + line1054 col3 file0 - line1041 + line1054 col3 file0 @@ -13025,12 +13025,12 @@ end - line1042 + line1055 col3 file0 - line1042 + line1055 col3 file0 @@ -13042,7 +13042,7 @@ kindevent location - line1042 + line1055 col3 file0 @@ -13050,12 +13050,12 @@ - line1042 + line1055 col3 file0 - line1042 + line1055 col43 file0 @@ -13079,7 +13079,7 @@ issue_hash_function_offset2 location - line1042 + line1055 col3 file0 @@ -13087,12 +13087,12 @@ 0 - 1037 - 1038 - 1039 - 1040 - 1041 - 1042 + 1050 + 1051 + 1052 + 1053 + 1054 + 1055 @@ -13107,12 +13107,12 @@ start - line1040 + line1053 col3 file0 - line1040 + line1053 col3 file0 @@ -13120,12 +13120,12 @@ end - line1042 + line1055 col3 file0 - line1042 + line1055 col3 file0 @@ -13137,7 +13137,7 @@ kindevent location - line1042 + line1055 col3 file0 @@ -13145,12 +13145,12 @@ - line1042 + line1055 col3 file0 - line1042 + line1055 col43 file0 @@ -13170,12 +13170,12 @@ start - line1042 + line1055 col3 file0 - line1042 + line1055 col3 file0 @@ -13183,12 +13183,12 @@ end - line1043 + line1056 col3 file0 - line1043 + line1056 col3 file0 @@ -13200,7 +13200,7 @@ kindevent location - line1043 + line1056 col3 file0 @@ -13208,12 +13208,12 @@ - line1043 + line1056 col3 file0 - line1043 + line1056 col69 file0 @@ -13237,7 +13237,7 @@ issue_hash_function_offset3 location - line1043 + line1056 col3 file0 @@ -13245,13 +13245,13 @@ 0 - 1037 - 1038 - 1039 - 1040 - 1041 - 1042 - 1043 + 1050 + 1051 + 1052 + 1053 + 1054 + 1055 + 1056 @@ -13266,12 +13266,12 @@ start - line1040 + line1053 col3 file0 - line1040 + line1053 col3 file0 @@ -13279,12 +13279,12 @@ end - line1043 + line1056 col3 file0 - line1043 + line1056 col3 file0 @@ -13296,7 +13296,7 @@ kindevent location - line1043 + line1056 col3 file0 @@ -13304,12 +13304,12 @@ - line1043 + line1056 col3 file0 - line1043 + line1056 col69 file0 @@ -13329,12 +13329,12 @@ start - line1043 + line1056 col3 file0 - line1043 + line1056 col3 file0 @@ -13342,12 +13342,12 @@ end - line1044 + line1057 col1 file0 - line1044 + line1057 col1 file0 @@ -13359,7 +13359,7 @@ kindevent location - line1044 + line1057 col1 file0 @@ -13381,7 +13381,7 @@ issue_hash_function_offset4 location - line1044 + line1057 col1 file0 @@ -13389,14 +13389,14 @@ 0 - 1037 - 1038 - 1039 - 1040 - 1041 - 1042 - 1043 - 1044 + 1050 + 1051 + 1052 + 1053 + 1054 + 1055 + 1056 + 1057 @@ -13407,7 +13407,7 @@ kindevent location - line1050 + line1065 col3 file0 @@ -13415,12 +13415,12 @@ - line1050 + line1065 col3 file0 - line1050 + line1065 col45 file0 @@ -13440,12 +13440,12 @@ start - line1050 + line1065 col3 file0 - line1050 + line1065 col3 file0 @@ -13453,12 +13453,12 @@ end - line1051 + line1066 col1 file0 - line1051 + line1066 col1 file0 @@ -13470,7 +13470,7 @@ kindevent location - line1051 + line1066 col1 file0 @@ -13492,7 +13492,7 @@ issue_hash_function_offset1 location - line1051 + line1066 col1 file0 @@ -13500,9 +13500,9 @@ 0 - 1049 - 1050 - 1051 + 1064 + 1065 + 1066 @@ -13513,7 +13513,7 @@ kindevent location - line1057 + line1074 col3 file0 @@ -13521,12 +13521,12 @@ - line1057 + line1074 col3 file0 - line1057 + line1074 col47 file0 @@ -13546,12 +13546,12 @@ start - line1057 + line1074 col3 file0 - line1057 + line1074 col19 file0 @@ -13559,12 +13559,12 @@ end - line1058 + line1075 col1 file0 - line1058 + line1075 col1 file0 @@ -13576,7 +13576,7 @@ kindevent location - line1058 + line1075 col1 file0 @@ -13598,7 +13598,7 @@ issue_hash_function_offset1 location - line1058 + line1075 col1 file0 @@ -13606,9 +13606,9 @@ 0 - 1056 - 1057 - 1058 + 1073 + 1074 + 1075 @@ -13619,7 +13619,7 @@ kindevent location - line1061 + line1078 col3 file0 @@ -13627,12 +13627,12 @@ - line1061 + line1078 col3 file0 - line1061 + line1078 col25 file0 @@ -13652,12 +13652,12 @@ start - line1061 + line1078 col3 file0 - line1061 + line1078 col19 file0 @@ -13665,12 +13665,12 @@ end - line1062 + line1079 col1 file0 - line1062 + line1079 col1 file0 @@ -13682,7 +13682,7 @@ kindevent location - line1062 + line1079 col1 file0 @@ -13704,7 +13704,7 @@ issue_hash_function_offset1 location - line1062 + line1079 col1 file0 @@ -13712,9 +13712,9 @@ 0 - 1060 - 1061 - 1062 + 1077 + 1078 + 1079 @@ -13725,7 +13725,7 @@ kindevent location - line1065 + line1082 col3 file0 @@ -13733,12 +13733,12 @@ - line1065 + line1082 col3 file0 - line1065 + line1082 col29 file0 @@ -13758,12 +13758,12 @@ start - line1065 + line1082 col3 file0 - line1065 + line1082 col23 file0 @@ -13771,12 +13771,12 @@ end - line1066 + line1083 col1 file0 - line1066 + line1083 col1 file0 @@ -13788,7 +13788,7 @@ kindevent location - line1066 + line1083 col1 file0 @@ -13810,7 +13810,7 @@ issue_hash_function_offset1 location - line1066 + line1083 col1 file0 @@ -13818,9 +13818,9 @@ 0 - 1064 - 1065 - 1066 + 1081 + 1082 + 1083 @@ -13831,7 +13831,7 @@ kindevent location - line1073 + line1090 col30 file0 @@ -13839,12 +13839,12 @@ - line1073 + line1090 col30 file0 - line1073 + line1090 col41 file0 @@ -13864,12 +13864,12 @@ start - line1073 + line1090 col3 file0 - line1073 + line1090 col17 file0 @@ -13877,12 +13877,12 @@ end - line1074 + line1091 col3 file0 - line1074 + line1091 col11 file0 @@ -13894,7 +13894,7 @@ kindevent location - line1074 + line1091 col3 file0 @@ -13902,24 +13902,24 @@ - line1074 + line1091 col3 file0 - line1074 + line1091 col21 file0 - line1074 + line1091 col13 file0 - line1074 + line1091 col20 file0 @@ -13939,12 +13939,12 @@ start - line1074 + line1091 col3 file0 - line1074 + line1091 col11 file0 @@ -13952,12 +13952,12 @@ end - line1075 + line1092 col3 file0 - line1075 + line1092 col26 file0 @@ -13969,7 +13969,7 @@ kindevent location - line1075 + line1092 col3 file0 @@ -13977,12 +13977,12 @@ - line1075 + line1092 col56 file0 - line1075 + line1092 col63 file0 @@ -14006,7 +14006,7 @@ issue_hash_function_offset4 location - line1075 + line1092 col3 file0 @@ -14014,12 +14014,12 @@ 0 - 1070 - 1071 - 1073 - 1074 - 1075 - 1076 + 1087 + 1088 + 1090 + 1091 + 1092 + 1093 @@ -14030,7 +14030,7 @@ kindevent location - line1080 + line1097 col3 file0 @@ -14038,12 +14038,12 @@ - line1080 + line1097 col3 file0 - line1080 + line1097 col36 file0 @@ -14063,12 +14063,12 @@ start - line1080 + line1097 col3 file0 - line1080 + line1097 col27 file0 @@ -14076,12 +14076,12 @@ end - line1081 + line1098 col1 file0 - line1081 + line1098 col1 file0 @@ -14093,7 +14093,7 @@ kindevent location - line1081 + line1098 col1 file0 @@ -14115,7 +14115,7 @@ issue_hash_function_offset1 location - line1081 + line1098 col1 file0 @@ -14123,9 +14123,9 @@ 0 - 1079 - 1080 - 1081 + 1096 + 1097 + 1098 @@ -14136,7 +14136,7 @@ kindevent location - line1085 + line1102 col3 file0 @@ -14144,12 +14144,12 @@ - line1085 + line1102 col3 file0 - line1085 + line1102 col53 file0 @@ -14169,12 +14169,12 @@ start - line1085 + line1102 col3 file0 - line1085 + line1102 col28 file0 @@ -14182,12 +14182,12 @@ end - line1086 + line1103 col1 file0 - line1086 + line1103 col1 file0 @@ -14199,7 +14199,7 @@ kindevent location - line1086 + line1103 col1 file0 @@ -14221,7 +14221,7 @@ issue_hash_function_offset1 location - line1086 + line1103 col1 file0 @@ -14229,10 +14229,10 @@ 0 - 1083 - 1084 - 1085 - 1086 + 1100 + 1101 + 1102 + 1103 @@ -14243,7 +14243,7 @@ kindevent location - line1089 + line1106 col30 file0 @@ -14251,12 +14251,12 @@ - line1089 + line1106 col30 file0 - line1089 + line1106 col41 file0 @@ -14276,12 +14276,12 @@ start - line1089 + line1106 col3 file0 - line1089 + line1106 col17 file0 @@ -14289,12 +14289,12 @@ end - line1090 + line1107 col3 file0 - line1090 + line1107 col29 file0 @@ -14306,7 +14306,7 @@ kindevent location - line1090 + line1107 col3 file0 @@ -14314,24 +14314,24 @@ - line1090 + line1107 col3 file0 - line1090 + line1107 col49 file0 - line1090 + line1107 col41 file0 - line1090 + line1107 col48 file0 @@ -14351,12 +14351,12 @@ start - line1090 + line1107 col3 file0 - line1090 + line1107 col29 file0 @@ -14364,12 +14364,12 @@ end - line1091 + line1108 col3 file0 - line1091 + line1108 col11 file0 @@ -14381,7 +14381,7 @@ kindevent location - line1091 + line1108 col3 file0 @@ -14389,12 +14389,12 @@ - line1091 + line1108 col13 file0 - line1091 + line1108 col20 file0 @@ -14418,7 +14418,7 @@ issue_hash_function_offset3 location - line1091 + line1108 col3 file0 @@ -14426,10 +14426,10 @@ 0 - 1088 - 1089 - 1090 - 1091 + 1105 + 1106 + 1107 + 1108 @@ -14440,7 +14440,7 @@ kindevent location - line1095 + line1112 col30 file0 @@ -14448,12 +14448,12 @@ - line1095 + line1112 col30 file0 - line1095 + line1112 col41 file0 @@ -14473,12 +14473,12 @@ start - line1095 + line1112 col3 file0 - line1095 + line1112 col17 file0 @@ -14486,12 +14486,12 @@ end - line1096 + line1113 col3 file0 - line1096 + line1113 col30 file0 @@ -14503,7 +14503,7 @@ kindevent location - line1096 + line1113 col3 file0 @@ -14511,24 +14511,24 @@ - line1096 + line1113 col3 file0 - line1096 + line1113 col60 file0 - line1096 + line1113 col42 file0 - line1096 + line1113 col49 file0 @@ -14548,12 +14548,12 @@ start - line1096 + line1113 col3 file0 - line1096 + line1113 col30 file0 @@ -14561,12 +14561,12 @@ end - line1097 + line1114 col3 file0 - line1097 + line1114 col11 file0 @@ -14578,7 +14578,7 @@ kindevent location - line1097 + line1114 col3 file0 @@ -14586,12 +14586,12 @@ - line1097 + line1114 col13 file0 - line1097 + line1114 col20 file0 @@ -14615,7 +14615,7 @@ issue_hash_function_offset3 location - line1097 + line1114 col3 file0 @@ -14623,10 +14623,10 @@ 0 - 1094 - 1095 - 1096 - 1097 + 1111 + 1112 + 1113 + 1114 @@ -14637,7 +14637,7 @@ kindevent location - line1103 + line1120 col30 file0 @@ -14645,12 +14645,12 @@ - line1103 + line1120 col30 file0 - line1103 + line1120 col41 file0 @@ -14670,12 +14670,12 @@ start - line1103 + line1120 col3 file0 - line1103 + line1120 col17 file0 @@ -14683,12 +14683,12 @@ end - line1104 + line1121 col3 file0 - line1104 + line1121 col34 file0 @@ -14700,7 +14700,7 @@ kindevent location - line1104 + line1121 col3 file0 @@ -14708,24 +14708,24 @@ - line1104 + line1121 col3 file0 - line1104 + line1121 col106 file0 - line1104 + line1121 col66 file0 - line1104 + line1121 col73 file0 @@ -14745,12 +14745,12 @@ start - line1104 + line1121 col3 file0 - line1104 + line1121 col34 file0 @@ -14758,12 +14758,12 @@ end - line1105 + line1122 col3 file0 - line1105 + line1122 col11 file0 @@ -14775,7 +14775,7 @@ kindevent location - line1105 + line1122 col3 file0 @@ -14783,12 +14783,12 @@ - line1105 + line1122 col13 file0 - line1105 + line1122 col20 file0 @@ -14812,7 +14812,7 @@ issue_hash_function_offset4 location - line1105 + line1122 col3 file0 @@ -14820,11 +14820,11 @@ 0 - 1100 - 1101 - 1103 - 1104 - 1105 + 1117 + 1118 + 1120 + 1121 + 1122 @@ -14839,12 +14839,12 @@ start - line1140 + line1160 col3 file0 - line1140 + line1160 col23 file0 @@ -14852,12 +14852,12 @@ end - line1143 + line1163 col3 file0 - line1143 + line1163 col10 file0 @@ -14869,7 +14869,7 @@ kindevent location - line1143 + line1163 col22 file0 @@ -14877,12 +14877,12 @@ - line1143 + line1163 col22 file0 - line1143 + line1163 col53 file0 @@ -14902,12 +14902,12 @@ start - line1143 + line1163 col3 file0 - line1143 + line1163 col10 file0 @@ -14915,12 +14915,12 @@ end - line1145 + line1165 col3 file0 - line1145 + line1165 col3 file0 @@ -14932,7 +14932,7 @@ kindevent location - line1145 + line1165 col3 file0 @@ -14940,24 +14940,24 @@ - line1145 + line1165 col3 file0 - line1145 + line1165 col18 file0 - line1145 + line1165 col4 file0 - line1145 + line1165 col9 file0 @@ -14977,12 +14977,12 @@ start - line1145 + line1165 col3 file0 - line1145 + line1165 col3 file0 @@ -14990,12 +14990,12 @@ end - line1146 + line1166 col3 file0 - line1146 + line1166 col3 file0 @@ -15007,7 +15007,7 @@ kindevent location - line1146 + line1166 col3 file0 @@ -15015,24 +15015,24 @@ - line1146 + line1166 col3 file0 - line1146 + line1166 col17 file0 - line1146 + line1166 col4 file0 - line1146 + line1166 col9 file0 @@ -15052,12 +15052,12 @@ start - line1146 + line1166 col3 file0 - line1146 + line1166 col3 file0 @@ -15065,12 +15065,12 @@ end - line1147 + line1167 col3 file0 - line1147 + line1167 col11 file0 @@ -15082,7 +15082,7 @@ kindevent location - line1147 + line1167 col3 file0 @@ -15090,12 +15090,12 @@ - line1147 + line1167 col3 file0 - line1147 + line1167 col23 file0 @@ -15119,7 +15119,7 @@ issue_hash_function_offset4 location - line1147 + line1167 col3 file0 @@ -15132,15 +15132,15 @@ 76 77 78 - 1139 - 1140 - 1141 - 1142 - 1143 - 1144 - 1145 - 1146 - 1147 + 1159 + 1160 + 1161 + 1162 + 1163 + 1164 + 1165 + 1166 + 1167 @@ -15155,12 +15155,12 @@ start - line1156 + line1176 col3 file0 - line1156 + line1176 col8 file0 @@ -15168,12 +15168,12 @@ end - line1167 + line1187 col3 file0 - line1167 + line1187 col15 file0 @@ -15189,12 +15189,12 @@ start - line1167 + line1187 col3 file0 - line1167 + line1187 col15 file0 @@ -15202,12 +15202,12 @@ end - line1168 + line1188 col41 file0 - line1168 + line1188 col67 file0 @@ -15219,7 +15219,7 @@ kindevent location - line1168 + line1188 col41 file0 @@ -15227,12 +15227,12 @@ - line1168 + line1188 col41 file0 - line1168 + line1188 col69 file0 @@ -15252,12 +15252,12 @@ start - line1168 + line1188 col41 file0 - line1168 + line1188 col67 file0 @@ -15265,12 +15265,12 @@ end - line1167 + line1187 col3 file0 - line1167 + line1187 col15 file0 @@ -15282,7 +15282,7 @@ kindevent location - line1167 + line1187 col3 file0 @@ -15290,12 +15290,12 @@ - line1167 + line1187 col3 file0 - line1167 + line1187 col26 file0 @@ -15319,7 +15319,7 @@ issue_hash_function_offset13 location - line1167 + line1187 col3 file0 @@ -15327,20 +15327,20 @@ 0 - 1154 - 1155 - 1156 - 1157 - 1158 - 1159 - 1160 - 1161 - 1162 - 1163 - 1164 - 1167 - 1168 - 1169 + 1174 + 1175 + 1176 + 1177 + 1178 + 1179 + 1180 + 1181 + 1182 + 1183 + 1184 + 1187 + 1188 + 1189 @@ -15355,12 +15355,12 @@ start - line1178 + line1198 col3 file0 - line1178 + line1198 col8 file0 @@ -15368,12 +15368,12 @@ end - line1189 + line1209 col3 file0 - line1189 + line1209 col15 file0 @@ -15389,12 +15389,12 @@ start - line1189 + line1209 col3 file0 - line1189 + line1209 col15 file0 @@ -15402,12 +15402,12 @@ end - line1190 + line1210 col40 file0 - line1190 + line1210 col66 file0 @@ -15419,7 +15419,7 @@ kindevent location - line1190 + line1210 col40 file0 @@ -15427,12 +15427,12 @@ - line1190 + line1210 col40 file0 - line1190 + line1210 col68 file0 @@ -15452,12 +15452,12 @@ start - line1190 + line1210 col40 file0 - line1190 + line1210 col66 file0 @@ -15465,12 +15465,12 @@ end - line1189 + line1209 col3 file0 - line1189 + line1209 col15 file0 @@ -15482,7 +15482,7 @@ kindevent location - line1189 + line1209 col3 file0 @@ -15490,12 +15490,12 @@ - line1189 + line1209 col3 file0 - line1189 + line1209 col26 file0 @@ -15519,7 +15519,7 @@ issue_hash_function_offset13 location - line1189 + line1209 col3 file0 @@ -15527,19 +15527,19 @@ 0 - 1176 - 1177 - 1178 - 1179 - 1180 - 1181 - 1182 - 1183 - 1184 - 1185 - 1186 - 1189 - 1190 + 1196 + 1197 + 1198 + 1199 + 1200 + 1201 + 1202 + 1203 + 1204 + 1205 + 1206 + 1209 + 1210 @@ -15554,12 +15554,12 @@ start - line1178 + line1198 col3 file0 - line1178 + line1198 col8 file0 @@ -15567,12 +15567,12 @@ end - line1189 + line1209 col3 file0 - line1189 + line1209 col15 file0 @@ -15588,12 +15588,12 @@ start - line1189 + line1209 col3 file0 - line1189 + line1209 col15 file0 @@ -15601,12 +15601,12 @@ end - line1190 + line1210 col4 file0 - line1190 + line1210 col38 file0 @@ -15618,7 +15618,7 @@ kindevent location - line1190 + line1210 col4 file0 @@ -15626,12 +15626,12 @@ - line1190 + line1210 col4 file0 - line1190 + line1210 col107 file0 @@ -15651,12 +15651,12 @@ start - line1190 + line1210 col4 file0 - line1190 + line1210 col38 file0 @@ -15664,12 +15664,12 @@ end - line1192 + line1212 col3 file0 - line1192 + line1212 col29 file0 @@ -15685,12 +15685,12 @@ start - line1192 + line1212 col3 file0 - line1192 + line1212 col29 file0 @@ -15698,12 +15698,12 @@ end - line1194 + line1214 col1 file0 - line1194 + line1214 col1 file0 @@ -15715,7 +15715,7 @@ kindevent location - line1194 + line1214 col1 file0 @@ -15737,7 +15737,7 @@ issue_hash_function_offset13 location - line1194 + line1214 col1 file0 @@ -15745,22 +15745,22 @@ 0 - 1176 - 1177 - 1178 - 1179 - 1180 - 1181 - 1182 - 1183 - 1184 - 1185 - 1186 - 1189 - 1190 - 1192 - 1193 - 1194 + 1196 + 1197 + 1198 + 1199 + 1200 + 1201 + 1202 + 1203 + 1204 + 1205 + 1206 + 1209 + 1210 + 1212 + 1213 + 1214 @@ -15771,7 +15771,7 @@ kindevent location - line1226 + line1248 col22 file0 @@ -15779,12 +15779,12 @@ - line1226 + line1248 col22 file0 - line1226 + line1248 col53 file0 @@ -15804,12 +15804,12 @@ start - line1226 + line1248 col3 file0 - line1226 + line1248 col10 file0 @@ -15817,12 +15817,12 @@ end - line1227 + line1249 col1 file0 - line1227 + line1249 col1 file0 @@ -15834,7 +15834,7 @@ kindevent location - line1227 + line1249 col1 file0 @@ -15856,7 +15856,7 @@ issue_hash_function_offset1 location - line1227 + line1249 col1 file0 @@ -15864,9 +15864,9 @@ 0 - 1225 - 1226 - 1227 + 1247 + 1248 + 1249 @@ -15881,12 +15881,12 @@ start - line1456 + line1483 col5 file0 - line1456 + line1483 col12 file0 @@ -15894,12 +15894,12 @@ end - line1458 + line1485 col3 file0 - line1458 + line1485 col31 file0 @@ -15911,7 +15911,7 @@ kindevent location - line1458 + line1485 col3 file0 @@ -15919,12 +15919,12 @@ - line1458 + line1485 col3 file0 - line1459 + line1486 col60 file0 @@ -15944,12 +15944,12 @@ start - line1458 + line1485 col3 file0 - line1458 + line1485 col31 file0 @@ -15957,12 +15957,12 @@ end - line1460 + line1487 col1 file0 - line1460 + line1487 col1 file0 @@ -15974,7 +15974,7 @@ kindevent location - line1460 + line1487 col1 file0 @@ -15996,7 +15996,7 @@ issue_hash_function_offset7 location - line1460 + line1487 col1 file0 @@ -16004,14 +16004,14 @@ 0 - 1448 - 1449 - 1450 - 1451 - 1456 - 1458 - 1459 - 1460 + 1475 + 1476 + 1477 + 1478 + 1483 + 1485 + 1486 + 1487 @@ -16022,7 +16022,7 @@ kindevent location - line1475 + line1503 col10 file0 @@ -16030,12 +16030,12 @@ - line1475 + line1503 col10 file0 - line1475 + line1503 col22 file0 @@ -16055,12 +16055,12 @@ start - line1475 + line1503 col3 file0 - line1475 + line1503 col4 file0 @@ -16068,12 +16068,12 @@ end - line1476 + line1504 col1 file0 - line1476 + line1504 col1 file0 @@ -16085,7 +16085,7 @@ kindevent location - line1476 + line1504 col1 file0 @@ -16107,7 +16107,7 @@ issue_hash_function_offset1 location - line1476 + line1504 col1 file0 @@ -16115,9 +16115,9 @@ 0 - 1474 - 1475 - 1476 + 1502 + 1503 + 1504 @@ -16132,12 +16132,12 @@ start - line1493 + line1523 col3 file0 - line1493 + line1523 col10 file0 @@ -16145,12 +16145,12 @@ end - line1494 + line1524 col3 file0 - line1494 + line1524 col10 file0 @@ -16162,7 +16162,7 @@ kindevent location - line1494 + line1524 col22 file0 @@ -16170,12 +16170,12 @@ - line1494 + line1524 col22 file0 - line1494 + line1524 col53 file0 @@ -16195,12 +16195,12 @@ start - line1494 + line1524 col3 file0 - line1494 + line1524 col10 file0 @@ -16208,12 +16208,12 @@ end - line1495 + line1525 col1 file0 - line1495 + line1525 col1 file0 @@ -16225,7 +16225,7 @@ kindevent location - line1495 + line1525 col1 file0 @@ -16247,7 +16247,7 @@ issue_hash_function_offset4 location - line1495 + line1525 col1 file0 @@ -16255,10 +16255,10 @@ 0 - 1490 - 1493 - 1494 - 1495 + 1520 + 1523 + 1524 + 1525 @@ -16269,7 +16269,7 @@ kindevent location - line1503 + line1534 col3 file0 @@ -16277,12 +16277,12 @@ - line1503 + line1534 col3 file0 - line1503 + line1534 col23 file0 @@ -16306,7 +16306,7 @@ issue_hash_function_offset1 location - line1503 + line1534 col3 file0 @@ -16314,8 +16314,8 @@ 0 - 1502 - 1503 + 1533 + 1534 @@ -16330,12 +16330,12 @@ start - line1503 + line1534 col3 file0 - line1503 + line1534 col3 file0 @@ -16343,12 +16343,12 @@ end - line1504 + line1535 col3 file0 - line1504 + line1535 col3 file0 @@ -16360,7 +16360,7 @@ kindevent location - line1504 + line1535 col3 file0 @@ -16368,12 +16368,12 @@ - line1504 + line1535 col3 file0 - line1504 + line1535 col22 file0 @@ -16397,7 +16397,7 @@ issue_hash_function_offset2 location - line1504 + line1535 col3 file0 @@ -16405,9 +16405,9 @@ 0 - 1502 - 1503 - 1504 + 1533 + 1534 + 1535 @@ -16422,12 +16422,12 @@ start - line1503 + line1534 col3 file0 - line1503 + line1534 col3 file0 @@ -16435,12 +16435,12 @@ end - line1505 + line1536 col3 file0 - line1505 + line1536 col3 file0 @@ -16452,7 +16452,7 @@ kindevent location - line1505 + line1536 col3 file0 @@ -16460,12 +16460,12 @@ - line1505 + line1536 col3 file0 - line1505 + line1536 col27 file0 @@ -16489,7 +16489,7 @@ issue_hash_function_offset3 location - line1505 + line1536 col3 file0 @@ -16497,10 +16497,10 @@ 0 - 1502 - 1503 - 1504 - 1505 + 1533 + 1534 + 1535 + 1536 @@ -16515,12 +16515,12 @@ start - line1503 + line1534 col3 file0 - line1503 + line1534 col3 file0 @@ -16528,12 +16528,12 @@ end - line1506 + line1537 col3 file0 - line1506 + line1537 col3 file0 @@ -16545,7 +16545,7 @@ kindevent location - line1506 + line1537 col3 file0 @@ -16553,12 +16553,12 @@ - line1506 + line1537 col3 file0 - line1506 + line1537 col27 file0 @@ -16582,7 +16582,7 @@ issue_hash_function_offset4 location - line1506 + line1537 col3 file0 @@ -16590,11 +16590,11 @@ 0 - 1502 - 1503 - 1504 - 1505 - 1506 + 1533 + 1534 + 1535 + 1536 + 1537 @@ -16605,7 +16605,7 @@ kindevent location - line1533 + line1564 col19 file0 @@ -16613,12 +16613,12 @@ - line1533 + line1564 col19 file0 - line1533 + line1564 col42 file0 @@ -16638,12 +16638,12 @@ start - line1533 + line1564 col3 file0 - line1533 + line1564 col10 file0 @@ -16651,12 +16651,12 @@ end - line1534 + line1565 col1 file0 - line1534 + line1565 col1 file0 @@ -16668,7 +16668,7 @@ kindevent location - line1534 + line1565 col1 file0 @@ -16690,7 +16690,7 @@ issue_hash_function_offset1 location - line1534 + line1565 col1 file0 @@ -16698,9 +16698,9 @@ 0 - 1532 - 1533 - 1534 + 1563 + 1564 + 1565 @@ -16711,7 +16711,7 @@ kindevent location - line1537 + line1568 col19 file0 @@ -16719,12 +16719,12 @@ - line1537 + line1568 col19 file0 - line1537 + line1568 col44 file0 @@ -16744,12 +16744,12 @@ start - line1537 + line1568 col3 file0 - line1537 + line1568 col10 file0 @@ -16757,12 +16757,12 @@ end - line1538 + line1569 col1 file0 - line1538 + line1569 col1 file0 @@ -16774,7 +16774,7 @@ kindevent location - line1538 + line1569 col1 file0 @@ -16796,7 +16796,7 @@ issue_hash_function_offset1 location - line1538 + line1569 col1 file0 @@ -16804,9 +16804,9 @@ 0 - 1536 - 1537 - 1538 + 1567 + 1568 + 1569 @@ -16821,12 +16821,12 @@ start - line1541 + line1572 col3 file0 - line1541 + line1572 col10 file0 @@ -16834,12 +16834,12 @@ end - line1542 + line1573 col3 file0 - line1542 + line1573 col10 file0 @@ -16851,7 +16851,7 @@ kindevent location - line1542 + line1573 col20 file0 @@ -16859,12 +16859,12 @@ - line1542 + line1573 col20 file0 - line1542 + line1573 col38 file0 @@ -16884,12 +16884,12 @@ start - line1542 + line1573 col3 file0 - line1542 + line1573 col10 file0 @@ -16897,12 +16897,12 @@ end - line1543 + line1574 col3 file0 - line1543 + line1574 col10 file0 @@ -16918,12 +16918,12 @@ start - line1543 + line1574 col3 file0 - line1543 + line1574 col10 file0 @@ -16931,12 +16931,12 @@ end - line1543 + line1574 col20 file0 - line1543 + line1574 col20 file0 @@ -16948,7 +16948,7 @@ kindevent location - line1543 + line1574 col20 file0 @@ -16956,12 +16956,12 @@ - line1543 + line1574 col20 file0 - line1543 + line1574 col37 file0 @@ -16985,7 +16985,7 @@ issue_hash_function_offset2 location - line1543 + line1574 col20 file0 @@ -16993,10 +16993,10 @@ 0 - 1540 - 1541 - 1542 - 1543 + 1571 + 1572 + 1573 + 1574 @@ -17011,12 +17011,12 @@ start - line1541 + line1572 col3 file0 - line1541 + line1572 col10 file0 @@ -17024,12 +17024,12 @@ end - line1544 + line1575 col3 file0 - line1544 + line1575 col10 file0 @@ -17045,12 +17045,12 @@ start - line1544 + line1575 col3 file0 - line1544 + line1575 col10 file0 @@ -17058,12 +17058,12 @@ end - line1544 + line1575 col21 file0 - line1544 + line1575 col21 file0 @@ -17075,7 +17075,7 @@ kindevent location - line1544 + line1575 col21 file0 @@ -17083,12 +17083,12 @@ - line1544 + line1575 col21 file0 - line1544 + line1575 col38 file0 @@ -17104,7 +17104,7 @@ kindevent location - line1544 + line1575 col20 file0 @@ -17112,24 +17112,24 @@ - line1544 + line1575 col20 file0 - line1544 + line1575 col46 file0 - line1544 + line1575 col21 file0 - line1544 + line1575 col38 file0 @@ -17149,12 +17149,12 @@ start - line1544 + line1575 col20 file0 - line1544 + line1575 col20 file0 @@ -17162,12 +17162,12 @@ end - line1544 + line1575 col3 file0 - line1544 + line1575 col10 file0 @@ -17183,12 +17183,12 @@ start - line1544 + line1575 col3 file0 - line1544 + line1575 col10 file0 @@ -17196,12 +17196,12 @@ end - line1545 + line1576 col1 file0 - line1545 + line1576 col1 file0 @@ -17213,7 +17213,7 @@ kindevent location - line1545 + line1576 col1 file0 @@ -17235,7 +17235,7 @@ issue_hash_function_offset4 location - line1545 + line1576 col1 file0 @@ -17243,12 +17243,12 @@ 0 - 1540 - 1541 - 1542 - 1543 - 1544 - 1545 + 1571 + 1572 + 1573 + 1574 + 1575 + 1576 @@ -17259,7 +17259,7 @@ kindevent location - line1548 + line1579 col26 file0 @@ -17267,12 +17267,12 @@ - line1548 + line1579 col26 file0 - line1548 + line1579 col50 file0 @@ -17292,12 +17292,12 @@ start - line1548 + line1579 col3 file0 - line1548 + line1579 col19 file0 @@ -17305,12 +17305,12 @@ end - line1549 + line1580 col1 file0 - line1549 + line1580 col1 file0 @@ -17322,7 +17322,7 @@ kindevent location - line1549 + line1580 col1 file0 @@ -17344,7 +17344,7 @@ issue_hash_function_offset1 location - line1549 + line1580 col1 file0 @@ -17352,9 +17352,9 @@ 0 - 1547 - 1548 - 1549 + 1578 + 1579 + 1580 @@ -17365,7 +17365,7 @@ kindevent location - line1552 + line1583 col26 file0 @@ -17373,12 +17373,12 @@ - line1552 + line1583 col26 file0 - line1552 + line1583 col63 file0 @@ -17398,12 +17398,12 @@ start - line1552 + line1583 col3 file0 - line1552 + line1583 col19 file0 @@ -17411,12 +17411,12 @@ end - line1553 + line1584 col1 file0 - line1553 + line1584 col1 file0 @@ -17428,7 +17428,7 @@ kindevent location - line1553 + line1584 col1 file0 @@ -17450,7 +17450,7 @@ issue_hash_function_offset1 location - line1553 + line1584 col1 file0 @@ -17458,9 +17458,9 @@ 0 - 1551 - 1552 - 1553 + 1582 + 1583 + 1584 @@ -17471,7 +17471,7 @@ kindevent location - line1556 + line1587 col26 file0 @@ -17479,12 +17479,12 @@ - line1556 + line1587 col26 file0 - line1556 + line1587 col63 file0 @@ -17504,12 +17504,12 @@ start - line1556 + line1587 col3 file0 - line1556 + line1587 col19 file0 @@ -17517,12 +17517,12 @@ end - line1557 + line1588 col3 file0 - line1557 + line1588 col3 file0 @@ -17538,12 +17538,12 @@ start - line1557 + line1588 col3 file0 - line1557 + line1588 col3 file0 @@ -17551,12 +17551,12 @@ end - line1558 + line1589 col1 file0 - line1558 + line1589 col1 file0 @@ -17568,7 +17568,7 @@ kindevent location - line1558 + line1589 col1 file0 @@ -17590,7 +17590,7 @@ issue_hash_function_offset1 location - line1558 + line1589 col1 file0 @@ -17598,10 +17598,10 @@ 0 - 1555 - 1556 - 1557 - 1558 + 1586 + 1587 + 1588 + 1589 @@ -17612,7 +17612,7 @@ kindevent location - line1588 + line1619 col10 file0 @@ -17620,12 +17620,12 @@ - line1588 + line1619 col10 file0 - line1588 + line1619 col25 file0 @@ -17641,7 +17641,7 @@ kindevent location - line1588 + line1619 col3 file0 @@ -17649,12 +17649,12 @@ - line1588 + line1619 col3 file0 - line1588 + line1619 col25 file0 @@ -17678,7 +17678,7 @@ issue_hash_function_offset1 location - line1588 + line1619 col3 file0 @@ -17686,8 +17686,8 @@ 0 - 1587 - 1588 + 1618 + 1619 @@ -17702,12 +17702,12 @@ start - line1621 + line1652 col3 file0 - line1621 + line1652 col8 file0 @@ -17715,12 +17715,12 @@ end - line1621 + line1652 col26 file0 - line1621 + line1652 col26 file0 @@ -17732,7 +17732,7 @@ kindevent location - line1621 + line1652 col26 file0 @@ -17740,12 +17740,12 @@ - line1621 + line1652 col26 file0 - line1621 + line1652 col53 file0 @@ -17761,7 +17761,7 @@ kindevent location - line1612 + line1643 col1 file0 @@ -17779,12 +17779,12 @@ start - line1612 + line1643 col1 file0 - line1612 + line1643 col1 file0 @@ -17792,12 +17792,12 @@ end - line1613 + line1644 col3 file0 - line1613 + line1644 col8 file0 @@ -17813,12 +17813,12 @@ start - line1613 + line1644 col3 file0 - line1613 + line1644 col8 file0 @@ -17826,12 +17826,12 @@ end - line1613 + line1644 col10 file0 - line1613 + line1644 col30 file0 @@ -17843,7 +17843,7 @@ kindevent location - line1613 + line1644 col10 file0 @@ -17851,12 +17851,12 @@ - line1613 + line1644 col10 file0 - line1613 + line1644 col32 file0 @@ -17872,7 +17872,7 @@ kindevent location - line1602 + line1633 col1 file0 @@ -17890,12 +17890,12 @@ start - line1602 + line1633 col1 file0 - line1602 + line1633 col19 file0 @@ -17903,12 +17903,12 @@ end - line1604 + line1635 col3 file0 - line1604 + line1635 col8 file0 @@ -17920,7 +17920,7 @@ kindevent location - line1604 + line1635 col10 file0 @@ -17928,12 +17928,12 @@ - line1604 + line1635 col10 file0 - line1604 + line1635 col52 file0 @@ -17949,7 +17949,7 @@ kindevent location - line1613 + line1644 col10 file0 @@ -17957,12 +17957,12 @@ - line1613 + line1644 col10 file0 - line1613 + line1644 col32 file0 @@ -17982,12 +17982,12 @@ start - line1613 + line1644 col10 file0 - line1613 + line1644 col30 file0 @@ -17995,12 +17995,12 @@ end - line1613 + line1644 col3 file0 - line1613 + line1644 col8 file0 @@ -18012,7 +18012,7 @@ kindevent location - line1621 + line1652 col26 file0 @@ -18020,12 +18020,12 @@ - line1621 + line1652 col26 file0 - line1621 + line1652 col53 file0 @@ -18045,12 +18045,12 @@ start - line1621 + line1652 col26 file0 - line1621 + line1652 col26 file0 @@ -18058,12 +18058,12 @@ end - line1621 + line1652 col21 file0 - line1621 + line1652 col21 file0 @@ -18075,7 +18075,7 @@ kindevent location - line1621 + line1652 col21 file0 @@ -18083,24 +18083,24 @@ - line1621 + line1652 col21 file0 - line1621 + line1652 col66 file0 - line1621 + line1652 col22 file0 - line1621 + line1652 col53 file0 @@ -18120,12 +18120,12 @@ start - line1621 + line1652 col21 file0 - line1621 + line1652 col21 file0 @@ -18133,12 +18133,12 @@ end - line1621 + line1652 col3 file0 - line1621 + line1652 col8 file0 @@ -18150,7 +18150,7 @@ kindevent location - line1621 + line1652 col3 file0 @@ -18158,12 +18158,12 @@ - line1621 + line1652 col3 file0 - line1621 + line1652 col66 file0 @@ -18187,7 +18187,7 @@ issue_hash_function_offset1 location - line1621 + line1652 col3 file0 @@ -18195,13 +18195,13 @@ 0 - 1602 - 1603 - 1604 - 1612 - 1613 - 1620 - 1621 + 1633 + 1634 + 1635 + 1643 + 1644 + 1651 + 1652 @@ -18216,12 +18216,12 @@ start - line1625 + line1656 col3 file0 - line1625 + line1656 col8 file0 @@ -18229,12 +18229,12 @@ end - line1625 + line1656 col20 file0 - line1625 + line1656 col40 file0 @@ -18246,7 +18246,7 @@ kindevent location - line1625 + line1656 col20 file0 @@ -18254,12 +18254,12 @@ - line1625 + line1656 col20 file0 - line1625 + line1656 col42 file0 @@ -18275,7 +18275,7 @@ kindevent location - line1602 + line1633 col1 file0 @@ -18293,12 +18293,12 @@ start - line1602 + line1633 col1 file0 - line1602 + line1633 col19 file0 @@ -18306,12 +18306,12 @@ end - line1604 + line1635 col3 file0 - line1604 + line1635 col8 file0 @@ -18323,7 +18323,7 @@ kindevent location - line1604 + line1635 col10 file0 @@ -18331,12 +18331,12 @@ - line1604 + line1635 col10 file0 - line1604 + line1635 col52 file0 @@ -18352,7 +18352,7 @@ kindevent location - line1625 + line1656 col20 file0 @@ -18360,12 +18360,12 @@ - line1625 + line1656 col20 file0 - line1625 + line1656 col42 file0 @@ -18385,12 +18385,12 @@ start - line1625 + line1656 col20 file0 - line1625 + line1656 col40 file0 @@ -18398,12 +18398,12 @@ end - line1625 + line1656 col3 file0 - line1625 + line1656 col8 file0 @@ -18415,7 +18415,7 @@ kindevent location - line1625 + line1656 col3 file0 @@ -18423,12 +18423,12 @@ - line1625 + line1656 col3 file0 - line1625 + line1656 col42 file0 @@ -18452,7 +18452,7 @@ issue_hash_function_offset1 location - line1625 + line1656 col3 file0 @@ -18460,11 +18460,11 @@ 0 - 1602 - 1603 - 1604 - 1624 - 1625 + 1633 + 1634 + 1635 + 1655 + 1656 @@ -18479,12 +18479,12 @@ start - line1629 + line1660 col3 file0 - line1629 + line1660 col8 file0 @@ -18492,12 +18492,12 @@ end - line1629 + line1660 col10 file0 - line1629 + line1660 col30 file0 @@ -18509,7 +18509,7 @@ kindevent location - line1629 + line1660 col10 file0 @@ -18517,12 +18517,12 @@ - line1629 + line1660 col10 file0 - line1629 + line1660 col32 file0 @@ -18538,7 +18538,7 @@ kindevent location - line1602 + line1633 col1 file0 @@ -18556,12 +18556,12 @@ start - line1602 + line1633 col1 file0 - line1602 + line1633 col19 file0 @@ -18569,12 +18569,12 @@ end - line1604 + line1635 col3 file0 - line1604 + line1635 col8 file0 @@ -18586,7 +18586,7 @@ kindevent location - line1604 + line1635 col10 file0 @@ -18594,12 +18594,12 @@ - line1604 + line1635 col10 file0 - line1604 + line1635 col52 file0 @@ -18615,7 +18615,7 @@ kindevent location - line1629 + line1660 col10 file0 @@ -18623,12 +18623,12 @@ - line1629 + line1660 col10 file0 - line1629 + line1660 col32 file0 @@ -18648,12 +18648,12 @@ start - line1629 + line1660 col10 file0 - line1629 + line1660 col30 file0 @@ -18661,12 +18661,12 @@ end - line1629 + line1660 col3 file0 - line1629 + line1660 col8 file0 @@ -18678,7 +18678,7 @@ kindevent location - line1629 + line1660 col3 file0 @@ -18686,12 +18686,12 @@ - line1629 + line1660 col3 file0 - line1629 + line1660 col32 file0 @@ -18715,7 +18715,7 @@ issue_hash_function_offset1 location - line1629 + line1660 col3 file0 @@ -18723,11 +18723,11 @@ 0 - 1602 - 1603 - 1604 - 1628 - 1629 + 1633 + 1634 + 1635 + 1659 + 1660 @@ -18742,12 +18742,12 @@ start - line1648 + line1680 col3 file0 - line1648 + line1680 col8 file0 @@ -18755,12 +18755,12 @@ end - line1649 + line1681 col3 file0 - line1649 + line1681 col13 file0 @@ -18772,7 +18772,7 @@ kindevent location - line1649 + line1681 col23 file0 @@ -18780,12 +18780,12 @@ - line1649 + line1681 col23 file0 - line1649 + line1681 col82 file0 @@ -18805,12 +18805,12 @@ start - line1649 + line1681 col3 file0 - line1649 + line1681 col13 file0 @@ -18818,12 +18818,12 @@ end - line1650 + line1682 col1 file0 - line1650 + line1682 col1 file0 @@ -18835,7 +18835,7 @@ kindevent location - line1650 + line1682 col1 file0 @@ -18857,7 +18857,7 @@ issue_hash_function_offset2 location - line1650 + line1682 col1 file0 @@ -18865,10 +18865,10 @@ 0 - 1647 - 1648 - 1649 - 1650 + 1679 + 1680 + 1681 + 1682 @@ -18883,12 +18883,12 @@ start - line1659 + line1691 col3 file0 - line1659 + line1691 col8 file0 @@ -18896,12 +18896,12 @@ end - line1660 + line1692 col3 file0 - line1660 + line1692 col13 file0 @@ -18913,7 +18913,7 @@ kindevent location - line1660 + line1692 col23 file0 @@ -18921,12 +18921,12 @@ - line1660 + line1692 col23 file0 - line1660 + line1692 col82 file0 @@ -18946,12 +18946,12 @@ start - line1660 + line1692 col3 file0 - line1660 + line1692 col13 file0 @@ -18959,12 +18959,12 @@ end - line1661 + line1693 col3 file0 - line1661 + line1693 col4 file0 @@ -18980,12 +18980,12 @@ start - line1661 + line1693 col3 file0 - line1661 + line1693 col4 file0 @@ -18993,12 +18993,12 @@ end - line1661 + line1693 col7 file0 - line1661 + line1693 col7 file0 @@ -19010,7 +19010,7 @@ kindevent location - line1661 + line1693 col7 file0 @@ -19018,12 +19018,12 @@ - line1661 + line1693 col7 file0 - line1661 + line1693 col7 file0 @@ -19043,12 +19043,12 @@ start - line1661 + line1693 col7 file0 - line1661 + line1693 col7 file0 @@ -19056,12 +19056,12 @@ end - line1663 + line1695 col1 file0 - line1663 + line1695 col1 file0 @@ -19073,7 +19073,7 @@ kindevent location - line1663 + line1695 col1 file0 @@ -19095,7 +19095,7 @@ issue_hash_function_offset2 location - line1663 + line1695 col1 file0 @@ -19103,11 +19103,11 @@ 0 - 1658 - 1659 - 1660 - 1661 - 1663 + 1690 + 1691 + 1692 + 1693 + 1695 @@ -19118,7 +19118,7 @@ kindevent location - line1683 + line1715 col22 file0 @@ -19126,12 +19126,12 @@ - line1683 + line1715 col22 file0 - line1683 + line1715 col53 file0 @@ -19151,12 +19151,12 @@ start - line1683 + line1715 col3 file0 - line1683 + line1715 col10 file0 @@ -19164,12 +19164,12 @@ end - line1684 + line1716 col3 file0 - line1684 + line1716 col3 file0 @@ -19181,7 +19181,7 @@ kindevent location - line1684 + line1716 col3 file0 @@ -19189,12 +19189,12 @@ - line1684 + line1716 col3 file0 - line1684 + line1716 col7 file0 @@ -19218,7 +19218,7 @@ issue_hash_function_offset1 location - line1684 + line1716 col3 file0 @@ -19226,9 +19226,9 @@ 0 - 1682 - 1683 - 1684 + 1714 + 1715 + 1716 @@ -19239,7 +19239,7 @@ kindevent location - line1704 + line1736 col22 file0 @@ -19247,12 +19247,12 @@ - line1704 + line1736 col22 file0 - line1704 + line1736 col53 file0 @@ -19272,12 +19272,12 @@ start - line1704 + line1736 col3 file0 - line1704 + line1736 col10 file0 @@ -19285,12 +19285,12 @@ end - line1705 + line1737 col3 file0 - line1705 + line1737 col3 file0 @@ -19302,7 +19302,7 @@ kindevent location - line1705 + line1737 col3 file0 @@ -19310,12 +19310,12 @@ - line1705 + line1737 col3 file0 - line1705 + line1737 col39 file0 @@ -19331,7 +19331,7 @@ kindevent location - line1705 + line1737 col3 file0 @@ -19349,12 +19349,12 @@ start - line1705 + line1737 col3 file0 - line1705 + line1737 col3 file0 @@ -19362,12 +19362,12 @@ end - line1705 + line1737 col19 file0 - line1705 + line1737 col19 file0 @@ -19379,7 +19379,7 @@ kindevent location - line1705 + line1737 col19 file0 @@ -19387,24 +19387,24 @@ - line1705 + line1737 col19 file0 - line1705 + line1737 col28 file0 - line1705 + line1737 col20 file0 - line1705 + line1737 col20 file0 @@ -19420,7 +19420,7 @@ kindevent location - line1705 + line1737 col3 file0 @@ -19428,12 +19428,12 @@ - line1705 + line1737 col3 file0 - line1705 + line1737 col39 file0 @@ -19453,12 +19453,12 @@ start - line1705 + line1737 col3 file0 - line1705 + line1737 col3 file0 @@ -19466,12 +19466,12 @@ end - line1706 + line1738 col1 file0 - line1706 + line1738 col1 file0 @@ -19483,7 +19483,7 @@ kindevent location - line1706 + line1738 col1 file0 @@ -19505,7 +19505,7 @@ issue_hash_function_offset1 location - line1706 + line1738 col1 file0 @@ -19513,10 +19513,10 @@ 0 - 1703 - 1704 - 1705 - 1706 + 1735 + 1736 + 1737 + 1738 @@ -19531,12 +19531,12 @@ start - line1752 + line1788 col5 file0 - line1752 + line1788 col14 file0 @@ -19544,12 +19544,12 @@ end - line1755 + line1791 col5 file0 - line1755 + line1791 col9 file0 @@ -19565,12 +19565,12 @@ start - line1755 + line1791 col5 file0 - line1755 + line1791 col9 file0 @@ -19578,12 +19578,12 @@ end - line1755 + line1791 col12 file0 - line1755 + line1791 col24 file0 @@ -19595,7 +19595,7 @@ kindevent location - line1755 + line1791 col12 file0 @@ -19603,12 +19603,12 @@ - line1755 + line1791 col12 file0 - line1755 + line1791 col38 file0 @@ -19624,7 +19624,7 @@ kindevent location - line1755 + line1791 col12 file0 @@ -19632,12 +19632,12 @@ - line1755 + line1791 col12 file0 - line1755 + line1791 col38 file0 @@ -19657,12 +19657,12 @@ start - line1755 + line1791 col12 file0 - line1755 + line1791 col24 file0 @@ -19670,12 +19670,12 @@ end - line1756 + line1792 col9 file0 - line1756 + line1792 col23 file0 @@ -19691,12 +19691,12 @@ start - line1756 + line1792 col9 file0 - line1756 + line1792 col23 file0 @@ -19704,12 +19704,12 @@ end - line1758 + line1794 col9 file0 - line1758 + line1794 col12 file0 @@ -19721,7 +19721,7 @@ kindevent location - line1758 + line1794 col16 file0 @@ -19729,12 +19729,12 @@ - line1758 + line1794 col16 file0 - line1758 + line1794 col49 file0 @@ -19754,12 +19754,12 @@ start - line1758 + line1794 col9 file0 - line1758 + line1794 col12 file0 @@ -19767,12 +19767,12 @@ end - line1760 + line1796 col9 file0 - line1760 + line1796 col10 file0 @@ -19788,12 +19788,12 @@ start - line1760 + line1796 col9 file0 - line1760 + line1796 col10 file0 @@ -19801,12 +19801,12 @@ end - line1760 + line1796 col13 file0 - line1760 + line1796 col16 file0 @@ -19818,7 +19818,7 @@ kindevent location - line1760 + line1796 col13 file0 @@ -19826,12 +19826,12 @@ - line1760 + line1796 col13 file0 - line1760 + line1796 col30 file0 @@ -19851,12 +19851,12 @@ start - line1760 + line1796 col13 file0 - line1760 + line1796 col16 file0 @@ -19864,12 +19864,12 @@ end - line1763 + line1799 col23 file0 - line1763 + line1799 col23 file0 @@ -19881,7 +19881,7 @@ kindevent location - line1763 + line1799 col23 file0 @@ -19903,7 +19903,7 @@ issue_hash_function_offset7 location - line1763 + line1799 col23 file0 @@ -19911,15 +19911,15 @@ 0 - 1750 - 1751 - 1752 - 1754 - 1755 - 1756 - 1758 - 1760 - 1763 + 1786 + 1787 + 1788 + 1790 + 1791 + 1792 + 1794 + 1796 + 1799 @@ -19930,7 +19930,7 @@ kindevent location - line1806 + line1844 col10 file0 @@ -19938,12 +19938,12 @@ - line1806 + line1844 col10 file0 - line1806 + line1844 col60 file0 @@ -19959,7 +19959,7 @@ kindevent location - line1806 + line1844 col3 file0 @@ -19967,12 +19967,12 @@ - line1806 + line1844 col3 file0 - line1806 + line1844 col60 file0 @@ -19996,7 +19996,7 @@ issue_hash_function_offset1 location - line1806 + line1844 col3 file0 @@ -20004,8 +20004,8 @@ 0 - 1805 - 1806 + 1843 + 1844 @@ -20016,7 +20016,7 @@ kindevent location - line1814 + line1852 col10 file0 @@ -20024,12 +20024,12 @@ - line1814 + line1852 col10 file0 - line1814 + line1852 col60 file0 @@ -20045,7 +20045,7 @@ kindevent location - line1814 + line1852 col3 file0 @@ -20053,12 +20053,12 @@ - line1814 + line1852 col3 file0 - line1814 + line1852 col60 file0 @@ -20082,7 +20082,7 @@ issue_hash_function_offset1 location - line1814 + line1852 col3 file0 @@ -20090,8 +20090,8 @@ 0 - 1813 - 1814 + 1851 + 1852 @@ -20102,7 +20102,7 @@ kindevent location - line1835 + line1873 col10 file0 @@ -20110,12 +20110,12 @@ - line1835 + line1873 col10 file0 - line1835 + line1873 col60 file0 @@ -20131,7 +20131,7 @@ kindevent location - line1835 + line1873 col3 file0 @@ -20139,12 +20139,12 @@ - line1835 + line1873 col3 file0 - line1835 + line1873 col60 file0 @@ -20168,7 +20168,7 @@ issue_hash_function_offset1 location - line1835 + line1873 col3 file0 @@ -20176,8 +20176,8 @@ 0 - 1834 - 1835 + 1872 + 1873 @@ -20188,7 +20188,7 @@ kindevent location - line1847 + line1885 col10 file0 @@ -20196,12 +20196,12 @@ - line1847 + line1885 col10 file0 - line1847 + line1885 col60 file0 @@ -20217,7 +20217,7 @@ kindevent location - line1847 + line1885 col3 file0 @@ -20225,12 +20225,12 @@ - line1847 + line1885 col3 file0 - line1847 + line1885 col60 file0 @@ -20254,7 +20254,7 @@ issue_hash_function_offset1 location - line1847 + line1885 col3 file0 @@ -20262,8 +20262,8 @@ 0 - 1846 - 1847 + 1884 + 1885 @@ -20278,12 +20278,12 @@ start - line1865 + line1905 col3 file0 - line1865 + line1905 col16 file0 @@ -20291,12 +20291,12 @@ end - line1866 + line1906 col3 file0 - line1866 + line1906 col11 file0 @@ -20308,7 +20308,7 @@ kindevent location - line1866 + line1906 col24 file0 @@ -20316,12 +20316,12 @@ - line1866 + line1906 col24 file0 - line1866 + line1906 col41 file0 @@ -20341,12 +20341,12 @@ start - line1866 + line1906 col3 file0 - line1866 + line1906 col11 file0 @@ -20354,12 +20354,12 @@ end - line1867 + line1907 col1 file0 - line1867 + line1907 col1 file0 @@ -20371,7 +20371,7 @@ kindevent location - line1867 + line1907 col1 file0 @@ -20393,7 +20393,7 @@ issue_hash_function_offset2 location - line1867 + line1907 col1 file0 @@ -20401,10 +20401,10 @@ 0 - 1864 - 1865 - 1866 - 1867 + 1904 + 1905 + 1906 + 1907 @@ -20419,12 +20419,12 @@ start - line1889 + line1931 col3 file0 - line1889 + line1931 col16 file0 @@ -20432,12 +20432,12 @@ end - line1891 + line1933 col3 file0 - line1891 + line1933 col10 file0 @@ -20449,7 +20449,7 @@ kindevent location - line1891 + line1933 col22 file0 @@ -20457,12 +20457,12 @@ - line1891 + line1933 col22 file0 - line1891 + line1933 col64 file0 @@ -20482,12 +20482,12 @@ start - line1891 + line1933 col3 file0 - line1891 + line1933 col10 file0 @@ -20495,12 +20495,12 @@ end - line1892 + line1934 col3 file0 - line1892 + line1934 col3 file0 @@ -20512,7 +20512,7 @@ kindevent location - line1892 + line1934 col3 file0 @@ -20520,24 +20520,24 @@ - line1892 + line1934 col3 file0 - line1892 + line1934 col18 file0 - line1892 + line1934 col4 file0 - line1892 + line1934 col9 file0 @@ -20557,12 +20557,12 @@ start - line1892 + line1934 col3 file0 - line1892 + line1934 col3 file0 @@ -20570,12 +20570,12 @@ end - line1894 + line1936 col3 file0 - line1894 + line1936 col10 file0 @@ -20591,12 +20591,12 @@ start - line1894 + line1936 col3 file0 - line1894 + line1936 col10 file0 @@ -20604,12 +20604,12 @@ end - line1894 + line1936 col27 file0 - line1894 + line1936 col27 file0 @@ -20621,7 +20621,7 @@ kindevent location - line1894 + line1936 col27 file0 @@ -20629,12 +20629,12 @@ - line1894 + line1936 col28 file0 - line1894 + line1936 col33 file0 @@ -20658,7 +20658,7 @@ issue_hash_function_offset6 location - line1894 + line1936 col27 file0 @@ -20666,11 +20666,11 @@ 0 - 1888 - 1889 - 1891 - 1892 - 1894 + 1930 + 1931 + 1933 + 1934 + 1936 @@ -20685,12 +20685,12 @@ start - line2020 + line2063 col9 file0 - line2020 + line2063 col16 file0 @@ -20698,12 +20698,12 @@ end - line2021 + line2064 col9 file0 - line2021 + line2064 col15 file0 @@ -20715,7 +20715,7 @@ kindevent location - line2021 + line2064 col22 file0 @@ -20723,12 +20723,12 @@ - line2021 + line2064 col22 file0 - line2021 + line2064 col66 file0 @@ -20748,12 +20748,12 @@ start - line2021 + line2064 col9 file0 - line2021 + line2064 col15 file0 @@ -20761,12 +20761,12 @@ end - line2024 + line2067 col9 file0 - line2024 + line2067 col9 file0 @@ -20778,7 +20778,7 @@ kindevent location - line2024 + line2067 col9 file0 @@ -20786,12 +20786,12 @@ - line2024 + line2067 col9 file0 - line2024 + line2067 col23 file0 @@ -20815,7 +20815,7 @@ issue_hash_function_offset3 location - line2024 + line2067 col9 file0 @@ -20823,12 +20823,12 @@ 0 - 2018 - 2020 - 2021 - 2022 - 2023 - 2024 + 2061 + 2063 + 2064 + 2065 + 2066 + 2067 @@ -20843,12 +20843,12 @@ start - line2020 + line2063 col9 file0 - line2020 + line2063 col16 file0 @@ -20856,12 +20856,12 @@ end - line2024 + line2067 col9 file0 - line2024 + line2067 col9 file0 @@ -20877,12 +20877,12 @@ start - line2024 + line2067 col9 file0 - line2024 + line2067 col9 file0 @@ -20890,12 +20890,12 @@ end - line2028 + line2071 col9 file0 - line2028 + line2071 col16 file0 @@ -20911,12 +20911,12 @@ start - line2028 + line2071 col9 file0 - line2028 + line2071 col16 file0 @@ -20924,12 +20924,12 @@ end - line2030 + line2073 col9 file0 - line2030 + line2073 col15 file0 @@ -20941,7 +20941,7 @@ kindevent location - line2030 + line2073 col23 file0 @@ -20949,12 +20949,12 @@ - line2030 + line2073 col23 file0 - line2030 + line2073 col56 file0 @@ -20974,12 +20974,12 @@ start - line2030 + line2073 col9 file0 - line2030 + line2073 col15 file0 @@ -20987,12 +20987,12 @@ end - line2033 + line2076 col9 file0 - line2033 + line2076 col9 file0 @@ -21004,7 +21004,7 @@ kindevent location - line2033 + line2076 col9 file0 @@ -21012,12 +21012,12 @@ - line2033 + line2076 col9 file0 - line2033 + line2076 col23 file0 @@ -21041,7 +21041,7 @@ issue_hash_function_offset12 location - line2033 + line2076 col9 file0 @@ -21049,18 +21049,18 @@ 0 - 2018 - 2020 - 2021 - 2022 - 2023 - 2024 - 2028 - 2029 - 2030 - 2031 - 2032 - 2033 + 2061 + 2063 + 2064 + 2065 + 2066 + 2067 + 2071 + 2072 + 2073 + 2074 + 2075 + 2076 @@ -21075,12 +21075,12 @@ start - line2020 + line2063 col9 file0 - line2020 + line2063 col16 file0 @@ -21088,12 +21088,12 @@ end - line2024 + line2067 col9 file0 - line2024 + line2067 col9 file0 @@ -21109,12 +21109,12 @@ start - line2024 + line2067 col9 file0 - line2024 + line2067 col9 file0 @@ -21122,12 +21122,12 @@ end - line2028 + line2071 col9 file0 - line2028 + line2071 col16 file0 @@ -21143,12 +21143,12 @@ start - line2028 + line2071 col9 file0 - line2028 + line2071 col16 file0 @@ -21156,12 +21156,12 @@ end - line2033 + line2076 col9 file0 - line2033 + line2076 col9 file0 @@ -21177,12 +21177,12 @@ start - line2033 + line2076 col9 file0 - line2033 + line2076 col9 file0 @@ -21190,12 +21190,12 @@ end - line2037 + line2080 col9 file0 - line2037 + line2080 col16 file0 @@ -21211,12 +21211,12 @@ start - line2037 + line2080 col9 file0 - line2037 + line2080 col16 file0 @@ -21224,12 +21224,12 @@ end - line2038 + line2081 col9 file0 - line2038 + line2081 col15 file0 @@ -21245,12 +21245,12 @@ start - line2038 + line2081 col9 file0 - line2038 + line2081 col15 file0 @@ -21258,12 +21258,12 @@ end - line2038 + line2081 col24 file0 - line2038 + line2081 col24 file0 @@ -21275,7 +21275,7 @@ kindevent location - line2038 + line2081 col24 file0 @@ -21283,12 +21283,12 @@ - line2038 + line2081 col24 file0 - line2038 + line2081 col27 file0 @@ -21304,7 +21304,7 @@ kindevent location - line2038 + line2081 col23 file0 @@ -21312,24 +21312,24 @@ - line2038 + line2081 col23 file0 - line2038 + line2081 col35 file0 - line2038 + line2081 col24 file0 - line2038 + line2081 col27 file0 @@ -21349,12 +21349,12 @@ start - line2038 + line2081 col23 file0 - line2038 + line2081 col23 file0 @@ -21362,12 +21362,12 @@ end - line2038 + line2081 col9 file0 - line2038 + line2081 col15 file0 @@ -21383,12 +21383,12 @@ start - line2038 + line2081 col9 file0 - line2038 + line2081 col15 file0 @@ -21396,12 +21396,12 @@ end - line2041 + line2084 col9 file0 - line2041 + line2084 col9 file0 @@ -21413,7 +21413,7 @@ kindevent location - line2041 + line2084 col9 file0 @@ -21421,12 +21421,12 @@ - line2041 + line2084 col9 file0 - line2041 + line2084 col23 file0 @@ -21450,7 +21450,7 @@ issue_hash_function_offset20 location - line2041 + line2084 col9 file0 @@ -21458,23 +21458,23 @@ 0 - 2018 - 2020 - 2021 - 2022 - 2023 - 2024 - 2028 - 2029 - 2030 - 2031 - 2032 - 2033 - 2037 - 2038 - 2039 - 2040 - 2041 + 2061 + 2063 + 2064 + 2065 + 2066 + 2067 + 2071 + 2072 + 2073 + 2074 + 2075 + 2076 + 2080 + 2081 + 2082 + 2083 + 2084 @@ -21489,12 +21489,12 @@ start - line2020 + line2063 col9 file0 - line2020 + line2063 col16 file0 @@ -21502,12 +21502,12 @@ end - line2024 + line2067 col9 file0 - line2024 + line2067 col9 file0 @@ -21523,12 +21523,12 @@ start - line2024 + line2067 col9 file0 - line2024 + line2067 col9 file0 @@ -21536,12 +21536,12 @@ end - line2028 + line2071 col9 file0 - line2028 + line2071 col16 file0 @@ -21557,12 +21557,12 @@ start - line2028 + line2071 col9 file0 - line2028 + line2071 col16 file0 @@ -21570,12 +21570,12 @@ end - line2033 + line2076 col9 file0 - line2033 + line2076 col9 file0 @@ -21591,12 +21591,12 @@ start - line2033 + line2076 col9 file0 - line2033 + line2076 col9 file0 @@ -21604,12 +21604,12 @@ end - line2037 + line2080 col9 file0 - line2037 + line2080 col16 file0 @@ -21625,12 +21625,12 @@ start - line2037 + line2080 col9 file0 - line2037 + line2080 col16 file0 @@ -21638,12 +21638,12 @@ end - line2041 + line2084 col9 file0 - line2041 + line2084 col9 file0 @@ -21659,12 +21659,12 @@ start - line2041 + line2084 col9 file0 - line2041 + line2084 col9 file0 @@ -21672,12 +21672,12 @@ end - line2045 + line2088 col9 file0 - line2045 + line2088 col16 file0 @@ -21693,12 +21693,12 @@ start - line2045 + line2088 col9 file0 - line2045 + line2088 col16 file0 @@ -21706,12 +21706,12 @@ end - line2046 + line2089 col9 file0 - line2046 + line2089 col15 file0 @@ -21723,7 +21723,7 @@ kindevent location - line2046 + line2089 col22 file0 @@ -21731,12 +21731,12 @@ - line2046 + line2089 col22 file0 - line2046 + line2089 col57 file0 @@ -21756,12 +21756,12 @@ start - line2046 + line2089 col9 file0 - line2046 + line2089 col15 file0 @@ -21769,12 +21769,12 @@ end - line2050 + line2093 col9 file0 - line2050 + line2093 col9 file0 @@ -21786,7 +21786,7 @@ kindevent location - line2050 + line2093 col9 file0 @@ -21794,12 +21794,12 @@ - line2050 + line2093 col9 file0 - line2050 + line2093 col23 file0 @@ -21823,7 +21823,7 @@ issue_hash_function_offset28 location - line2050 + line2093 col9 file0 @@ -21831,28 +21831,28 @@ 0 - 2018 - 2020 - 2021 - 2022 - 2023 - 2024 - 2028 - 2029 - 2030 - 2031 - 2032 - 2033 - 2037 - 2038 - 2039 - 2040 - 2041 - 2045 - 2046 - 2047 - 2049 - 2050 + 2061 + 2063 + 2064 + 2065 + 2066 + 2067 + 2071 + 2072 + 2073 + 2074 + 2075 + 2076 + 2080 + 2081 + 2082 + 2083 + 2084 + 2088 + 2089 + 2090 + 2092 + 2093 @@ -21867,12 +21867,12 @@ start - line2020 + line2063 col9 file0 - line2020 + line2063 col16 file0 @@ -21880,12 +21880,12 @@ end - line2024 + line2067 col9 file0 - line2024 + line2067 col9 file0 @@ -21901,12 +21901,12 @@ start - line2024 + line2067 col9 file0 - line2024 + line2067 col9 file0 @@ -21914,12 +21914,12 @@ end - line2028 + line2071 col9 file0 - line2028 + line2071 col16 file0 @@ -21935,12 +21935,12 @@ start - line2028 + line2071 col9 file0 - line2028 + line2071 col16 file0 @@ -21948,12 +21948,12 @@ end - line2033 + line2076 col9 file0 - line2033 + line2076 col9 file0 @@ -21969,12 +21969,12 @@ start - line2033 + line2076 col9 file0 - line2033 + line2076 col9 file0 @@ -21982,12 +21982,12 @@ end - line2037 + line2080 col9 file0 - line2037 + line2080 col16 file0 @@ -22003,12 +22003,12 @@ start - line2037 + line2080 col9 file0 - line2037 + line2080 col16 file0 @@ -22016,12 +22016,12 @@ end - line2041 + line2084 col9 file0 - line2041 + line2084 col9 file0 @@ -22037,12 +22037,12 @@ start - line2041 + line2084 col9 file0 - line2041 + line2084 col9 file0 @@ -22050,12 +22050,12 @@ end - line2045 + line2088 col9 file0 - line2045 + line2088 col16 file0 @@ -22071,12 +22071,12 @@ start - line2045 + line2088 col9 file0 - line2045 + line2088 col16 file0 @@ -22084,12 +22084,12 @@ end - line2050 + line2093 col9 file0 - line2050 + line2093 col9 file0 @@ -22105,12 +22105,12 @@ start - line2050 + line2093 col9 file0 - line2050 + line2093 col9 file0 @@ -22118,12 +22118,12 @@ end - line2054 + line2097 col9 file0 - line2054 + line2097 col15 file0 @@ -22139,12 +22139,12 @@ start - line2054 + line2097 col9 file0 - line2054 + line2097 col15 file0 @@ -22152,12 +22152,12 @@ end - line2055 + line2098 col9 file0 - line2055 + line2098 col20 file0 @@ -22173,12 +22173,12 @@ start - line2055 + line2098 col9 file0 - line2055 + line2098 col20 file0 @@ -22186,12 +22186,12 @@ end - line2055 + line2098 col28 file0 - line2055 + line2098 col28 file0 @@ -22203,7 +22203,7 @@ kindevent location - line2055 + line2098 col28 file0 @@ -22211,12 +22211,12 @@ - line2055 + line2098 col28 file0 - line2055 + line2098 col35 file0 @@ -22232,7 +22232,7 @@ kindevent location - line2055 + line2098 col27 file0 @@ -22240,24 +22240,24 @@ - line2055 + line2098 col27 file0 - line2055 + line2098 col43 file0 - line2055 + line2098 col28 file0 - line2055 + line2098 col35 file0 @@ -22277,12 +22277,12 @@ start - line2055 + line2098 col27 file0 - line2055 + line2098 col27 file0 @@ -22290,12 +22290,12 @@ end - line2055 + line2098 col9 file0 - line2055 + line2098 col20 file0 @@ -22311,12 +22311,12 @@ start - line2055 + line2098 col9 file0 - line2055 + line2098 col20 file0 @@ -22324,12 +22324,12 @@ end - line2059 + line2102 col9 file0 - line2059 + line2102 col9 file0 @@ -22341,7 +22341,7 @@ kindevent location - line2059 + line2102 col9 file0 @@ -22349,12 +22349,12 @@ - line2059 + line2102 col9 file0 - line2059 + line2102 col23 file0 @@ -22378,7 +22378,7 @@ issue_hash_function_offset37 location - line2059 + line2102 col9 file0 @@ -22386,33 +22386,33 @@ 0 - 2018 - 2020 - 2021 - 2022 - 2023 - 2024 - 2028 - 2029 - 2030 - 2031 - 2032 - 2033 - 2037 - 2038 - 2039 - 2040 - 2041 - 2045 - 2046 - 2047 - 2049 - 2050 - 2054 - 2055 - 2056 - 2058 - 2059 + 2061 + 2063 + 2064 + 2065 + 2066 + 2067 + 2071 + 2072 + 2073 + 2074 + 2075 + 2076 + 2080 + 2081 + 2082 + 2083 + 2084 + 2088 + 2089 + 2090 + 2092 + 2093 + 2097 + 2098 + 2099 + 2101 + 2102 @@ -22427,12 +22427,12 @@ start - line2064 + line2107 col3 file0 - line2064 + line2107 col4 file0 @@ -22440,12 +22440,12 @@ end - line2064 + line2107 col15 file0 - line2064 + line2107 col15 file0 @@ -22457,7 +22457,7 @@ kindevent location - line2064 + line2107 col15 file0 @@ -22465,12 +22465,12 @@ - line2064 + line2107 col15 file0 - line2064 + line2107 col16 file0 @@ -22486,7 +22486,7 @@ kindevent location - line2064 + line2107 col14 file0 @@ -22494,24 +22494,24 @@ - line2064 + line2107 col14 file0 - line2064 + line2107 col24 file0 - line2064 + line2107 col15 file0 - line2064 + line2107 col16 file0 @@ -22531,12 +22531,12 @@ start - line2064 + line2107 col14 file0 - line2064 + line2107 col14 file0 @@ -22544,12 +22544,12 @@ end - line2064 + line2107 col3 file0 - line2064 + line2107 col4 file0 @@ -22565,12 +22565,12 @@ start - line2064 + line2107 col3 file0 - line2064 + line2107 col4 file0 @@ -22578,12 +22578,12 @@ end - line2065 + line2108 col3 file0 - line2065 + line2108 col3 file0 @@ -22599,12 +22599,12 @@ start - line2065 + line2108 col3 file0 - line2065 + line2108 col3 file0 @@ -22612,12 +22612,12 @@ end - line2066 + line2109 col1 file0 - line2066 + line2109 col1 file0 @@ -22629,7 +22629,7 @@ kindevent location - line2066 + line2109 col1 file0 @@ -22651,7 +22651,7 @@ issue_hash_function_offset1 location - line2066 + line2109 col1 file0 @@ -22659,10 +22659,10 @@ 0 - 2063 - 2064 - 2065 - 2066 + 2106 + 2107 + 2108 + 2109 @@ -22677,12 +22677,12 @@ start - line2069 + line2112 col3 file0 - line2069 + line2112 col4 file0 @@ -22690,12 +22690,12 @@ end - line2069 + line2112 col15 file0 - line2069 + line2112 col15 file0 @@ -22707,7 +22707,7 @@ kindevent location - line2069 + line2112 col15 file0 @@ -22715,12 +22715,12 @@ - line2069 + line2112 col15 file0 - line2069 + line2112 col18 file0 @@ -22736,7 +22736,7 @@ kindevent location - line2069 + line2112 col14 file0 @@ -22744,24 +22744,24 @@ - line2069 + line2112 col14 file0 - line2069 + line2112 col26 file0 - line2069 + line2112 col15 file0 - line2069 + line2112 col18 file0 @@ -22781,12 +22781,12 @@ start - line2069 + line2112 col14 file0 - line2069 + line2112 col14 file0 @@ -22794,12 +22794,12 @@ end - line2069 + line2112 col3 file0 - line2069 + line2112 col4 file0 @@ -22815,12 +22815,12 @@ start - line2069 + line2112 col3 file0 - line2069 + line2112 col4 file0 @@ -22828,12 +22828,12 @@ end - line2073 + line2116 col3 file0 - line2073 + line2116 col3 file0 @@ -22845,7 +22845,7 @@ kindevent location - line2073 + line2116 col3 file0 @@ -22853,12 +22853,12 @@ - line2073 + line2116 col3 file0 - line2073 + line2116 col21 file0 @@ -22882,7 +22882,7 @@ issue_hash_function_offset1 location - line2073 + line2116 col3 file0 @@ -22890,11 +22890,11 @@ 0 - 2068 - 2069 - 2070 - 2072 - 2073 + 2111 + 2112 + 2113 + 2115 + 2116 @@ -22909,12 +22909,12 @@ start - line2069 + line2112 col3 file0 - line2069 + line2112 col4 file0 @@ -22922,12 +22922,12 @@ end - line2072 + line2115 col3 file0 - line2072 + line2115 col7 file0 @@ -22943,12 +22943,12 @@ start - line2072 + line2115 col3 file0 - line2072 + line2115 col7 file0 @@ -22956,12 +22956,12 @@ end - line2072 + line2115 col12 file0 - line2072 + line2115 col12 file0 @@ -22973,7 +22973,7 @@ kindevent location - line2072 + line2115 col12 file0 @@ -22981,12 +22981,12 @@ - line2072 + line2115 col12 file0 - line2072 + line2115 col15 file0 @@ -23002,7 +23002,7 @@ kindevent location - line2072 + line2115 col11 file0 @@ -23010,24 +23010,24 @@ - line2072 + line2115 col11 file0 - line2072 + line2115 col23 file0 - line2072 + line2115 col12 file0 - line2072 + line2115 col15 file0 @@ -23047,12 +23047,12 @@ start - line2072 + line2115 col11 file0 - line2072 + line2115 col11 file0 @@ -23060,12 +23060,12 @@ end - line2072 + line2115 col3 file0 - line2072 + line2115 col7 file0 @@ -23081,12 +23081,12 @@ start - line2072 + line2115 col3 file0 - line2072 + line2115 col7 file0 @@ -23094,12 +23094,12 @@ end - line2073 + line2116 col3 file0 - line2073 + line2116 col3 file0 @@ -23115,12 +23115,12 @@ start - line2073 + line2116 col3 file0 - line2073 + line2116 col3 file0 @@ -23128,12 +23128,12 @@ end - line2074 + line2117 col1 file0 - line2074 + line2117 col1 file0 @@ -23145,7 +23145,7 @@ kindevent location - line2074 + line2117 col1 file0 @@ -23167,7 +23167,7 @@ issue_hash_function_offset4 location - line2074 + line2117 col1 file0 @@ -23175,12 +23175,12 @@ 0 - 2068 - 2069 - 2070 - 2072 - 2073 - 2074 + 2111 + 2112 + 2113 + 2115 + 2116 + 2117 @@ -23195,12 +23195,12 @@ start - line2080 + line2123 col5 file0 - line2080 + line2123 col12 file0 @@ -23208,12 +23208,12 @@ end - line2081 + line2124 col5 file0 - line2081 + line2124 col6 file0 @@ -23229,12 +23229,12 @@ start - line2081 + line2124 col5 file0 - line2081 + line2124 col6 file0 @@ -23242,12 +23242,12 @@ end - line2081 + line2124 col8 file0 - line2081 + line2124 col8 file0 @@ -23259,7 +23259,7 @@ kindevent location - line2081 + line2124 col8 file0 @@ -23267,12 +23267,12 @@ - line2081 + line2124 col8 file0 - line2081 + line2124 col12 file0 @@ -23292,12 +23292,12 @@ start - line2081 + line2124 col8 file0 - line2081 + line2124 col8 file0 @@ -23305,12 +23305,12 @@ end - line2084 + line2127 col7 file0 - line2084 + line2127 col17 file0 @@ -23322,7 +23322,7 @@ kindevent location - line2084 + line2127 col21 file0 @@ -23330,12 +23330,12 @@ - line2084 + line2127 col21 file0 - line2084 + line2127 col43 file0 @@ -23355,12 +23355,12 @@ start - line2084 + line2127 col7 file0 - line2084 + line2127 col17 file0 @@ -23368,12 +23368,12 @@ end - line2085 + line2128 col5 file0 - line2085 + line2128 col9 file0 @@ -23389,12 +23389,12 @@ start - line2085 + line2128 col5 file0 - line2085 + line2128 col9 file0 @@ -23402,12 +23402,12 @@ end - line2086 + line2129 col5 file0 - line2086 + line2129 col5 file0 @@ -23419,7 +23419,7 @@ kindevent location - line2086 + line2129 col5 file0 @@ -23427,24 +23427,24 @@ - line2086 + line2129 col5 file0 - line2086 + line2129 col25 file0 - line2086 + line2129 col6 file0 - line2086 + line2129 col16 file0 @@ -23464,12 +23464,12 @@ start - line2086 + line2129 col5 file0 - line2086 + line2129 col5 file0 @@ -23477,12 +23477,12 @@ end - line2087 + line2130 col5 file0 - line2087 + line2130 col9 file0 @@ -23494,7 +23494,7 @@ kindevent location - line2087 + line2130 col5 file0 @@ -23502,12 +23502,12 @@ - line2087 + line2130 col25 file0 - line2087 + line2130 col35 file0 @@ -23531,7 +23531,7 @@ issue_hash_function_offset9 location - line2087 + line2130 col5 file0 @@ -23539,14 +23539,14 @@ 0 - 2077 - 2078 - 2080 - 2081 - 2084 - 2085 - 2086 - 2087 + 2120 + 2121 + 2123 + 2124 + 2127 + 2128 + 2129 + 2130 @@ -23561,12 +23561,12 @@ start - line2105 + line2148 col3 file0 - line2105 + line2148 col4 file0 @@ -23574,12 +23574,12 @@ end - line2113 + line2156 col3 file0 - line2113 + line2156 col4 file0 @@ -23591,7 +23591,7 @@ kindevent location - line2113 + line2156 col19 file0 @@ -23599,12 +23599,12 @@ - line2113 + line2156 col19 file0 - line2113 + line2156 col21 file0 @@ -23624,12 +23624,12 @@ start - line2113 + line2156 col3 file0 - line2113 + line2156 col4 file0 @@ -23637,12 +23637,12 @@ end - line2114 + line2157 col3 file0 - line2114 + line2157 col24 file0 @@ -23654,7 +23654,7 @@ kindevent location - line2114 + line2157 col3 file0 @@ -23662,12 +23662,12 @@ - line2114 + line2157 col26 file0 - line2114 + line2157 col35 file0 @@ -23691,7 +23691,7 @@ issue_hash_function_offset10 location - line2114 + line2157 col3 file0 @@ -23699,13 +23699,13 @@ 0 - 2104 - 2105 - 2106 - 2108 - 2109 - 2113 - 2114 + 2147 + 2148 + 2149 + 2151 + 2152 + 2156 + 2157 @@ -23720,12 +23720,12 @@ start - line2118 + line2161 col3 file0 - line2118 + line2161 col4 file0 @@ -23733,12 +23733,12 @@ end - line2126 + line2169 col3 file0 - line2126 + line2169 col4 file0 @@ -23750,7 +23750,7 @@ kindevent location - line2126 + line2169 col19 file0 @@ -23758,12 +23758,12 @@ - line2126 + line2169 col19 file0 - line2126 + line2169 col21 file0 @@ -23783,12 +23783,12 @@ start - line2126 + line2169 col3 file0 - line2126 + line2169 col4 file0 @@ -23796,12 +23796,12 @@ end - line2127 + line2170 col3 file0 - line2127 + line2170 col26 file0 @@ -23813,7 +23813,7 @@ kindevent location - line2127 + line2170 col3 file0 @@ -23821,12 +23821,12 @@ - line2127 + line2170 col28 file0 - line2127 + line2170 col48 file0 @@ -23850,7 +23850,7 @@ issue_hash_function_offset10 location - line2127 + line2170 col3 file0 @@ -23858,13 +23858,13 @@ 0 - 2117 - 2118 - 2119 - 2121 - 2122 - 2126 - 2127 + 2160 + 2161 + 2162 + 2164 + 2165 + 2169 + 2170 @@ -23875,7 +23875,7 @@ kindevent location - line2139 + line2182 col16 file0 @@ -23883,12 +23883,12 @@ - line2139 + line2182 col16 file0 - line2139 + line2182 col31 file0 @@ -23908,12 +23908,12 @@ start - line2139 + line2182 col3 file0 - line2139 + line2182 col10 file0 @@ -23921,12 +23921,12 @@ end - line2140 + line2183 col1 file0 - line2140 + line2183 col1 file0 @@ -23938,7 +23938,7 @@ kindevent location - line2140 + line2183 col1 file0 @@ -23960,7 +23960,7 @@ issue_hash_function_offset1 location - line2140 + line2183 col1 file0 @@ -23968,9 +23968,9 @@ 0 - 2138 - 2139 - 2140 + 2181 + 2182 + 2183 @@ -23981,7 +23981,7 @@ kindevent location - line2174 + line2217 col18 file0 @@ -23989,12 +23989,12 @@ - line2174 + line2217 col18 file0 - line2174 + line2217 col29 file0 @@ -24014,12 +24014,12 @@ start - line2174 + line2217 col3 file0 - line2174 + line2217 col10 file0 @@ -24027,12 +24027,12 @@ end - line2175 + line2218 col1 file0 - line2175 + line2218 col1 file0 @@ -24044,7 +24044,7 @@ kindevent location - line2175 + line2218 col1 file0 @@ -24066,7 +24066,7 @@ issue_hash_function_offset1 location - line2175 + line2218 col1 file0 @@ -24074,9 +24074,9 @@ 0 - 2173 - 2174 - 2175 + 2216 + 2217 + 2218 @@ -24087,7 +24087,7 @@ kindevent location - line2178 + line2221 col13 file0 @@ -24095,12 +24095,12 @@ - line2178 + line2221 col13 file0 - line2178 + line2221 col23 file0 @@ -24116,7 +24116,7 @@ kindevent location - line2178 + line2221 col3 file0 @@ -24124,12 +24124,12 @@ - line2178 + line2221 col13 file0 - line2178 + line2221 col23 file0 @@ -24153,7 +24153,7 @@ issue_hash_function_offset1 location - line2178 + line2221 col3 file0 @@ -24161,8 +24161,8 @@ 0 - 2177 - 2178 + 2220 + 2221 @@ -24177,12 +24177,12 @@ start - line2197 + line2240 col3 file0 - line2197 + line2240 col4 file0 @@ -24190,12 +24190,12 @@ end - line2197 + line2240 col11 file0 - line2197 + line2240 col11 file0 @@ -24207,7 +24207,7 @@ kindevent location - line2197 + line2240 col11 file0 @@ -24215,12 +24215,12 @@ - line2197 + line2240 col11 file0 - line2197 + line2240 col31 file0 @@ -24236,7 +24236,7 @@ kindevent location - line2197 + line2240 col10 file0 @@ -24244,12 +24244,12 @@ - line2197 + line2240 col10 file0 - line2197 + line2240 col38 file0 @@ -24265,7 +24265,7 @@ kindevent location - line2190 + line2233 col1 file0 @@ -24283,12 +24283,12 @@ start - line2190 + line2233 col1 file0 - line2190 + line2233 col1 file0 @@ -24296,12 +24296,12 @@ end - line2191 + line2234 col3 file0 - line2191 + line2234 col4 file0 @@ -24317,12 +24317,12 @@ start - line2191 + line2234 col3 file0 - line2191 + line2234 col4 file0 @@ -24330,12 +24330,12 @@ end - line2191 + line2234 col7 file0 - line2191 + line2234 col10 file0 @@ -24347,7 +24347,7 @@ kindevent location - line2191 + line2234 col7 file0 @@ -24355,12 +24355,12 @@ - line2191 + line2234 col7 file0 - line2191 + line2234 col10 file0 @@ -24380,12 +24380,12 @@ start - line2191 + line2234 col7 file0 - line2191 + line2234 col10 file0 @@ -24393,12 +24393,12 @@ end - line2192 + line2235 col5 file0 - line2192 + line2235 col10 file0 @@ -24410,7 +24410,7 @@ kindevent location - line2197 + line2240 col10 file0 @@ -24418,12 +24418,12 @@ - line2197 + line2240 col10 file0 - line2197 + line2240 col38 file0 @@ -24443,12 +24443,12 @@ start - line2197 + line2240 col10 file0 - line2197 + line2240 col10 file0 @@ -24456,12 +24456,12 @@ end - line2197 + line2240 col3 file0 - line2197 + line2240 col4 file0 @@ -24473,7 +24473,7 @@ kindevent location - line2197 + line2240 col3 file0 @@ -24481,12 +24481,12 @@ - line2197 + line2240 col3 file0 - line2197 + line2240 col6 file0 @@ -24510,7 +24510,7 @@ issue_hash_function_offset1 location - line2197 + line2240 col3 file0 @@ -24518,11 +24518,11 @@ 0 - 2190 - 2191 - 2192 - 2196 - 2197 + 2233 + 2234 + 2235 + 2239 + 2240 @@ -24537,12 +24537,12 @@ start - line2213 + line2256 col3 file0 - line2213 + line2256 col8 file0 @@ -24550,12 +24550,12 @@ end - line2213 + line2256 col24 file0 - line2213 + line2256 col37 file0 @@ -24567,7 +24567,7 @@ kindevent location - line2213 + line2256 col24 file0 @@ -24575,12 +24575,12 @@ - line2213 + line2256 col24 file0 - line2213 + line2256 col39 file0 @@ -24600,12 +24600,12 @@ start - line2213 + line2256 col24 file0 - line2213 + line2256 col37 file0 @@ -24613,12 +24613,12 @@ end - line2213 + line2256 col10 file0 - line2213 + line2256 col22 file0 @@ -24630,7 +24630,7 @@ kindevent location - line2213 + line2256 col10 file0 @@ -24638,24 +24638,24 @@ - line2213 + line2256 col10 file0 - line2213 + line2256 col40 file0 - line2213 + line2256 col24 file0 - line2213 + line2256 col39 file0 @@ -24675,12 +24675,12 @@ start - line2213 + line2256 col10 file0 - line2213 + line2256 col22 file0 @@ -24688,12 +24688,12 @@ end - line2213 + line2256 col3 file0 - line2213 + line2256 col8 file0 @@ -24705,7 +24705,7 @@ kindevent location - line2213 + line2256 col3 file0 @@ -24713,12 +24713,12 @@ - line2213 + line2256 col3 file0 - line2213 + line2256 col40 file0 @@ -24742,7 +24742,7 @@ issue_hash_function_offset2 location - line2213 + line2256 col3 file0 @@ -24750,8 +24750,8 @@ 0 - 2211 - 2213 + 2254 + 2256 @@ -24766,12 +24766,12 @@ start - line2218 + line2261 col3 file0 - line2218 + line2261 col8 file0 @@ -24779,12 +24779,12 @@ end - line2218 + line2261 col24 file0 - line2218 + line2261 col40 file0 @@ -24796,7 +24796,7 @@ kindevent location - line2218 + line2261 col24 file0 @@ -24804,12 +24804,12 @@ - line2218 + line2261 col24 file0 - line2218 + line2261 col42 file0 @@ -24829,12 +24829,12 @@ start - line2218 + line2261 col24 file0 - line2218 + line2261 col40 file0 @@ -24842,12 +24842,12 @@ end - line2218 + line2261 col10 file0 - line2218 + line2261 col22 file0 @@ -24859,7 +24859,7 @@ kindevent location - line2218 + line2261 col10 file0 @@ -24867,24 +24867,24 @@ - line2218 + line2261 col10 file0 - line2218 + line2261 col43 file0 - line2218 + line2261 col24 file0 - line2218 + line2261 col42 file0 @@ -24904,12 +24904,12 @@ start - line2218 + line2261 col10 file0 - line2218 + line2261 col22 file0 @@ -24917,12 +24917,12 @@ end - line2218 + line2261 col3 file0 - line2218 + line2261 col8 file0 @@ -24934,7 +24934,7 @@ kindevent location - line2218 + line2261 col3 file0 @@ -24942,12 +24942,12 @@ - line2218 + line2261 col3 file0 - line2218 + line2261 col43 file0 @@ -24971,7 +24971,7 @@ issue_hash_function_offset2 location - line2218 + line2261 col3 file0 @@ -24979,8 +24979,8 @@ 0 - 2216 - 2218 + 2259 + 2261 @@ -24991,7 +24991,7 @@ kindevent location - line2233 + line2276 col19 file0 @@ -24999,12 +24999,12 @@ - line2233 + line2276 col19 file0 - line2233 + line2276 col37 file0 @@ -25024,12 +25024,12 @@ start - line2233 + line2276 col3 file0 - line2233 + line2276 col11 file0 @@ -25037,12 +25037,12 @@ end - line2234 + line2277 col3 file0 - line2234 + line2277 col11 file0 @@ -25054,7 +25054,7 @@ kindevent location - line2234 + line2277 col3 file0 @@ -25062,24 +25062,24 @@ - line2234 + line2277 col3 file0 - line2234 + line2277 col16 file0 - line2234 + line2277 col13 file0 - line2234 + line2277 col15 file0 @@ -25099,12 +25099,12 @@ start - line2234 + line2277 col3 file0 - line2234 + line2277 col11 file0 @@ -25112,12 +25112,12 @@ end - line2237 + line2280 col3 file0 - line2237 + line2280 col7 file0 @@ -25129,7 +25129,7 @@ kindevent location - line2237 + line2280 col3 file0 @@ -25137,12 +25137,12 @@ - line2237 + line2280 col9 file0 - line2237 + line2280 col11 file0 @@ -25166,7 +25166,7 @@ issue_hash_function_offset7 location - line2237 + line2280 col3 file0 @@ -25174,10 +25174,10 @@ 0 - 2230 - 2233 - 2234 - 2237 + 2273 + 2276 + 2277 + 2280 @@ -25188,7 +25188,7 @@ kindevent location - line2242 + line2285 col19 file0 @@ -25196,12 +25196,12 @@ - line2242 + line2285 col19 file0 - line2242 + line2285 col37 file0 @@ -25221,12 +25221,12 @@ start - line2242 + line2285 col3 file0 - line2242 + line2285 col11 file0 @@ -25234,12 +25234,12 @@ end - line2243 + line2286 col3 file0 - line2243 + line2286 col11 file0 @@ -25251,7 +25251,7 @@ kindevent location - line2243 + line2286 col22 file0 @@ -25259,24 +25259,24 @@ - line2243 + line2286 col22 file0 - line2243 + line2286 col39 file0 - line2243 + line2286 col36 file0 - line2243 + line2286 col38 file0 @@ -25292,7 +25292,7 @@ kindevent location - line2243 + line2286 col3 file0 @@ -25300,12 +25300,12 @@ - line2243 + line2286 col3 file0 - line2243 + line2286 col18 file0 @@ -25325,12 +25325,12 @@ start - line2243 + line2286 col3 file0 - line2243 + line2286 col11 file0 @@ -25338,12 +25338,12 @@ end - line2244 + line2287 col3 file0 - line2244 + line2287 col10 file0 @@ -25355,7 +25355,7 @@ kindevent location - line2244 + line2287 col3 file0 @@ -25363,24 +25363,24 @@ - line2244 + line2287 col3 file0 - line2244 + line2287 col18 file0 - line2244 + line2287 col12 file0 - line2244 + line2287 col17 file0 @@ -25400,12 +25400,12 @@ start - line2244 + line2287 col3 file0 - line2244 + line2287 col10 file0 @@ -25413,12 +25413,12 @@ end - line2245 + line2288 col1 file0 - line2245 + line2288 col1 file0 @@ -25430,7 +25430,7 @@ kindevent location - line2245 + line2288 col1 file0 @@ -25452,7 +25452,7 @@ issue_hash_function_offset2 location - line2245 + line2288 col1 file0 @@ -25460,11 +25460,11 @@ 0 - 2240 - 2242 - 2243 - 2244 - 2245 + 2283 + 2285 + 2286 + 2287 + 2288 @@ -25475,7 +25475,7 @@ kindevent location - line2262 + line2305 col20 file0 @@ -25483,12 +25483,12 @@ - line2262 + line2305 col20 file0 - line2262 + line2305 col70 file0 @@ -25508,12 +25508,12 @@ start - line2262 + line2305 col3 file0 - line2262 + line2305 col12 file0 @@ -25521,12 +25521,12 @@ end - line2263 + line2306 col3 file0 - line2263 + line2306 col12 file0 @@ -25538,7 +25538,7 @@ kindevent location - line2263 + line2306 col34 file0 @@ -25546,24 +25546,24 @@ - line2263 + line2306 col34 file0 - line2263 + line2306 col62 file0 - line2263 + line2306 col48 file0 - line2263 + line2306 col61 file0 @@ -25579,7 +25579,7 @@ kindevent location - line2263 + line2306 col3 file0 @@ -25587,12 +25587,12 @@ - line2263 + line2306 col3 file0 - line2263 + line2306 col18 file0 @@ -25612,12 +25612,12 @@ start - line2263 + line2306 col3 file0 - line2263 + line2306 col12 file0 @@ -25625,12 +25625,12 @@ end - line2264 + line2307 col3 file0 - line2264 + line2307 col10 file0 @@ -25642,7 +25642,7 @@ kindevent location - line2264 + line2307 col3 file0 @@ -25650,24 +25650,24 @@ - line2264 + line2307 col3 file0 - line2264 + line2307 col17 file0 - line2264 + line2307 col12 file0 - line2264 + line2307 col16 file0 @@ -25687,12 +25687,12 @@ start - line2264 + line2307 col3 file0 - line2264 + line2307 col10 file0 @@ -25700,12 +25700,12 @@ end - line2265 + line2308 col1 file0 - line2265 + line2308 col1 file0 @@ -25717,7 +25717,7 @@ kindevent location - line2265 + line2308 col1 file0 @@ -25739,7 +25739,7 @@ issue_hash_function_offset1 location - line2265 + line2308 col1 file0 @@ -25747,11 +25747,11 @@ 0 - 2261 - 2262 - 2263 - 2264 - 2265 + 2304 + 2305 + 2306 + 2307 + 2308 @@ -25766,12 +25766,12 @@ start - line2276 + line2319 col3 file0 - line2276 + line2319 col4 file0 @@ -25779,12 +25779,12 @@ end - line2279 + line2322 col3 file0 - line2279 + line2322 col4 file0 @@ -25796,7 +25796,7 @@ kindevent location - line2279 + line2322 col19 file0 @@ -25804,12 +25804,12 @@ - line2279 + line2322 col19 file0 - line2279 + line2322 col20 file0 @@ -25829,12 +25829,12 @@ start - line2279 + line2322 col3 file0 - line2279 + line2322 col4 file0 @@ -25842,12 +25842,12 @@ end - line2280 + line2323 col3 file0 - line2280 + line2323 col15 file0 @@ -25859,7 +25859,7 @@ kindevent location - line2280 + line2323 col3 file0 @@ -25867,24 +25867,24 @@ - line2280 + line2323 col3 file0 - line2280 + line2323 col27 file0 - line2280 + line2323 col17 file0 - line2280 + line2323 col26 file0 @@ -25904,12 +25904,12 @@ start - line2280 + line2323 col3 file0 - line2280 + line2323 col15 file0 @@ -25917,12 +25917,12 @@ end - line2281 + line2324 col1 file0 - line2281 + line2324 col1 file0 @@ -25934,7 +25934,7 @@ kindevent location - line2281 + line2324 col1 file0 @@ -25956,7 +25956,7 @@ issue_hash_function_offset6 location - line2281 + line2324 col1 file0 @@ -25964,12 +25964,12 @@ 0 - 2275 - 2276 - 2277 - 2279 - 2280 - 2281 + 2318 + 2319 + 2320 + 2322 + 2323 + 2324 @@ -25984,12 +25984,12 @@ start - line2330 + line2374 col3 file0 - line2330 + line2374 col11 file0 @@ -25997,12 +25997,12 @@ end - line2331 + line2375 col3 file0 - line2331 + line2375 col13 file0 @@ -26014,7 +26014,7 @@ kindevent location - line2331 + line2375 col3 file0 @@ -26022,12 +26022,12 @@ - line2331 + line2375 col3 file0 - line2331 + line2375 col19 file0 @@ -26047,12 +26047,12 @@ start - line2331 + line2375 col3 file0 - line2331 + line2375 col13 file0 @@ -26060,12 +26060,12 @@ end - line2332 + line2376 col3 file0 - line2332 + line2376 col11 file0 @@ -26077,7 +26077,7 @@ kindevent location - line2332 + line2376 col3 file0 @@ -26085,12 +26085,12 @@ - line2332 + line2376 col13 file0 - line2332 + line2376 col15 file0 @@ -26114,7 +26114,7 @@ issue_hash_function_offset4 location - line2332 + line2376 col3 file0 @@ -26122,10 +26122,10 @@ 0 - 2328 - 2330 - 2331 - 2332 + 2372 + 2374 + 2375 + 2376 @@ -26140,12 +26140,12 @@ start - line2337 + line2381 col3 file0 - line2337 + line2381 col11 file0 @@ -26153,12 +26153,12 @@ end - line2338 + line2382 col3 file0 - line2338 + line2382 col14 file0 @@ -26170,7 +26170,7 @@ kindevent location - line2338 + line2382 col3 file0 @@ -26178,12 +26178,12 @@ - line2338 + line2382 col3 file0 - line2338 + line2382 col20 file0 @@ -26203,12 +26203,12 @@ start - line2338 + line2382 col3 file0 - line2338 + line2382 col14 file0 @@ -26216,12 +26216,12 @@ end - line2339 + line2383 col3 file0 - line2339 + line2383 col11 file0 @@ -26233,7 +26233,7 @@ kindevent location - line2339 + line2383 col3 file0 @@ -26241,12 +26241,12 @@ - line2339 + line2383 col13 file0 - line2339 + line2383 col15 file0 @@ -26270,7 +26270,7 @@ issue_hash_function_offset4 location - line2339 + line2383 col3 file0 @@ -26278,10 +26278,10 @@ 0 - 2335 - 2337 - 2338 - 2339 + 2379 + 2381 + 2382 + 2383 diff --git a/clang/test/Analysis/Inputs/expected-plists/retain-release.m.objcpp.plist b/clang/test/Analysis/Inputs/expected-plists/retain-release.m.objcpp.plist index 09a62dc1a2aa..67f0ffc9a418 100644 --- a/clang/test/Analysis/Inputs/expected-plists/retain-release.m.objcpp.plist +++ b/clang/test/Analysis/Inputs/expected-plists/retain-release.m.objcpp.plist @@ -9041,7 +9041,7 @@ kindevent location - line724 + line725 col20 file0 @@ -9049,12 +9049,12 @@ - line724 + line725 col20 file0 - line724 + line725 col63 file0 @@ -9074,12 +9074,12 @@ start - line724 + line725 col3 file0 - line724 + line725 col10 file0 @@ -9087,12 +9087,12 @@ end - line731 + line732 col3 file0 - line731 + line732 col4 file0 @@ -9108,12 +9108,12 @@ start - line731 + line732 col3 file0 - line731 + line732 col4 file0 @@ -9121,12 +9121,12 @@ end - line731 + line732 col6 file0 - line731 + line732 col6 file0 @@ -9138,7 +9138,7 @@ kindevent location - line731 + line732 col6 file0 @@ -9146,12 +9146,12 @@ - line731 + line732 col6 file0 - line731 + line732 col10 file0 @@ -9171,12 +9171,12 @@ start - line731 + line732 col6 file0 - line731 + line732 col6 file0 @@ -9184,12 +9184,12 @@ end - line732 + line733 col5 file0 - line732 + line733 col10 file0 @@ -9201,7 +9201,7 @@ kindevent location - line732 + line733 col5 file0 @@ -9209,12 +9209,12 @@ - line732 + line733 col5 file0 - line732 + line733 col10 file0 @@ -9238,7 +9238,7 @@ issue_hash_function_offset5 location - line732 + line733 col5 file0 @@ -9246,12 +9246,12 @@ 0 - 718 719 - 724 - 730 + 720 + 725 731 732 + 733 @@ -9266,12 +9266,12 @@ start - line724 + line725 col3 file0 - line724 + line725 col10 file0 @@ -9279,12 +9279,12 @@ end - line731 + line732 col3 file0 - line731 + line732 col4 file0 @@ -9300,12 +9300,12 @@ start - line731 + line732 col3 file0 - line731 + line732 col4 file0 @@ -9313,12 +9313,12 @@ end - line731 + line732 col6 file0 - line731 + line732 col6 file0 @@ -9330,7 +9330,7 @@ kindevent location - line731 + line732 col6 file0 @@ -9338,12 +9338,12 @@ - line731 + line732 col6 file0 - line731 + line732 col10 file0 @@ -9363,12 +9363,12 @@ start - line731 + line732 col6 file0 - line731 + line732 col6 file0 @@ -9376,12 +9376,12 @@ end - line734 + line735 col3 file0 - line734 + line735 col7 file0 @@ -9393,7 +9393,7 @@ kindevent location - line734 + line735 col3 file0 @@ -9401,12 +9401,12 @@ - line734 + line735 col3 file0 - line734 + line735 col19 file0 @@ -9426,12 +9426,12 @@ start - line734 + line735 col3 file0 - line734 + line735 col7 file0 @@ -9439,12 +9439,12 @@ end - line742 + line743 col3 file0 - line742 + line743 col4 file0 @@ -9460,12 +9460,12 @@ start - line742 + line743 col3 file0 - line742 + line743 col4 file0 @@ -9473,12 +9473,12 @@ end - line742 + line743 col6 file0 - line742 + line743 col9 file0 @@ -9490,7 +9490,7 @@ kindevent location - line742 + line743 col6 file0 @@ -9498,12 +9498,12 @@ - line742 + line743 col6 file0 - line742 + line743 col9 file0 @@ -9523,12 +9523,12 @@ start - line742 + line743 col6 file0 - line742 + line743 col9 file0 @@ -9536,12 +9536,12 @@ end - line744 + line745 col3 file0 - line744 + line745 col4 file0 @@ -9557,12 +9557,12 @@ start - line744 + line745 col3 file0 - line744 + line745 col4 file0 @@ -9570,12 +9570,12 @@ end - line744 + line745 col6 file0 - line744 + line745 col9 file0 @@ -9587,7 +9587,7 @@ kindpop-up location - line744 + line745 col6 file0 @@ -9595,12 +9595,12 @@ - line744 + line745 col6 file0 - line744 + line745 col9 file0 @@ -9619,12 +9619,12 @@ start - line744 + line745 col6 file0 - line744 + line745 col9 file0 @@ -9632,12 +9632,12 @@ end - line745 + line746 col5 file0 - line745 + line746 col9 file0 @@ -9653,12 +9653,12 @@ start - line745 + line746 col5 file0 - line745 + line746 col9 file0 @@ -9666,12 +9666,12 @@ end - line746 + line747 col3 file0 - line746 + line747 col4 file0 @@ -9687,12 +9687,12 @@ start - line746 + line747 col3 file0 - line746 + line747 col4 file0 @@ -9700,12 +9700,12 @@ end - line746 + line747 col13 file0 - line746 + line747 col17 file0 @@ -9717,7 +9717,7 @@ kindevent location - line746 + line747 col13 file0 @@ -9725,12 +9725,12 @@ - line746 + line747 col13 file0 - line746 + line747 col17 file0 @@ -9754,7 +9754,7 @@ issue_hash_function_offset27 location - line746 + line747 col13 file0 @@ -9762,17 +9762,17 @@ 0 - 718 719 - 724 - 730 + 720 + 725 731 - 734 + 732 735 - 742 - 744 + 736 + 743 745 746 + 747 @@ -9787,12 +9787,12 @@ start - line724 + line725 col3 file0 - line724 + line725 col10 file0 @@ -9800,12 +9800,12 @@ end - line730 + line731 col3 file0 - line730 + line731 col10 file0 @@ -9817,7 +9817,7 @@ kindevent location - line730 + line731 col20 file0 @@ -9825,12 +9825,12 @@ - line730 + line731 col20 file0 - line730 + line731 col57 file0 @@ -9850,12 +9850,12 @@ start - line730 + line731 col3 file0 - line730 + line731 col10 file0 @@ -9863,12 +9863,12 @@ end - line731 + line732 col3 file0 - line731 + line732 col4 file0 @@ -9884,12 +9884,12 @@ start - line731 + line732 col3 file0 - line731 + line732 col4 file0 @@ -9897,12 +9897,12 @@ end - line731 + line732 col6 file0 - line731 + line732 col6 file0 @@ -9914,7 +9914,7 @@ kindevent location - line731 + line732 col6 file0 @@ -9922,12 +9922,12 @@ - line731 + line732 col6 file0 - line731 + line732 col10 file0 @@ -9947,12 +9947,12 @@ start - line731 + line732 col6 file0 - line731 + line732 col6 file0 @@ -9960,12 +9960,12 @@ end - line734 + line735 col3 file0 - line734 + line735 col7 file0 @@ -9981,12 +9981,12 @@ start - line734 + line735 col3 file0 - line734 + line735 col7 file0 @@ -9994,12 +9994,12 @@ end - line742 + line743 col3 file0 - line742 + line743 col4 file0 @@ -10015,12 +10015,12 @@ start - line742 + line743 col3 file0 - line742 + line743 col4 file0 @@ -10028,12 +10028,12 @@ end - line742 + line743 col6 file0 - line742 + line743 col9 file0 @@ -10045,7 +10045,7 @@ kindevent location - line742 + line743 col6 file0 @@ -10053,12 +10053,12 @@ - line742 + line743 col6 file0 - line742 + line743 col9 file0 @@ -10078,12 +10078,12 @@ start - line742 + line743 col6 file0 - line742 + line743 col9 file0 @@ -10091,12 +10091,12 @@ end - line743 + line744 col5 file0 - line743 + line744 col9 file0 @@ -10112,12 +10112,12 @@ start - line743 + line744 col5 file0 - line743 + line744 col9 file0 @@ -10125,12 +10125,12 @@ end - line744 + line745 col3 file0 - line744 + line745 col4 file0 @@ -10146,12 +10146,12 @@ start - line744 + line745 col3 file0 - line744 + line745 col4 file0 @@ -10159,12 +10159,12 @@ end - line744 + line745 col6 file0 - line744 + line745 col9 file0 @@ -10176,7 +10176,7 @@ kindpop-up location - line744 + line745 col6 file0 @@ -10184,12 +10184,12 @@ - line744 + line745 col6 file0 - line744 + line745 col9 file0 @@ -10208,12 +10208,12 @@ start - line744 + line745 col6 file0 - line744 + line745 col9 file0 @@ -10221,12 +10221,12 @@ end - line745 + line746 col5 file0 - line745 + line746 col9 file0 @@ -10242,12 +10242,12 @@ start - line745 + line746 col5 file0 - line745 + line746 col9 file0 @@ -10255,12 +10255,12 @@ end - line746 + line747 col3 file0 - line746 + line747 col4 file0 @@ -10276,12 +10276,12 @@ start - line746 + line747 col3 file0 - line746 + line747 col4 file0 @@ -10289,12 +10289,12 @@ end - line746 + line747 col6 file0 - line746 + line747 col6 file0 @@ -10306,7 +10306,7 @@ kindevent location - line746 + line747 col6 file0 @@ -10314,12 +10314,12 @@ - line746 + line747 col6 file0 - line746 + line747 col21 file0 @@ -10339,12 +10339,12 @@ start - line746 + line747 col6 file0 - line746 + line747 col6 file0 @@ -10352,12 +10352,12 @@ end - line748 + line749 col3 file0 - line748 + line749 col4 file0 @@ -10373,12 +10373,12 @@ start - line748 + line749 col3 file0 - line748 + line749 col4 file0 @@ -10386,12 +10386,12 @@ end - line748 + line749 col6 file0 - line748 + line749 col6 file0 @@ -10403,7 +10403,7 @@ kindevent location - line748 + line749 col6 file0 @@ -10411,12 +10411,12 @@ - line748 + line749 col6 file0 - line748 + line749 col21 file0 @@ -10436,12 +10436,12 @@ start - line748 + line749 col6 file0 - line748 + line749 col6 file0 @@ -10449,12 +10449,12 @@ end - line751 + line752 col3 file0 - line751 + line752 col3 file0 @@ -10470,12 +10470,12 @@ start - line751 + line752 col3 file0 - line751 + line752 col3 file0 @@ -10483,12 +10483,12 @@ end - line752 + line753 col3 file0 - line752 + line753 col3 file0 @@ -10500,7 +10500,7 @@ kindevent location - line752 + line753 col3 file0 @@ -10508,12 +10508,12 @@ - line752 + line753 col4 file0 - line752 + line753 col7 file0 @@ -10537,7 +10537,7 @@ issue_hash_function_offset33 location - line752 + line753 col3 file0 @@ -10545,21 +10545,21 @@ 0 - 718 719 - 724 - 730 + 720 + 725 731 - 734 + 732 735 - 742 + 736 743 744 745 746 - 748 - 751 + 747 + 749 752 + 753 @@ -10570,7 +10570,7 @@ kindevent location - line774 + line775 col12 file0 @@ -10578,12 +10578,12 @@ - line774 + line775 col12 file0 - line774 + line775 col34 file0 @@ -10603,12 +10603,12 @@ start - line774 + line775 col3 file0 - line774 + line775 col4 file0 @@ -10616,12 +10616,12 @@ end - line775 + line776 col3 file0 - line775 + line776 col3 file0 @@ -10633,7 +10633,7 @@ kindevent location - line775 + line776 col3 file0 @@ -10641,24 +10641,24 @@ - line775 + line776 col3 file0 - line775 + line776 col15 file0 - line775 + line776 col4 file0 - line775 + line776 col6 file0 @@ -10678,12 +10678,12 @@ start - line775 + line776 col3 file0 - line775 + line776 col3 file0 @@ -10691,12 +10691,12 @@ end - line776 + line777 col3 file0 - line776 + line777 col3 file0 @@ -10708,7 +10708,7 @@ kindevent location - line776 + line777 col3 file0 @@ -10716,12 +10716,12 @@ - line776 + line777 col4 file0 - line776 + line777 col6 file0 @@ -10745,7 +10745,7 @@ issue_hash_function_offset3 location - line776 + line777 col3 file0 @@ -10753,11 +10753,11 @@ 0 - 772 773 774 775 776 + 777 @@ -10772,12 +10772,12 @@ start - line782 + line783 col3 file0 - line782 + line783 col7 file0 @@ -10785,12 +10785,12 @@ end - line783 + line784 col3 file0 - line783 + line784 col4 file0 @@ -10802,7 +10802,7 @@ kindevent location - line783 + line784 col12 file0 @@ -10810,12 +10810,12 @@ - line783 + line784 col12 file0 - line783 + line784 col34 file0 @@ -10835,12 +10835,12 @@ start - line783 + line784 col3 file0 - line783 + line784 col4 file0 @@ -10848,12 +10848,12 @@ end - line784 + line785 col3 file0 - line784 + line785 col3 file0 @@ -10865,7 +10865,7 @@ kindevent location - line784 + line785 col3 file0 @@ -10873,24 +10873,24 @@ - line784 + line785 col3 file0 - line784 + line785 col15 file0 - line784 + line785 col4 file0 - line784 + line785 col6 file0 @@ -10910,12 +10910,12 @@ start - line784 + line785 col3 file0 - line784 + line785 col3 file0 @@ -10923,12 +10923,12 @@ end - line785 + line786 col3 file0 - line785 + line786 col3 file0 @@ -10940,7 +10940,7 @@ kindevent location - line785 + line786 col3 file0 @@ -10948,12 +10948,12 @@ - line785 + line786 col4 file0 - line785 + line786 col6 file0 @@ -10977,7 +10977,7 @@ issue_hash_function_offset4 location - line785 + line786 col3 file0 @@ -10985,12 +10985,12 @@ 0 - 780 781 782 783 784 785 + 786 @@ -11005,12 +11005,12 @@ start - line836 + line838 col2 file0 - line836 + line838 col20 file0 @@ -11018,12 +11018,12 @@ end - line836 + line838 col31 file0 - line836 + line838 col31 file0 @@ -11035,7 +11035,7 @@ kindevent location - line836 + line838 col31 file0 @@ -11043,12 +11043,12 @@ - line836 + line838 col31 file0 - line836 + line838 col76 file0 @@ -11064,7 +11064,7 @@ kindevent location - line836 + line838 col30 file0 @@ -11072,24 +11072,24 @@ - line836 + line838 col30 file0 - line836 + line838 col84 file0 - line836 + line838 col31 file0 - line836 + line838 col76 file0 @@ -11109,12 +11109,12 @@ start - line836 + line838 col30 file0 - line836 + line838 col30 file0 @@ -11122,12 +11122,12 @@ end - line836 + line838 col2 file0 - line836 + line838 col20 file0 @@ -11143,12 +11143,12 @@ start - line836 + line838 col2 file0 - line836 + line838 col20 file0 @@ -11156,12 +11156,12 @@ end - line840 + line842 col2 file0 - line840 + line842 col6 file0 @@ -11177,12 +11177,12 @@ start - line840 + line842 col2 file0 - line840 + line842 col6 file0 @@ -11190,12 +11190,12 @@ end - line841 + line843 col1 file0 - line841 + line843 col1 file0 @@ -11207,7 +11207,7 @@ kindevent location - line841 + line843 col1 file0 @@ -11229,7 +11229,7 @@ issue_hash_function_offset1 location - line841 + line843 col1 file0 @@ -11237,11 +11237,11 @@ 0 - 835 - 836 + 837 838 840 - 841 + 842 + 843 @@ -11256,12 +11256,12 @@ start - line848 + line850 col2 file0 - line848 + line850 col20 file0 @@ -11269,12 +11269,12 @@ end - line848 + line850 col31 file0 - line848 + line850 col31 file0 @@ -11286,7 +11286,7 @@ kindevent location - line848 + line850 col31 file0 @@ -11294,12 +11294,12 @@ - line848 + line850 col31 file0 - line848 + line850 col76 file0 @@ -11315,7 +11315,7 @@ kindevent location - line848 + line850 col30 file0 @@ -11323,24 +11323,24 @@ - line848 + line850 col30 file0 - line848 + line850 col84 file0 - line848 + line850 col31 file0 - line848 + line850 col76 file0 @@ -11360,12 +11360,12 @@ start - line848 + line850 col30 file0 - line848 + line850 col30 file0 @@ -11373,12 +11373,12 @@ end - line848 + line850 col2 file0 - line848 + line850 col20 file0 @@ -11394,12 +11394,12 @@ start - line848 + line850 col2 file0 - line848 + line850 col20 file0 @@ -11407,12 +11407,12 @@ end - line849 + line851 col2 file0 - line849 + line851 col3 file0 @@ -11428,12 +11428,12 @@ start - line849 + line851 col2 file0 - line849 + line851 col3 file0 @@ -11441,12 +11441,12 @@ end - line849 + line851 col6 file0 - line849 + line851 col11 file0 @@ -11458,7 +11458,7 @@ kindevent location - line849 + line851 col6 file0 @@ -11466,12 +11466,12 @@ - line849 + line851 col6 file0 - line849 + line851 col11 file0 @@ -11491,12 +11491,12 @@ start - line849 + line851 col6 file0 - line849 + line851 col11 file0 @@ -11504,12 +11504,12 @@ end - line851 + line853 col1 file0 - line851 + line853 col1 file0 @@ -11521,7 +11521,7 @@ kindevent location - line851 + line853 col1 file0 @@ -11543,7 +11543,7 @@ issue_hash_function_offset1 location - line851 + line853 col1 file0 @@ -11551,10 +11551,10 @@ 0 - 847 - 848 849 + 850 851 + 853 @@ -11569,12 +11569,12 @@ start - line858 + line861 col3 file0 - line858 + line861 col19 file0 @@ -11582,12 +11582,12 @@ end - line859 + line862 col3 file0 - line859 + line862 col9 file0 @@ -11599,7 +11599,7 @@ kindevent location - line859 + line862 col20 file0 @@ -11607,12 +11607,12 @@ - line859 + line862 col20 file0 - line859 + line862 col34 file0 @@ -11632,12 +11632,12 @@ start - line859 + line862 col3 file0 - line859 + line862 col9 file0 @@ -11645,12 +11645,12 @@ end - line860 + line863 col3 file0 - line860 + line863 col3 file0 @@ -11662,7 +11662,7 @@ kindevent location - line860 + line863 col3 file0 @@ -11670,12 +11670,12 @@ - line860 + line863 col4 file0 - line860 + line863 col8 file0 @@ -11699,7 +11699,7 @@ issue_hash_function_offset3 location - line860 + line863 col3 file0 @@ -11707,10 +11707,10 @@ 0 - 857 - 858 - 859 860 + 861 + 862 + 863 @@ -11725,12 +11725,12 @@ start - line931 + line938 col3 file0 - line931 + line938 col3 file0 @@ -11738,12 +11738,12 @@ end - line932 + line939 col3 file0 - line932 + line939 col3 file0 @@ -11755,7 +11755,7 @@ kindevent location - line932 + line939 col3 file0 @@ -11763,12 +11763,12 @@ - line932 + line939 col3 file0 - line932 + line939 col36 file0 @@ -11788,12 +11788,12 @@ start - line932 + line939 col3 file0 - line932 + line939 col3 file0 @@ -11801,12 +11801,12 @@ end - line933 + line940 col3 file0 - line933 + line940 col8 file0 @@ -11818,7 +11818,7 @@ kindevent location - line933 + line940 col3 file0 @@ -11826,12 +11826,12 @@ - line933 + line940 col3 file0 - line933 + line940 col13 file0 @@ -11855,7 +11855,7 @@ issue_hash_function_offset2 location - line933 + line940 col3 file0 @@ -11863,10 +11863,10 @@ 0 - 930 - 931 - 932 - 933 + 937 + 938 + 939 + 940 @@ -11881,12 +11881,12 @@ start - line936 + line943 col3 file0 - line936 + line943 col3 file0 @@ -11894,12 +11894,12 @@ end - line937 + line944 col3 file0 - line937 + line944 col6 file0 @@ -11911,7 +11911,7 @@ kindevent location - line937 + line944 col10 file0 @@ -11919,12 +11919,12 @@ - line937 + line944 col10 file0 - line937 + line944 col43 file0 @@ -11944,12 +11944,12 @@ start - line937 + line944 col3 file0 - line937 + line944 col6 file0 @@ -11957,12 +11957,12 @@ end - line938 + line945 col3 file0 - line938 + line945 col8 file0 @@ -11974,7 +11974,7 @@ kindevent location - line938 + line945 col10 file0 @@ -11982,24 +11982,24 @@ - line938 + line945 col10 file0 - line938 + line945 col27 file0 - line938 + line945 col11 file0 - line938 + line945 col14 file0 @@ -12015,7 +12015,7 @@ kindevent location - line938 + line945 col3 file0 @@ -12023,12 +12023,12 @@ - line938 + line945 col3 file0 - line938 + line945 col27 file0 @@ -12052,7 +12052,7 @@ issue_hash_function_offset3 location - line938 + line945 col3 file0 @@ -12060,10 +12060,10 @@ 0 - 935 - 936 - 937 - 938 + 942 + 943 + 944 + 945 @@ -12074,7 +12074,7 @@ kindevent location - line972 + line983 col37 file0 @@ -12082,12 +12082,12 @@ - line972 + line983 col37 file0 - line972 + line983 col59 file0 @@ -12103,7 +12103,7 @@ kindevent location - line972 + line983 col30 file0 @@ -12111,12 +12111,12 @@ - line972 + line983 col30 file0 - line972 + line983 col59 file0 @@ -12140,7 +12140,7 @@ issue_hash_function_offset0 location - line972 + line983 col30 file0 @@ -12148,7 +12148,7 @@ 0 - 972 + 983 @@ -12159,7 +12159,7 @@ kindevent location - line973 + line984 col37 file0 @@ -12167,12 +12167,12 @@ - line973 + line984 col37 file0 - line973 + line984 col59 file0 @@ -12188,7 +12188,7 @@ kindevent location - line973 + line984 col30 file0 @@ -12196,12 +12196,12 @@ - line973 + line984 col30 file0 - line973 + line984 col59 file0 @@ -12225,7 +12225,7 @@ issue_hash_function_offset0 location - line973 + line984 col30 file0 @@ -12233,7 +12233,7 @@ 0 - 973 + 984 @@ -12244,7 +12244,7 @@ kindevent location - line977 + line988 col3 file0 @@ -12252,12 +12252,12 @@ - line977 + line988 col3 file0 - line977 + line988 col18 file0 @@ -12273,7 +12273,7 @@ kindevent location - line972 + line983 col1 file0 @@ -12291,12 +12291,12 @@ start - line972 + line983 col1 file0 - line972 + line983 col1 file0 @@ -12304,12 +12304,12 @@ end - line972 + line983 col30 file0 - line972 + line983 col35 file0 @@ -12321,7 +12321,7 @@ kindevent location - line972 + line983 col37 file0 @@ -12329,12 +12329,12 @@ - line972 + line983 col37 file0 - line972 + line983 col59 file0 @@ -12350,7 +12350,7 @@ kindevent location - line977 + line988 col3 file0 @@ -12358,12 +12358,12 @@ - line977 + line988 col3 file0 - line977 + line988 col18 file0 @@ -12383,12 +12383,12 @@ start - line977 + line988 col3 file0 - line977 + line988 col3 file0 @@ -12396,12 +12396,12 @@ end - line978 + line989 col3 file0 - line978 + line989 col3 file0 @@ -12413,7 +12413,7 @@ kindevent location - line978 + line989 col3 file0 @@ -12421,12 +12421,12 @@ - line978 + line989 col3 file0 - line978 + line989 col18 file0 @@ -12450,7 +12450,7 @@ issue_hash_function_offset1 location - line978 + line989 col3 file0 @@ -12458,10 +12458,10 @@ 0 - 972 - 976 - 977 - 978 + 983 + 987 + 988 + 989 @@ -12476,12 +12476,12 @@ start - line977 + line988 col3 file0 - line977 + line988 col3 file0 @@ -12489,12 +12489,12 @@ end - line978 + line989 col3 file0 - line978 + line989 col3 file0 @@ -12506,7 +12506,7 @@ kindevent location - line978 + line989 col3 file0 @@ -12514,12 +12514,12 @@ - line978 + line989 col3 file0 - line978 + line989 col18 file0 @@ -12535,7 +12535,7 @@ kindevent location - line973 + line984 col1 file0 @@ -12553,12 +12553,12 @@ start - line973 + line984 col1 file0 - line973 + line984 col1 file0 @@ -12566,12 +12566,12 @@ end - line973 + line984 col30 file0 - line973 + line984 col35 file0 @@ -12583,7 +12583,7 @@ kindevent location - line973 + line984 col37 file0 @@ -12591,12 +12591,12 @@ - line973 + line984 col37 file0 - line973 + line984 col59 file0 @@ -12612,7 +12612,7 @@ kindevent location - line978 + line989 col3 file0 @@ -12620,12 +12620,12 @@ - line978 + line989 col3 file0 - line978 + line989 col18 file0 @@ -12645,12 +12645,12 @@ start - line978 + line989 col3 file0 - line978 + line989 col3 file0 @@ -12658,12 +12658,12 @@ end - line979 + line990 col3 file0 - line979 + line990 col3 file0 @@ -12675,7 +12675,7 @@ kindevent location - line979 + line990 col3 file0 @@ -12683,12 +12683,12 @@ - line979 + line990 col3 file0 - line979 + line990 col54 file0 @@ -12712,7 +12712,7 @@ issue_hash_function_offset2 location - line979 + line990 col3 file0 @@ -12720,12 +12720,12 @@ 0 - 972 - 973 - 976 - 977 - 978 - 979 + 983 + 984 + 987 + 988 + 989 + 990 @@ -12736,7 +12736,7 @@ kindevent location - line1012 + line1023 col10 file0 @@ -12744,12 +12744,12 @@ - line1012 + line1023 col10 file0 - line1012 + line1023 col32 file0 @@ -12765,7 +12765,7 @@ kindevent location - line1012 + line1023 col3 file0 @@ -12773,12 +12773,12 @@ - line1012 + line1023 col3 file0 - line1012 + line1023 col32 file0 @@ -12802,7 +12802,7 @@ issue_hash_function_offset1 location - line1012 + line1023 col3 file0 @@ -12810,8 +12810,8 @@ 0 - 1011 - 1012 + 1022 + 1023 @@ -12822,7 +12822,7 @@ kindevent location - line1040 + line1053 col3 file0 @@ -12830,12 +12830,12 @@ - line1040 + line1053 col3 file0 - line1040 + line1053 col38 file0 @@ -12855,12 +12855,12 @@ start - line1040 + line1053 col3 file0 - line1040 + line1053 col3 file0 @@ -12868,12 +12868,12 @@ end - line1041 + line1054 col3 file0 - line1041 + line1054 col3 file0 @@ -12885,7 +12885,7 @@ kindevent location - line1041 + line1054 col3 file0 @@ -12893,12 +12893,12 @@ - line1041 + line1054 col3 file0 - line1041 + line1054 col42 file0 @@ -12922,7 +12922,7 @@ issue_hash_function_offset1 location - line1041 + line1054 col3 file0 @@ -12930,11 +12930,11 @@ 0 - 1037 - 1038 - 1039 - 1040 - 1041 + 1050 + 1051 + 1052 + 1053 + 1054 @@ -12949,12 +12949,12 @@ start - line1040 + line1053 col3 file0 - line1040 + line1053 col3 file0 @@ -12962,12 +12962,12 @@ end - line1041 + line1054 col3 file0 - line1041 + line1054 col3 file0 @@ -12979,7 +12979,7 @@ kindevent location - line1041 + line1054 col3 file0 @@ -12987,12 +12987,12 @@ - line1041 + line1054 col3 file0 - line1041 + line1054 col42 file0 @@ -13012,12 +13012,12 @@ start - line1041 + line1054 col3 file0 - line1041 + line1054 col3 file0 @@ -13025,12 +13025,12 @@ end - line1042 + line1055 col3 file0 - line1042 + line1055 col3 file0 @@ -13046,12 +13046,12 @@ start - line1042 + line1055 col3 file0 - line1042 + line1055 col3 file0 @@ -13059,12 +13059,12 @@ end - line1042 + line1055 col39 file0 - line1042 + line1055 col42 file0 @@ -13076,7 +13076,7 @@ kindevent location - line1042 + line1055 col39 file0 @@ -13084,12 +13084,12 @@ - line1042 + line1055 col39 file0 - line1042 + line1055 col42 file0 @@ -13113,7 +13113,7 @@ issue_hash_function_offset2 location - line1042 + line1055 col39 file0 @@ -13121,12 +13121,12 @@ 0 - 1037 - 1038 - 1039 - 1040 - 1041 - 1042 + 1050 + 1051 + 1052 + 1053 + 1054 + 1055 @@ -13141,12 +13141,12 @@ start - line1040 + line1053 col3 file0 - line1040 + line1053 col3 file0 @@ -13154,12 +13154,12 @@ end - line1042 + line1055 col3 file0 - line1042 + line1055 col3 file0 @@ -13171,7 +13171,7 @@ kindevent location - line1042 + line1055 col3 file0 @@ -13179,12 +13179,12 @@ - line1042 + line1055 col3 file0 - line1042 + line1055 col43 file0 @@ -13204,12 +13204,12 @@ start - line1042 + line1055 col3 file0 - line1042 + line1055 col3 file0 @@ -13217,12 +13217,12 @@ end - line1043 + line1056 col3 file0 - line1043 + line1056 col3 file0 @@ -13238,12 +13238,12 @@ start - line1043 + line1056 col3 file0 - line1043 + line1056 col3 file0 @@ -13251,12 +13251,12 @@ end - line1043 + line1056 col39 file0 - line1043 + line1056 col42 file0 @@ -13268,7 +13268,7 @@ kindevent location - line1043 + line1056 col39 file0 @@ -13276,12 +13276,12 @@ - line1043 + line1056 col39 file0 - line1043 + line1056 col42 file0 @@ -13305,7 +13305,7 @@ issue_hash_function_offset3 location - line1043 + line1056 col39 file0 @@ -13313,13 +13313,13 @@ 0 - 1037 - 1038 - 1039 - 1040 - 1041 - 1042 - 1043 + 1050 + 1051 + 1052 + 1053 + 1054 + 1055 + 1056 @@ -13334,12 +13334,12 @@ start - line1040 + line1053 col3 file0 - line1040 + line1053 col3 file0 @@ -13347,12 +13347,12 @@ end - line1043 + line1056 col3 file0 - line1043 + line1056 col3 file0 @@ -13364,7 +13364,7 @@ kindevent location - line1043 + line1056 col3 file0 @@ -13372,12 +13372,12 @@ - line1043 + line1056 col3 file0 - line1043 + line1056 col69 file0 @@ -13397,12 +13397,12 @@ start - line1043 + line1056 col3 file0 - line1043 + line1056 col3 file0 @@ -13410,12 +13410,12 @@ end - line1044 + line1057 col1 file0 - line1044 + line1057 col1 file0 @@ -13427,7 +13427,7 @@ kindevent location - line1044 + line1057 col1 file0 @@ -13449,7 +13449,7 @@ issue_hash_function_offset4 location - line1044 + line1057 col1 file0 @@ -13457,14 +13457,14 @@ 0 - 1037 - 1038 - 1039 - 1040 - 1041 - 1042 - 1043 - 1044 + 1050 + 1051 + 1052 + 1053 + 1054 + 1055 + 1056 + 1057 @@ -13475,7 +13475,7 @@ kindevent location - line1050 + line1065 col3 file0 @@ -13483,12 +13483,12 @@ - line1050 + line1065 col3 file0 - line1050 + line1065 col45 file0 @@ -13508,12 +13508,12 @@ start - line1050 + line1065 col3 file0 - line1050 + line1065 col3 file0 @@ -13521,12 +13521,12 @@ end - line1051 + line1066 col1 file0 - line1051 + line1066 col1 file0 @@ -13538,7 +13538,7 @@ kindevent location - line1051 + line1066 col1 file0 @@ -13560,7 +13560,7 @@ issue_hash_function_offset1 location - line1051 + line1066 col1 file0 @@ -13568,9 +13568,9 @@ 0 - 1049 - 1050 - 1051 + 1064 + 1065 + 1066 @@ -13581,7 +13581,7 @@ kindevent location - line1057 + line1074 col3 file0 @@ -13589,12 +13589,12 @@ - line1057 + line1074 col3 file0 - line1057 + line1074 col47 file0 @@ -13614,12 +13614,12 @@ start - line1057 + line1074 col3 file0 - line1057 + line1074 col19 file0 @@ -13627,12 +13627,12 @@ end - line1058 + line1075 col1 file0 - line1058 + line1075 col1 file0 @@ -13644,7 +13644,7 @@ kindevent location - line1058 + line1075 col1 file0 @@ -13666,7 +13666,7 @@ issue_hash_function_offset1 location - line1058 + line1075 col1 file0 @@ -13674,9 +13674,9 @@ 0 - 1056 - 1057 - 1058 + 1073 + 1074 + 1075 @@ -13687,7 +13687,7 @@ kindevent location - line1061 + line1078 col3 file0 @@ -13695,12 +13695,12 @@ - line1061 + line1078 col3 file0 - line1061 + line1078 col25 file0 @@ -13720,12 +13720,12 @@ start - line1061 + line1078 col3 file0 - line1061 + line1078 col19 file0 @@ -13733,12 +13733,12 @@ end - line1062 + line1079 col1 file0 - line1062 + line1079 col1 file0 @@ -13750,7 +13750,7 @@ kindevent location - line1062 + line1079 col1 file0 @@ -13772,7 +13772,7 @@ issue_hash_function_offset1 location - line1062 + line1079 col1 file0 @@ -13780,9 +13780,9 @@ 0 - 1060 - 1061 - 1062 + 1077 + 1078 + 1079 @@ -13793,7 +13793,7 @@ kindevent location - line1065 + line1082 col3 file0 @@ -13801,12 +13801,12 @@ - line1065 + line1082 col3 file0 - line1065 + line1082 col29 file0 @@ -13826,12 +13826,12 @@ start - line1065 + line1082 col3 file0 - line1065 + line1082 col23 file0 @@ -13839,12 +13839,12 @@ end - line1066 + line1083 col1 file0 - line1066 + line1083 col1 file0 @@ -13856,7 +13856,7 @@ kindevent location - line1066 + line1083 col1 file0 @@ -13878,7 +13878,7 @@ issue_hash_function_offset1 location - line1066 + line1083 col1 file0 @@ -13886,9 +13886,9 @@ 0 - 1064 - 1065 - 1066 + 1081 + 1082 + 1083 @@ -13899,7 +13899,7 @@ kindevent location - line1073 + line1090 col30 file0 @@ -13907,12 +13907,12 @@ - line1073 + line1090 col30 file0 - line1073 + line1090 col41 file0 @@ -13932,12 +13932,12 @@ start - line1073 + line1090 col3 file0 - line1073 + line1090 col17 file0 @@ -13945,12 +13945,12 @@ end - line1074 + line1091 col3 file0 - line1074 + line1091 col11 file0 @@ -13962,7 +13962,7 @@ kindevent location - line1074 + line1091 col3 file0 @@ -13970,24 +13970,24 @@ - line1074 + line1091 col3 file0 - line1074 + line1091 col21 file0 - line1074 + line1091 col13 file0 - line1074 + line1091 col20 file0 @@ -14007,12 +14007,12 @@ start - line1074 + line1091 col3 file0 - line1074 + line1091 col11 file0 @@ -14020,12 +14020,12 @@ end - line1075 + line1092 col3 file0 - line1075 + line1092 col26 file0 @@ -14037,7 +14037,7 @@ kindevent location - line1075 + line1092 col3 file0 @@ -14045,12 +14045,12 @@ - line1075 + line1092 col56 file0 - line1075 + line1092 col63 file0 @@ -14074,7 +14074,7 @@ issue_hash_function_offset4 location - line1075 + line1092 col3 file0 @@ -14082,12 +14082,12 @@ 0 - 1070 - 1071 - 1073 - 1074 - 1075 - 1076 + 1087 + 1088 + 1090 + 1091 + 1092 + 1093 @@ -14098,7 +14098,7 @@ kindevent location - line1080 + line1097 col3 file0 @@ -14106,12 +14106,12 @@ - line1080 + line1097 col3 file0 - line1080 + line1097 col36 file0 @@ -14131,12 +14131,12 @@ start - line1080 + line1097 col3 file0 - line1080 + line1097 col27 file0 @@ -14144,12 +14144,12 @@ end - line1081 + line1098 col1 file0 - line1081 + line1098 col1 file0 @@ -14161,7 +14161,7 @@ kindevent location - line1081 + line1098 col1 file0 @@ -14183,7 +14183,7 @@ issue_hash_function_offset1 location - line1081 + line1098 col1 file0 @@ -14191,9 +14191,9 @@ 0 - 1079 - 1080 - 1081 + 1096 + 1097 + 1098 @@ -14204,7 +14204,7 @@ kindevent location - line1085 + line1102 col3 file0 @@ -14212,12 +14212,12 @@ - line1085 + line1102 col3 file0 - line1085 + line1102 col53 file0 @@ -14237,12 +14237,12 @@ start - line1085 + line1102 col3 file0 - line1085 + line1102 col28 file0 @@ -14250,12 +14250,12 @@ end - line1086 + line1103 col1 file0 - line1086 + line1103 col1 file0 @@ -14267,7 +14267,7 @@ kindevent location - line1086 + line1103 col1 file0 @@ -14289,7 +14289,7 @@ issue_hash_function_offset1 location - line1086 + line1103 col1 file0 @@ -14297,10 +14297,10 @@ 0 - 1083 - 1084 - 1085 - 1086 + 1100 + 1101 + 1102 + 1103 @@ -14311,7 +14311,7 @@ kindevent location - line1089 + line1106 col30 file0 @@ -14319,12 +14319,12 @@ - line1089 + line1106 col30 file0 - line1089 + line1106 col41 file0 @@ -14344,12 +14344,12 @@ start - line1089 + line1106 col3 file0 - line1089 + line1106 col17 file0 @@ -14357,12 +14357,12 @@ end - line1090 + line1107 col3 file0 - line1090 + line1107 col29 file0 @@ -14374,7 +14374,7 @@ kindevent location - line1090 + line1107 col3 file0 @@ -14382,24 +14382,24 @@ - line1090 + line1107 col3 file0 - line1090 + line1107 col49 file0 - line1090 + line1107 col41 file0 - line1090 + line1107 col48 file0 @@ -14419,12 +14419,12 @@ start - line1090 + line1107 col3 file0 - line1090 + line1107 col29 file0 @@ -14432,12 +14432,12 @@ end - line1091 + line1108 col3 file0 - line1091 + line1108 col11 file0 @@ -14449,7 +14449,7 @@ kindevent location - line1091 + line1108 col3 file0 @@ -14457,12 +14457,12 @@ - line1091 + line1108 col13 file0 - line1091 + line1108 col20 file0 @@ -14486,7 +14486,7 @@ issue_hash_function_offset3 location - line1091 + line1108 col3 file0 @@ -14494,10 +14494,10 @@ 0 - 1088 - 1089 - 1090 - 1091 + 1105 + 1106 + 1107 + 1108 @@ -14508,7 +14508,7 @@ kindevent location - line1095 + line1112 col30 file0 @@ -14516,12 +14516,12 @@ - line1095 + line1112 col30 file0 - line1095 + line1112 col41 file0 @@ -14541,12 +14541,12 @@ start - line1095 + line1112 col3 file0 - line1095 + line1112 col17 file0 @@ -14554,12 +14554,12 @@ end - line1096 + line1113 col3 file0 - line1096 + line1113 col30 file0 @@ -14571,7 +14571,7 @@ kindevent location - line1096 + line1113 col3 file0 @@ -14579,24 +14579,24 @@ - line1096 + line1113 col3 file0 - line1096 + line1113 col60 file0 - line1096 + line1113 col42 file0 - line1096 + line1113 col49 file0 @@ -14616,12 +14616,12 @@ start - line1096 + line1113 col3 file0 - line1096 + line1113 col30 file0 @@ -14629,12 +14629,12 @@ end - line1097 + line1114 col3 file0 - line1097 + line1114 col11 file0 @@ -14646,7 +14646,7 @@ kindevent location - line1097 + line1114 col3 file0 @@ -14654,12 +14654,12 @@ - line1097 + line1114 col13 file0 - line1097 + line1114 col20 file0 @@ -14683,7 +14683,7 @@ issue_hash_function_offset3 location - line1097 + line1114 col3 file0 @@ -14691,10 +14691,10 @@ 0 - 1094 - 1095 - 1096 - 1097 + 1111 + 1112 + 1113 + 1114 @@ -14705,7 +14705,7 @@ kindevent location - line1103 + line1120 col30 file0 @@ -14713,12 +14713,12 @@ - line1103 + line1120 col30 file0 - line1103 + line1120 col41 file0 @@ -14738,12 +14738,12 @@ start - line1103 + line1120 col3 file0 - line1103 + line1120 col17 file0 @@ -14751,12 +14751,12 @@ end - line1104 + line1121 col3 file0 - line1104 + line1121 col34 file0 @@ -14768,7 +14768,7 @@ kindevent location - line1104 + line1121 col3 file0 @@ -14776,24 +14776,24 @@ - line1104 + line1121 col3 file0 - line1104 + line1121 col106 file0 - line1104 + line1121 col66 file0 - line1104 + line1121 col73 file0 @@ -14813,12 +14813,12 @@ start - line1104 + line1121 col3 file0 - line1104 + line1121 col34 file0 @@ -14826,12 +14826,12 @@ end - line1105 + line1122 col3 file0 - line1105 + line1122 col11 file0 @@ -14843,7 +14843,7 @@ kindevent location - line1105 + line1122 col3 file0 @@ -14851,12 +14851,12 @@ - line1105 + line1122 col13 file0 - line1105 + line1122 col20 file0 @@ -14880,7 +14880,7 @@ issue_hash_function_offset4 location - line1105 + line1122 col3 file0 @@ -14888,11 +14888,11 @@ 0 - 1100 - 1101 - 1103 - 1104 - 1105 + 1117 + 1118 + 1120 + 1121 + 1122 @@ -14907,12 +14907,12 @@ start - line1140 + line1160 col3 file0 - line1140 + line1160 col23 file0 @@ -14920,12 +14920,12 @@ end - line1143 + line1163 col3 file0 - line1143 + line1163 col10 file0 @@ -14937,7 +14937,7 @@ kindevent location - line1143 + line1163 col22 file0 @@ -14945,12 +14945,12 @@ - line1143 + line1163 col22 file0 - line1143 + line1163 col53 file0 @@ -14970,12 +14970,12 @@ start - line1143 + line1163 col3 file0 - line1143 + line1163 col10 file0 @@ -14983,12 +14983,12 @@ end - line1145 + line1165 col3 file0 - line1145 + line1165 col3 file0 @@ -15000,7 +15000,7 @@ kindevent location - line1145 + line1165 col3 file0 @@ -15008,24 +15008,24 @@ - line1145 + line1165 col3 file0 - line1145 + line1165 col18 file0 - line1145 + line1165 col4 file0 - line1145 + line1165 col9 file0 @@ -15045,12 +15045,12 @@ start - line1145 + line1165 col3 file0 - line1145 + line1165 col3 file0 @@ -15058,12 +15058,12 @@ end - line1146 + line1166 col3 file0 - line1146 + line1166 col3 file0 @@ -15075,7 +15075,7 @@ kindevent location - line1146 + line1166 col3 file0 @@ -15083,24 +15083,24 @@ - line1146 + line1166 col3 file0 - line1146 + line1166 col17 file0 - line1146 + line1166 col4 file0 - line1146 + line1166 col9 file0 @@ -15120,12 +15120,12 @@ start - line1146 + line1166 col3 file0 - line1146 + line1166 col3 file0 @@ -15133,12 +15133,12 @@ end - line1147 + line1167 col3 file0 - line1147 + line1167 col11 file0 @@ -15150,7 +15150,7 @@ kindevent location - line1147 + line1167 col3 file0 @@ -15158,12 +15158,12 @@ - line1147 + line1167 col3 file0 - line1147 + line1167 col23 file0 @@ -15187,7 +15187,7 @@ issue_hash_function_offset4 location - line1147 + line1167 col3 file0 @@ -15201,15 +15201,15 @@ 76 77 78 - 1139 - 1140 - 1141 - 1142 - 1143 - 1144 - 1145 - 1146 - 1147 + 1159 + 1160 + 1161 + 1162 + 1163 + 1164 + 1165 + 1166 + 1167 @@ -15224,12 +15224,12 @@ start - line1156 + line1176 col3 file0 - line1156 + line1176 col8 file0 @@ -15237,12 +15237,12 @@ end - line1167 + line1187 col3 file0 - line1167 + line1187 col15 file0 @@ -15258,12 +15258,12 @@ start - line1167 + line1187 col3 file0 - line1167 + line1187 col15 file0 @@ -15271,12 +15271,12 @@ end - line1168 + line1188 col41 file0 - line1168 + line1188 col67 file0 @@ -15288,7 +15288,7 @@ kindevent location - line1168 + line1188 col41 file0 @@ -15296,12 +15296,12 @@ - line1168 + line1188 col41 file0 - line1168 + line1188 col69 file0 @@ -15321,12 +15321,12 @@ start - line1168 + line1188 col41 file0 - line1168 + line1188 col67 file0 @@ -15334,12 +15334,12 @@ end - line1167 + line1187 col3 file0 - line1167 + line1187 col15 file0 @@ -15351,7 +15351,7 @@ kindevent location - line1167 + line1187 col3 file0 @@ -15359,12 +15359,12 @@ - line1167 + line1187 col3 file0 - line1167 + line1187 col26 file0 @@ -15388,7 +15388,7 @@ issue_hash_function_offset13 location - line1167 + line1187 col3 file0 @@ -15396,20 +15396,20 @@ 0 - 1154 - 1155 - 1156 - 1157 - 1158 - 1159 - 1160 - 1161 - 1162 - 1163 - 1164 - 1167 - 1168 - 1169 + 1174 + 1175 + 1176 + 1177 + 1178 + 1179 + 1180 + 1181 + 1182 + 1183 + 1184 + 1187 + 1188 + 1189 @@ -15424,12 +15424,12 @@ start - line1178 + line1198 col3 file0 - line1178 + line1198 col8 file0 @@ -15437,12 +15437,12 @@ end - line1189 + line1209 col3 file0 - line1189 + line1209 col15 file0 @@ -15458,12 +15458,12 @@ start - line1189 + line1209 col3 file0 - line1189 + line1209 col15 file0 @@ -15471,12 +15471,12 @@ end - line1190 + line1210 col40 file0 - line1190 + line1210 col66 file0 @@ -15488,7 +15488,7 @@ kindevent location - line1190 + line1210 col40 file0 @@ -15496,12 +15496,12 @@ - line1190 + line1210 col40 file0 - line1190 + line1210 col68 file0 @@ -15521,12 +15521,12 @@ start - line1190 + line1210 col40 file0 - line1190 + line1210 col66 file0 @@ -15534,12 +15534,12 @@ end - line1189 + line1209 col3 file0 - line1189 + line1209 col15 file0 @@ -15551,7 +15551,7 @@ kindevent location - line1189 + line1209 col3 file0 @@ -15559,12 +15559,12 @@ - line1189 + line1209 col3 file0 - line1189 + line1209 col26 file0 @@ -15588,7 +15588,7 @@ issue_hash_function_offset13 location - line1189 + line1209 col3 file0 @@ -15596,19 +15596,19 @@ 0 - 1176 - 1177 - 1178 - 1179 - 1180 - 1181 - 1182 - 1183 - 1184 - 1185 - 1186 - 1189 - 1190 + 1196 + 1197 + 1198 + 1199 + 1200 + 1201 + 1202 + 1203 + 1204 + 1205 + 1206 + 1209 + 1210 @@ -15623,12 +15623,12 @@ start - line1178 + line1198 col3 file0 - line1178 + line1198 col8 file0 @@ -15636,12 +15636,12 @@ end - line1189 + line1209 col3 file0 - line1189 + line1209 col15 file0 @@ -15657,12 +15657,12 @@ start - line1189 + line1209 col3 file0 - line1189 + line1209 col15 file0 @@ -15670,12 +15670,12 @@ end - line1190 + line1210 col4 file0 - line1190 + line1210 col38 file0 @@ -15687,7 +15687,7 @@ kindevent location - line1190 + line1210 col4 file0 @@ -15695,12 +15695,12 @@ - line1190 + line1210 col4 file0 - line1190 + line1210 col107 file0 @@ -15720,12 +15720,12 @@ start - line1190 + line1210 col4 file0 - line1190 + line1210 col38 file0 @@ -15733,12 +15733,12 @@ end - line1192 + line1212 col3 file0 - line1192 + line1212 col29 file0 @@ -15754,12 +15754,12 @@ start - line1192 + line1212 col3 file0 - line1192 + line1212 col29 file0 @@ -15767,12 +15767,12 @@ end - line1194 + line1214 col1 file0 - line1194 + line1214 col1 file0 @@ -15784,7 +15784,7 @@ kindevent location - line1194 + line1214 col1 file0 @@ -15806,7 +15806,7 @@ issue_hash_function_offset13 location - line1194 + line1214 col1 file0 @@ -15814,22 +15814,22 @@ 0 - 1176 - 1177 - 1178 - 1179 - 1180 - 1181 - 1182 - 1183 - 1184 - 1185 - 1186 - 1189 - 1190 - 1192 - 1193 - 1194 + 1196 + 1197 + 1198 + 1199 + 1200 + 1201 + 1202 + 1203 + 1204 + 1205 + 1206 + 1209 + 1210 + 1212 + 1213 + 1214 @@ -15840,7 +15840,7 @@ kindevent location - line1226 + line1248 col22 file0 @@ -15848,12 +15848,12 @@ - line1226 + line1248 col22 file0 - line1226 + line1248 col53 file0 @@ -15873,12 +15873,12 @@ start - line1226 + line1248 col3 file0 - line1226 + line1248 col10 file0 @@ -15886,12 +15886,12 @@ end - line1227 + line1249 col1 file0 - line1227 + line1249 col1 file0 @@ -15903,7 +15903,7 @@ kindevent location - line1227 + line1249 col1 file0 @@ -15925,7 +15925,7 @@ issue_hash_function_offset1 location - line1227 + line1249 col1 file0 @@ -15933,9 +15933,9 @@ 0 - 1225 - 1226 - 1227 + 1247 + 1248 + 1249 @@ -15950,12 +15950,12 @@ start - line1456 + line1483 col5 file0 - line1456 + line1483 col12 file0 @@ -15963,12 +15963,12 @@ end - line1458 + line1485 col3 file0 - line1458 + line1485 col31 file0 @@ -15980,7 +15980,7 @@ kindevent location - line1458 + line1485 col3 file0 @@ -15988,12 +15988,12 @@ - line1458 + line1485 col3 file0 - line1459 + line1486 col60 file0 @@ -16013,12 +16013,12 @@ start - line1458 + line1485 col3 file0 - line1458 + line1485 col31 file0 @@ -16026,12 +16026,12 @@ end - line1460 + line1487 col1 file0 - line1460 + line1487 col1 file0 @@ -16043,7 +16043,7 @@ kindevent location - line1460 + line1487 col1 file0 @@ -16065,7 +16065,7 @@ issue_hash_function_offset7 location - line1460 + line1487 col1 file0 @@ -16073,14 +16073,14 @@ 0 - 1448 - 1449 - 1450 - 1451 - 1456 - 1458 - 1459 - 1460 + 1475 + 1476 + 1477 + 1478 + 1483 + 1485 + 1486 + 1487 @@ -16091,7 +16091,7 @@ kindevent location - line1475 + line1503 col10 file0 @@ -16099,12 +16099,12 @@ - line1475 + line1503 col10 file0 - line1475 + line1503 col22 file0 @@ -16124,12 +16124,12 @@ start - line1475 + line1503 col3 file0 - line1475 + line1503 col4 file0 @@ -16137,12 +16137,12 @@ end - line1476 + line1504 col1 file0 - line1476 + line1504 col1 file0 @@ -16154,7 +16154,7 @@ kindevent location - line1476 + line1504 col1 file0 @@ -16176,7 +16176,7 @@ issue_hash_function_offset1 location - line1476 + line1504 col1 file0 @@ -16184,9 +16184,9 @@ 0 - 1474 - 1475 - 1476 + 1502 + 1503 + 1504 @@ -16201,12 +16201,12 @@ start - line1493 + line1523 col3 file0 - line1493 + line1523 col10 file0 @@ -16214,12 +16214,12 @@ end - line1494 + line1524 col3 file0 - line1494 + line1524 col10 file0 @@ -16231,7 +16231,7 @@ kindevent location - line1494 + line1524 col22 file0 @@ -16239,12 +16239,12 @@ - line1494 + line1524 col22 file0 - line1494 + line1524 col53 file0 @@ -16264,12 +16264,12 @@ start - line1494 + line1524 col3 file0 - line1494 + line1524 col10 file0 @@ -16277,12 +16277,12 @@ end - line1495 + line1525 col1 file0 - line1495 + line1525 col1 file0 @@ -16294,7 +16294,7 @@ kindevent location - line1495 + line1525 col1 file0 @@ -16316,7 +16316,7 @@ issue_hash_function_offset4 location - line1495 + line1525 col1 file0 @@ -16324,10 +16324,10 @@ 0 - 1490 - 1493 - 1494 - 1495 + 1520 + 1523 + 1524 + 1525 @@ -16338,7 +16338,7 @@ kindevent location - line1503 + line1534 col3 file0 @@ -16346,12 +16346,12 @@ - line1503 + line1534 col3 file0 - line1503 + line1534 col23 file0 @@ -16375,7 +16375,7 @@ issue_hash_function_offset1 location - line1503 + line1534 col3 file0 @@ -16383,8 +16383,8 @@ 0 - 1502 - 1503 + 1533 + 1534 @@ -16399,12 +16399,12 @@ start - line1503 + line1534 col3 file0 - line1503 + line1534 col3 file0 @@ -16412,12 +16412,12 @@ end - line1504 + line1535 col3 file0 - line1504 + line1535 col3 file0 @@ -16429,7 +16429,7 @@ kindevent location - line1504 + line1535 col3 file0 @@ -16437,12 +16437,12 @@ - line1504 + line1535 col3 file0 - line1504 + line1535 col22 file0 @@ -16466,7 +16466,7 @@ issue_hash_function_offset2 location - line1504 + line1535 col3 file0 @@ -16474,9 +16474,9 @@ 0 - 1502 - 1503 - 1504 + 1533 + 1534 + 1535 @@ -16491,12 +16491,12 @@ start - line1503 + line1534 col3 file0 - line1503 + line1534 col3 file0 @@ -16504,12 +16504,12 @@ end - line1505 + line1536 col3 file0 - line1505 + line1536 col3 file0 @@ -16521,7 +16521,7 @@ kindevent location - line1505 + line1536 col3 file0 @@ -16529,12 +16529,12 @@ - line1505 + line1536 col3 file0 - line1505 + line1536 col27 file0 @@ -16558,7 +16558,7 @@ issue_hash_function_offset3 location - line1505 + line1536 col3 file0 @@ -16566,10 +16566,10 @@ 0 - 1502 - 1503 - 1504 - 1505 + 1533 + 1534 + 1535 + 1536 @@ -16584,12 +16584,12 @@ start - line1503 + line1534 col3 file0 - line1503 + line1534 col3 file0 @@ -16597,12 +16597,12 @@ end - line1506 + line1537 col3 file0 - line1506 + line1537 col3 file0 @@ -16614,7 +16614,7 @@ kindevent location - line1506 + line1537 col3 file0 @@ -16622,12 +16622,12 @@ - line1506 + line1537 col3 file0 - line1506 + line1537 col27 file0 @@ -16651,7 +16651,7 @@ issue_hash_function_offset4 location - line1506 + line1537 col3 file0 @@ -16659,11 +16659,11 @@ 0 - 1502 - 1503 - 1504 - 1505 - 1506 + 1533 + 1534 + 1535 + 1536 + 1537 @@ -16674,7 +16674,7 @@ kindevent location - line1533 + line1564 col19 file0 @@ -16682,12 +16682,12 @@ - line1533 + line1564 col19 file0 - line1533 + line1564 col42 file0 @@ -16707,12 +16707,12 @@ start - line1533 + line1564 col3 file0 - line1533 + line1564 col10 file0 @@ -16720,12 +16720,12 @@ end - line1534 + line1565 col1 file0 - line1534 + line1565 col1 file0 @@ -16737,7 +16737,7 @@ kindevent location - line1534 + line1565 col1 file0 @@ -16759,7 +16759,7 @@ issue_hash_function_offset1 location - line1534 + line1565 col1 file0 @@ -16767,9 +16767,9 @@ 0 - 1532 - 1533 - 1534 + 1563 + 1564 + 1565 @@ -16780,7 +16780,7 @@ kindevent location - line1537 + line1568 col19 file0 @@ -16788,12 +16788,12 @@ - line1537 + line1568 col19 file0 - line1537 + line1568 col44 file0 @@ -16813,12 +16813,12 @@ start - line1537 + line1568 col3 file0 - line1537 + line1568 col10 file0 @@ -16826,12 +16826,12 @@ end - line1538 + line1569 col1 file0 - line1538 + line1569 col1 file0 @@ -16843,7 +16843,7 @@ kindevent location - line1538 + line1569 col1 file0 @@ -16865,7 +16865,7 @@ issue_hash_function_offset1 location - line1538 + line1569 col1 file0 @@ -16873,9 +16873,9 @@ 0 - 1536 - 1537 - 1538 + 1567 + 1568 + 1569 @@ -16890,12 +16890,12 @@ start - line1541 + line1572 col3 file0 - line1541 + line1572 col10 file0 @@ -16903,12 +16903,12 @@ end - line1542 + line1573 col3 file0 - line1542 + line1573 col10 file0 @@ -16920,7 +16920,7 @@ kindevent location - line1542 + line1573 col20 file0 @@ -16928,12 +16928,12 @@ - line1542 + line1573 col20 file0 - line1542 + line1573 col38 file0 @@ -16953,12 +16953,12 @@ start - line1542 + line1573 col3 file0 - line1542 + line1573 col10 file0 @@ -16966,12 +16966,12 @@ end - line1543 + line1574 col3 file0 - line1543 + line1574 col10 file0 @@ -16987,12 +16987,12 @@ start - line1543 + line1574 col3 file0 - line1543 + line1574 col10 file0 @@ -17000,12 +17000,12 @@ end - line1543 + line1574 col20 file0 - line1543 + line1574 col20 file0 @@ -17017,7 +17017,7 @@ kindevent location - line1543 + line1574 col20 file0 @@ -17025,12 +17025,12 @@ - line1543 + line1574 col20 file0 - line1543 + line1574 col37 file0 @@ -17054,7 +17054,7 @@ issue_hash_function_offset2 location - line1543 + line1574 col20 file0 @@ -17062,10 +17062,10 @@ 0 - 1540 - 1541 - 1542 - 1543 + 1571 + 1572 + 1573 + 1574 @@ -17080,12 +17080,12 @@ start - line1541 + line1572 col3 file0 - line1541 + line1572 col10 file0 @@ -17093,12 +17093,12 @@ end - line1544 + line1575 col3 file0 - line1544 + line1575 col10 file0 @@ -17114,12 +17114,12 @@ start - line1544 + line1575 col3 file0 - line1544 + line1575 col10 file0 @@ -17127,12 +17127,12 @@ end - line1544 + line1575 col21 file0 - line1544 + line1575 col21 file0 @@ -17144,7 +17144,7 @@ kindevent location - line1544 + line1575 col21 file0 @@ -17152,12 +17152,12 @@ - line1544 + line1575 col21 file0 - line1544 + line1575 col38 file0 @@ -17173,7 +17173,7 @@ kindevent location - line1544 + line1575 col20 file0 @@ -17181,24 +17181,24 @@ - line1544 + line1575 col20 file0 - line1544 + line1575 col46 file0 - line1544 + line1575 col21 file0 - line1544 + line1575 col38 file0 @@ -17218,12 +17218,12 @@ start - line1544 + line1575 col20 file0 - line1544 + line1575 col20 file0 @@ -17231,12 +17231,12 @@ end - line1544 + line1575 col3 file0 - line1544 + line1575 col10 file0 @@ -17252,12 +17252,12 @@ start - line1544 + line1575 col3 file0 - line1544 + line1575 col10 file0 @@ -17265,12 +17265,12 @@ end - line1545 + line1576 col1 file0 - line1545 + line1576 col1 file0 @@ -17282,7 +17282,7 @@ kindevent location - line1545 + line1576 col1 file0 @@ -17304,7 +17304,7 @@ issue_hash_function_offset4 location - line1545 + line1576 col1 file0 @@ -17312,12 +17312,12 @@ 0 - 1540 - 1541 - 1542 - 1543 - 1544 - 1545 + 1571 + 1572 + 1573 + 1574 + 1575 + 1576 @@ -17328,7 +17328,7 @@ kindevent location - line1548 + line1579 col26 file0 @@ -17336,12 +17336,12 @@ - line1548 + line1579 col26 file0 - line1548 + line1579 col50 file0 @@ -17361,12 +17361,12 @@ start - line1548 + line1579 col3 file0 - line1548 + line1579 col19 file0 @@ -17374,12 +17374,12 @@ end - line1549 + line1580 col1 file0 - line1549 + line1580 col1 file0 @@ -17391,7 +17391,7 @@ kindevent location - line1549 + line1580 col1 file0 @@ -17413,7 +17413,7 @@ issue_hash_function_offset1 location - line1549 + line1580 col1 file0 @@ -17421,9 +17421,9 @@ 0 - 1547 - 1548 - 1549 + 1578 + 1579 + 1580 @@ -17434,7 +17434,7 @@ kindevent location - line1552 + line1583 col26 file0 @@ -17442,12 +17442,12 @@ - line1552 + line1583 col26 file0 - line1552 + line1583 col63 file0 @@ -17467,12 +17467,12 @@ start - line1552 + line1583 col3 file0 - line1552 + line1583 col19 file0 @@ -17480,12 +17480,12 @@ end - line1553 + line1584 col1 file0 - line1553 + line1584 col1 file0 @@ -17497,7 +17497,7 @@ kindevent location - line1553 + line1584 col1 file0 @@ -17519,7 +17519,7 @@ issue_hash_function_offset1 location - line1553 + line1584 col1 file0 @@ -17527,9 +17527,9 @@ 0 - 1551 - 1552 - 1553 + 1582 + 1583 + 1584 @@ -17540,7 +17540,7 @@ kindevent location - line1556 + line1587 col26 file0 @@ -17548,12 +17548,12 @@ - line1556 + line1587 col26 file0 - line1556 + line1587 col63 file0 @@ -17573,12 +17573,12 @@ start - line1556 + line1587 col3 file0 - line1556 + line1587 col19 file0 @@ -17586,12 +17586,12 @@ end - line1557 + line1588 col3 file0 - line1557 + line1588 col3 file0 @@ -17607,12 +17607,12 @@ start - line1557 + line1588 col3 file0 - line1557 + line1588 col3 file0 @@ -17620,12 +17620,12 @@ end - line1558 + line1589 col1 file0 - line1558 + line1589 col1 file0 @@ -17637,7 +17637,7 @@ kindevent location - line1558 + line1589 col1 file0 @@ -17659,7 +17659,7 @@ issue_hash_function_offset1 location - line1558 + line1589 col1 file0 @@ -17667,10 +17667,10 @@ 0 - 1555 - 1556 - 1557 - 1558 + 1586 + 1587 + 1588 + 1589 @@ -17681,7 +17681,7 @@ kindevent location - line1588 + line1619 col10 file0 @@ -17689,12 +17689,12 @@ - line1588 + line1619 col10 file0 - line1588 + line1619 col25 file0 @@ -17710,7 +17710,7 @@ kindevent location - line1588 + line1619 col3 file0 @@ -17718,12 +17718,12 @@ - line1588 + line1619 col3 file0 - line1588 + line1619 col25 file0 @@ -17747,7 +17747,7 @@ issue_hash_function_offset1 location - line1588 + line1619 col3 file0 @@ -17755,8 +17755,8 @@ 0 - 1587 - 1588 + 1618 + 1619 @@ -17771,12 +17771,12 @@ start - line1621 + line1652 col3 file0 - line1621 + line1652 col8 file0 @@ -17784,12 +17784,12 @@ end - line1621 + line1652 col26 file0 - line1621 + line1652 col26 file0 @@ -17801,7 +17801,7 @@ kindevent location - line1621 + line1652 col26 file0 @@ -17809,12 +17809,12 @@ - line1621 + line1652 col26 file0 - line1621 + line1652 col53 file0 @@ -17830,7 +17830,7 @@ kindevent location - line1612 + line1643 col1 file0 @@ -17848,12 +17848,12 @@ start - line1612 + line1643 col1 file0 - line1612 + line1643 col1 file0 @@ -17861,12 +17861,12 @@ end - line1613 + line1644 col3 file0 - line1613 + line1644 col8 file0 @@ -17882,12 +17882,12 @@ start - line1613 + line1644 col3 file0 - line1613 + line1644 col8 file0 @@ -17895,12 +17895,12 @@ end - line1613 + line1644 col10 file0 - line1613 + line1644 col30 file0 @@ -17912,7 +17912,7 @@ kindevent location - line1613 + line1644 col10 file0 @@ -17920,12 +17920,12 @@ - line1613 + line1644 col10 file0 - line1613 + line1644 col32 file0 @@ -17941,7 +17941,7 @@ kindevent location - line1602 + line1633 col1 file0 @@ -17959,12 +17959,12 @@ start - line1602 + line1633 col1 file0 - line1602 + line1633 col19 file0 @@ -17972,12 +17972,12 @@ end - line1604 + line1635 col3 file0 - line1604 + line1635 col8 file0 @@ -17989,7 +17989,7 @@ kindevent location - line1604 + line1635 col10 file0 @@ -17997,12 +17997,12 @@ - line1604 + line1635 col10 file0 - line1604 + line1635 col52 file0 @@ -18018,7 +18018,7 @@ kindevent location - line1613 + line1644 col10 file0 @@ -18026,12 +18026,12 @@ - line1613 + line1644 col10 file0 - line1613 + line1644 col32 file0 @@ -18051,12 +18051,12 @@ start - line1613 + line1644 col10 file0 - line1613 + line1644 col30 file0 @@ -18064,12 +18064,12 @@ end - line1613 + line1644 col3 file0 - line1613 + line1644 col8 file0 @@ -18081,7 +18081,7 @@ kindevent location - line1621 + line1652 col26 file0 @@ -18089,12 +18089,12 @@ - line1621 + line1652 col26 file0 - line1621 + line1652 col53 file0 @@ -18114,12 +18114,12 @@ start - line1621 + line1652 col26 file0 - line1621 + line1652 col26 file0 @@ -18127,12 +18127,12 @@ end - line1621 + line1652 col21 file0 - line1621 + line1652 col21 file0 @@ -18144,7 +18144,7 @@ kindevent location - line1621 + line1652 col21 file0 @@ -18152,24 +18152,24 @@ - line1621 + line1652 col21 file0 - line1621 + line1652 col66 file0 - line1621 + line1652 col22 file0 - line1621 + line1652 col53 file0 @@ -18189,12 +18189,12 @@ start - line1621 + line1652 col21 file0 - line1621 + line1652 col21 file0 @@ -18202,12 +18202,12 @@ end - line1621 + line1652 col3 file0 - line1621 + line1652 col8 file0 @@ -18219,7 +18219,7 @@ kindevent location - line1621 + line1652 col3 file0 @@ -18227,12 +18227,12 @@ - line1621 + line1652 col3 file0 - line1621 + line1652 col66 file0 @@ -18256,7 +18256,7 @@ issue_hash_function_offset1 location - line1621 + line1652 col3 file0 @@ -18264,13 +18264,13 @@ 0 - 1602 - 1603 - 1604 - 1612 - 1613 - 1620 - 1621 + 1633 + 1634 + 1635 + 1643 + 1644 + 1651 + 1652 @@ -18285,12 +18285,12 @@ start - line1625 + line1656 col3 file0 - line1625 + line1656 col8 file0 @@ -18298,12 +18298,12 @@ end - line1625 + line1656 col20 file0 - line1625 + line1656 col40 file0 @@ -18315,7 +18315,7 @@ kindevent location - line1625 + line1656 col20 file0 @@ -18323,12 +18323,12 @@ - line1625 + line1656 col20 file0 - line1625 + line1656 col42 file0 @@ -18344,7 +18344,7 @@ kindevent location - line1602 + line1633 col1 file0 @@ -18362,12 +18362,12 @@ start - line1602 + line1633 col1 file0 - line1602 + line1633 col19 file0 @@ -18375,12 +18375,12 @@ end - line1604 + line1635 col3 file0 - line1604 + line1635 col8 file0 @@ -18392,7 +18392,7 @@ kindevent location - line1604 + line1635 col10 file0 @@ -18400,12 +18400,12 @@ - line1604 + line1635 col10 file0 - line1604 + line1635 col52 file0 @@ -18421,7 +18421,7 @@ kindevent location - line1625 + line1656 col20 file0 @@ -18429,12 +18429,12 @@ - line1625 + line1656 col20 file0 - line1625 + line1656 col42 file0 @@ -18454,12 +18454,12 @@ start - line1625 + line1656 col20 file0 - line1625 + line1656 col40 file0 @@ -18467,12 +18467,12 @@ end - line1625 + line1656 col3 file0 - line1625 + line1656 col8 file0 @@ -18484,7 +18484,7 @@ kindevent location - line1625 + line1656 col3 file0 @@ -18492,12 +18492,12 @@ - line1625 + line1656 col3 file0 - line1625 + line1656 col42 file0 @@ -18521,7 +18521,7 @@ issue_hash_function_offset1 location - line1625 + line1656 col3 file0 @@ -18529,11 +18529,11 @@ 0 - 1602 - 1603 - 1604 - 1624 - 1625 + 1633 + 1634 + 1635 + 1655 + 1656 @@ -18548,12 +18548,12 @@ start - line1629 + line1660 col3 file0 - line1629 + line1660 col8 file0 @@ -18561,12 +18561,12 @@ end - line1629 + line1660 col10 file0 - line1629 + line1660 col30 file0 @@ -18578,7 +18578,7 @@ kindevent location - line1629 + line1660 col10 file0 @@ -18586,12 +18586,12 @@ - line1629 + line1660 col10 file0 - line1629 + line1660 col32 file0 @@ -18607,7 +18607,7 @@ kindevent location - line1602 + line1633 col1 file0 @@ -18625,12 +18625,12 @@ start - line1602 + line1633 col1 file0 - line1602 + line1633 col19 file0 @@ -18638,12 +18638,12 @@ end - line1604 + line1635 col3 file0 - line1604 + line1635 col8 file0 @@ -18655,7 +18655,7 @@ kindevent location - line1604 + line1635 col10 file0 @@ -18663,12 +18663,12 @@ - line1604 + line1635 col10 file0 - line1604 + line1635 col52 file0 @@ -18684,7 +18684,7 @@ kindevent location - line1629 + line1660 col10 file0 @@ -18692,12 +18692,12 @@ - line1629 + line1660 col10 file0 - line1629 + line1660 col32 file0 @@ -18717,12 +18717,12 @@ start - line1629 + line1660 col10 file0 - line1629 + line1660 col30 file0 @@ -18730,12 +18730,12 @@ end - line1629 + line1660 col3 file0 - line1629 + line1660 col8 file0 @@ -18747,7 +18747,7 @@ kindevent location - line1629 + line1660 col3 file0 @@ -18755,12 +18755,12 @@ - line1629 + line1660 col3 file0 - line1629 + line1660 col32 file0 @@ -18784,7 +18784,7 @@ issue_hash_function_offset1 location - line1629 + line1660 col3 file0 @@ -18792,11 +18792,11 @@ 0 - 1602 - 1603 - 1604 - 1628 - 1629 + 1633 + 1634 + 1635 + 1659 + 1660 @@ -18811,12 +18811,12 @@ start - line1648 + line1680 col3 file0 - line1648 + line1680 col8 file0 @@ -18824,12 +18824,12 @@ end - line1649 + line1681 col3 file0 - line1649 + line1681 col13 file0 @@ -18841,7 +18841,7 @@ kindevent location - line1649 + line1681 col23 file0 @@ -18849,12 +18849,12 @@ - line1649 + line1681 col23 file0 - line1649 + line1681 col82 file0 @@ -18874,12 +18874,12 @@ start - line1649 + line1681 col3 file0 - line1649 + line1681 col13 file0 @@ -18887,12 +18887,12 @@ end - line1650 + line1682 col1 file0 - line1650 + line1682 col1 file0 @@ -18904,7 +18904,7 @@ kindevent location - line1650 + line1682 col1 file0 @@ -18926,7 +18926,7 @@ issue_hash_function_offset2 location - line1650 + line1682 col1 file0 @@ -18934,10 +18934,10 @@ 0 - 1647 - 1648 - 1649 - 1650 + 1679 + 1680 + 1681 + 1682 @@ -18952,12 +18952,12 @@ start - line1659 + line1691 col3 file0 - line1659 + line1691 col8 file0 @@ -18965,12 +18965,12 @@ end - line1660 + line1692 col3 file0 - line1660 + line1692 col13 file0 @@ -18982,7 +18982,7 @@ kindevent location - line1660 + line1692 col23 file0 @@ -18990,12 +18990,12 @@ - line1660 + line1692 col23 file0 - line1660 + line1692 col82 file0 @@ -19015,12 +19015,12 @@ start - line1660 + line1692 col3 file0 - line1660 + line1692 col13 file0 @@ -19028,12 +19028,12 @@ end - line1661 + line1693 col3 file0 - line1661 + line1693 col4 file0 @@ -19049,12 +19049,12 @@ start - line1661 + line1693 col3 file0 - line1661 + line1693 col4 file0 @@ -19062,12 +19062,12 @@ end - line1661 + line1693 col7 file0 - line1661 + line1693 col7 file0 @@ -19079,7 +19079,7 @@ kindevent location - line1661 + line1693 col7 file0 @@ -19087,12 +19087,12 @@ - line1661 + line1693 col7 file0 - line1661 + line1693 col7 file0 @@ -19112,12 +19112,12 @@ start - line1661 + line1693 col7 file0 - line1661 + line1693 col7 file0 @@ -19125,12 +19125,12 @@ end - line1663 + line1695 col1 file0 - line1663 + line1695 col1 file0 @@ -19142,7 +19142,7 @@ kindevent location - line1663 + line1695 col1 file0 @@ -19164,7 +19164,7 @@ issue_hash_function_offset2 location - line1663 + line1695 col1 file0 @@ -19172,11 +19172,11 @@ 0 - 1658 - 1659 - 1660 - 1661 - 1663 + 1690 + 1691 + 1692 + 1693 + 1695 @@ -19187,7 +19187,7 @@ kindevent location - line1683 + line1715 col22 file0 @@ -19195,12 +19195,12 @@ - line1683 + line1715 col22 file0 - line1683 + line1715 col53 file0 @@ -19220,12 +19220,12 @@ start - line1683 + line1715 col3 file0 - line1683 + line1715 col10 file0 @@ -19233,12 +19233,12 @@ end - line1684 + line1716 col3 file0 - line1684 + line1716 col3 file0 @@ -19250,7 +19250,7 @@ kindevent location - line1684 + line1716 col3 file0 @@ -19258,12 +19258,12 @@ - line1684 + line1716 col3 file0 - line1684 + line1716 col7 file0 @@ -19287,7 +19287,7 @@ issue_hash_function_offset1 location - line1684 + line1716 col3 file0 @@ -19295,9 +19295,9 @@ 0 - 1682 - 1683 - 1684 + 1714 + 1715 + 1716 @@ -19308,7 +19308,7 @@ kindevent location - line1704 + line1736 col22 file0 @@ -19316,12 +19316,12 @@ - line1704 + line1736 col22 file0 - line1704 + line1736 col53 file0 @@ -19341,12 +19341,12 @@ start - line1704 + line1736 col3 file0 - line1704 + line1736 col10 file0 @@ -19354,12 +19354,12 @@ end - line1705 + line1737 col3 file0 - line1705 + line1737 col3 file0 @@ -19371,7 +19371,7 @@ kindevent location - line1705 + line1737 col3 file0 @@ -19379,12 +19379,12 @@ - line1705 + line1737 col3 file0 - line1705 + line1737 col39 file0 @@ -19400,7 +19400,7 @@ kindevent location - line1705 + line1737 col3 file0 @@ -19418,12 +19418,12 @@ start - line1705 + line1737 col3 file0 - line1705 + line1737 col3 file0 @@ -19431,12 +19431,12 @@ end - line1705 + line1737 col19 file0 - line1705 + line1737 col19 file0 @@ -19448,7 +19448,7 @@ kindevent location - line1705 + line1737 col19 file0 @@ -19456,24 +19456,24 @@ - line1705 + line1737 col19 file0 - line1705 + line1737 col28 file0 - line1705 + line1737 col20 file0 - line1705 + line1737 col20 file0 @@ -19489,7 +19489,7 @@ kindevent location - line1705 + line1737 col3 file0 @@ -19497,12 +19497,12 @@ - line1705 + line1737 col3 file0 - line1705 + line1737 col39 file0 @@ -19522,12 +19522,12 @@ start - line1705 + line1737 col3 file0 - line1705 + line1737 col3 file0 @@ -19535,12 +19535,12 @@ end - line1706 + line1738 col1 file0 - line1706 + line1738 col1 file0 @@ -19552,7 +19552,7 @@ kindevent location - line1706 + line1738 col1 file0 @@ -19574,7 +19574,7 @@ issue_hash_function_offset1 location - line1706 + line1738 col1 file0 @@ -19582,10 +19582,10 @@ 0 - 1703 - 1704 - 1705 - 1706 + 1735 + 1736 + 1737 + 1738 @@ -19600,12 +19600,12 @@ start - line1752 + line1788 col5 file0 - line1752 + line1788 col14 file0 @@ -19613,12 +19613,12 @@ end - line1755 + line1791 col5 file0 - line1755 + line1791 col9 file0 @@ -19634,12 +19634,12 @@ start - line1755 + line1791 col5 file0 - line1755 + line1791 col9 file0 @@ -19647,12 +19647,12 @@ end - line1755 + line1791 col12 file0 - line1755 + line1791 col24 file0 @@ -19664,7 +19664,7 @@ kindevent location - line1755 + line1791 col12 file0 @@ -19672,12 +19672,12 @@ - line1755 + line1791 col12 file0 - line1755 + line1791 col38 file0 @@ -19693,7 +19693,7 @@ kindevent location - line1755 + line1791 col12 file0 @@ -19701,12 +19701,12 @@ - line1755 + line1791 col12 file0 - line1755 + line1791 col38 file0 @@ -19726,12 +19726,12 @@ start - line1755 + line1791 col12 file0 - line1755 + line1791 col24 file0 @@ -19739,12 +19739,12 @@ end - line1756 + line1792 col9 file0 - line1756 + line1792 col23 file0 @@ -19760,12 +19760,12 @@ start - line1756 + line1792 col9 file0 - line1756 + line1792 col23 file0 @@ -19773,12 +19773,12 @@ end - line1758 + line1794 col9 file0 - line1758 + line1794 col12 file0 @@ -19790,7 +19790,7 @@ kindevent location - line1758 + line1794 col16 file0 @@ -19798,12 +19798,12 @@ - line1758 + line1794 col16 file0 - line1758 + line1794 col49 file0 @@ -19823,12 +19823,12 @@ start - line1758 + line1794 col9 file0 - line1758 + line1794 col12 file0 @@ -19836,12 +19836,12 @@ end - line1760 + line1796 col9 file0 - line1760 + line1796 col10 file0 @@ -19857,12 +19857,12 @@ start - line1760 + line1796 col9 file0 - line1760 + line1796 col10 file0 @@ -19870,12 +19870,12 @@ end - line1760 + line1796 col13 file0 - line1760 + line1796 col16 file0 @@ -19887,7 +19887,7 @@ kindevent location - line1760 + line1796 col13 file0 @@ -19895,12 +19895,12 @@ - line1760 + line1796 col13 file0 - line1760 + line1796 col30 file0 @@ -19920,12 +19920,12 @@ start - line1760 + line1796 col13 file0 - line1760 + line1796 col16 file0 @@ -19933,12 +19933,12 @@ end - line1763 + line1799 col23 file0 - line1763 + line1799 col23 file0 @@ -19950,7 +19950,7 @@ kindevent location - line1763 + line1799 col23 file0 @@ -19972,7 +19972,7 @@ issue_hash_function_offset7 location - line1763 + line1799 col23 file0 @@ -19980,15 +19980,15 @@ 0 - 1750 - 1751 - 1752 - 1754 - 1755 - 1756 - 1758 - 1760 - 1763 + 1786 + 1787 + 1788 + 1790 + 1791 + 1792 + 1794 + 1796 + 1799 @@ -19999,7 +19999,7 @@ kindevent location - line1806 + line1844 col10 file0 @@ -20007,12 +20007,12 @@ - line1806 + line1844 col10 file0 - line1806 + line1844 col60 file0 @@ -20028,7 +20028,7 @@ kindevent location - line1806 + line1844 col3 file0 @@ -20036,12 +20036,12 @@ - line1806 + line1844 col3 file0 - line1806 + line1844 col60 file0 @@ -20065,7 +20065,7 @@ issue_hash_function_offset1 location - line1806 + line1844 col3 file0 @@ -20073,8 +20073,8 @@ 0 - 1805 - 1806 + 1843 + 1844 @@ -20085,7 +20085,7 @@ kindevent location - line1814 + line1852 col10 file0 @@ -20093,12 +20093,12 @@ - line1814 + line1852 col10 file0 - line1814 + line1852 col60 file0 @@ -20114,7 +20114,7 @@ kindevent location - line1814 + line1852 col3 file0 @@ -20122,12 +20122,12 @@ - line1814 + line1852 col3 file0 - line1814 + line1852 col60 file0 @@ -20151,7 +20151,7 @@ issue_hash_function_offset1 location - line1814 + line1852 col3 file0 @@ -20159,8 +20159,8 @@ 0 - 1813 - 1814 + 1851 + 1852 @@ -20171,7 +20171,7 @@ kindevent location - line1835 + line1873 col10 file0 @@ -20179,12 +20179,12 @@ - line1835 + line1873 col10 file0 - line1835 + line1873 col60 file0 @@ -20200,7 +20200,7 @@ kindevent location - line1835 + line1873 col3 file0 @@ -20208,12 +20208,12 @@ - line1835 + line1873 col3 file0 - line1835 + line1873 col60 file0 @@ -20237,7 +20237,7 @@ issue_hash_function_offset1 location - line1835 + line1873 col3 file0 @@ -20245,8 +20245,8 @@ 0 - 1834 - 1835 + 1872 + 1873 @@ -20257,7 +20257,7 @@ kindevent location - line1847 + line1885 col10 file0 @@ -20265,12 +20265,12 @@ - line1847 + line1885 col10 file0 - line1847 + line1885 col60 file0 @@ -20286,7 +20286,7 @@ kindevent location - line1847 + line1885 col3 file0 @@ -20294,12 +20294,12 @@ - line1847 + line1885 col3 file0 - line1847 + line1885 col60 file0 @@ -20323,7 +20323,7 @@ issue_hash_function_offset1 location - line1847 + line1885 col3 file0 @@ -20331,8 +20331,8 @@ 0 - 1846 - 1847 + 1884 + 1885 @@ -20347,12 +20347,12 @@ start - line1865 + line1905 col3 file0 - line1865 + line1905 col16 file0 @@ -20360,12 +20360,12 @@ end - line1866 + line1906 col3 file0 - line1866 + line1906 col11 file0 @@ -20377,7 +20377,7 @@ kindevent location - line1866 + line1906 col24 file0 @@ -20385,12 +20385,12 @@ - line1866 + line1906 col24 file0 - line1866 + line1906 col41 file0 @@ -20410,12 +20410,12 @@ start - line1866 + line1906 col3 file0 - line1866 + line1906 col11 file0 @@ -20423,12 +20423,12 @@ end - line1867 + line1907 col1 file0 - line1867 + line1907 col1 file0 @@ -20440,7 +20440,7 @@ kindevent location - line1867 + line1907 col1 file0 @@ -20462,7 +20462,7 @@ issue_hash_function_offset2 location - line1867 + line1907 col1 file0 @@ -20470,10 +20470,10 @@ 0 - 1864 - 1865 - 1866 - 1867 + 1904 + 1905 + 1906 + 1907 @@ -20488,12 +20488,12 @@ start - line1889 + line1931 col3 file0 - line1889 + line1931 col16 file0 @@ -20501,12 +20501,12 @@ end - line1891 + line1933 col3 file0 - line1891 + line1933 col10 file0 @@ -20518,7 +20518,7 @@ kindevent location - line1891 + line1933 col22 file0 @@ -20526,12 +20526,12 @@ - line1891 + line1933 col22 file0 - line1891 + line1933 col64 file0 @@ -20551,12 +20551,12 @@ start - line1891 + line1933 col3 file0 - line1891 + line1933 col10 file0 @@ -20564,12 +20564,12 @@ end - line1892 + line1934 col3 file0 - line1892 + line1934 col3 file0 @@ -20581,7 +20581,7 @@ kindevent location - line1892 + line1934 col3 file0 @@ -20589,24 +20589,24 @@ - line1892 + line1934 col3 file0 - line1892 + line1934 col18 file0 - line1892 + line1934 col4 file0 - line1892 + line1934 col9 file0 @@ -20626,12 +20626,12 @@ start - line1892 + line1934 col3 file0 - line1892 + line1934 col3 file0 @@ -20639,12 +20639,12 @@ end - line1894 + line1936 col3 file0 - line1894 + line1936 col10 file0 @@ -20660,12 +20660,12 @@ start - line1894 + line1936 col3 file0 - line1894 + line1936 col10 file0 @@ -20673,12 +20673,12 @@ end - line1894 + line1936 col27 file0 - line1894 + line1936 col27 file0 @@ -20690,7 +20690,7 @@ kindevent location - line1894 + line1936 col27 file0 @@ -20698,12 +20698,12 @@ - line1894 + line1936 col28 file0 - line1894 + line1936 col33 file0 @@ -20727,7 +20727,7 @@ issue_hash_function_offset6 location - line1894 + line1936 col27 file0 @@ -20735,11 +20735,11 @@ 0 - 1888 - 1889 - 1891 - 1892 - 1894 + 1930 + 1931 + 1933 + 1934 + 1936 @@ -20754,12 +20754,12 @@ start - line2020 + line2063 col9 file0 - line2020 + line2063 col16 file0 @@ -20767,12 +20767,12 @@ end - line2021 + line2064 col9 file0 - line2021 + line2064 col15 file0 @@ -20784,7 +20784,7 @@ kindevent location - line2021 + line2064 col22 file0 @@ -20792,12 +20792,12 @@ - line2021 + line2064 col22 file0 - line2021 + line2064 col66 file0 @@ -20817,12 +20817,12 @@ start - line2021 + line2064 col9 file0 - line2021 + line2064 col15 file0 @@ -20830,12 +20830,12 @@ end - line2024 + line2067 col9 file0 - line2024 + line2067 col9 file0 @@ -20847,7 +20847,7 @@ kindevent location - line2024 + line2067 col9 file0 @@ -20855,12 +20855,12 @@ - line2024 + line2067 col9 file0 - line2024 + line2067 col23 file0 @@ -20884,7 +20884,7 @@ issue_hash_function_offset3 location - line2024 + line2067 col9 file0 @@ -20892,12 +20892,12 @@ 0 - 2018 - 2020 - 2021 - 2022 - 2023 - 2024 + 2061 + 2063 + 2064 + 2065 + 2066 + 2067 @@ -20912,12 +20912,12 @@ start - line2020 + line2063 col9 file0 - line2020 + line2063 col16 file0 @@ -20925,12 +20925,12 @@ end - line2024 + line2067 col9 file0 - line2024 + line2067 col9 file0 @@ -20946,12 +20946,12 @@ start - line2024 + line2067 col9 file0 - line2024 + line2067 col9 file0 @@ -20959,12 +20959,12 @@ end - line2028 + line2071 col9 file0 - line2028 + line2071 col16 file0 @@ -20980,12 +20980,12 @@ start - line2028 + line2071 col9 file0 - line2028 + line2071 col16 file0 @@ -20993,12 +20993,12 @@ end - line2030 + line2073 col9 file0 - line2030 + line2073 col15 file0 @@ -21010,7 +21010,7 @@ kindevent location - line2030 + line2073 col23 file0 @@ -21018,12 +21018,12 @@ - line2030 + line2073 col23 file0 - line2030 + line2073 col56 file0 @@ -21043,12 +21043,12 @@ start - line2030 + line2073 col9 file0 - line2030 + line2073 col15 file0 @@ -21056,12 +21056,12 @@ end - line2033 + line2076 col9 file0 - line2033 + line2076 col9 file0 @@ -21073,7 +21073,7 @@ kindevent location - line2033 + line2076 col9 file0 @@ -21081,12 +21081,12 @@ - line2033 + line2076 col9 file0 - line2033 + line2076 col23 file0 @@ -21110,7 +21110,7 @@ issue_hash_function_offset12 location - line2033 + line2076 col9 file0 @@ -21118,18 +21118,18 @@ 0 - 2018 - 2020 - 2021 - 2022 - 2023 - 2024 - 2028 - 2029 - 2030 - 2031 - 2032 - 2033 + 2061 + 2063 + 2064 + 2065 + 2066 + 2067 + 2071 + 2072 + 2073 + 2074 + 2075 + 2076 @@ -21144,12 +21144,12 @@ start - line2020 + line2063 col9 file0 - line2020 + line2063 col16 file0 @@ -21157,12 +21157,12 @@ end - line2024 + line2067 col9 file0 - line2024 + line2067 col9 file0 @@ -21178,12 +21178,12 @@ start - line2024 + line2067 col9 file0 - line2024 + line2067 col9 file0 @@ -21191,12 +21191,12 @@ end - line2028 + line2071 col9 file0 - line2028 + line2071 col16 file0 @@ -21212,12 +21212,12 @@ start - line2028 + line2071 col9 file0 - line2028 + line2071 col16 file0 @@ -21225,12 +21225,12 @@ end - line2033 + line2076 col9 file0 - line2033 + line2076 col9 file0 @@ -21246,12 +21246,12 @@ start - line2033 + line2076 col9 file0 - line2033 + line2076 col9 file0 @@ -21259,12 +21259,12 @@ end - line2037 + line2080 col9 file0 - line2037 + line2080 col16 file0 @@ -21280,12 +21280,12 @@ start - line2037 + line2080 col9 file0 - line2037 + line2080 col16 file0 @@ -21293,12 +21293,12 @@ end - line2038 + line2081 col9 file0 - line2038 + line2081 col15 file0 @@ -21314,12 +21314,12 @@ start - line2038 + line2081 col9 file0 - line2038 + line2081 col15 file0 @@ -21327,12 +21327,12 @@ end - line2038 + line2081 col24 file0 - line2038 + line2081 col24 file0 @@ -21344,7 +21344,7 @@ kindevent location - line2038 + line2081 col24 file0 @@ -21352,12 +21352,12 @@ - line2038 + line2081 col24 file0 - line2038 + line2081 col27 file0 @@ -21373,7 +21373,7 @@ kindevent location - line2038 + line2081 col23 file0 @@ -21381,24 +21381,24 @@ - line2038 + line2081 col23 file0 - line2038 + line2081 col35 file0 - line2038 + line2081 col24 file0 - line2038 + line2081 col27 file0 @@ -21418,12 +21418,12 @@ start - line2038 + line2081 col23 file0 - line2038 + line2081 col23 file0 @@ -21431,12 +21431,12 @@ end - line2038 + line2081 col9 file0 - line2038 + line2081 col15 file0 @@ -21452,12 +21452,12 @@ start - line2038 + line2081 col9 file0 - line2038 + line2081 col15 file0 @@ -21465,12 +21465,12 @@ end - line2041 + line2084 col9 file0 - line2041 + line2084 col9 file0 @@ -21482,7 +21482,7 @@ kindevent location - line2041 + line2084 col9 file0 @@ -21490,12 +21490,12 @@ - line2041 + line2084 col9 file0 - line2041 + line2084 col23 file0 @@ -21519,7 +21519,7 @@ issue_hash_function_offset20 location - line2041 + line2084 col9 file0 @@ -21527,23 +21527,23 @@ 0 - 2018 - 2020 - 2021 - 2022 - 2023 - 2024 - 2028 - 2029 - 2030 - 2031 - 2032 - 2033 - 2037 - 2038 - 2039 - 2040 - 2041 + 2061 + 2063 + 2064 + 2065 + 2066 + 2067 + 2071 + 2072 + 2073 + 2074 + 2075 + 2076 + 2080 + 2081 + 2082 + 2083 + 2084 @@ -21558,12 +21558,12 @@ start - line2020 + line2063 col9 file0 - line2020 + line2063 col16 file0 @@ -21571,12 +21571,12 @@ end - line2024 + line2067 col9 file0 - line2024 + line2067 col9 file0 @@ -21592,12 +21592,12 @@ start - line2024 + line2067 col9 file0 - line2024 + line2067 col9 file0 @@ -21605,12 +21605,12 @@ end - line2028 + line2071 col9 file0 - line2028 + line2071 col16 file0 @@ -21626,12 +21626,12 @@ start - line2028 + line2071 col9 file0 - line2028 + line2071 col16 file0 @@ -21639,12 +21639,12 @@ end - line2033 + line2076 col9 file0 - line2033 + line2076 col9 file0 @@ -21660,12 +21660,12 @@ start - line2033 + line2076 col9 file0 - line2033 + line2076 col9 file0 @@ -21673,12 +21673,12 @@ end - line2037 + line2080 col9 file0 - line2037 + line2080 col16 file0 @@ -21694,12 +21694,12 @@ start - line2037 + line2080 col9 file0 - line2037 + line2080 col16 file0 @@ -21707,12 +21707,12 @@ end - line2041 + line2084 col9 file0 - line2041 + line2084 col9 file0 @@ -21728,12 +21728,12 @@ start - line2041 + line2084 col9 file0 - line2041 + line2084 col9 file0 @@ -21741,12 +21741,12 @@ end - line2045 + line2088 col9 file0 - line2045 + line2088 col16 file0 @@ -21762,12 +21762,12 @@ start - line2045 + line2088 col9 file0 - line2045 + line2088 col16 file0 @@ -21775,12 +21775,12 @@ end - line2046 + line2089 col9 file0 - line2046 + line2089 col15 file0 @@ -21792,7 +21792,7 @@ kindevent location - line2046 + line2089 col22 file0 @@ -21800,12 +21800,12 @@ - line2046 + line2089 col22 file0 - line2046 + line2089 col57 file0 @@ -21825,12 +21825,12 @@ start - line2046 + line2089 col9 file0 - line2046 + line2089 col15 file0 @@ -21838,12 +21838,12 @@ end - line2050 + line2093 col9 file0 - line2050 + line2093 col9 file0 @@ -21855,7 +21855,7 @@ kindevent location - line2050 + line2093 col9 file0 @@ -21863,12 +21863,12 @@ - line2050 + line2093 col9 file0 - line2050 + line2093 col23 file0 @@ -21892,7 +21892,7 @@ issue_hash_function_offset28 location - line2050 + line2093 col9 file0 @@ -21900,28 +21900,28 @@ 0 - 2018 - 2020 - 2021 - 2022 - 2023 - 2024 - 2028 - 2029 - 2030 - 2031 - 2032 - 2033 - 2037 - 2038 - 2039 - 2040 - 2041 - 2045 - 2046 - 2047 - 2049 - 2050 + 2061 + 2063 + 2064 + 2065 + 2066 + 2067 + 2071 + 2072 + 2073 + 2074 + 2075 + 2076 + 2080 + 2081 + 2082 + 2083 + 2084 + 2088 + 2089 + 2090 + 2092 + 2093 @@ -21936,12 +21936,12 @@ start - line2020 + line2063 col9 file0 - line2020 + line2063 col16 file0 @@ -21949,12 +21949,12 @@ end - line2024 + line2067 col9 file0 - line2024 + line2067 col9 file0 @@ -21970,12 +21970,12 @@ start - line2024 + line2067 col9 file0 - line2024 + line2067 col9 file0 @@ -21983,12 +21983,12 @@ end - line2028 + line2071 col9 file0 - line2028 + line2071 col16 file0 @@ -22004,12 +22004,12 @@ start - line2028 + line2071 col9 file0 - line2028 + line2071 col16 file0 @@ -22017,12 +22017,12 @@ end - line2033 + line2076 col9 file0 - line2033 + line2076 col9 file0 @@ -22038,12 +22038,12 @@ start - line2033 + line2076 col9 file0 - line2033 + line2076 col9 file0 @@ -22051,12 +22051,12 @@ end - line2037 + line2080 col9 file0 - line2037 + line2080 col16 file0 @@ -22072,12 +22072,12 @@ start - line2037 + line2080 col9 file0 - line2037 + line2080 col16 file0 @@ -22085,12 +22085,12 @@ end - line2041 + line2084 col9 file0 - line2041 + line2084 col9 file0 @@ -22106,12 +22106,12 @@ start - line2041 + line2084 col9 file0 - line2041 + line2084 col9 file0 @@ -22119,12 +22119,12 @@ end - line2045 + line2088 col9 file0 - line2045 + line2088 col16 file0 @@ -22140,12 +22140,12 @@ start - line2045 + line2088 col9 file0 - line2045 + line2088 col16 file0 @@ -22153,12 +22153,12 @@ end - line2050 + line2093 col9 file0 - line2050 + line2093 col9 file0 @@ -22174,12 +22174,12 @@ start - line2050 + line2093 col9 file0 - line2050 + line2093 col9 file0 @@ -22187,12 +22187,12 @@ end - line2054 + line2097 col9 file0 - line2054 + line2097 col15 file0 @@ -22208,12 +22208,12 @@ start - line2054 + line2097 col9 file0 - line2054 + line2097 col15 file0 @@ -22221,12 +22221,12 @@ end - line2055 + line2098 col9 file0 - line2055 + line2098 col20 file0 @@ -22242,12 +22242,12 @@ start - line2055 + line2098 col9 file0 - line2055 + line2098 col20 file0 @@ -22255,12 +22255,12 @@ end - line2055 + line2098 col28 file0 - line2055 + line2098 col28 file0 @@ -22272,7 +22272,7 @@ kindevent location - line2055 + line2098 col28 file0 @@ -22280,12 +22280,12 @@ - line2055 + line2098 col28 file0 - line2055 + line2098 col35 file0 @@ -22301,7 +22301,7 @@ kindevent location - line2055 + line2098 col27 file0 @@ -22309,24 +22309,24 @@ - line2055 + line2098 col27 file0 - line2055 + line2098 col43 file0 - line2055 + line2098 col28 file0 - line2055 + line2098 col35 file0 @@ -22346,12 +22346,12 @@ start - line2055 + line2098 col27 file0 - line2055 + line2098 col27 file0 @@ -22359,12 +22359,12 @@ end - line2055 + line2098 col9 file0 - line2055 + line2098 col20 file0 @@ -22380,12 +22380,12 @@ start - line2055 + line2098 col9 file0 - line2055 + line2098 col20 file0 @@ -22393,12 +22393,12 @@ end - line2059 + line2102 col9 file0 - line2059 + line2102 col9 file0 @@ -22410,7 +22410,7 @@ kindevent location - line2059 + line2102 col9 file0 @@ -22418,12 +22418,12 @@ - line2059 + line2102 col9 file0 - line2059 + line2102 col23 file0 @@ -22447,7 +22447,7 @@ issue_hash_function_offset37 location - line2059 + line2102 col9 file0 @@ -22455,33 +22455,33 @@ 0 - 2018 - 2020 - 2021 - 2022 - 2023 - 2024 - 2028 - 2029 - 2030 - 2031 - 2032 - 2033 - 2037 - 2038 - 2039 - 2040 - 2041 - 2045 - 2046 - 2047 - 2049 - 2050 - 2054 - 2055 - 2056 - 2058 - 2059 + 2061 + 2063 + 2064 + 2065 + 2066 + 2067 + 2071 + 2072 + 2073 + 2074 + 2075 + 2076 + 2080 + 2081 + 2082 + 2083 + 2084 + 2088 + 2089 + 2090 + 2092 + 2093 + 2097 + 2098 + 2099 + 2101 + 2102 @@ -22496,12 +22496,12 @@ start - line2064 + line2107 col3 file0 - line2064 + line2107 col4 file0 @@ -22509,12 +22509,12 @@ end - line2064 + line2107 col15 file0 - line2064 + line2107 col15 file0 @@ -22526,7 +22526,7 @@ kindevent location - line2064 + line2107 col15 file0 @@ -22534,12 +22534,12 @@ - line2064 + line2107 col15 file0 - line2064 + line2107 col16 file0 @@ -22555,7 +22555,7 @@ kindevent location - line2064 + line2107 col14 file0 @@ -22563,24 +22563,24 @@ - line2064 + line2107 col14 file0 - line2064 + line2107 col24 file0 - line2064 + line2107 col15 file0 - line2064 + line2107 col16 file0 @@ -22600,12 +22600,12 @@ start - line2064 + line2107 col14 file0 - line2064 + line2107 col14 file0 @@ -22613,12 +22613,12 @@ end - line2064 + line2107 col3 file0 - line2064 + line2107 col4 file0 @@ -22634,12 +22634,12 @@ start - line2064 + line2107 col3 file0 - line2064 + line2107 col4 file0 @@ -22647,12 +22647,12 @@ end - line2065 + line2108 col3 file0 - line2065 + line2108 col3 file0 @@ -22668,12 +22668,12 @@ start - line2065 + line2108 col3 file0 - line2065 + line2108 col3 file0 @@ -22681,12 +22681,12 @@ end - line2066 + line2109 col1 file0 - line2066 + line2109 col1 file0 @@ -22698,7 +22698,7 @@ kindevent location - line2066 + line2109 col1 file0 @@ -22720,7 +22720,7 @@ issue_hash_function_offset1 location - line2066 + line2109 col1 file0 @@ -22728,10 +22728,10 @@ 0 - 2063 - 2064 - 2065 - 2066 + 2106 + 2107 + 2108 + 2109 @@ -22746,12 +22746,12 @@ start - line2069 + line2112 col3 file0 - line2069 + line2112 col4 file0 @@ -22759,12 +22759,12 @@ end - line2069 + line2112 col15 file0 - line2069 + line2112 col15 file0 @@ -22776,7 +22776,7 @@ kindevent location - line2069 + line2112 col15 file0 @@ -22784,12 +22784,12 @@ - line2069 + line2112 col15 file0 - line2069 + line2112 col18 file0 @@ -22805,7 +22805,7 @@ kindevent location - line2069 + line2112 col14 file0 @@ -22813,24 +22813,24 @@ - line2069 + line2112 col14 file0 - line2069 + line2112 col26 file0 - line2069 + line2112 col15 file0 - line2069 + line2112 col18 file0 @@ -22850,12 +22850,12 @@ start - line2069 + line2112 col14 file0 - line2069 + line2112 col14 file0 @@ -22863,12 +22863,12 @@ end - line2069 + line2112 col3 file0 - line2069 + line2112 col4 file0 @@ -22884,12 +22884,12 @@ start - line2069 + line2112 col3 file0 - line2069 + line2112 col4 file0 @@ -22897,12 +22897,12 @@ end - line2073 + line2116 col3 file0 - line2073 + line2116 col3 file0 @@ -22914,7 +22914,7 @@ kindevent location - line2073 + line2116 col3 file0 @@ -22922,12 +22922,12 @@ - line2073 + line2116 col3 file0 - line2073 + line2116 col21 file0 @@ -22951,7 +22951,7 @@ issue_hash_function_offset1 location - line2073 + line2116 col3 file0 @@ -22959,11 +22959,11 @@ 0 - 2068 - 2069 - 2070 - 2072 - 2073 + 2111 + 2112 + 2113 + 2115 + 2116 @@ -22978,12 +22978,12 @@ start - line2069 + line2112 col3 file0 - line2069 + line2112 col4 file0 @@ -22991,12 +22991,12 @@ end - line2072 + line2115 col3 file0 - line2072 + line2115 col7 file0 @@ -23012,12 +23012,12 @@ start - line2072 + line2115 col3 file0 - line2072 + line2115 col7 file0 @@ -23025,12 +23025,12 @@ end - line2072 + line2115 col12 file0 - line2072 + line2115 col12 file0 @@ -23042,7 +23042,7 @@ kindevent location - line2072 + line2115 col12 file0 @@ -23050,12 +23050,12 @@ - line2072 + line2115 col12 file0 - line2072 + line2115 col15 file0 @@ -23071,7 +23071,7 @@ kindevent location - line2072 + line2115 col11 file0 @@ -23079,24 +23079,24 @@ - line2072 + line2115 col11 file0 - line2072 + line2115 col23 file0 - line2072 + line2115 col12 file0 - line2072 + line2115 col15 file0 @@ -23116,12 +23116,12 @@ start - line2072 + line2115 col11 file0 - line2072 + line2115 col11 file0 @@ -23129,12 +23129,12 @@ end - line2072 + line2115 col3 file0 - line2072 + line2115 col7 file0 @@ -23150,12 +23150,12 @@ start - line2072 + line2115 col3 file0 - line2072 + line2115 col7 file0 @@ -23163,12 +23163,12 @@ end - line2073 + line2116 col3 file0 - line2073 + line2116 col3 file0 @@ -23184,12 +23184,12 @@ start - line2073 + line2116 col3 file0 - line2073 + line2116 col3 file0 @@ -23197,12 +23197,12 @@ end - line2074 + line2117 col1 file0 - line2074 + line2117 col1 file0 @@ -23214,7 +23214,7 @@ kindevent location - line2074 + line2117 col1 file0 @@ -23236,7 +23236,7 @@ issue_hash_function_offset4 location - line2074 + line2117 col1 file0 @@ -23244,12 +23244,12 @@ 0 - 2068 - 2069 - 2070 - 2072 - 2073 - 2074 + 2111 + 2112 + 2113 + 2115 + 2116 + 2117 @@ -23264,12 +23264,12 @@ start - line2080 + line2123 col5 file0 - line2080 + line2123 col12 file0 @@ -23277,12 +23277,12 @@ end - line2081 + line2124 col5 file0 - line2081 + line2124 col6 file0 @@ -23298,12 +23298,12 @@ start - line2081 + line2124 col5 file0 - line2081 + line2124 col6 file0 @@ -23311,12 +23311,12 @@ end - line2081 + line2124 col8 file0 - line2081 + line2124 col8 file0 @@ -23328,7 +23328,7 @@ kindevent location - line2081 + line2124 col8 file0 @@ -23336,12 +23336,12 @@ - line2081 + line2124 col8 file0 - line2081 + line2124 col12 file0 @@ -23361,12 +23361,12 @@ start - line2081 + line2124 col8 file0 - line2081 + line2124 col8 file0 @@ -23374,12 +23374,12 @@ end - line2084 + line2127 col7 file0 - line2084 + line2127 col17 file0 @@ -23391,7 +23391,7 @@ kindevent location - line2084 + line2127 col21 file0 @@ -23399,12 +23399,12 @@ - line2084 + line2127 col21 file0 - line2084 + line2127 col43 file0 @@ -23424,12 +23424,12 @@ start - line2084 + line2127 col7 file0 - line2084 + line2127 col17 file0 @@ -23437,12 +23437,12 @@ end - line2085 + line2128 col5 file0 - line2085 + line2128 col9 file0 @@ -23458,12 +23458,12 @@ start - line2085 + line2128 col5 file0 - line2085 + line2128 col9 file0 @@ -23471,12 +23471,12 @@ end - line2086 + line2129 col5 file0 - line2086 + line2129 col5 file0 @@ -23488,7 +23488,7 @@ kindevent location - line2086 + line2129 col5 file0 @@ -23496,24 +23496,24 @@ - line2086 + line2129 col5 file0 - line2086 + line2129 col25 file0 - line2086 + line2129 col6 file0 - line2086 + line2129 col16 file0 @@ -23533,12 +23533,12 @@ start - line2086 + line2129 col5 file0 - line2086 + line2129 col5 file0 @@ -23546,12 +23546,12 @@ end - line2087 + line2130 col5 file0 - line2087 + line2130 col9 file0 @@ -23563,7 +23563,7 @@ kindevent location - line2087 + line2130 col5 file0 @@ -23571,12 +23571,12 @@ - line2087 + line2130 col25 file0 - line2087 + line2130 col35 file0 @@ -23600,7 +23600,7 @@ issue_hash_function_offset9 location - line2087 + line2130 col5 file0 @@ -23608,14 +23608,14 @@ 0 - 2077 - 2078 - 2080 - 2081 - 2084 - 2085 - 2086 - 2087 + 2120 + 2121 + 2123 + 2124 + 2127 + 2128 + 2129 + 2130 @@ -23630,12 +23630,12 @@ start - line2105 + line2148 col3 file0 - line2105 + line2148 col4 file0 @@ -23643,12 +23643,12 @@ end - line2113 + line2156 col3 file0 - line2113 + line2156 col4 file0 @@ -23660,7 +23660,7 @@ kindevent location - line2113 + line2156 col19 file0 @@ -23668,12 +23668,12 @@ - line2113 + line2156 col19 file0 - line2113 + line2156 col21 file0 @@ -23693,12 +23693,12 @@ start - line2113 + line2156 col3 file0 - line2113 + line2156 col4 file0 @@ -23706,12 +23706,12 @@ end - line2114 + line2157 col3 file0 - line2114 + line2157 col24 file0 @@ -23723,7 +23723,7 @@ kindevent location - line2114 + line2157 col3 file0 @@ -23731,12 +23731,12 @@ - line2114 + line2157 col26 file0 - line2114 + line2157 col35 file0 @@ -23760,7 +23760,7 @@ issue_hash_function_offset10 location - line2114 + line2157 col3 file0 @@ -23768,13 +23768,13 @@ 0 - 2104 - 2105 - 2106 - 2108 - 2109 - 2113 - 2114 + 2147 + 2148 + 2149 + 2151 + 2152 + 2156 + 2157 @@ -23789,12 +23789,12 @@ start - line2118 + line2161 col3 file0 - line2118 + line2161 col4 file0 @@ -23802,12 +23802,12 @@ end - line2126 + line2169 col3 file0 - line2126 + line2169 col4 file0 @@ -23819,7 +23819,7 @@ kindevent location - line2126 + line2169 col19 file0 @@ -23827,12 +23827,12 @@ - line2126 + line2169 col19 file0 - line2126 + line2169 col21 file0 @@ -23852,12 +23852,12 @@ start - line2126 + line2169 col3 file0 - line2126 + line2169 col4 file0 @@ -23865,12 +23865,12 @@ end - line2127 + line2170 col3 file0 - line2127 + line2170 col26 file0 @@ -23882,7 +23882,7 @@ kindevent location - line2127 + line2170 col3 file0 @@ -23890,12 +23890,12 @@ - line2127 + line2170 col28 file0 - line2127 + line2170 col48 file0 @@ -23919,7 +23919,7 @@ issue_hash_function_offset10 location - line2127 + line2170 col3 file0 @@ -23927,13 +23927,13 @@ 0 - 2117 - 2118 - 2119 - 2121 - 2122 - 2126 - 2127 + 2160 + 2161 + 2162 + 2164 + 2165 + 2169 + 2170 @@ -23944,7 +23944,7 @@ kindevent location - line2139 + line2182 col16 file0 @@ -23952,12 +23952,12 @@ - line2139 + line2182 col16 file0 - line2139 + line2182 col31 file0 @@ -23977,12 +23977,12 @@ start - line2139 + line2182 col3 file0 - line2139 + line2182 col10 file0 @@ -23990,12 +23990,12 @@ end - line2140 + line2183 col1 file0 - line2140 + line2183 col1 file0 @@ -24007,7 +24007,7 @@ kindevent location - line2140 + line2183 col1 file0 @@ -24029,7 +24029,7 @@ issue_hash_function_offset1 location - line2140 + line2183 col1 file0 @@ -24037,9 +24037,9 @@ 0 - 2138 - 2139 - 2140 + 2181 + 2182 + 2183 @@ -24050,7 +24050,7 @@ kindevent location - line2174 + line2217 col18 file0 @@ -24058,12 +24058,12 @@ - line2174 + line2217 col18 file0 - line2174 + line2217 col29 file0 @@ -24083,12 +24083,12 @@ start - line2174 + line2217 col3 file0 - line2174 + line2217 col10 file0 @@ -24096,12 +24096,12 @@ end - line2175 + line2218 col1 file0 - line2175 + line2218 col1 file0 @@ -24113,7 +24113,7 @@ kindevent location - line2175 + line2218 col1 file0 @@ -24135,7 +24135,7 @@ issue_hash_function_offset1 location - line2175 + line2218 col1 file0 @@ -24143,9 +24143,9 @@ 0 - 2173 - 2174 - 2175 + 2216 + 2217 + 2218 @@ -24156,7 +24156,7 @@ kindevent location - line2178 + line2221 col13 file0 @@ -24164,12 +24164,12 @@ - line2178 + line2221 col13 file0 - line2178 + line2221 col23 file0 @@ -24185,7 +24185,7 @@ kindevent location - line2178 + line2221 col3 file0 @@ -24193,12 +24193,12 @@ - line2178 + line2221 col13 file0 - line2178 + line2221 col23 file0 @@ -24222,7 +24222,7 @@ issue_hash_function_offset1 location - line2178 + line2221 col3 file0 @@ -24230,8 +24230,8 @@ 0 - 2177 - 2178 + 2220 + 2221 @@ -24246,12 +24246,12 @@ start - line2197 + line2240 col3 file0 - line2197 + line2240 col4 file0 @@ -24259,12 +24259,12 @@ end - line2197 + line2240 col11 file0 - line2197 + line2240 col11 file0 @@ -24276,7 +24276,7 @@ kindevent location - line2197 + line2240 col11 file0 @@ -24284,12 +24284,12 @@ - line2197 + line2240 col11 file0 - line2197 + line2240 col31 file0 @@ -24305,7 +24305,7 @@ kindevent location - line2197 + line2240 col10 file0 @@ -24313,12 +24313,12 @@ - line2197 + line2240 col10 file0 - line2197 + line2240 col38 file0 @@ -24334,7 +24334,7 @@ kindevent location - line2190 + line2233 col1 file0 @@ -24352,12 +24352,12 @@ start - line2190 + line2233 col1 file0 - line2190 + line2233 col1 file0 @@ -24365,12 +24365,12 @@ end - line2191 + line2234 col3 file0 - line2191 + line2234 col4 file0 @@ -24386,12 +24386,12 @@ start - line2191 + line2234 col3 file0 - line2191 + line2234 col4 file0 @@ -24399,12 +24399,12 @@ end - line2191 + line2234 col7 file0 - line2191 + line2234 col10 file0 @@ -24416,7 +24416,7 @@ kindevent location - line2191 + line2234 col7 file0 @@ -24424,12 +24424,12 @@ - line2191 + line2234 col7 file0 - line2191 + line2234 col10 file0 @@ -24449,12 +24449,12 @@ start - line2191 + line2234 col7 file0 - line2191 + line2234 col10 file0 @@ -24462,12 +24462,12 @@ end - line2192 + line2235 col5 file0 - line2192 + line2235 col10 file0 @@ -24479,7 +24479,7 @@ kindevent location - line2197 + line2240 col10 file0 @@ -24487,12 +24487,12 @@ - line2197 + line2240 col10 file0 - line2197 + line2240 col38 file0 @@ -24512,12 +24512,12 @@ start - line2197 + line2240 col10 file0 - line2197 + line2240 col10 file0 @@ -24525,12 +24525,12 @@ end - line2197 + line2240 col3 file0 - line2197 + line2240 col4 file0 @@ -24542,7 +24542,7 @@ kindevent location - line2197 + line2240 col3 file0 @@ -24550,12 +24550,12 @@ - line2197 + line2240 col3 file0 - line2197 + line2240 col6 file0 @@ -24579,7 +24579,7 @@ issue_hash_function_offset1 location - line2197 + line2240 col3 file0 @@ -24587,11 +24587,11 @@ 0 - 2190 - 2191 - 2192 - 2196 - 2197 + 2233 + 2234 + 2235 + 2239 + 2240 @@ -24606,12 +24606,12 @@ start - line2213 + line2256 col3 file0 - line2213 + line2256 col8 file0 @@ -24619,12 +24619,12 @@ end - line2213 + line2256 col24 file0 - line2213 + line2256 col37 file0 @@ -24636,7 +24636,7 @@ kindevent location - line2213 + line2256 col24 file0 @@ -24644,12 +24644,12 @@ - line2213 + line2256 col24 file0 - line2213 + line2256 col39 file0 @@ -24669,12 +24669,12 @@ start - line2213 + line2256 col24 file0 - line2213 + line2256 col37 file0 @@ -24682,12 +24682,12 @@ end - line2213 + line2256 col10 file0 - line2213 + line2256 col22 file0 @@ -24699,7 +24699,7 @@ kindevent location - line2213 + line2256 col10 file0 @@ -24707,24 +24707,24 @@ - line2213 + line2256 col10 file0 - line2213 + line2256 col40 file0 - line2213 + line2256 col24 file0 - line2213 + line2256 col39 file0 @@ -24744,12 +24744,12 @@ start - line2213 + line2256 col10 file0 - line2213 + line2256 col22 file0 @@ -24757,12 +24757,12 @@ end - line2213 + line2256 col3 file0 - line2213 + line2256 col8 file0 @@ -24774,7 +24774,7 @@ kindevent location - line2213 + line2256 col3 file0 @@ -24782,12 +24782,12 @@ - line2213 + line2256 col3 file0 - line2213 + line2256 col40 file0 @@ -24811,7 +24811,7 @@ issue_hash_function_offset2 location - line2213 + line2256 col3 file0 @@ -24819,8 +24819,8 @@ 0 - 2211 - 2213 + 2254 + 2256 @@ -24835,12 +24835,12 @@ start - line2218 + line2261 col3 file0 - line2218 + line2261 col8 file0 @@ -24848,12 +24848,12 @@ end - line2218 + line2261 col24 file0 - line2218 + line2261 col40 file0 @@ -24865,7 +24865,7 @@ kindevent location - line2218 + line2261 col24 file0 @@ -24873,12 +24873,12 @@ - line2218 + line2261 col24 file0 - line2218 + line2261 col42 file0 @@ -24898,12 +24898,12 @@ start - line2218 + line2261 col24 file0 - line2218 + line2261 col40 file0 @@ -24911,12 +24911,12 @@ end - line2218 + line2261 col10 file0 - line2218 + line2261 col22 file0 @@ -24928,7 +24928,7 @@ kindevent location - line2218 + line2261 col10 file0 @@ -24936,24 +24936,24 @@ - line2218 + line2261 col10 file0 - line2218 + line2261 col43 file0 - line2218 + line2261 col24 file0 - line2218 + line2261 col42 file0 @@ -24973,12 +24973,12 @@ start - line2218 + line2261 col10 file0 - line2218 + line2261 col22 file0 @@ -24986,12 +24986,12 @@ end - line2218 + line2261 col3 file0 - line2218 + line2261 col8 file0 @@ -25003,7 +25003,7 @@ kindevent location - line2218 + line2261 col3 file0 @@ -25011,12 +25011,12 @@ - line2218 + line2261 col3 file0 - line2218 + line2261 col43 file0 @@ -25040,7 +25040,7 @@ issue_hash_function_offset2 location - line2218 + line2261 col3 file0 @@ -25048,8 +25048,8 @@ 0 - 2216 - 2218 + 2259 + 2261 @@ -25060,7 +25060,7 @@ kindevent location - line2233 + line2276 col19 file0 @@ -25068,12 +25068,12 @@ - line2233 + line2276 col19 file0 - line2233 + line2276 col37 file0 @@ -25093,12 +25093,12 @@ start - line2233 + line2276 col3 file0 - line2233 + line2276 col11 file0 @@ -25106,12 +25106,12 @@ end - line2234 + line2277 col3 file0 - line2234 + line2277 col11 file0 @@ -25123,7 +25123,7 @@ kindevent location - line2234 + line2277 col3 file0 @@ -25131,24 +25131,24 @@ - line2234 + line2277 col3 file0 - line2234 + line2277 col16 file0 - line2234 + line2277 col13 file0 - line2234 + line2277 col15 file0 @@ -25168,12 +25168,12 @@ start - line2234 + line2277 col3 file0 - line2234 + line2277 col11 file0 @@ -25181,12 +25181,12 @@ end - line2237 + line2280 col3 file0 - line2237 + line2280 col7 file0 @@ -25198,7 +25198,7 @@ kindevent location - line2237 + line2280 col3 file0 @@ -25206,12 +25206,12 @@ - line2237 + line2280 col9 file0 - line2237 + line2280 col11 file0 @@ -25235,7 +25235,7 @@ issue_hash_function_offset7 location - line2237 + line2280 col3 file0 @@ -25243,10 +25243,10 @@ 0 - 2230 - 2233 - 2234 - 2237 + 2273 + 2276 + 2277 + 2280 @@ -25257,7 +25257,7 @@ kindevent location - line2242 + line2285 col19 file0 @@ -25265,12 +25265,12 @@ - line2242 + line2285 col19 file0 - line2242 + line2285 col37 file0 @@ -25290,12 +25290,12 @@ start - line2242 + line2285 col3 file0 - line2242 + line2285 col11 file0 @@ -25303,12 +25303,12 @@ end - line2243 + line2286 col3 file0 - line2243 + line2286 col11 file0 @@ -25320,7 +25320,7 @@ kindevent location - line2243 + line2286 col22 file0 @@ -25328,24 +25328,24 @@ - line2243 + line2286 col22 file0 - line2243 + line2286 col39 file0 - line2243 + line2286 col36 file0 - line2243 + line2286 col38 file0 @@ -25361,7 +25361,7 @@ kindevent location - line2243 + line2286 col3 file0 @@ -25369,12 +25369,12 @@ - line2243 + line2286 col3 file0 - line2243 + line2286 col18 file0 @@ -25394,12 +25394,12 @@ start - line2243 + line2286 col3 file0 - line2243 + line2286 col11 file0 @@ -25407,12 +25407,12 @@ end - line2244 + line2287 col3 file0 - line2244 + line2287 col10 file0 @@ -25424,7 +25424,7 @@ kindevent location - line2244 + line2287 col3 file0 @@ -25432,24 +25432,24 @@ - line2244 + line2287 col3 file0 - line2244 + line2287 col18 file0 - line2244 + line2287 col12 file0 - line2244 + line2287 col17 file0 @@ -25469,12 +25469,12 @@ start - line2244 + line2287 col3 file0 - line2244 + line2287 col10 file0 @@ -25482,12 +25482,12 @@ end - line2245 + line2288 col1 file0 - line2245 + line2288 col1 file0 @@ -25499,7 +25499,7 @@ kindevent location - line2245 + line2288 col1 file0 @@ -25521,7 +25521,7 @@ issue_hash_function_offset2 location - line2245 + line2288 col1 file0 @@ -25529,11 +25529,11 @@ 0 - 2240 - 2242 - 2243 - 2244 - 2245 + 2283 + 2285 + 2286 + 2287 + 2288 @@ -25544,7 +25544,7 @@ kindevent location - line2262 + line2305 col20 file0 @@ -25552,12 +25552,12 @@ - line2262 + line2305 col20 file0 - line2262 + line2305 col70 file0 @@ -25577,12 +25577,12 @@ start - line2262 + line2305 col3 file0 - line2262 + line2305 col12 file0 @@ -25590,12 +25590,12 @@ end - line2263 + line2306 col3 file0 - line2263 + line2306 col12 file0 @@ -25607,7 +25607,7 @@ kindevent location - line2263 + line2306 col34 file0 @@ -25615,24 +25615,24 @@ - line2263 + line2306 col34 file0 - line2263 + line2306 col62 file0 - line2263 + line2306 col48 file0 - line2263 + line2306 col61 file0 @@ -25648,7 +25648,7 @@ kindevent location - line2263 + line2306 col3 file0 @@ -25656,12 +25656,12 @@ - line2263 + line2306 col3 file0 - line2263 + line2306 col18 file0 @@ -25681,12 +25681,12 @@ start - line2263 + line2306 col3 file0 - line2263 + line2306 col12 file0 @@ -25694,12 +25694,12 @@ end - line2264 + line2307 col3 file0 - line2264 + line2307 col10 file0 @@ -25711,7 +25711,7 @@ kindevent location - line2264 + line2307 col3 file0 @@ -25719,24 +25719,24 @@ - line2264 + line2307 col3 file0 - line2264 + line2307 col17 file0 - line2264 + line2307 col12 file0 - line2264 + line2307 col16 file0 @@ -25756,12 +25756,12 @@ start - line2264 + line2307 col3 file0 - line2264 + line2307 col10 file0 @@ -25769,12 +25769,12 @@ end - line2265 + line2308 col1 file0 - line2265 + line2308 col1 file0 @@ -25786,7 +25786,7 @@ kindevent location - line2265 + line2308 col1 file0 @@ -25808,7 +25808,7 @@ issue_hash_function_offset1 location - line2265 + line2308 col1 file0 @@ -25816,11 +25816,11 @@ 0 - 2261 - 2262 - 2263 - 2264 - 2265 + 2304 + 2305 + 2306 + 2307 + 2308 @@ -25835,12 +25835,12 @@ start - line2276 + line2319 col3 file0 - line2276 + line2319 col4 file0 @@ -25848,12 +25848,12 @@ end - line2279 + line2322 col3 file0 - line2279 + line2322 col4 file0 @@ -25865,7 +25865,7 @@ kindevent location - line2279 + line2322 col19 file0 @@ -25873,12 +25873,12 @@ - line2279 + line2322 col19 file0 - line2279 + line2322 col20 file0 @@ -25898,12 +25898,12 @@ start - line2279 + line2322 col3 file0 - line2279 + line2322 col4 file0 @@ -25911,12 +25911,12 @@ end - line2280 + line2323 col3 file0 - line2280 + line2323 col15 file0 @@ -25928,7 +25928,7 @@ kindevent location - line2280 + line2323 col3 file0 @@ -25936,24 +25936,24 @@ - line2280 + line2323 col3 file0 - line2280 + line2323 col27 file0 - line2280 + line2323 col17 file0 - line2280 + line2323 col26 file0 @@ -25973,12 +25973,12 @@ start - line2280 + line2323 col3 file0 - line2280 + line2323 col15 file0 @@ -25986,12 +25986,12 @@ end - line2281 + line2324 col1 file0 - line2281 + line2324 col1 file0 @@ -26003,7 +26003,7 @@ kindevent location - line2281 + line2324 col1 file0 @@ -26025,7 +26025,7 @@ issue_hash_function_offset6 location - line2281 + line2324 col1 file0 @@ -26033,12 +26033,12 @@ 0 - 2275 - 2276 - 2277 - 2279 - 2280 - 2281 + 2318 + 2319 + 2320 + 2322 + 2323 + 2324 @@ -26053,12 +26053,12 @@ start - line2330 + line2374 col3 file0 - line2330 + line2374 col11 file0 @@ -26066,12 +26066,12 @@ end - line2331 + line2375 col3 file0 - line2331 + line2375 col13 file0 @@ -26083,7 +26083,7 @@ kindevent location - line2331 + line2375 col3 file0 @@ -26091,12 +26091,12 @@ - line2331 + line2375 col3 file0 - line2331 + line2375 col19 file0 @@ -26116,12 +26116,12 @@ start - line2331 + line2375 col3 file0 - line2331 + line2375 col13 file0 @@ -26129,12 +26129,12 @@ end - line2332 + line2376 col3 file0 - line2332 + line2376 col11 file0 @@ -26146,7 +26146,7 @@ kindevent location - line2332 + line2376 col3 file0 @@ -26154,12 +26154,12 @@ - line2332 + line2376 col13 file0 - line2332 + line2376 col15 file0 @@ -26183,7 +26183,7 @@ issue_hash_function_offset4 location - line2332 + line2376 col3 file0 @@ -26191,10 +26191,10 @@ 0 - 2328 - 2330 - 2331 - 2332 + 2372 + 2374 + 2375 + 2376 @@ -26209,12 +26209,12 @@ start - line2337 + line2381 col3 file0 - line2337 + line2381 col11 file0 @@ -26222,12 +26222,12 @@ end - line2338 + line2382 col3 file0 - line2338 + line2382 col14 file0 @@ -26239,7 +26239,7 @@ kindevent location - line2338 + line2382 col3 file0 @@ -26247,12 +26247,12 @@ - line2338 + line2382 col3 file0 - line2338 + line2382 col20 file0 @@ -26272,12 +26272,12 @@ start - line2338 + line2382 col3 file0 - line2338 + line2382 col14 file0 @@ -26285,12 +26285,12 @@ end - line2339 + line2383 col3 file0 - line2339 + line2383 col11 file0 @@ -26302,7 +26302,7 @@ kindevent location - line2339 + line2383 col3 file0 @@ -26310,12 +26310,12 @@ - line2339 + line2383 col13 file0 - line2339 + line2383 col15 file0 @@ -26339,7 +26339,7 @@ issue_hash_function_offset4 location - line2339 + line2383 col3 file0 @@ -26347,10 +26347,10 @@ 0 - 2335 - 2337 - 2338 - 2339 + 2379 + 2381 + 2382 + 2383 diff --git a/clang/test/Analysis/NSString.m b/clang/test/Analysis/NSString.m index 917fc503369f..0a00c2a0d8ec 100644 --- a/clang/test/Analysis/NSString.m +++ b/clang/test/Analysis/NSString.m @@ -157,6 +157,7 @@ NSString* f10(void) { return s; // no-warning } +// Test case for regression reported in . // Essentially 's' should not be considered allocated on the false branch. // This exercises the 'EvalAssume' logic in GRTransferFuncs (CFRefCount.cpp). NSString* f11(CFDictionaryRef dict, const char* key) { @@ -367,7 +368,7 @@ void test_objc_atomicCompareAndSwap_parameter_no_direct_release(NSString **old) } -// Test stringWithFormat +// Test stringWithFormat () void test_stringWithFormat(void) { NSString *string = [[NSString stringWithFormat:@"%ld", (long) 100] retain]; [string release]; diff --git a/clang/test/Analysis/OSAtomic_mac.cpp b/clang/test/Analysis/OSAtomic_mac.cpp index b0f15eba0a0c..b7c07d4ef686 100644 --- a/clang/test/Analysis/OSAtomic_mac.cpp +++ b/clang/test/Analysis/OSAtomic_mac.cpp @@ -3,7 +3,7 @@ // Test handling of OSAtomicCompareAndSwap when C++ inserts "no-op" casts and we // do a forced load and binding to the environment on an expression that would regularly -// not have an environment binding. This previously triggered a crash. +// not have an environment binding. This previously triggered a crash (). // NOTE: It is critical that the function called is OSAtomicCompareAndSwapIntBarrier. bool OSAtomicCompareAndSwapIntBarrier( int __oldValue, int __newValue, volatile int *__theValue ) ; static int _rdar9339920_x = 0; diff --git a/clang/test/Analysis/PR46264.cpp b/clang/test/Analysis/PR46264.cpp index 7a5c4d282e12..c132e6a31713 100644 --- a/clang/test/Analysis/PR46264.cpp +++ b/clang/test/Analysis/PR46264.cpp @@ -1,5 +1,7 @@ // RUN: %clang_analyze_cc1 -analyzer-checker=core -verify %s +// rdar://problem/64202361 + struct A { int a; struct { diff --git a/clang/test/Analysis/UserNullabilityAnnotations.m b/clang/test/Analysis/UserNullabilityAnnotations.m index 3e18d058bfa4..cb6c288b6782 100644 --- a/clang/test/Analysis/UserNullabilityAnnotations.m +++ b/clang/test/Analysis/UserNullabilityAnnotations.m @@ -38,6 +38,7 @@ void f1(NestedNonnullMember *Root) { // Check that we correctly process situations when non-pointer parameters // get nonnul attributes. +// Original problem: rdar://problem/63150074 typedef struct { long a; } B; diff --git a/clang/test/Analysis/array-struct-region.c b/clang/test/Analysis/array-struct-region.c index fbdc6918cad5..657be62c94e6 100644 --- a/clang/test/Analysis/array-struct-region.c +++ b/clang/test/Analysis/array-struct-region.c @@ -57,7 +57,7 @@ void struct_as_array(void) { } -// PR13264 +// PR13264 / struct point { int x; int y; }; struct circle { struct point o; int r; }; struct circle get_circle(void) { diff --git a/clang/test/Analysis/blocks.m b/clang/test/Analysis/blocks.m index 1e17cb7d68f9..d2c8af531012 100644 --- a/clang/test/Analysis/blocks.m +++ b/clang/test/Analysis/blocks.m @@ -104,6 +104,7 @@ void test2_c(void) { void testMessaging(void) { + // [[^(void){} copy] release]; } @@ -115,7 +116,7 @@ void testMessaging(void) { - (void)test { // At one point this crashed because we created a path note at a // PreStmtPurgeDeadSymbols point but only knew how to deal with PostStmt - // points. + // points. extern dispatch_queue_t queue; @@ -171,6 +172,7 @@ void blockCapturesItselfInTheLoop(int x, int m) { // Blocks that called the function they were contained in that also have // static locals caused crashes. +// rdar://problem/21698099 void takeNonnullBlock(void (^)(void)) __attribute__((nonnull)); void takeNonnullIntBlock(int (^)(void)) __attribute__((nonnull)); diff --git a/clang/test/Analysis/call-and-message.m b/clang/test/Analysis/call-and-message.m index 04dff2b5c2a5..b90ef571136c 100644 --- a/clang/test/Analysis/call-and-message.m +++ b/clang/test/Analysis/call-and-message.m @@ -112,6 +112,7 @@ typedef unsigned int NSUInteger; @implementation Test +// for subscripting - (id)testUninitializedObject:(BOOL)keyed { Test *o; if (keyed) { diff --git a/clang/test/Analysis/call-invalidation.cpp b/clang/test/Analysis/call-invalidation.cpp index ef6505e19cf8..c107e1070544 100644 --- a/clang/test/Analysis/call-invalidation.cpp +++ b/clang/test/Analysis/call-invalidation.cpp @@ -78,7 +78,7 @@ void testReferenceStruct() { } // FIXME: This test is split into two functions because region invalidation -// does not preserve reference bindings. +// does not preserve reference bindings. void testConstReferenceStruct() { int x; RefWrapper w = { x }; diff --git a/clang/test/Analysis/cfref_rdar6080742.c b/clang/test/Analysis/cfref_rdar6080742.c index 0b268146fb99..95ac67cb9449 100644 --- a/clang/test/Analysis/cfref_rdar6080742.c +++ b/clang/test/Analysis/cfref_rdar6080742.c @@ -1,6 +1,7 @@ // RUN: %clang_analyze_cc1 -analyzer-checker=core,alpha.core -verify %s // expected-no-diagnostics +// This test case was reported in . // It tests path-sensitivity with respect to '!(cfstring != 0)' (negation of inequality). int printf(const char *restrict,...); diff --git a/clang/test/Analysis/dead-stores.c b/clang/test/Analysis/dead-stores.c index 00b19b1eb1a1..170569eb29a0 100644 --- a/clang/test/Analysis/dead-stores.c +++ b/clang/test/Analysis/dead-stores.c @@ -156,6 +156,7 @@ int f14(int count) { return index; } +// Test case for void f15(unsigned x, unsigned y) { int count = x * y; // no-warning int z[count]; // non-nested-warning {{unused variable 'z'}} @@ -175,6 +176,7 @@ void f17(void) { x = x; } +// // The values of dead stores are only "consumed" in an enclosing expression // what that value is actually used. In other words, don't say "Although the // value stored to 'x' is used...". @@ -518,7 +520,7 @@ void rdar8014335(void) { } } -// NullStmts followed by do...while() can lead to disconnected CFG +// NullStmts followed by do...while() can lead to disconnected CFG // // This previously caused bogus dead-stores warnings because the body of the first do...while was // disconnected from the entry of the function. diff --git a/clang/test/Analysis/default-analyze.m b/clang/test/Analysis/default-analyze.m index ff58e06fe6ea..7c3d6b99a228 100644 --- a/clang/test/Analysis/default-analyze.m +++ b/clang/test/Analysis/default-analyze.m @@ -17,7 +17,7 @@ id foo(int x) { return title; } -// Static analyzer is wrong: NSWidth(imgRect) not understood as unconditional assignment +// Static analyzer is wrong: NSWidth(imgRect) not understood as unconditional assignment // // Note: this requires inlining support. This previously issued a false positive use of // uninitialized value when calling NSWidth. diff --git a/clang/test/Analysis/delegates.m b/clang/test/Analysis/delegates.m index aee73ba81f38..9a4689257c82 100644 --- a/clang/test/Analysis/delegates.m +++ b/clang/test/Analysis/delegates.m @@ -82,6 +82,7 @@ extern void *_NSConstantStringClassReference; // Test cases. //===----------------------------------------------------------------------===// +// // The analyzer doesn't perform any inter-procedural analysis, so delegates // involving [NSObject performSelector...] tend to lead to false positives. // For now the analyzer just stops tracking the reference count of the diff --git a/clang/test/Analysis/edges-new.mm b/clang/test/Analysis/edges-new.mm index e87e6010a044..6bddbef58f1d 100644 --- a/clang/test/Analysis/edges-new.mm +++ b/clang/test/Analysis/edges-new.mm @@ -110,7 +110,7 @@ int test_cond_assign() { //===----------------------------------------------------------------------===// -// leak reports should not show paths that end with exit() (but ones that don't end with exit()) +// leak reports should not show paths that end with exit() (but ones that don't end with exit()) void stop() __attribute__((noreturn)); @@ -406,6 +406,7 @@ void testCast(int coin) { } // The following previously crashed when generating extensive diagnostics. +// @interface RDar10797980_help @property (readonly) int x; @end @@ -424,7 +425,7 @@ void testCast(int coin) { // The original source for the above Radar contains another problem: // if the end-of-path node is an implicit statement, it may not have a valid -// source location. +// source location. - (void)test2 { if (bar_cond_assign()) { id foo = [[RDar10797980 alloc] init]; // leak diff --git a/clang/test/Analysis/generics.m b/clang/test/Analysis/generics.m index 039a5d2e8a59..21fa29d6ece2 100644 --- a/clang/test/Analysis/generics.m +++ b/clang/test/Analysis/generics.m @@ -374,8 +374,8 @@ void testGetMostInformativeDerivedForId(NSArray *a, id idB = b; a = idB; // expected-warning {{Conversion from value of type 'UnrelatedTypeGeneric *' to incompatible type 'NSArray *'}} - // crash here caused by symbolic type being unrelated to compile-time source - // type of cast. + // rdar://problem/26086914 crash here caused by symbolic type being unrelated + // to compile-time source type of cast. id x = a; // Compile-time type is NSArray<>, Symbolic type is UnrelatedTypeGeneric<>. [x takesType:[[NSNumber alloc] init]]; // expected-warning {{Conversion from value of type 'NSNumber *' to incompatible type 'NSString *'}} } diff --git a/clang/test/Analysis/inline-plist.c b/clang/test/Analysis/inline-plist.c index 8cbfbb722260..c501cb58c63a 100644 --- a/clang/test/Analysis/inline-plist.c +++ b/clang/test/Analysis/inline-plist.c @@ -2,6 +2,7 @@ // RUN: %clang_analyze_cc1 -analyzer-config eagerly-assume=false %s -analyzer-checker=core.NullDereference,core.DivideZero -fblocks -analyzer-output=plist -analyzer-config suppress-null-return-paths=false -o %t // RUN: %normalize_plist <%t | diff -ub %S/Inputs/expected-plists/inline-plist.c.plist - +// void mmm(int y) { if (y != 0) y++; diff --git a/clang/test/Analysis/inlining/Inputs/expected-plists/path-notes.m.plist b/clang/test/Analysis/inlining/Inputs/expected-plists/path-notes.m.plist index 09cb94af0d17..b14ffffbfc23 100644 --- a/clang/test/Analysis/inlining/Inputs/expected-plists/path-notes.m.plist +++ b/clang/test/Analysis/inlining/Inputs/expected-plists/path-notes.m.plist @@ -1734,12 +1734,12 @@ start - line166 + line167 col3 file0 - line166 + line167 col8 file0 @@ -1747,12 +1747,12 @@ end - line169 + line170 col3 file0 - line169 + line170 col4 file0 @@ -1768,12 +1768,12 @@ start - line169 + line170 col3 file0 - line169 + line170 col4 file0 @@ -1781,12 +1781,12 @@ end - line169 + line170 col12 file0 - line169 + line170 col12 file0 @@ -1798,7 +1798,7 @@ kindevent location - line169 + line170 col12 file0 @@ -1806,12 +1806,12 @@ - line169 + line170 col12 file0 - line169 + line170 col34 file0 @@ -1827,7 +1827,7 @@ kindevent location - line169 + line170 col11 file0 @@ -1835,24 +1835,24 @@ - line169 + line170 col11 file0 - line169 + line170 col47 file0 - line169 + line170 col12 file0 - line169 + line170 col34 file0 @@ -1872,12 +1872,12 @@ start - line169 + line170 col10 file0 - line169 + line170 col10 file0 @@ -1885,12 +1885,12 @@ end - line169 + line170 col3 file0 - line169 + line170 col4 file0 @@ -1906,12 +1906,12 @@ start - line169 + line170 col3 file0 - line169 + line170 col4 file0 @@ -1919,12 +1919,12 @@ end - line176 + line177 col3 file0 - line176 + line177 col8 file0 @@ -1936,7 +1936,7 @@ kindevent location - line176 + line177 col3 file0 @@ -1944,12 +1944,12 @@ - line176 + line177 col3 file0 - line176 + line177 col10 file0 @@ -1973,7 +1973,7 @@ issue_hash_function_offset11 location - line176 + line177 col3 file0 @@ -1982,12 +1982,12 @@ 0 13 - 165 166 167 - 169 - 174 - 176 + 168 + 170 + 175 + 177 diff --git a/clang/test/Analysis/inlining/eager-reclamation-path-notes.c b/clang/test/Analysis/inlining/eager-reclamation-path-notes.c index 92d5992196d5..2416813cd246 100644 --- a/clang/test/Analysis/inlining/eager-reclamation-path-notes.c +++ b/clang/test/Analysis/inlining/eager-reclamation-path-notes.c @@ -11,7 +11,7 @@ int compute(void) { // Do something that will take enough processing to trigger trimming. // FIXME: This is actually really sensitive. If the interval timing is just // wrong, the node for the actual dereference may also be collected, and all - // the path notes will disappear. + // the path notes will disappear. return 2 + 3 + 4 + 5 + 6; } diff --git a/clang/test/Analysis/inlining/false-positive-suppression.c b/clang/test/Analysis/inlining/false-positive-suppression.c index cdc32ebf2a0c..34b84bfd0f40 100644 --- a/clang/test/Analysis/inlining/false-positive-suppression.c +++ b/clang/test/Analysis/inlining/false-positive-suppression.c @@ -254,6 +254,7 @@ void inlinedIsDifferent(int inlined) { } void testInlinedIsDifferent(void) { + // inlinedIsDifferent(0); } diff --git a/clang/test/Analysis/inlining/path-notes.m b/clang/test/Analysis/inlining/path-notes.m index 003100fc0810..0784be67ca68 100644 --- a/clang/test/Analysis/inlining/path-notes.m +++ b/clang/test/Analysis/inlining/path-notes.m @@ -162,6 +162,7 @@ id testCreateArrayLiteral(id myNil) { //expected-note@-1 {{Array element cannot be nil}} } +// id testAutoreleaseTakesEffectInDispatch(void) { static dispatch_once_t token = 0; dispatch_once(&token, ^{}); diff --git a/clang/test/Analysis/malloc-interprocedural.c b/clang/test/Analysis/malloc-interprocedural.c index ae7a4626288e..da1f1c316934 100644 --- a/clang/test/Analysis/malloc-interprocedural.c +++ b/clang/test/Analysis/malloc-interprocedural.c @@ -101,7 +101,7 @@ int uafAndCallsFooWithEmptyReturn(void) { // If we inline any of the malloc-family functions, the checker shouldn't also -// try to do additional modeling. +// try to do additional modeling. char *strndup(const char *str, size_t n) { if (!str) return 0; diff --git a/clang/test/Analysis/malloc-plist.c b/clang/test/Analysis/malloc-plist.c index 6a3ba5b5f255..9c03c0b3a05a 100644 --- a/clang/test/Analysis/malloc-plist.c +++ b/clang/test/Analysis/malloc-plist.c @@ -89,6 +89,7 @@ void use_ret(void) { // Passing a block as a parameter to an inlined call for which we generate // a stack hint message caused crashes. +// rdar://problem/21291971 void myfree_takingblock(void (^ignored)(void), int *p) { free(p); } diff --git a/clang/test/Analysis/malloc.c b/clang/test/Analysis/malloc.c index e00b652ddb24..ade11e6c1206 100644 --- a/clang/test/Analysis/malloc.c +++ b/clang/test/Analysis/malloc.c @@ -1230,6 +1230,7 @@ int my_main_warn(FILE *f) { return 0;// expected-warning {{leak}} } +// . // some people use stack allocated memory as an optimization to avoid // a heap allocation for small work sizes. This tests the analyzer's // understanding that the malloc'ed memory is not the same as stackBuffer. @@ -1262,9 +1263,9 @@ void radar10978247_positive(int myValueSize) { else return; // expected-warning {{leak}} } -// Previously this triggered a false positive because malloc() is known to -// return uninitialized memory and the binding of 'o' to 'p->n' was not getting -// propertly handled. Now we report a leak. +// Previously this triggered a false positive +// because malloc() is known to return uninitialized memory and the binding +// of 'o' to 'p->n' was not getting propertly handled. Now we report a leak. struct rdar11269741_a_t { struct rdar11269741_b_t { int m; diff --git a/clang/test/Analysis/misc-ps-64.m b/clang/test/Analysis/misc-ps-64.m index ccc57473407b..9b76b55f549e 100644 --- a/clang/test/Analysis/misc-ps-64.m +++ b/clang/test/Analysis/misc-ps-64.m @@ -1,8 +1,9 @@ // RUN: %clang_analyze_cc1 -triple x86_64-apple-darwin9 -analyzer-checker=core,alpha.core -verify -fblocks %s // expected-no-diagnostics -// A bunch of misc. failures involving evaluating these expressions and -// building CFGs. These tests are here to prevent regressions. +// - A bunch of misc. failures involving evaluating +// these expressions and building CFGs. These tests are here to prevent +// regressions. typedef long long int64_t; @class NSString, NSDictionary; typedef long NSInteger; @@ -21,12 +22,13 @@ void rdar_6440393_1(NSDictionary *dict) { shazam(x, &bufptr); } -// In this example we got a signedness mismatch between the literal '0' and the -// value of 'scrooge'. The trick is to have the evaluator convert the literal -// to an unsigned integer when doing a comparison with the pointer. This -// happens because of the transfer function logic of -// OSAtomicCompareAndSwap64Barrier, which doesn't have special casts in place -// to do this for us. +// - In this example we got a signedness +// mismatch between the literal '0' and the value of 'scrooge'. The +// trick is to have the evaluator convert the literal to an unsigned +// integer when doing a comparison with the pointer. This happens +// because of the transfer function logic of +// OSAtomicCompareAndSwap64Barrier, which doesn't have special casts +// in place to do this for us. _Bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, volatile int64_t *__theValue ); extern id objc_lookUpClass(const char *name); void rdar_6845148(id debug_yourself) { diff --git a/clang/test/Analysis/misc-ps-arm.m b/clang/test/Analysis/misc-ps-arm.m index 8b5665159185..e7c44750eb51 100644 --- a/clang/test/Analysis/misc-ps-arm.m +++ b/clang/test/Analysis/misc-ps-arm.m @@ -1,7 +1,8 @@ // RUN: %clang_analyze_cc1 -triple thumbv7-apple-ios0.0.0 -target-feature +neon -analyzer-checker=core -verify -fblocks -Wno-objc-root-class %s // expected-no-diagnostics -// Handle casts of vectors to structs, and loading a value. +// - Handle casts of vectors to structs, and loading +// a value. typedef float float32_t; typedef __attribute__((neon_vector_type(2))) float32_t float32x2_t; diff --git a/clang/test/Analysis/misc-ps-eager-assume.m b/clang/test/Analysis/misc-ps-eager-assume.m index 37395616ee92..38f46b73e703 100644 --- a/clang/test/Analysis/misc-ps-eager-assume.m +++ b/clang/test/Analysis/misc-ps-eager-assume.m @@ -43,6 +43,8 @@ void handle_assign_of_condition(int x) { } } +// From +// // In this test case, 'needsAnArray' is a signed char. The analyzer tracks // a symbolic value for this variable, but in the branch condition it is // promoted to 'int'. Currently the analyzer doesn't reason well about @@ -80,6 +82,7 @@ void pr3836(int *a, int *b) { //===---------------------------------------------------------------------===// +// // This false positive occurred because the symbolic constraint on a short was // not maintained via sign extension. The analyzer doesn't properly handle // the sign extension, but now tracks the constraint. This particular diff --git a/clang/test/Analysis/misc-ps-ranges.m b/clang/test/Analysis/misc-ps-ranges.m index d91eb24670b8..be7449cf5634 100644 --- a/clang/test/Analysis/misc-ps-ranges.m +++ b/clang/test/Analysis/misc-ps-ranges.m @@ -1,5 +1,6 @@ // RUN: %clang_analyze_cc1 -analyzer-checker=core,alpha.core -verify -fblocks %s +// // main's 'argc' argument is always > 0 int main(int argc, char* argv[]) { int *p = 0; diff --git a/clang/test/Analysis/misc-ps-region-store.cpp b/clang/test/Analysis/misc-ps-region-store.cpp index 958ad5ea40ea..238a4d597326 100644 --- a/clang/test/Analysis/misc-ps-region-store.cpp +++ b/clang/test/Analysis/misc-ps-region-store.cpp @@ -144,7 +144,7 @@ void pr7675_test() { clang_analyzer_warnIfReached(); // expected-warning{{REACHABLE}} } -// CFGBuilder should handle temporaries. +// - CFGBuilder should handle temporaries. struct R8375510 { R8375510(); ~R8375510(); @@ -629,7 +629,7 @@ void test_alloca_in_a_recursive_function(int p1) { // variable whose sub-field is also a struct. This currently // results in a CXXTempObjectRegion being created, but not // properly handled. For now, we just ignore that value -// to avoid a crash. +// to avoid a crash (). struct RDar12753384_ClassA { unsigned z; }; @@ -648,6 +648,7 @@ unsigned RDar12753384() { // warning because the anonymous union resulting in a temporary object // getting put into the initializer. We still aren't handling this correctly, // but now if a temporary object appears in an initializer we just ignore it. +// Fixes . struct Rdar12755044_foo { diff --git a/clang/test/Analysis/misc-ps-region-store.m b/clang/test/Analysis/misc-ps-region-store.m index 668b5ffd7001..6b68392523da 100644 --- a/clang/test/Analysis/misc-ps-region-store.m +++ b/clang/test/Analysis/misc-ps-region-store.m @@ -153,6 +153,7 @@ again: } //===----------------------------------------------------------------------===// +// Reduced test case from . // Basically a null check is performed on the field value, which is then // assigned to a variable and then checked again. //===----------------------------------------------------------------------===// @@ -181,6 +182,7 @@ void f(void) { } //===----------------------------------------------------------------------===// +// // Bit-fields of a struct should be invalidated when blasting the entire // struct with an integer constant. //===----------------------------------------------------------------------===// @@ -195,7 +197,8 @@ int rdar_test_7185607(void) { } //===----------------------------------------------------------------------===// -// [RegionStore] compound literal assignment with floats not honored +// [RegionStore] compound literal assignment with +// floats not honored // This test case is mirrored in misc-ps.m, but this case is a negative. //===----------------------------------------------------------------------===// typedef float CGFloat; @@ -210,8 +213,9 @@ CGFloat rdar7242006_negative(CGFloat x) { } //===----------------------------------------------------------------------===// -// Allow binding of values to symbolic regions. This test case shows how -// RegionStore tracks the value bound to 'x' after the assignment. +// - Allow binding of values to symbolic regions. +// This test case shows how RegionStore tracks the value bound to 'x' +// after the assignment. //===----------------------------------------------------------------------===// typedef int* ptr_rdar_7249340; void rdar_7249340(ptr_rdar_7249340 x) { @@ -223,11 +227,11 @@ void rdar_7249340(ptr_rdar_7249340 x) { } //===----------------------------------------------------------------------===// -// This test case tests both value tracking of array values and that we handle -// symbolic values that are casted between different integer types. Note the -// assignment 'n = *a++'; here 'n' is and 'int' and '*a' is 'unsigned'. -// Previously we got a false positive at 'x += *b++' (undefined value) because -// we got a false path. +// - This test case tests both value tracking of +// array values and that we handle symbolic values that are casted +// between different integer types. Note the assignment 'n = *a++'; here +// 'n' is and 'int' and '*a' is 'unsigned'. Previously we got a false positive +// at 'x += *b++' (undefined value) because we got a false path. //===----------------------------------------------------------------------===// int rdar_7249327_aux(void); @@ -255,8 +259,8 @@ void rdar_7249327(unsigned int A[2*32]) { } //===----------------------------------------------------------------------===// -// Check that 'x' is invalidated because its address is passed in as a value to -// a struct. +// - Check that 'x' is invalidated because its +// address is passed in as a value to a struct. //===----------------------------------------------------------------------===// struct doodad_6914474 { int *v; }; extern void prod_6914474(struct doodad_6914474 *d); @@ -300,7 +304,8 @@ int test_handle_array_wrapper(void) { } //===----------------------------------------------------------------------===// -// [RegionStore] crash when handling load: '*((unsigned int *)"????")' +// [RegionStore] crash when +// handling load: '*((unsigned int *)"????")' //===----------------------------------------------------------------------===// int rdar_7261075(void) { @@ -311,7 +316,8 @@ int rdar_7261075(void) { } //===----------------------------------------------------------------------===// -// False path due to limited pointer arithmetic constraints. +// false path due to limited pointer +// arithmetic constraints //===----------------------------------------------------------------------===// void rdar_7275774(void *data, unsigned n) { @@ -329,6 +335,8 @@ void rdar_7275774(void *data, unsigned n) { } //===----------------------------------------------------------------------===// +// +// // Test that Objective-C instance variables aren't prematurely pruned // from the analysis state. //===----------------------------------------------------------------------===// @@ -378,7 +386,7 @@ void doSomething_7312221_with_struct(struct rdar_7312221_container *Self) { } //===----------------------------------------------------------------------===// -// Just more tests cases for regions +// - Just more tests cases for regions //===----------------------------------------------------------------------===// void rdar_7332673_test1(void) { @@ -392,10 +400,11 @@ void rdar_7332673_test2(void) { } //===----------------------------------------------------------------------===// -// Because of a bug in RegionStoreManager::RemoveDeadBindings(), the symbol for -// s->session->p would incorrectly be pruned from the state after the call to -// rdar7347252_malloc1(), and would incorrectly result in a warning about -// passing a null pointer to rdar7347252_memcpy(). +// : Because of a bug in +// RegionStoreManager::RemoveDeadBindings(), the symbol for s->session->p +// would incorrectly be pruned from the state after the call to +// rdar7347252_malloc1(), and would incorrectly result in a warning about +// passing a null pointer to rdar7347252_memcpy(). //===----------------------------------------------------------------------===// struct rdar7347252_AA { char *p;}; @@ -476,8 +485,8 @@ int pr3135(void) { } //===----------------------------------------------------------------------===// -// Test that we handle compound initializers with partially unspecified array -// values. Previously this caused a crash. +// - Test that we handle compound initializers with +// partially unspecified array values. Previously this caused a crash. //===----------------------------------------------------------------------===// typedef struct RDar7403269 { @@ -517,6 +526,7 @@ void rdar7403269_b_pos(void) { //===----------------------------------------------------------------------===// // Test that incrementing a non-null pointer results in a non-null pointer. +// () //===----------------------------------------------------------------------===// void test_increment_nonnull_rdar_7191542(const char *path) { @@ -537,7 +547,7 @@ void test_increment_nonnull_rdar_7191542(const char *path) { //===----------------------------------------------------------------------===// // Test that the store (implicitly) tracks values for doubles/floats that are -// uninitialized. +// uninitialized () //===----------------------------------------------------------------------===// double rdar_6811085(void) { @@ -637,8 +647,8 @@ unsigned rdar7582031_static(void) { } //===----------------------------------------------------------------------===// -// Test that variables passed using __blocks are not treated as being -// uninitialized. +// - Test that variables passed using __blocks +// are not treated as being uninitialized. //===----------------------------------------------------------------------===// typedef void (^RDar_7462324_Callback)(id obj); @@ -672,8 +682,8 @@ typedef void (^RDar_7462324_Callback)(id obj); @end //===----------------------------------------------------------------------===// -// Scanning for live variables within a block should not crash on variables -// passed by reference via __block. +// - Scanning for live variables within a block should +// not crash on variables passed by reference via __block. //===----------------------------------------------------------------------===// int rdar7468209_aux(void); @@ -732,6 +742,7 @@ void pr4358(struct pr4358 *pnt) { } //===----------------------------------------------------------------------===// +// // Test handling fields of values returned from function calls or // message expressions. //===----------------------------------------------------------------------===// @@ -756,7 +767,8 @@ int test_return_struct_2_rdar_7526777(void) { } //===----------------------------------------------------------------------===// -// Assertion failed: (Op == BinaryOperator::Add || Op == BinaryOperator::Sub) +// Assertion failed: (Op == BinaryOperator::Add || +// Op == BinaryOperator::Sub) // This test case previously triggered an assertion failure due to a discrepancy // been the loaded/stored value in the array //===----------------------------------------------------------------------===// @@ -775,8 +787,8 @@ void rdar_7527292(void) { } //===----------------------------------------------------------------------===// -// Handle initialization of incomplete arrays in structures using a compound -// value. Previously this crashed. +// - Handle initialization of incomplete arrays +// in structures using a compound value. Previously this crashed. //===----------------------------------------------------------------------===// struct rdar_7515938 { @@ -864,8 +876,8 @@ int test_c_rev96062(void) { } //===----------------------------------------------------------------------===// -// The access to y[0] at the bottom previously was reported as an uninitialized -// value. +// - The access to y[0] at the bottom previously +// was reported as an uninitialized value. //===----------------------------------------------------------------------===// char *rdar_7242010(int count, char **y) { @@ -879,6 +891,10 @@ char *rdar_7242010(int count, char **y) { return y[0]; // no-warning } +//===----------------------------------------------------------------------===// +// +//===----------------------------------------------------------------------===// + struct rdar_7770737_s { intptr_t p; }; void rdar_7770737_aux(struct rdar_7770737_s *p); int rdar_7770737(void) @@ -942,8 +958,8 @@ void pr6288_b(void) { *(px[0]) = 0; // no-warning } -// A bug in RemoveDeadBindings was causing instance variable bindings to get -// prematurely pruned from the state. +// - A bug in RemoveDeadBindings was causing instance variable bindings +// to get prematurely pruned from the state. @interface Rdar7817800 { char *x; } @@ -971,7 +987,7 @@ void u132monitk (struct pr6036_c *pr6036_d) { (void) ((struct pr6036_a *) (unsigned long (*)[0]) ((char *) pr6036_d - 1))->pr6036_b; // expected-warning{{Casting a non-structure type to a structure type and accessing a field can lead to memory access errors or data corruption}} } -// ?-expressions used as a base of a member expression should be treated as an lvalue +// - ?-expressions used as a base of a member expression should be treated as an lvalue typedef struct rdar7813989_NestedVal { int w; } rdar7813989_NestedVal; typedef struct rdar7813989_Val { rdar7813989_NestedVal nv; } rdar7813989_Val; @@ -1001,8 +1017,8 @@ void pr6854(void * arg) { float f = *(float*) a; } -// False positive due to symbolic store not find value because of 'const' -// qualifier +// False positive due to symbolic store not find +// value because of 'const' qualifier double rdar_8032791_2(void); double rdar_8032791_1(void) { struct R8032791 { double x[2]; double y; } @@ -1028,7 +1044,7 @@ void pr_7450(void) { pr_7450_aux(p + 8); } -// Symbolicate struct values returned by value. +// - Symbolicate struct values returned by value. struct s_rdar_8243408 { int x; }; extern struct s_rdar_8243408 rdar_8243408_aux(void); void rdar_8243408(void) { @@ -1044,6 +1060,7 @@ void rdar_8243408(void) { *p = 0xDEADBEEF; // expected-warning{{Dereference of null pointer}} } +// int r8258814(void) { int foo; @@ -1152,8 +1169,8 @@ void do_not_crash(int x) { } } -// Handle looking at the size of a VLA in ArrayBoundChecker. Nothing -// intelligent (yet); just don't crash. +// - Handle looking at the size of a VLA in +// ArrayBoundChecker. Nothing intelligent (yet); just don't crash. typedef struct RDar8424269_A { int RDar8424269_C; } RDar8424269_A; @@ -1177,7 +1194,7 @@ static void RDar8424269_B(RDar8424269_A *p, unsigned char *RDar8424269_D, tmp2 = tmp2t[2]; } -// Handle transparent unions with the NonNullParamChecker. +// - Handle transparent unions with the NonNullParamChecker. typedef union { struct rdar_8642434_typeA *_dq; } @@ -1192,9 +1209,10 @@ void rdar_8642434_funcB(struct rdar_8642434_typeA *x, struct rdar_8642434_typeA rdar_8642434_funcA(y); // expected-warning{{Null pointer passed to 1st parameter expecting 'nonnull'}} } -// Handle loads and stores from a symbolic index into array without warning -// about an uninitialized value being returned. While RegionStore can't fully -// reason about this example, it shouldn't warn here either. +// - Handle loads and stores from a symbolic index +// into array without warning about an uninitialized value being returned. +// While RegionStore can't fully reason about this example, it shouldn't +// warn here either. typedef struct s_test_rdar8848957 { int x, y, z; } s_test_rdar8848957; @@ -1312,6 +1330,7 @@ void rdar9444714(void) { } // Test handling symbolic elements with field accesses. +// typedef struct { unsigned value; } RDar11127008; diff --git a/clang/test/Analysis/misc-ps.m b/clang/test/Analysis/misc-ps.m index 90c9b5ccb3ff..e9e56315eb26 100644 --- a/clang/test/Analysis/misc-ps.m +++ b/clang/test/Analysis/misc-ps.m @@ -59,6 +59,7 @@ typedef struct _NSRect { NSSize size; } NSRect; +// Reduced test case from crash in @interface A @end @implementation A - (void)foo:(void (^)(NSObject *x))block { @@ -72,6 +73,9 @@ typedef struct _NSRect { unsigned foo(unsigned x) { return __alignof__((x)) + sizeof(x); } // Improvement to path-sensitivity involving compound assignments. +// Addresses false positive in +// + unsigned r6268365Aux(void); void r6268365(void) { @@ -158,6 +162,7 @@ void pr_3543(void) { ({}); } +// // This test case test the use of a vector type within an array subscript // expression. typedef long long __a64vector __attribute__((__vector_size__(8))); @@ -217,14 +222,15 @@ void pr3772(void) // PR 3780 - This tests that StmtIterator isn't broken for VLAs in DeclGroups. void pr3780(int sz) { typedef double MAT[sz][sz]; } -// Test that we don't symbolicate doubles before we are ready to do something -// with them. +// - Test that we don't symbolicate doubles before +// we are ready to do something with them. int rdar6695527(double x) { if (!x) { return 0; } return 1; } -// Test that we properly invalidate structs passed-by-reference to a function. +// - Test that we properly invalidate structs +// passed-by-reference to a function. void pr6708148_invalidate(NSRect *x); void pr6708148_use(NSRect x); void pr6708148_test(void) { @@ -267,6 +273,7 @@ int rdar_10595327(char *str) { // For pointer arithmetic, --/++ should be treated as preserving non-nullness, // regardless of how well the underlying StoreManager reasons about pointer // arithmetic. +// void rdar_6777209(char *p) { if (p == 0) return; @@ -303,9 +310,10 @@ int test_invalidate_by_ref(void) { return 0; } -// This just tests that the CFG is constructed correctly. Previously, the -// successor block of the entrance was the block containing the merge for '?', -// which would trigger an assertion failure. +// Test for . This just tests that the CFG is +// constructed correctly. Previously, the successor block of the entrance +// was the block containing the merge for '?', which would trigger an +// assertion failure. int rdar_7027684_aux(void); int rdar_7027684_aux_2(void) __attribute__((noreturn)); void rdar_7027684(int x, int y) { @@ -329,6 +337,7 @@ void test_cast_from_incomplete_struct(void) { test_cast_from_incomplete_struct_aux(&_cmd); } +// Test for // "ValueManager::makeIntVal(uint64_t X, QualType T) should return a 'Loc' // when 'T' is a pointer" // @@ -404,8 +413,8 @@ void test_trivial_symbolic_comparison(int *x) { } // Test for: -// false positive null dereference due to BasicStoreManager not tracking -// *static* globals +// false positive null dereference due to +// BasicStoreManager not tracking *static* globals // // This just tests the proper tracking of symbolic values for globals (both // static and non-static). @@ -567,8 +576,8 @@ void pr4781(unsigned long *raw1) { } } -// 'self' should be treated as being non-null upon entry to an objective-c -// method. +// - 'self' should be treated as being non-null +// upon entry to an objective-c method. @interface RDar7185647 - (id)foo; @end @@ -622,8 +631,8 @@ void test_offsetof_4(void) { *p = 0xDEADBEEF; // expected-warning{{Dereference of null pointer}} } -// "nil receiver" false positive: make tracking of the MemRegion for 'self' -// path-sensitive +// "nil receiver" false positive: make tracking +// of the MemRegion for 'self' path-sensitive @interface RDar6829164 : NSObject { double x; int y; } @@ -645,8 +654,8 @@ double rdar_6829164_2(void); } @end -// Invalidate values passed-by-reference to functions when the pointer to the -// value is passed as an integer. +// - Invalidate values passed-by-reference +// to functions when the pointer to the value is passed as an integer. void test_7242015_aux(unsigned long); int rdar_7242015(void) { int x; @@ -655,7 +664,8 @@ int rdar_7242015(void) { // using RegionStore. } -// [RegionStore] compound literal assignment with floats not honored +// [RegionStore] compound literal assignment with +// floats not honored CGFloat rdar7242006(CGFloat x) { NSSize y = (NSSize){x, 10}; return y.width; // no-warning @@ -668,7 +678,8 @@ void pr_4988(void) { pr_4988; // expected-warning{{expression result unused}} } -// A 'signed char' is used as a flag, which is implicitly converted to an int. +// - A 'signed char' is used as a flag, which is +// implicitly converted to an int. void *rdar7152418_bar(void); @interface RDar7152418 { signed char x; @@ -835,8 +846,8 @@ void f(kwset_t *kws, char const *p, char const *q) { } //===----------------------------------------------------------------------===// -// When handling sizeof(VLA) it leads to a hole in the ExplodedGraph (causing a -// false positive). +// When handling sizeof(VLA) it leads to a hole in +// the ExplodedGraph (causing a false positive) //===----------------------------------------------------------------------===// int rdar_7593875_aux(int x); @@ -955,8 +966,8 @@ void pr6938_b(void) { } //===----------------------------------------------------------------------===// -// The CFG for code containing an empty @synchronized block was previously -// broken (and would crash the analyzer). +// - The CFG for code containing an empty +// @synchronized block was previously broken (and would crash the analyzer). //===----------------------------------------------------------------------===// void r7979430(id x) { @@ -1012,7 +1023,7 @@ void pr7475_warn(void) { *someStatic = 0; // expected-warning{{null pointer}} } -// __imag passed non-complex should not crash +// - __imag passed non-complex should not crash float f0(_Complex float x) { float l0 = __real x; return __real l0 + __imag l0; @@ -1037,8 +1048,8 @@ void reduce_to_constant(int x, int y) { (void)*(char*)0; // no-warning } -// Test that code after a switch statement with no 'case:' labels is correctly -// evaluated. +// - Test that code after a switch statement with no +// 'case:' labels is correctly evaluated. void r8360854(int n) { switch (n) { default: ; @@ -1059,8 +1070,8 @@ void pr8050(struct PR8050 **arg) *arg = malloc(1); } -// Switch on enum should not consider default case live if all enum values are -// covered. +// Switch on enum should not consider default case live +// if all enum values are covered enum Cases { C1, C2, C3, C4 }; void test_enum_cases(enum Cases C) { switch (C) { @@ -1085,7 +1096,7 @@ void test_enum_cases_positive(enum Cases C) { *p = 0xDEADBEEF; // expected-warning{{Dereference of null pointer}} } -// Warn if synchronization mutex can be nil +// rule request: warn if synchronization mutex can be nil void rdar6351970(void) { id x = 0; @synchronized(x) {} // expected-warning{{Nil value used as mutex for @synchronized() (no synchronization will occur)}} @@ -1115,7 +1126,7 @@ void rdar8578650(id x) { } } -// Direct structure member access null pointer dereference +// rule request: direct structure member access null pointer dereference @interface RDar6352035 { int c; } @@ -1172,6 +1183,7 @@ void baz_pr8440(int n) // Support direct accesses to non-null memory. Reported in: // PR 5272 +// int test_direct_address_load(void) { int *p = (int*) 0x4000; return *p; // no-warning @@ -1185,7 +1197,7 @@ void pr5272_test(void) { // Support casting the return value of function to another different type // This previously caused a crash, although we likely need more precise -// reasoning here. +// reasoning here. void* rdar8663544(void); typedef struct {} Val8663544; Val8663544 bazR8663544(void) { diff --git a/clang/test/Analysis/mutually_exclusive_null_fp.cpp b/clang/test/Analysis/mutually_exclusive_null_fp.cpp index e74e4e7be358..ed3f2d09857c 100644 --- a/clang/test/Analysis/mutually_exclusive_null_fp.cpp +++ b/clang/test/Analysis/mutually_exclusive_null_fp.cpp @@ -1,4 +1,6 @@ // RUN: %clang_analyze_cc1 -analyzer-checker=core -verify %s + +// rdar://problem/56586853 // expected-no-diagnostics struct Data { diff --git a/clang/test/Analysis/nil-receiver-undefined-larger-than-voidptr-ret-region.m b/clang/test/Analysis/nil-receiver-undefined-larger-than-voidptr-ret-region.m index 08d588fa04e8..3a8be8eceb2e 100644 --- a/clang/test/Analysis/nil-receiver-undefined-larger-than-voidptr-ret-region.m +++ b/clang/test/Analysis/nil-receiver-undefined-larger-than-voidptr-ret-region.m @@ -1,7 +1,7 @@ // RUN: %clang_analyze_cc1 -triple i386-apple-darwin8 -analyzer-checker=core,alpha.core -verify -Wno-objc-root-class %s -// This test case shows that a nil instance variable can possibly be -// initialized by a method. +// - This test case shows that a nil instance +// variable can possibly be initialized by a method. @interface RDar6888289 { id *x; diff --git a/clang/test/Analysis/null-deref-ps.c b/clang/test/Analysis/null-deref-ps.c index 43c2edb4be29..3648750bb0da 100644 --- a/clang/test/Analysis/null-deref-ps.c +++ b/clang/test/Analysis/null-deref-ps.c @@ -232,6 +232,7 @@ int* f10(int* p, signed char x, int y) { return p; } +// Test case from void f11(unsigned i) { int *x = 0; if (i >= 0) { // expected-warning{{always true}} diff --git a/clang/test/Analysis/objc-arc.m b/clang/test/Analysis/objc-arc.m index 2ed210f31826..5489d507478f 100644 --- a/clang/test/Analysis/objc-arc.m +++ b/clang/test/Analysis/objc-arc.m @@ -201,7 +201,7 @@ void test_objc_arrays(void) { } } -// dispatch_set_context and ARC. +// - dispatch_set_context and ARC. __attribute__((cf_returns_retained)) CFTypeRef CFBridgingRetain(id X); typedef void* dispatch_object_t; void dispatch_set_context(dispatch_object_t object, const void *context); diff --git a/clang/test/Analysis/objc-encode.m b/clang/test/Analysis/objc-encode.m index 1d6515c2405a..b2379e96d9db 100644 --- a/clang/test/Analysis/objc-encode.m +++ b/clang/test/Analysis/objc-encode.m @@ -3,7 +3,7 @@ void clang_analyzer_eval(int); -// Used to crash. +// rdar://problem/34831581: Used to crash. void foo(void) { char buf1[] = @encode(int **); } diff --git a/clang/test/Analysis/objc-subscript.m b/clang/test/Analysis/objc-subscript.m index 5e42eab1c1b2..79ec30fe198a 100644 --- a/clang/test/Analysis/objc-subscript.m +++ b/clang/test/Analysis/objc-subscript.m @@ -24,6 +24,7 @@ typedef unsigned int NSUInteger; @implementation Test +// for subscripting - (id)storeDoesNotRetain { Test *cell = [[[Test alloc] init] autorelease]; @@ -35,6 +36,7 @@ typedef unsigned int NSUInteger; return cell; } +// for subscripting - (id)getDoesNotRetain:(BOOL)keyed { if (keyed) return [self[self] autorelease]; // expected-warning{{Object autoreleased too many times}} @@ -42,6 +44,7 @@ typedef unsigned int NSUInteger; return [self[0] autorelease]; // expected-warning{{Object autoreleased too many times}} } +// for subscripting - (id)testUninitializedObject:(BOOL)keyed { Test *o; if (keyed) { diff --git a/clang/test/Analysis/osobject-retain-release.cpp b/clang/test/Analysis/osobject-retain-release.cpp index 2ae5752f4402..db98280538e7 100644 --- a/clang/test/Analysis/osobject-retain-release.cpp +++ b/clang/test/Analysis/osobject-retain-release.cpp @@ -619,6 +619,7 @@ unsigned int no_warning_on_getter(ArrayOwner *owner) { unsigned int warn_on_overrelease(ArrayOwner *owner) { // FIXME: summaries are not applied in case the source of the getter/setter // is known. + // rdar://45681203 OSArray *arr = owner->getArray(); arr->release(); return arr->getCount(); diff --git a/clang/test/Analysis/plist-output-alternate.m b/clang/test/Analysis/plist-output-alternate.m index c3a8d4d72c81..e8c762317a75 100644 --- a/clang/test/Analysis/plist-output-alternate.m +++ b/clang/test/Analysis/plist-output-alternate.m @@ -38,7 +38,7 @@ void test_null_field(void) { *(x.p) = 0xDEADBEEF; } -// leak reports should not show paths that end with exit() (but ones that don't end with exit()) +// leak reports should not show paths that end with exit() (but ones that don't end with exit()) void panic(void) __attribute__((noreturn)); enum { kCFNumberSInt8Type = 1, kCFNumberSInt16Type = 2, kCFNumberSInt32Type = 3, kCFNumberSInt64Type = 4, kCFNumberFloat32Type = 5, kCFNumberFloat64Type = 6, kCFNumberCharType = 7, kCFNumberShortType = 8, kCFNumberIntType = 9, kCFNumberLongType = 10, kCFNumberLongLongType = 11, kCFNumberFloatType = 12, kCFNumberDoubleType = 13, kCFNumberCFIndexType = 14, kCFNumberNSIntegerType = 15, kCFNumberCGFloatType = 16, kCFNumberMaxType = 16 }; typedef const struct __CFAllocator * CFAllocatorRef; diff --git a/clang/test/Analysis/plist-output.m b/clang/test/Analysis/plist-output.m index 96123243a833..543fa8ad40cb 100644 --- a/clang/test/Analysis/plist-output.m +++ b/clang/test/Analysis/plist-output.m @@ -59,6 +59,7 @@ int test_cond_assign(void) { } // The following previously crashed when generating extensive diagnostics. +// @interface RDar10797980_help @property (readonly) int x; @end @@ -79,7 +80,7 @@ int test_cond_assign(void) { // The original source for the above Radar contains another problem: // if the end-of-path node is an implicit statement, it may not have a valid -// source location. +// source location. - (void)test2 { if (bar_cond_assign()) { id foo = [[RDar10797980 alloc] init]; // leak diff --git a/clang/test/Analysis/properties.m b/clang/test/Analysis/properties.m index f26245db841c..b12af2fadd66 100644 --- a/clang/test/Analysis/properties.m +++ b/clang/test/Analysis/properties.m @@ -37,6 +37,8 @@ typedef struct _NSZone NSZone; -(id)initWithInteger:(int)i; @end +// rdar://6946338 + @interface Test1 : NSObject { NSString *text; } @@ -63,6 +65,8 @@ typedef struct _NSZone NSZone; @end +// rdar://8824416 + @interface MyNumber : NSObject { NSNumber* _myNumber; @@ -126,6 +130,8 @@ NSNumber* numberFromMyNumberProperty(MyNumber* aMyNumber) #endif +// rdar://6611873 + @interface Person : NSObject { NSString *_name; } @@ -168,7 +174,7 @@ void rdar6611873(void) { #if !__has_feature(objc_arc) -// Static analyzer doesn't detect uninitialized variable issues for property accesses +// Static analyzer doesn't detect uninitialized variable issues for property accesses @interface RDar9241180 @property (readwrite,assign) id x; -(id)testAnalyzer1:(int) y; @@ -246,6 +252,7 @@ void testConsistencyAssign(Person *p) { // Tests for the analyzer fix that works around a Sema bug // where multiple methods are created for properties in class extensions that // are redeclared in a category method. +// The Sema bug is tracked as . @interface ClassWithRedeclaredPropertyInExtensionFollowedByCategory @end @@ -530,6 +537,7 @@ void testOverrelease(Person *p, int coin) { } } +// @implementation Person (Rdar16333368) - (void)testDeliberateRelease:(Person *)other { @@ -957,6 +965,7 @@ void testOpaqueConsistency(OpaqueIntWrapper *w) { [_implicitSynthProp release]; // FIXME: no-warning{{not owned}} } +// rdar://problem/19862648 - (void)establishIvarIsNilDuringLoops { extern id getRandomObject(void); @@ -971,6 +980,7 @@ void testOpaqueConsistency(OpaqueIntWrapper *w) { } } +// rdar://problem/20335433 - (void)retainIvarAndInvalidateSelf { extern void invalidate(id); [_unownedProp retain]; diff --git a/clang/test/Analysis/properties.mm b/clang/test/Analysis/properties.mm index ecfb9c007516..cad92e47e698 100644 --- a/clang/test/Analysis/properties.mm +++ b/clang/test/Analysis/properties.mm @@ -87,6 +87,7 @@ void testConsistencyCustomCopy(CustomCopyWrapper *w) { @synthesize inner; @end +// rdar://67416721 void testNoDirectPropertyDecl(NoDirectPropertyDecl *w) { clang_analyzer_eval(w.inner.value == w.inner.value); // expected-warning{{TRUE}} diff --git a/clang/test/Analysis/reference.cpp b/clang/test/Analysis/reference.cpp index b893aec2a7d5..61a3db74ba90 100644 --- a/clang/test/Analysis/reference.cpp +++ b/clang/test/Analysis/reference.cpp @@ -59,7 +59,7 @@ char t6 (char* p) { } -// PR13440 +// PR13440 / // Test that the array-to-pointer decay works for array references as well. // More generally, when we want an lvalue for a reference field, we still need // to do one level of load. diff --git a/clang/test/Analysis/retain-release-inline.m b/clang/test/Analysis/retain-release-inline.m index ce2c383742cb..695a0d06e03c 100644 --- a/clang/test/Analysis/retain-release-inline.m +++ b/clang/test/Analysis/retain-release-inline.m @@ -485,6 +485,7 @@ id returnInputParam(id x) { } @end +// Original problem: rdar://problem/50739539 @interface MyClassThatLeaksDuringInit : NSObject + (MyClassThatLeaksDuringInit *)getAnInstance1; diff --git a/clang/test/Analysis/retain-release-region-store.m b/clang/test/Analysis/retain-release-region-store.m index 2418c9a5383d..d6c0b54470a5 100644 --- a/clang/test/Analysis/retain-release-region-store.m +++ b/clang/test/Analysis/retain-release-region-store.m @@ -135,10 +135,10 @@ CFAbsoluteTime f4(void) { } @end -//===----------------------------------------------------------------------===// -// False positive due to not invalidating the reference count of a tracked -// region that was itself invalidated. -//===----------------------------------------------------------------------===// +//===------------------------------------------------------------------------------------------===// +// (also ) - False positive due to not invalidating +// the reference count of a tracked region that was itself invalidated. +//===------------------------------------------------------------------------------------------===// typedef struct __rdar_7257223 { CFDateRef x; } RDar7257223; void rdar_7257223_aux(RDar7257223 *p); @@ -229,7 +229,7 @@ void pr6699(int x) { } } -// Idempotent operation checker false positive with ObjC ivars +// Idempotent operation checker false positive with ObjC ivars @interface R8261992 : NSObject { @package int myIvar; } diff --git a/clang/test/Analysis/retain-release.m b/clang/test/Analysis/retain-release.m index a4063db9388c..6dc7947d6776 100644 --- a/clang/test/Analysis/retain-release.m +++ b/clang/test/Analysis/retain-release.m @@ -713,6 +713,7 @@ void f18(__attribute__((annotate("rc_ownership_consumed"))) isl_basic_map *bmap) } @end +// int isFoo(char c); static void rdar_6659160(char *inkind, char *inname) @@ -786,10 +787,10 @@ void pr3820_DeallocAfterRelease(void) // message sent to released object } -// The problem here is that 'length' binds to'($0 - 1)' after '--length', but -// SimpleConstraintManager doesn't know how to reason about -// '($0 - 1) > constant'. As a temporary hack, we drop the value of '($0 - 1)' -// and conjure a new symbol. +// From . The problem here is that 'length' binds to +// '($0 - 1)' after '--length', but SimpleConstraintManager doesn't know how to +// reason about '($0 - 1) > constant'. As a temporary hack, we drop the value +// of '($0 - 1)' and conjure a new symbol. void rdar6704930(unsigned char *s, unsigned int length) { NSString* name = 0; if (s != 0) { @@ -820,6 +821,7 @@ void rdar6704930(unsigned char *s, unsigned int length) { } //===----------------------------------------------------------------------===// +// // One build of the analyzer accidentally stopped tracking the allocated // object after the 'retain'. //===----------------------------------------------------------------------===// @@ -852,8 +854,9 @@ void rdar6704930(unsigned char *s, unsigned int length) { @end //===----------------------------------------------------------------------===// -// clang checker fails to catch use-after-release +// clang checker fails to catch use-after-release //===----------------------------------------------------------------------===// + int rdar_6257780_Case1(void) { NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init]; NSArray *array = [NSArray array]; @@ -863,16 +866,18 @@ int rdar_6257780_Case1(void) { } //===----------------------------------------------------------------------===// -// Analyzer is confused about NSAutoreleasePool -allocWithZone:. +// Analyzer is confused about NSAutoreleasePool -allocWithZone:. //===----------------------------------------------------------------------===// + void rdar_10640253_autorelease_allocWithZone(void) { NSAutoreleasePool *pool = [[NSAutoreleasePool allocWithZone:(NSZone*)0] init]; (void) pool; } //===----------------------------------------------------------------------===// -// Checker should understand new/setObject:/release constructs +// Checker should understand new/setObject:/release constructs //===----------------------------------------------------------------------===// + void rdar_6866843(void) { NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init]; NSMutableDictionary* dictionary = [[NSMutableDictionary alloc] init]; @@ -888,7 +893,7 @@ void rdar_6866843(void) { //===----------------------------------------------------------------------===// -// Classes typedef-ed to CF objects should get the same treatment as CF objects +// Classes typedef-ed to CF objects should get the same treatment as CF objects //===----------------------------------------------------------------------===// typedef CFTypeRef OtherRef; @@ -908,8 +913,10 @@ typedef CFTypeRef OtherRef; @end //===----------------------------------------------------------------------===// -// False positive - init method returns an object owned by caller. +// false positive - init method returns an object +// owned by caller //===----------------------------------------------------------------------===// + @interface RDar6320065 : NSObject { NSString *_foo; } @@ -950,8 +957,10 @@ int RDar6320065_test(void) { } //===----------------------------------------------------------------------===// -// -awakeAfterUsingCoder: returns an owned object and claims the receiver +// -awakeAfterUsingCoder: returns an owned object +// and claims the receiver //===----------------------------------------------------------------------===// + @interface RDar7129086 : NSObject {} @end @implementation RDar7129086 - (id)awakeAfterUsingCoder:(NSCoder *)aDecoder { @@ -961,8 +970,10 @@ int RDar6320065_test(void) { @end //===----------------------------------------------------------------------===// -// [NSData dataWithBytesNoCopy] does not return a retained object +// [NSData dataWithBytesNoCopy] does not return a +// retained object //===----------------------------------------------------------------------===// + @interface RDar6859457 : NSObject {} - (NSString*) NoCopyString; - (NSString*) noCopyString; @@ -1014,7 +1025,8 @@ static void PR4230_new(void) @end //===----------------------------------------------------------------------===// -// Don't flag leaks for return types that cannot be determined to be CF types. +// don't flag leaks for return types that cannot be +// determined to be CF types //===----------------------------------------------------------------------===// // We don't know if 'struct s6893565' represents a Core Foundation type, so @@ -1032,8 +1044,9 @@ typedef struct s6893565* TD6893565; @end //===----------------------------------------------------------------------===// -// clang: false positives w/QC and CoreImage methods +// clang: false positives w/QC and CoreImage methods //===----------------------------------------------------------------------===// + void rdar6902710(QCView *view, QCRenderer *renderer, CIContext *context, NSString *str, CIImage *img, CGRect rect, CIFormat form, CGColorSpaceRef cs) { @@ -1044,15 +1057,19 @@ void rdar6902710(QCView *view, QCRenderer *renderer, CIContext *context, } //===----------------------------------------------------------------------===// -// -[CIContext createCGLayerWithSize:info:] misinterpreted by clang scan-build +// -[CIContext createCGLayerWithSize:info:] +// misinterpreted by clang scan-build //===----------------------------------------------------------------------===// + void rdar6945561(CIContext *context, CGSize size, CFDictionaryRef d) { [context createCGLayerWithSize:size info:d]; // expected-warning{{leak}} } //===----------------------------------------------------------------------===// -// Add knowledge of IOKit functions to retain/release checker. +// add knowledge of IOKit functions to retain/release +// checker //===----------------------------------------------------------------------===// + void IOBSDNameMatching_wrapper(mach_port_t mainPort, uint32_t options, const char * bsdName) { IOBSDNameMatching(mainPort, options, bsdName); // expected-warning{{leak}} } @@ -1111,6 +1128,7 @@ void IOServiceAddMatchingNotification_wrapper(IONotificationPortRef notifyPort, void CFDictionaryAddValue(CFMutableDictionaryRef, void *, void *); +// void rdar_6539791(CFMutableDictionaryRef y, void* key, void* val_key) { CFMutableDictionaryRef x = CFDictionaryCreateMutable(kCFAllocatorDefault, 1, &kCFTypeDictionaryKeyCallBacks, &kCFTypeDictionaryValueCallBacks); CFDictionaryAddValue(y, key, x); @@ -1124,6 +1142,7 @@ void rdar_6539791(CFMutableDictionaryRef y, void* key, void* val_key) { } } +// // Same issue, except with "AppendValue" functions. void rdar_6560661(CFMutableArrayRef x) { signed z = 1; @@ -1135,6 +1154,7 @@ void rdar_6560661(CFMutableArrayRef x) { CFRelease(value); // no-warning } +// // Same issue, excwept with "CFAttributeStringSetAttribute". void rdar_7152619(CFStringRef str) { CFAttributedStringRef string = CFAttributedStringCreate(kCFAllocatorDefault, str, 0); @@ -1194,12 +1214,14 @@ void rdar_7184450_pos(CGContextRef myContext, CGFloat x, CGPoint myStartPoint, } //===----------------------------------------------------------------------===// -// clang false positive: retained instance passed to thread in pthread_create -// marked as leak. +// clang false positive: retained instance passed to +// thread in pthread_create marked as leak // // Until we have full IPA, the analyzer should stop tracking the reference // count of objects passed to pthread_create. +// //===----------------------------------------------------------------------===// + struct _opaque_pthread_t {}; struct _opaque_pthread_attr_t {}; typedef struct _opaque_pthread_t *__darwin_pthread_t; @@ -1227,15 +1249,18 @@ void rdar_7299394_positive(pthread_attr_t *attr, pthread_t *thread) { } //===----------------------------------------------------------------------===// -// False positive with not understanding thread local storage. +// false positive with not understanding thread +// local storage //===----------------------------------------------------------------------===// + void rdar11282706(pthread_key_t key) { NSNumber *number = [[NSNumber alloc] initWithInt:5]; // no-warning pthread_setspecific(key, (void*) number); } //===----------------------------------------------------------------------===// -// False leak associated with call to CVPixelBufferCreateWithBytes() +// False leak associated with call to +// CVPixelBufferCreateWithBytes () // // According to the Core Video Reference (ADC), CVPixelBufferCreateWithBytes and // CVPixelBufferCreateWithPlanarBytes can release (via a callback) the @@ -1243,6 +1268,7 @@ void rdar11282706(pthread_key_t key) { // the reference count for the objects passed for this argument. This // could be made smarter. //===----------------------------------------------------------------------===// + typedef int int32_t; typedef UInt32 FourCharCode; typedef FourCharCode OSType; @@ -1435,7 +1461,8 @@ OSStatus test_VTCompressionSessionCreateAndEncode_CallbackReleases( } //===----------------------------------------------------------------------===// -// False leak associated with CGBitmapContextCreateWithData. +// False leak associated with +// CGBitmapContextCreateWithData //===----------------------------------------------------------------------===// typedef uint32_t CGBitmapInfo; typedef void (*CGBitmapContextReleaseDataCallback)(void *releaseInfo, void *data); @@ -1460,13 +1487,14 @@ void rdar_7358899(void *data, } //===----------------------------------------------------------------------===// -// Allow 'new', 'copy', 'alloc', 'init' prefix to start before '_' when -// determining Cocoa fundamental rule. +// allow 'new', 'copy', 'alloc', 'init' prefix to +// start before '_' when determining Cocoa fundamental rule // // Previously the retain/release checker just skipped prefixes before the // first '_' entirely. Now the checker honors the prefix if it results in a // recognizable naming convention (e.g., 'new', 'init'). //===----------------------------------------------------------------------===// + @interface RDar7265711 {} - (id) new_stuff; @end @@ -1481,8 +1509,10 @@ void rdar7265711_b(RDar7265711 *x) { } //===----------------------------------------------------------------------===// -// clang thinks [NSCursor dragCopyCursor] returns a retained reference. +// clang thinks [NSCursor dragCopyCursor] returns a +// retained reference //===----------------------------------------------------------------------===// + @interface NSCursor : NSObject + (NSCursor *)dragCopyCursor; @end @@ -1495,9 +1525,10 @@ void rdar7306898(void) { } //===----------------------------------------------------------------------===// -// Sending 'release', 'retain', etc. to a Class directly is not likely what the -// user intended. +// sending 'release', 'retain', etc. to a Class +// directly is not likely what the user intended //===----------------------------------------------------------------------===// + @interface RDar7252064 : NSObject @end void rdar7252064(void) { [RDar7252064 release]; // expected-warning{{The 'release' message should be sent to instances of class 'RDar7252064' and not the class directly}} @@ -1638,9 +1669,10 @@ CFDateRef returnsRetainedCFDate(void) { //===----------------------------------------------------------------------===// // Test that leaks post-dominated by "panic" functions are not reported. // -// Do not report a leak when post-dominated by a call to a noreturn or panic -// function. +// do not report a leak when post-dominated by a call +// to a noreturn or panic function //===----------------------------------------------------------------------===// + void panic(void) __attribute__((noreturn)); void panic_not_in_hardcoded_list(void) __attribute__((noreturn)); @@ -1668,9 +1700,9 @@ void test_panic_pos_2(int x) { if (x) panic(); if (!x) { - // This showed up previously where we silently missed checking the function - // type for noreturn. "panic()" is a hard-coded known panic function that - // isn't always noreturn. + // This showed up in , where we silently missed checking + // the function type for noreturn. "panic()" is a hard-coded known panic function + // that isn't always noreturn. panic_not_in_hardcoded_list(); } } @@ -1717,14 +1749,17 @@ void test_blocks_1_indirect_retain_via_call(void) { } @end -// Correcly handle Class<...> in Cocoa Conventions detector. +// - Correcly handle Class<...> in Cocoa Conventions +// detector. + @protocol Prot_R8272168 @end Class GetAClassThatImplementsProt_R8272168(void); void r8272168(void) { GetAClassThatImplementsProt_R8272168(); } -// This used to trigger a false positive. +// Test case for , which in the past triggered +// a false positive. @interface RDar8356342 - (NSDate*) rdar8356342:(NSDate *)inValue; @end @@ -1742,7 +1777,8 @@ void r8272168(void) { } @end -// This test case previously crashed because of a bug in BugReporter. +// - This test case previously crashed because +// of a bug in BugReporter. extern const void *CFDictionaryGetValue(CFDictionaryRef theDict, const void *key); typedef struct __CFError * CFErrorRef; extern const CFStringRef kCFErrorUnderlyingErrorKey; @@ -1764,15 +1800,16 @@ static void rdar_8724287(CFErrorRef error) } } -// Make sure the model applies cf_consumed correctly in argument positions -// besides the first. +// - Make sure the model applies cf_consumed +// correctly in argument positions besides the first. extern void *CFStringCreate(void); extern void rdar_9234108_helper(void *key, void * CF_CONSUMED value); void rdar_9234108(void) { rdar_9234108_helper(0, CFStringCreate()); } -// Make sure that objc_method_family works to override naming conventions. +// - Make sure that objc_method_family works +// to override naming conventions. struct TwoDoubles { double one; double two; @@ -1796,6 +1833,7 @@ void rdar9726279(void) { [value release]; } +// // Test camelcase support for CF conventions. While Core Foundation APIs // don't use camel casing, other code is allowed to use it. CFArrayRef camelcase_create_1(void) { @@ -1847,6 +1885,7 @@ CFArrayRef camel_copymachine(void) { return CFArrayCreateMutable(0, 10, &kCFTypeArrayCallBacks); // expected-warning {{leak}} } +// rdar://problem/8024350 @protocol F18P - (id) clone; // expected-note 2 {{method declared here}} @end @@ -1861,6 +1900,7 @@ CFArrayRef camel_copymachine(void) { } @end +// Radar 6582778. void rdar6582778(void) { CFAbsoluteTime t = CFAbsoluteTimeGetCurrent(); CFTypeRef vals[] = { CFDateCreate(0, t) }; // expected-warning {{leak}} @@ -1873,7 +1913,9 @@ void rdar6582778_2(void) { global = CFDateCreate(0, t); // no-warning } -// Test that objects passed to containers are marked "escaped". +// - Test that objects passed to containers +// are marked "escaped". + void rdar10232019(void) { NSMutableArray *array = [NSMutableArray array]; @@ -1896,6 +1938,7 @@ void rdar10232019_positive(void) { } // RetainCountChecker support for XPC. +// typedef void * xpc_object_t; xpc_object_t _CFXPCCreateXPCObjectFromCFObject(CFTypeRef cf); void xpc_release(xpc_object_t object); @@ -2281,8 +2324,9 @@ void autoreleaseObjC(void) { } // expected-warning{{Object autoreleased too many times}} //===----------------------------------------------------------------------===// -// xpc_connection_set_finalizer_f +// xpc_connection_set_finalizer_f //===----------------------------------------------------------------------===// + typedef xpc_object_t xpc_connection_t; typedef void (*xpc_finalizer_t)(void *value); void xpc_connection_set_context(xpc_connection_t connection, void *ctx); diff --git a/clang/test/Analysis/retain-release.mm b/clang/test/Analysis/retain-release.mm index be83d5b27032..733d35059d20 100644 --- a/clang/test/Analysis/retain-release.mm +++ b/clang/test/Analysis/retain-release.mm @@ -461,6 +461,7 @@ void radar13722286::PrepareBitmap() { } } +// rdar://34210609 void _() { _(); }; // no-warning // Do not assume that IOBSDNameMatching increments a reference counter, diff --git a/clang/test/Analysis/security-syntax-checks.m b/clang/test/Analysis/security-syntax-checks.m index 4b143ea1ebf8..5b4f35055f51 100644 --- a/clang/test/Analysis/security-syntax-checks.m +++ b/clang/test/Analysis/security-syntax-checks.m @@ -48,7 +48,8 @@ typedef typeof(sizeof(int)) size_t; -// rule request: floating point used as loop condition (FLP30-C, FLP-30-CPP) +// rule request: floating point used as loop +// condition (FLP30-C, FLP-30-CPP) // // For reference: https://www.securecoding.cert.org/confluence/display/seccode/FLP30-C.+Do+not+use+floating+point+variables+as+loop+counters // @@ -89,7 +90,7 @@ void test_bzero(void *a, size_t n) { bzero(a, n); // expected-warning{{The bzero() function is obsoleted by memset()}} } -// rule request: gets() buffer overflow +// rule request: gets() buffer overflow // Part of recommendation: 300-BSI (buildsecurityin.us-cert.gov) char* gets(char *buf); @@ -105,7 +106,8 @@ void test_getpw(void) { getpw(2, buff); // expected-warning{{The getpw() function is dangerous as it may overflow the provided buffer. It is obsoleted by getpwuid()}} } -// CWE-273: Failure to Check Whether Privileges Were Dropped Successfully +// CWE-273: Failure to Check Whether Privileges Were +// Dropped Successfully typedef unsigned int __uint32_t; typedef __uint32_t __darwin_uid_t; typedef __uint32_t __darwin_gid_t; @@ -136,7 +138,7 @@ void test_setuid(void) setregid(2,2); // expected-warning{{The return value from the call to 'setregid' is not checked. If an error occurs in 'setregid', the following code may execute with unexpected privileges}} } -// CWE-338: Use of cryptographically weak prng +// CWE-338: Use of cryptographically weak prng typedef unsigned short *ushort_ptr_t; // Test that sugar doesn't confuse the warning. int rand(void); double drand48(void); diff --git a/clang/test/Analysis/stack-addr-ps.c b/clang/test/Analysis/stack-addr-ps.c index 26e1cc58350c..04689d0eee57 100644 --- a/clang/test/Analysis/stack-addr-ps.c +++ b/clang/test/Analysis/stack-addr-ps.c @@ -74,12 +74,14 @@ ComparatorBlock test_return_block_neg(void) { return b; // no-warning } +// int *rdar_7523821_f2(void) { int a[3]; return a; // expected-warning 2 {{ddress of stack memory associated with local variable 'a' returned}} }; // Handle blocks that have no captures or are otherwise declared 'static'. +// typedef int (^RDar10348049)(int value); RDar10348049 test_rdar10348049(void) { static RDar10348049 b = ^int(int x) { diff --git a/clang/test/Analysis/stack-addr-ps.cpp b/clang/test/Analysis/stack-addr-ps.cpp index bd856be2b8d6..91e41e1f0065 100644 --- a/clang/test/Analysis/stack-addr-ps.cpp +++ b/clang/test/Analysis/stack-addr-ps.cpp @@ -89,6 +89,7 @@ struct TS { } }; +// rdar://11345441 int* f5() { int& i = i; // expected-warning {{Assigned value is garbage or undefined}} expected-warning{{reference 'i' is not yet bound to a value when used within its own initialization}} return &i; diff --git a/clang/test/Analysis/templates.cpp b/clang/test/Analysis/templates.cpp index 061c19fe7e04..e7c30a764f72 100644 --- a/clang/test/Analysis/templates.cpp +++ b/clang/test/Analysis/templates.cpp @@ -31,6 +31,8 @@ int main(){ m.I(); } + +// template inline unsigned array_lengthof(T (&)[N]) { return N; diff --git a/clang/test/Analysis/uninit-bug-first-iteration-init.c b/clang/test/Analysis/uninit-bug-first-iteration-init.c index a37743ce48a6..3b573ac28053 100644 --- a/clang/test/Analysis/uninit-bug-first-iteration-init.c +++ b/clang/test/Analysis/uninit-bug-first-iteration-init.c @@ -1,4 +1,6 @@ // RUN: %clang_analyze_cc1 -analyzer-checker=core -verify %s + +// rdar://problem/44978988 // expected-no-diagnostics int foo(void); diff --git a/clang/test/Analysis/uninit-exhaustive-switch-bug.c b/clang/test/Analysis/uninit-exhaustive-switch-bug.c index 4855b9371622..c45e9e60e820 100644 --- a/clang/test/Analysis/uninit-exhaustive-switch-bug.c +++ b/clang/test/Analysis/uninit-exhaustive-switch-bug.c @@ -1,4 +1,6 @@ // RUN: %clang_analyze_cc1 -analyzer-checker=core -verify %s + +// rdar://problem/54359410 // expected-no-diagnostics int rand(void); diff --git a/clang/test/Analysis/uninit-ps-rdar6145427.m b/clang/test/Analysis/uninit-ps-rdar6145427.m index 3ac84213b9e9..225c98a20a62 100644 --- a/clang/test/Analysis/uninit-ps-rdar6145427.m +++ b/clang/test/Analysis/uninit-ps-rdar6145427.m @@ -28,6 +28,8 @@ typedef struct {} NSDecimal; @interface NSNetService : NSObject {} - (id)init; @end extern NSString * const NSUndoManagerCheckpointNotification; +// Test case: + int main (int argc, const char * argv[]) { NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init]; id someUnintializedPointer = [someUnintializedPointer objectAtIndex:0]; // expected-warning{{Receiver in message expression is an uninitialized value}} diff --git a/clang/test/Analysis/uninit-vals.c b/clang/test/Analysis/uninit-vals.c index b88605487bac..6e65c757f564 100644 --- a/clang/test/Analysis/uninit-vals.c +++ b/clang/test/Analysis/uninit-vals.c @@ -76,6 +76,7 @@ int ret_uninit(void) { // expected-note@-1{{Undefined or garbage value returned to caller}} } +// typedef unsigned char Boolean; typedef const struct __CFNumber * CFNumberRef; typedef signed long CFIndex; @@ -134,7 +135,8 @@ int pr4631_f1_b(void) return x; // no-warning } -// FP when returning a void-valued expression from a void function...or block. +// - FP when returning a void-valued expression from +// a void function...or block. void foo_radar12278788(void) { return; } void test_radar12278788(void) { return foo_radar12278788(); // no-warning diff --git a/clang/test/Analysis/uninit-vals.m b/clang/test/Analysis/uninit-vals.m index 9d18f0ef69b9..775c7ffb567c 100644 --- a/clang/test/Analysis/uninit-vals.m +++ b/clang/test/Analysis/uninit-vals.m @@ -73,8 +73,8 @@ void testFoo(Foo *o) { // expected-note@-1{{Passed-by-value struct argument contains uninitialized data (e.g., field: 'x')}} } -// Test case shows an uninitialized value being used in the LHS of a compound -// assignment. +// Test case from . That shows an uninitialized value +// being used in the LHS of a compound assignment. void rdar_7780304(void) { typedef struct s_r7780304 { int x; } s_r7780304; s_r7780304 b; @@ -169,7 +169,7 @@ void PR14765_test(void) { // FIXME: Assigning to 'testObj->origin' kills the default binding for the // whole region, meaning that we've forgotten that testObj->size should also - // default to 0. + // default to 0. Tracked by . // This should be TRUE. clang_analyzer_eval(testObj->size == 0); // expected-warning{{UNKNOWN}} // expected-note@-1{{UNKNOWN}} @@ -230,7 +230,7 @@ void PR14765_test_int(void) { // FIXME: Assigning to 'testObj->origin' kills the default binding for the // whole region, meaning that we've forgotten that testObj->size should also - // default to 0. + // default to 0. Tracked by . // This should be TRUE. clang_analyzer_eval(testObj->size == 0); // expected-warning{{UNKNOWN}} // expected-note@-1{{UNKNOWN}} diff --git a/clang/test/Analysis/unused-ivars.m b/clang/test/Analysis/unused-ivars.m index 32e7e80fc427..90e36d527af7 100644 --- a/clang/test/Analysis/unused-ivars.m +++ b/clang/test/Analysis/unused-ivars.m @@ -22,7 +22,7 @@ @implementation TestA @end // This test case tests whether the unused ivar check handles blocks that -// reference an instance variable. +// reference an instance variable. () @interface TestB : NSObject { @private id _ivar; // no-warning @@ -45,9 +45,10 @@ @end //===----------------------------------------------------------------------===// -// Detect that ivar is in use, if used in category in the same file as the -// implementation. +// Detect that ivar is in use, if used in category +// in the same file as the implementation //===----------------------------------------------------------------------===// + @protocol Protocol6260004 - (id) getId; @end @@ -65,9 +66,10 @@ @end //===----------------------------------------------------------------------===// -// ivars referenced by lexically nested functions should not be flagged as -// unused +// - ivars referenced by lexically nested functions +// should not be flagged as unused //===----------------------------------------------------------------------===// + @interface RDar7254495 { @private int x; // no-warning @@ -81,9 +83,10 @@ int radar_7254495(RDar7254495 *a) { @end //===----------------------------------------------------------------------===// -// Consult attribute((unused)) to silence warnings about unused instance -// variables. +// - consult attribute((unused)) to silence warnings +// about unused instance variables //===----------------------------------------------------------------------===// + @interface RDar7353683 { @private id x __attribute__((unused)); @@ -92,11 +95,11 @@ int radar_7254495(RDar7254495 *a) { @implementation RDar7353683 @end - //===----------------------------------------------------------------------===// -// Unused bitfield ivars trigger cause weird diagnostic: -// "Instance variable '' in class..." +// Unused bitfield ivars trigger cause weird +// diagnostic: "Instance variable '' in class..." //===----------------------------------------------------------------------===// + @interface RDar8481311 { @private unsigned bitfield:1; // expected-warning {{Instance variable 'bitfield' in class 'RDar8481311' is never used}} diff --git a/clang/test/CXX/basic/basic.lookup/basic.lookup.elab/p2.cpp b/clang/test/CXX/basic/basic.lookup/basic.lookup.elab/p2.cpp index a908518f02ea..ca17ba50ac29 100644 --- a/clang/test/CXX/basic/basic.lookup/basic.lookup.elab/p2.cpp +++ b/clang/test/CXX/basic/basic.lookup/basic.lookup.elab/p2.cpp @@ -51,6 +51,7 @@ namespace test0 { } // This should magically be okay; see comment in SemaDecl.cpp. + // rdar://problem/7898108 typedef struct A A; int test() { struct A a; diff --git a/clang/test/CXX/basic/basic.lookup/basic.lookup.unqual/p14.cpp b/clang/test/CXX/basic/basic.lookup/basic.lookup.unqual/p14.cpp index 3c9e3c70334d..6fba97298981 100644 --- a/clang/test/CXX/basic/basic.lookup/basic.lookup.unqual/p14.cpp +++ b/clang/test/CXX/basic/basic.lookup/basic.lookup.unqual/p14.cpp @@ -18,6 +18,7 @@ int i = 2; N::S N::j = i; N::S N::j2(i); +// namespace M { class X { }; inline X operator-(int, X); @@ -47,6 +48,7 @@ void Other::foo(YFloat a, YFloat b) { YFloat c = a - b; } +// namespace Other { void other_foo(); } diff --git a/clang/test/CXX/class.access/class.access.base/p5.cpp b/clang/test/CXX/class.access/class.access.base/p5.cpp index c8ad6f17d5e6..acf230f2be92 100644 --- a/clang/test/CXX/class.access/class.access.base/p5.cpp +++ b/clang/test/CXX/class.access/class.access.base/p5.cpp @@ -72,7 +72,7 @@ namespace test3 { }; } -// Don't crash. +// Don't crash. // Note that 'field' is indeed a private member of X but that access // is indeed ultimately constrained by the protected inheritance from Y. // If someone wants to put the effort into improving this diagnostic, diff --git a/clang/test/CXX/class.access/class.friend/p11.cpp b/clang/test/CXX/class.access/class.friend/p11.cpp index 71f11bdf9e07..0deead19a0fb 100644 --- a/clang/test/CXX/class.access/class.friend/p11.cpp +++ b/clang/test/CXX/class.access/class.friend/p11.cpp @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -fsyntax-only -verify %s +// rdar://problem/8540720 namespace test0 { void foo() { void bar(); diff --git a/clang/test/CXX/class.access/class.protected/p1.cpp b/clang/test/CXX/class.access/class.protected/p1.cpp index 8c72387c6c21..6992c4e87d2b 100644 --- a/clang/test/CXX/class.access/class.protected/p1.cpp +++ b/clang/test/CXX/class.access/class.protected/p1.cpp @@ -380,7 +380,7 @@ namespace test10 { template class A; } -// class.protected friendship +// rdar://problem/8360285: class.protected friendship namespace test11 { class A { protected: diff --git a/clang/test/CXX/class.access/p4.cpp b/clang/test/CXX/class.access/p4.cpp index fef5b7aa8872..d92ea8ab4e4c 100644 --- a/clang/test/CXX/class.access/p4.cpp +++ b/clang/test/CXX/class.access/p4.cpp @@ -562,6 +562,7 @@ namespace test16 { // expected-error{{exception object of type 'A' has private destructor}} } +// rdar://problem/8146294 namespace test17 { class A { template class Inner { }; // expected-note {{declared private here}} diff --git a/clang/test/CXX/class.access/p6.cpp b/clang/test/CXX/class.access/p6.cpp index 510aaa208982..f9b95f0851ef 100644 --- a/clang/test/CXX/class.access/p6.cpp +++ b/clang/test/CXX/class.access/p6.cpp @@ -169,6 +169,7 @@ namespace test7 { } } +// rdar://problem/10155256 namespace test8 { class A { typedef void* (A::*UnspecifiedBoolType)() const; diff --git a/clang/test/CXX/class.derived/class.member.lookup/p8.cpp b/clang/test/CXX/class.derived/class.member.lookup/p8.cpp index 78e83c0ab456..4d4acc3460e4 100644 --- a/clang/test/CXX/class.derived/class.member.lookup/p8.cpp +++ b/clang/test/CXX/class.derived/class.member.lookup/p8.cpp @@ -3,6 +3,7 @@ // FIXME: Access control checks namespace PR5820 { + // also struct Base { void Foo(); int Member; diff --git a/clang/test/CXX/dcl.dcl/basic.namespace/namespace.def/namespace.memdef/p3.cpp b/clang/test/CXX/dcl.dcl/basic.namespace/namespace.def/namespace.memdef/p3.cpp index 7ed9a58b133d..11372dd48a10 100644 --- a/clang/test/CXX/dcl.dcl/basic.namespace/namespace.def/namespace.memdef/p3.cpp +++ b/clang/test/CXX/dcl.dcl/basic.namespace/namespace.def/namespace.memdef/p3.cpp @@ -69,6 +69,7 @@ namespace N3 { // Friends declared as template-ids aren't subject to the restriction // on innermost namespaces. +// rdar://problem/8552377 namespace test5 { template void f(T); namespace ns { @@ -91,6 +92,7 @@ namespace test5 { template void f(long); //expected-note {{instantiation}} } +// rdar://13393749 namespace test6 { class A; namespace ns { diff --git a/clang/test/CXX/dcl.dcl/basic.namespace/namespace.udir/p6.cpp b/clang/test/CXX/dcl.dcl/basic.namespace/namespace.udir/p6.cpp index 6879cbf63bac..2bcbe269e122 100644 --- a/clang/test/CXX/dcl.dcl/basic.namespace/namespace.udir/p6.cpp +++ b/clang/test/CXX/dcl.dcl/basic.namespace/namespace.udir/p6.cpp @@ -1,6 +1,7 @@ // RUN: %clang_cc1 -fsyntax-only -verify %s // expected-no-diagnostics +// typedef int pid_t; namespace ns { typedef int pid_t; diff --git a/clang/test/CXX/dcl.decl/dcl.init/p6.cpp b/clang/test/CXX/dcl.decl/dcl.init/p6.cpp index d9252412d87b..b646ba776a9c 100644 --- a/clang/test/CXX/dcl.decl/dcl.init/p6.cpp +++ b/clang/test/CXX/dcl.decl/dcl.init/p6.cpp @@ -15,6 +15,7 @@ void test_const_default_init() { const int x3; // expected-error{{default initialization of an object of const type 'const int'}} } +// rdar://8501008 struct s0 { int field; }; struct s1 { static const s0 foo; }; const struct s0 s1::foo; // expected-error{{default initialization of an object of const type 'const struct s0' without a user-provided default constructor}} diff --git a/clang/test/CXX/dcl.decl/dcl.meaning/dcl.array/p3.cpp b/clang/test/CXX/dcl.decl/dcl.meaning/dcl.array/p3.cpp index f2561a77c1be..199397254aba 100644 --- a/clang/test/CXX/dcl.decl/dcl.meaning/dcl.array/p3.cpp +++ b/clang/test/CXX/dcl.decl/dcl.meaning/dcl.array/p3.cpp @@ -4,6 +4,7 @@ // which the bound was specified, an omitted array bound is taken to be the // same as in that earlier declaration +// rdar://13535367 namespace test0 { extern "C" int array[]; void declare() { extern int array[100]; } diff --git a/clang/test/CXX/expr/expr.const/p3-0x-nowarn.cpp b/clang/test/CXX/expr/expr.const/p3-0x-nowarn.cpp index f163c397346b..7d12cedeacf0 100644 --- a/clang/test/CXX/expr/expr.const/p3-0x-nowarn.cpp +++ b/clang/test/CXX/expr/expr.const/p3-0x-nowarn.cpp @@ -1,6 +1,7 @@ // RUN: %clang_cc1 -fsyntax-only -std=c++11 -Wno-c++11-narrowing -verify %s // expected-no-diagnostics +// void f(int x) { switch (x) { case 0x80000001: break; diff --git a/clang/test/CXX/expr/expr.unary/expr.unary.op/p4.cpp b/clang/test/CXX/expr/expr.unary/expr.unary.op/p4.cpp index 537d676738be..48c47f74ac6c 100644 --- a/clang/test/CXX/expr/expr.unary/expr.unary.op/p4.cpp +++ b/clang/test/CXX/expr/expr.unary/expr.unary.op/p4.cpp @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -fsyntax-only -verify %s +// rdar://problem/8347416 namespace test0 { struct A { void foo(void (A::*)(int)); // expected-note {{passing argument to parameter here}} @@ -25,6 +26,7 @@ namespace test1 { }; } +// Also rdar://problem/8347416 namespace test2 { struct A { static int foo(short); diff --git a/clang/test/CXX/over/over.match/over.match.best/over.best.ics/over.ics.list/p6.cpp b/clang/test/CXX/over/over.match/over.match.best/over.best.ics/over.ics.list/p6.cpp index fec101ff2720..ea059cef7c80 100644 --- a/clang/test/CXX/over/over.match/over.match.best/over.best.ics/over.ics.list/p6.cpp +++ b/clang/test/CXX/over/over.match/over.match.best/over.best.ics/over.ics.list/p6.cpp @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s +// rdar://problem/11120365 namespace test0 { template struct A { static void foo(const T &t) {} diff --git a/clang/test/CXX/temp/temp.decls/temp.friend/p5.cpp b/clang/test/CXX/temp/temp.decls/temp.friend/p5.cpp index a292d0de97a3..c4f9d63b7c66 100644 --- a/clang/test/CXX/temp/temp.decls/temp.friend/p5.cpp +++ b/clang/test/CXX/temp/temp.decls/temp.friend/p5.cpp @@ -14,6 +14,7 @@ namespace test0 { B b; } +// rdar://problem/8204127 namespace test1 { template struct A; @@ -57,6 +58,7 @@ namespace test2 { }; } +// Tests 3, 4 and 5 were all noted in . namespace test3 { template struct A { struct Inner { diff --git a/clang/test/CXX/temp/temp.spec/temp.inst/p11.cpp b/clang/test/CXX/temp/temp.spec/temp.inst/p11.cpp index b568b60cbd3f..818407102cfd 100644 --- a/clang/test/CXX/temp/temp.spec/temp.inst/p11.cpp +++ b/clang/test/CXX/temp/temp.spec/temp.inst/p11.cpp @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -verify -emit-llvm-only %s +// rdar://problem/7838962 namespace test0 { template unsigned f0() { return T::MaxSize; // expected-error {{'int' cannot be used prior to '::'}} diff --git a/clang/test/CodeGen/2008-07-30-implicit-initialization.c b/clang/test/CodeGen/2008-07-30-implicit-initialization.c index a5e191418c33..be0d96549a3c 100644 --- a/clang/test/CodeGen/2008-07-30-implicit-initialization.c +++ b/clang/test/CodeGen/2008-07-30-implicit-initialization.c @@ -5,6 +5,7 @@ // CHECK: ret i32 0 // CHECK-LABEL: define{{.*}} i32 @f2() // CHECK: ret i32 0 +// struct s0 { int x, y; diff --git a/clang/test/CodeGen/2008-07-30-redef-of-bitcasted-decl.c b/clang/test/CodeGen/2008-07-30-redef-of-bitcasted-decl.c index 70f3aaf6abfc..9fd952b6b68f 100644 --- a/clang/test/CodeGen/2008-07-30-redef-of-bitcasted-decl.c +++ b/clang/test/CodeGen/2008-07-30-redef-of-bitcasted-decl.c @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -std=c89 -emit-llvm -o - %s +// /* For posterity, the issue here begins initial "char []" decl for * s. This is a tentative definition and so a global was being diff --git a/clang/test/CodeGen/2008-08-04-void-pointer-arithmetic.c b/clang/test/CodeGen/2008-08-04-void-pointer-arithmetic.c index ae57387a6e1f..dbfc107da5cc 100644 --- a/clang/test/CodeGen/2008-08-04-void-pointer-arithmetic.c +++ b/clang/test/CodeGen/2008-08-04-void-pointer-arithmetic.c @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -emit-llvm -o - %s +// int f0(void *a, void *b) { return a - b; diff --git a/clang/test/CodeGen/2009-01-05-BlockInlining.c b/clang/test/CodeGen/2009-01-05-BlockInlining.c index 8c1ddac31af7..b9b1a9ee5e6f 100644 --- a/clang/test/CodeGen/2009-01-05-BlockInlining.c +++ b/clang/test/CodeGen/2009-01-05-BlockInlining.c @@ -1,4 +1,5 @@ // RUN: %clang_cc1 %s -triple x86_64-linux -emit-llvm -fblocks -o - | FileCheck %s +// rdar://5865221 // These will be inlined by the optimizers provided the block descriptors // and block literals are internal constants. diff --git a/clang/test/CodeGen/2009-06-18-StaticInitTailPadPack.c b/clang/test/CodeGen/2009-06-18-StaticInitTailPadPack.c index 065f988b7d09..be103ec8e347 100644 --- a/clang/test/CodeGen/2009-06-18-StaticInitTailPadPack.c +++ b/clang/test/CodeGen/2009-06-18-StaticInitTailPadPack.c @@ -1,4 +1,5 @@ // RUN: %clang_cc1 %s -emit-llvm -o - +// rdar://6983634 typedef struct A *Foo; #pragma pack(push, 2) diff --git a/clang/test/CodeGen/2010-01-13-MemBarrier.c b/clang/test/CodeGen/2010-01-13-MemBarrier.c index 1c60bb7056c4..65f121ea8a69 100644 --- a/clang/test/CodeGen/2010-01-13-MemBarrier.c +++ b/clang/test/CodeGen/2010-01-13-MemBarrier.c @@ -1,4 +1,5 @@ // RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s +// rdar://7536390 typedef unsigned __INT32_TYPE__ uint32_t; diff --git a/clang/test/CodeGen/2010-02-15-DbgStaticVar.c b/clang/test/CodeGen/2010-02-15-DbgStaticVar.c index 07e5bb01b5fc..72bbeb963db2 100644 --- a/clang/test/CodeGen/2010-02-15-DbgStaticVar.c +++ b/clang/test/CodeGen/2010-02-15-DbgStaticVar.c @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -debug-info-kind=limited -emit-llvm %s -o - | FileCheck %s // Test to check intentionally empty linkage name for a static variable. +// Radar 7651244. static int foo(int a) { static int b = 1; diff --git a/clang/test/CodeGen/2010-05-26-AsmSideEffect.c b/clang/test/CodeGen/2010-05-26-AsmSideEffect.c index 37b72fe433b6..88d77da709b1 100644 --- a/clang/test/CodeGen/2010-05-26-AsmSideEffect.c +++ b/clang/test/CodeGen/2010-05-26-AsmSideEffect.c @@ -1,5 +1,6 @@ // REQUIRES: arm-registered-target // RUN: %clang_cc1 %s -emit-llvm -triple arm-apple-darwin -o - | FileCheck %s +// Radar 8026855 int test (void *src) { register int w0 asm ("0"); diff --git a/clang/test/CodeGen/2010-07-08-DeclDebugLineNo.c b/clang/test/CodeGen/2010-07-08-DeclDebugLineNo.c index 645403284b8b..9d7f1f0b8b6c 100644 --- a/clang/test/CodeGen/2010-07-08-DeclDebugLineNo.c +++ b/clang/test/CodeGen/2010-07-08-DeclDebugLineNo.c @@ -1,9 +1,10 @@ // RUN: %clang_cc1 -emit-llvm -debug-info-kind=limited %s -o - | FileCheck %s // Insure that dbg.declare lines for locals refer to correct line number records. +// Radar 8152866. void foo(void) { int l = 0; // line #4: CHECK: {{call.*llvm.dbg.declare.*%l.*\!dbg }}[[variable_l:![0-9]+]] int p = 0; // line #5: CHECK: {{call.*llvm.dbg.declare.*%p.*\!dbg }}[[variable_p:![0-9]+]] } // Now match the line number records: -// CHECK: {{^}}[[variable_l]] = !DILocation(line: 4, -// CHECK: {{^}}[[variable_p]] = !DILocation(line: 5, +// CHECK: {{^}}[[variable_l]] = !DILocation(line: 5, +// CHECK: {{^}}[[variable_p]] = !DILocation(line: 6, diff --git a/clang/test/CodeGen/2010-08-12-asm-aggr-arg.c b/clang/test/CodeGen/2010-08-12-asm-aggr-arg.c index 8753bf193db7..dcd507d81953 100644 --- a/clang/test/CodeGen/2010-08-12-asm-aggr-arg.c +++ b/clang/test/CodeGen/2010-08-12-asm-aggr-arg.c @@ -1,7 +1,7 @@ // RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s -// A small aggregate can be passed as an integer. Make sure we don't get an -// error with "input constraint with a matching output constraint of -// incompatible type!" +// Radar 8288710: A small aggregate can be passed as an integer. Make sure +// we don't get an error with "input constraint with a matching output +// constraint of incompatible type!" struct wrapper { int i; diff --git a/clang/test/CodeGen/X86/x86_32-arguments-darwin.c b/clang/test/CodeGen/X86/x86_32-arguments-darwin.c index 69d1156acf7e..ae385c4121de 100644 --- a/clang/test/CodeGen/X86/x86_32-arguments-darwin.c +++ b/clang/test/CodeGen/X86/x86_32-arguments-darwin.c @@ -158,6 +158,7 @@ typedef int v39 __attribute((vector_size(16))); struct s39 { v39 x; }; void f39(struct s39 x) {} +// // CHECK-LABEL: define{{.*}} i32 @f40() enum e40 { ec0 = 0 }; enum e40 f40(void) { } @@ -216,6 +217,7 @@ void f53(struct s53 x) {} typedef unsigned short v2i16 __attribute__((__vector_size__(4))); // CHECK-LABEL: define{{.*}} i32 @f54(i32 noundef %arg.coerce) +// rdar://8359483 v2i16 f54(v2i16 arg) { return arg+arg; } @@ -244,8 +246,9 @@ v4i32 f55(v4i32 arg) { return arg+arg; } // CHECK: <4 x double> noundef {{[^ ]*}}, ptr noundef byval(%struct.s56_6) align 4 %{{[^ ]*}}) // CHECK: } // -// [i386] clang misaligns long double in structures when passed byval -// clang misaligns parameters on stack +// [i386] clang misaligns long double in structures +// when passed byval +// clang misaligns parameters on stack typedef int __attribute__((vector_size (8))) t56_v2i; typedef double __attribute__((vector_size (8))) t56_v1d; typedef int __attribute__((vector_size (16))) t56_v4i; diff --git a/clang/test/CodeGen/X86/x86_32-arguments-linux.c b/clang/test/CodeGen/X86/x86_32-arguments-linux.c index 6da292b6b700..61f2edad90b0 100644 --- a/clang/test/CodeGen/X86/x86_32-arguments-linux.c +++ b/clang/test/CodeGen/X86/x86_32-arguments-linux.c @@ -20,8 +20,9 @@ // CHECK: <4 x double> noundef %{{[^ ]*}}, ptr noundef byval(%struct.s56_6) align 4 %{{[^ ]*}}) // CHECK: } // -// [i386] clang misaligns long double in structures when passed byval -// clang misaligns parameters on stack +// [i386] clang misaligns long double in structures +// when passed byval +// clang misaligns parameters on stack typedef int __attribute__((vector_size (8))) t56_v2i; typedef double __attribute__((vector_size (8))) t56_v1d; typedef int __attribute__((vector_size (16))) t56_v4i; diff --git a/clang/test/CodeGen/X86/x86_32-inline-asm.c b/clang/test/CodeGen/X86/x86_32-inline-asm.c index 4d96b04205c0..feacc64299f2 100644 --- a/clang/test/CodeGen/X86/x86_32-inline-asm.c +++ b/clang/test/CodeGen/X86/x86_32-inline-asm.c @@ -1,6 +1,10 @@ // RUN: %clang_cc1 -triple i386-apple-darwin9 -verify %s // RUN: %clang_cc1 -triple i386-apple-darwin9 -target-feature +avx -verify %s +// +// rdar://problem/11846140 +// rdar://problem/17476970 + typedef unsigned int u_int32_t; typedef u_int32_t uint32_t; diff --git a/clang/test/CodeGen/X86/x86_64-arguments-darwin.c b/clang/test/CodeGen/X86/x86_64-arguments-darwin.c index f89ec74742b8..fcf74778e807 100644 --- a/clang/test/CodeGen/X86/x86_64-arguments-darwin.c +++ b/clang/test/CodeGen/X86/x86_64-arguments-darwin.c @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -triple x86_64-apple-darwin -emit-llvm -o - %s| FileCheck %s +// rdar://9122143 // CHECK: declare void @func(i64, double) typedef struct _str { union { diff --git a/clang/test/CodeGen/X86/x86_64-arguments.c b/clang/test/CodeGen/X86/x86_64-arguments.c index b2c4283b5e6f..fe31bfa9e778 100644 --- a/clang/test/CodeGen/X86/x86_64-arguments.c +++ b/clang/test/CodeGen/X86/x86_64-arguments.c @@ -97,6 +97,7 @@ void f17(float a, float b, float c, float d, float e, float f, float g, float h, // Check for valid coercion. The struct should be passed/returned as i32, not // as i64 for better code quality. +// rdar://8135035 // CHECK-LABEL: define{{.*}} void @f18(i32 noundef %a, i32 %f18_arg1.coerce) struct f18_s0 { int f0; }; void f18(int a, struct f18_s0 f18_arg1) { while (1) {} } @@ -121,6 +122,7 @@ struct StringRef { const char *Ptr; }; +// rdar://7375902 // CHECK-LABEL: define{{.*}} ptr @f21(i64 %S.coerce0, ptr %S.coerce1) const char *f21(struct StringRef S) { return S.x+S.Ptr; } @@ -153,6 +155,7 @@ struct f23S f24(struct f23S *X, struct f24s *P2) { // CHECK: define{{.*}} { i64, i32 } @f24(ptr noundef %X, ptr noundef %P2) } +// rdar://8248065 typedef float v4f32 __attribute__((__vector_size__(16))); v4f32 f25(v4f32 X) { // CHECK-LABEL: define{{.*}} <4 x float> @f25(<4 x float> noundef %X) @@ -207,6 +210,7 @@ struct v8f32wrapper_wrapper f27b(struct v8f32wrapper_wrapper X) { return X; } +// rdar://5711709 struct f28c { double x; int y; @@ -226,12 +230,14 @@ void f29a(struct f29a A) { // CHECK-LABEL: define{{.*}} void @f29a(double %A.coerce0, i32 %A.coerce1) } +// rdar://8249586 struct S0 { char f0[8]; char f2; char f3; char f4; }; void f30(struct S0 p_4) { // CHECK-LABEL: define{{.*}} void @f30(i64 %p_4.coerce0, i24 %p_4.coerce1) } // Pass the third element as a float when followed by tail padding. +// rdar://8251384 struct f31foo { float a, b, c; }; float f31(struct f31foo X) { // CHECK-LABEL: define{{.*}} float @f31(<2 x float> %X.coerce0, float %X.coerce1) @@ -239,10 +245,13 @@ float f31(struct f31foo X) { } _Complex float f32(_Complex float A, _Complex float B) { + // rdar://6379669 // CHECK-LABEL: define{{.*}} <2 x float> @f32(<2 x float> noundef %A.coerce, <2 x float> noundef %B.coerce) return A+B; } + +// rdar://8357396 struct f33s { long x; float c,d; }; void f33(va_list X) { @@ -251,13 +260,17 @@ void f33(va_list X) { typedef unsigned long long v1i64 __attribute__((__vector_size__(8))); +// rdar://8359248 // CHECK-LABEL: define{{.*}} double @f34(double noundef %arg.coerce) v1i64 f34(v1i64 arg) { return arg; } + +// rdar://8358475 // CHECK-LABEL: define{{.*}} double @f35(double noundef %arg.coerce) typedef unsigned long v1i64_2 __attribute__((__vector_size__(8))); v1i64_2 f35(v1i64_2 arg) { return arg+arg; } +// rdar://9122143 // CHECK: declare void @func(ptr noundef byval(%struct._str) align 16) typedef struct _str { union { @@ -367,6 +380,7 @@ struct s47 { unsigned a; }; void f47(int,int,int,int,int,int,struct s47); void test47(int a, struct s47 b) { f47(a, a, a, a, a, a, b); } +// rdar://12723368 // In the following example, there are holes in T4 at the 3rd byte and the 4th // byte, however, T2 does not have those holes. T4 is chosen to be the // representing type for union T1, but we can't use load or store of T4 since diff --git a/clang/test/CodeGen/alignment.c b/clang/test/CodeGen/alignment.c index b70297a38989..218d5f8c10ee 100644 --- a/clang/test/CodeGen/alignment.c +++ b/clang/test/CodeGen/alignment.c @@ -52,7 +52,7 @@ void test3(packedfloat3 *p) { typedef float __attribute__((vector_size(16), aligned(64))) float4align64; -// Typedef alignment lost in p[]-style dereferencing +// rdar://10639962 - Typedef alignment lost in p[]-style dereferencing void test4(float4align64 *p) { p[0] = (float4align64){ 3.2f, 2.3f, 0.1f, 0.0f }; } diff --git a/clang/test/CodeGen/arm-apcs-zerolength-bitfield.c b/clang/test/CodeGen/arm-apcs-zerolength-bitfield.c index 9bdda53f666b..763db65063fc 100644 --- a/clang/test/CodeGen/arm-apcs-zerolength-bitfield.c +++ b/clang/test/CodeGen/arm-apcs-zerolength-bitfield.c @@ -4,6 +4,7 @@ // // Note: gcc forces the alignment to 4 bytes, regardless of the type of the // zero length bitfield. +// rdar://9859156 #include diff --git a/clang/test/CodeGen/arm-arguments.c b/clang/test/CodeGen/arm-arguments.c index 17e4d3abd976..d21e18abe6d6 100644 --- a/clang/test/CodeGen/arm-arguments.c +++ b/clang/test/CodeGen/arm-arguments.c @@ -187,6 +187,7 @@ void g34(struct s34 *s) { f34(*s); } // AAPCS: %[[a:.*]] = alloca [1 x i32] // AAPCS: load [1 x i32], ptr %[[a]] +// rdar://12596507 struct s35 { float v[18]; //make sure byval is on. diff --git a/clang/test/CodeGen/arm-asm-diag.c b/clang/test/CodeGen/arm-asm-diag.c index 588e47558dde..944a271e6cba 100644 --- a/clang/test/CodeGen/arm-asm-diag.c +++ b/clang/test/CodeGen/arm-asm-diag.c @@ -1,6 +1,7 @@ // REQUIRES: arm-registered-target // RUN: not %clang_cc1 -triple armv7 -target-feature +neon %s -S -o /dev/null 2>&1 | FileCheck %s +// rdar://13446483 typedef __attribute__((neon_vector_type(2))) long long int64x2_t; typedef struct int64x2x4_t { int64x2_t val[4]; diff --git a/clang/test/CodeGen/arm-asm-warn.c b/clang/test/CodeGen/arm-asm-warn.c index 4c93ee2c305d..a580700661e4 100644 --- a/clang/test/CodeGen/arm-asm-warn.c +++ b/clang/test/CodeGen/arm-asm-warn.c @@ -15,6 +15,7 @@ void t1(int x, char y) { __asm__ volatile("ldrb %0, [%1]" : "=r" (y) : "r" (x)); // no warning } +// typedef __attribute__((neon_vector_type(2))) long long int64x2_t; typedef struct int64x2x4_t { int64x2_t val[4]; diff --git a/clang/test/CodeGen/arm-neon-misc.c b/clang/test/CodeGen/arm-neon-misc.c index 8eb6d6cc43df..f12655fc0611 100644 --- a/clang/test/CodeGen/arm-neon-misc.c +++ b/clang/test/CodeGen/arm-neon-misc.c @@ -9,8 +9,8 @@ #include -// Avoid using i64 types for vld1q_lane and vst1q_lane Neon intrinsics with -// <2 x i64> vectors to avoid poor code for i64 in the backend. +// Radar 11998303: Avoid using i64 types for vld1q_lane and vst1q_lane Neon +// intrinsics with <2 x i64> vectors to avoid poor code for i64 in the backend. void t1(uint64_t *src, uint8_t *dst) { // CHECK: @t1 uint64x2_t q = vld1q_u64(src); diff --git a/clang/test/CodeGen/arm-vector-align.c b/clang/test/CodeGen/arm-vector-align.c index f79f6b9a8b14..be175517155b 100644 --- a/clang/test/CodeGen/arm-vector-align.c +++ b/clang/test/CodeGen/arm-vector-align.c @@ -9,7 +9,8 @@ #include -// Check that alignment specifier is used in Neon load/store intrinsics. +// Radar 9311427: Check that alignment specifier is used in Neon load/store +// intrinsics. typedef float AlignedAddr __attribute__ ((aligned (16))); void t1(AlignedAddr *addr1, AlignedAddr *addr2) { // CHECK: @t1 @@ -19,7 +20,7 @@ void t1(AlignedAddr *addr1, AlignedAddr *addr2) { vst1q_f32(addr2, a); } -// Make sure unaligned load/stores do not gain alignment. +// Radar 10538555: Make sure unaligned load/stores do not gain alignment. void t2(char *addr) { // CHECK: @t2 // CHECK: load i32, ptr %{{.*}}, align 1 diff --git a/clang/test/CodeGen/arm64-arguments.c b/clang/test/CodeGen/arm64-arguments.c index caa71ced0a8a..8bc48795c690 100644 --- a/clang/test/CodeGen/arm64-arguments.c +++ b/clang/test/CodeGen/arm64-arguments.c @@ -296,6 +296,7 @@ int32x4_t caller37() { return f37(3, g37, g37); } +// rdar://problem/12648441 // Test passing structs with size < 8, < 16 and > 16 // with alignment of 16 and without @@ -622,6 +623,7 @@ int caller43_stack() { return f43_stack(1, 2, 3, 4, 5, 6, 7, 8, 9, g43, g43_2); } +// rdar://13668927 // We should not split argument s1 between registers and stack. __attribute__ ((noinline)) int f40_split(int i, int i2, int i3, int i4, int i5, int i6, int i7, diff --git a/clang/test/CodeGen/arm64_vdupq_n_f64.c b/clang/test/CodeGen/arm64_vdupq_n_f64.c index 8618b255cbcd..28169c3bc7f9 100644 --- a/clang/test/CodeGen/arm64_vdupq_n_f64.c +++ b/clang/test/CodeGen/arm64_vdupq_n_f64.c @@ -27,6 +27,8 @@ float32x4_t test_vdupq_n_f32(float32_t w) { } // vdupq_lane_f64 -> dup.2d v0, v0[0] +// this was in , but had already been implemented, +// test anyway // CHECK-LABEL: define{{.*}} <2 x double> @test_vdupq_lane_f64(<1 x double> noundef %V) #0 { // CHECK: [[TMP0:%.*]] = bitcast <1 x double> %V to <8 x i8> // CHECK: [[TMP1:%.*]] = bitcast <8 x i8> [[TMP0]] to <1 x double> @@ -37,6 +39,7 @@ float64x2_t test_vdupq_lane_f64(float64x1_t V) { } // vmovq_n_f64 -> dup Vd.2d,X0 +// this wasn't in , but it was between the vdups // CHECK-LABEL: define{{.*}} <2 x double> @test_vmovq_n_f64(double noundef %w) #0 { // CHECK: [[VECINIT_I:%.*]] = insertelement <2 x double> undef, double %w, i32 0 // CHECK: [[VECINIT1_I:%.*]] = insertelement <2 x double> [[VECINIT_I]], double %w, i32 1 diff --git a/clang/test/CodeGen/asm-inout.c b/clang/test/CodeGen/asm-inout.c index 1383a421efbc..4c742dff0a2b 100644 --- a/clang/test/CodeGen/asm-inout.c +++ b/clang/test/CodeGen/asm-inout.c @@ -38,7 +38,7 @@ int test4(volatile int *addr) { return (int)oldval; } -// This should have both inputs be of type x86_mmx. +// - This should have both inputs be of type x86_mmx. // CHECK: @test5 typedef long long __m64 __attribute__((__vector_size__(8))); __m64 test5(__m64 __A, __m64 __B) { diff --git a/clang/test/CodeGen/asm.c b/clang/test/CodeGen/asm.c index 10102cc2c4db..741b8b175103 100644 --- a/clang/test/CodeGen/asm.c +++ b/clang/test/CodeGen/asm.c @@ -128,6 +128,7 @@ void t17(void) { // CHECK: call void asm "nop", "=*m, } +// int t18(unsigned data) { int a, b; @@ -170,7 +171,7 @@ float t21(long double x) { // CHECK-NEXT: fptrunc x86_fp80 {{.*}} to float } -// accept 'l' constraint +// - accept 'l' constraint unsigned char t22(unsigned char a, unsigned char b) { unsigned int la = a; unsigned int lb = b; @@ -182,7 +183,7 @@ unsigned char t22(unsigned char a, unsigned char b) { return res; } -// accept 'l' constraint +// - accept 'l' constraint unsigned char t23(unsigned char a, unsigned char b) { unsigned int la = a; unsigned int lb = b; @@ -214,7 +215,7 @@ void t25(void) ); } -// AVX registers +// rdar://10510405 - AVX registers typedef long long __m256i __attribute__((__vector_size__(32))); void t26 (__m256i *p) { __asm__ volatile("vmovaps %0, %%ymm0" :: "m" (*(__m256i*)p) : "ymm0"); diff --git a/clang/test/CodeGen/asm_arm64.c b/clang/test/CodeGen/asm_arm64.c index 4834eea85f67..d48b32f15527 100644 --- a/clang/test/CodeGen/asm_arm64.c +++ b/clang/test/CodeGen/asm_arm64.c @@ -1,5 +1,7 @@ // RUN: %clang_cc1 -triple arm64-apple-ios -emit-llvm -o - %s | FileCheck %s +// rdar://9167275 + int t1(void) { int x; @@ -21,16 +23,21 @@ long t3(void) return x; } +// rdar://9281206 + void t4(long op) { long x1; asm ("mov x0, %1; svc #0;" : "=r"(x1) :"r"(op),"r"(x1) :"x0" ); } +// rdar://9394290 + float t5(float x) { __asm__("fadd %0, %0, %0" : "+w" (x)); return x; } +// rdar://9865712 void t6 (void *f, int g) { // CHECK: t6 // CHECK: call void asm "str $1, $0", "=*Q,r" diff --git a/clang/test/CodeGen/atomic-arm64.c b/clang/test/CodeGen/atomic-arm64.c index d2a30a3b6e66..ab01f72d80f2 100644 --- a/clang/test/CodeGen/atomic-arm64.c +++ b/clang/test/CodeGen/atomic-arm64.c @@ -13,6 +13,8 @@ enum { typedef struct { void *a, *b; } pointer_pair_t; typedef struct { void *a, *b, *c, *d; } pointer_quad_t; +// rdar://13489679 + extern _Atomic(_Bool) a_bool; extern _Atomic(float) a_float; extern _Atomic(void*) a_pointer; diff --git a/clang/test/CodeGen/atomic.c b/clang/test/CodeGen/atomic.c index 9143bedab906..242ec41ae172 100644 --- a/clang/test/CodeGen/atomic.c +++ b/clang/test/CodeGen/atomic.c @@ -112,7 +112,7 @@ void release_return(int *lock) { } -// Atomics with address spaces. +// rdar://8461279 - Atomics with address spaces. // CHECK: @addrspace void addrspace(int __attribute__((address_space(256))) * P) { __sync_bool_compare_and_swap(P, 0, 1); diff --git a/clang/test/CodeGen/attr-cleanup.c b/clang/test/CodeGen/attr-cleanup.c index 755ede86c138..b80e5d310357 100644 --- a/clang/test/CodeGen/attr-cleanup.c +++ b/clang/test/CodeGen/attr-cleanup.c @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -emit-llvm %s -o %t +// void f(void* arg); void g(void) { __attribute__((cleanup(f))) void *g; diff --git a/clang/test/CodeGen/attr-weak-import.c b/clang/test/CodeGen/attr-weak-import.c index 96a606fa591e..f02d09e81509 100644 --- a/clang/test/CodeGen/attr-weak-import.c +++ b/clang/test/CodeGen/attr-weak-import.c @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -triple x86_64-darwin-apple -emit-llvm -o - %s | FileCheck %s +// rdar://9538608 extern int A __attribute__((weak_import)); int A; diff --git a/clang/test/CodeGen/bitfield-2.c b/clang/test/CodeGen/bitfield-2.c index 3e0b30c7a17d..7ca607d883f5 100644 --- a/clang/test/CodeGen/bitfield-2.c +++ b/clang/test/CodeGen/bitfield-2.c @@ -325,6 +325,9 @@ unsigned test_8(void) { /***/ // This is another case where we narrow the access width immediately. +// +// + struct __attribute__((packed)) s9 { unsigned f0 : 7; unsigned f1 : 7; diff --git a/clang/test/CodeGen/block-3.c b/clang/test/CodeGen/block-3.c index e895a7da1c4b..096cf28155d1 100644 --- a/clang/test/CodeGen/block-3.c +++ b/clang/test/CodeGen/block-3.c @@ -1,4 +1,5 @@ // RUN: %clang_cc1 %s -emit-llvm -o - -fblocks -triple x86_64-apple-darwin10 +// rdar://10001085 int main(void) { ^{ @@ -7,6 +8,7 @@ int main(void) { } // PR13229 +// rdar://11777609 typedef struct {} Z; typedef int (^B)(Z); diff --git a/clang/test/CodeGen/block-byref-aggr.c b/clang/test/CodeGen/block-byref-aggr.c index c3393dbea6b9..15e81552d1f4 100644 --- a/clang/test/CodeGen/block-byref-aggr.c +++ b/clang/test/CodeGen/block-byref-aggr.c @@ -6,7 +6,7 @@ Agg makeAgg(void); // When assigning into a __block variable, ensure that we compute that // address *after* evaluating the RHS when the RHS has the capacity to -// cause a block copy. +// cause a block copy. rdar://9309454 void test0(void) { __block Agg a = {100}; ^{ (void)a; }; @@ -31,6 +31,7 @@ void test0(void) { // When chaining assignments into __block variables, make sure we // propagate the actual value into the outer variable. +// rdar://11757470 void test1(void) { __block Agg a, b; ^{ (void)a; (void)b; }; diff --git a/clang/test/CodeGen/block-with-predefinedexpr.c b/clang/test/CodeGen/block-with-predefinedexpr.c index 5f2a285307a7..fb5677152974 100644 --- a/clang/test/CodeGen/block-with-predefinedexpr.c +++ b/clang/test/CodeGen/block-with-predefinedexpr.c @@ -1,4 +1,5 @@ // RUN: %clang_cc1 %s -emit-llvm -o - -fblocks -triple x86_64-apple-darwin10 | FileCheck %s +// rdar://18961148 void syslog(const char *, ...); diff --git a/clang/test/CodeGen/blocks.c b/clang/test/CodeGen/blocks.c index 469cf7cb89a2..f6a36c8b7bef 100644 --- a/clang/test/CodeGen/blocks.c +++ b/clang/test/CodeGen/blocks.c @@ -5,6 +5,7 @@ void (^f)(void) = ^{}; +// rdar://6768379 int f0(int (^a0)()) { return a0(1, 2, 3); } @@ -20,7 +21,7 @@ struct s0 f2(struct s0 a0) { return ^(struct s0 a1){ return a1; }(a0); } -// This should not crash. +// This should not crash: rdar://6808051 void *P = ^{ void *Q = __func__; }; @@ -59,12 +60,14 @@ ftype ^test2 = ^ftype { return 0; }; +// rdar://problem/8605032 void f3_helper(void (^)(void)); void f3(void) { _Bool b = 0; f3_helper(^{ if (b) {} }); } +// rdar://problem/11322251 // The bool can fill in between the header and the long long. // Add the appropriate amount of padding between them. void f4_helper(long long (^)(void)); @@ -76,6 +79,7 @@ void f4(void) { f4_helper(^{ if (b) return ll; return 0LL; }); } +// rdar://problem/11354538 // The alignment after rounding up to the align of F5 is actually // greater than the required alignment. Don't assert. struct F5 { @@ -89,6 +93,7 @@ void f5(void) { f5_helper(^(struct F5 *slot) { *slot = value; }); } +// rdar://14085217 void (^b)() = ^{}; int main(void) { (b?: ^{})(); diff --git a/clang/test/CodeGen/blocksignature.c b/clang/test/CodeGen/blocksignature.c index fb7fd0eeee09..bae3807b6c26 100644 --- a/clang/test/CodeGen/blocksignature.c +++ b/clang/test/CodeGen/blocksignature.c @@ -13,6 +13,9 @@ // X32: @__block_descriptor_tmp{{.*}} = internal constant [[FULL_DESCRIPTOR_T]] { i32 0, i32 24, ptr [[STR2]], ptr null } // X32: store i32 1073741824, ptr +// rdar://7635294 + + int globalInt; void (^global)(void) = ^{ ++globalInt; }; diff --git a/clang/test/CodeGen/blockstret.c b/clang/test/CodeGen/blockstret.c index 508dde43eb7f..6ad18cabb296 100644 --- a/clang/test/CodeGen/blockstret.c +++ b/clang/test/CodeGen/blockstret.c @@ -8,9 +8,13 @@ // X32: @_NSConcreteGlobalBlock, i32 1879048192, i32 0, // X32: store i32 1610612736, ptr %want +// rdar://7677537 + // ARM64: @_NSConcreteGlobalBlock, i32 1342177280, i32 0, // ARM64: store i32 1610612736, ptr %want +// rdar://9757126 + int printf(const char *, ...); void *malloc(__SIZE_TYPE__ size); diff --git a/clang/test/CodeGen/builtin-attributes.c b/clang/test/CodeGen/builtin-attributes.c index e5b0faccfd23..ec184e3a7b04 100644 --- a/clang/test/CodeGen/builtin-attributes.c +++ b/clang/test/CodeGen/builtin-attributes.c @@ -25,6 +25,7 @@ char* f2(char* a, char* b) { } // frexp is NOT readnone. It writes to its pointer argument. +// // // CHECK: f3 // CHECK: call double @frexp(double noundef % diff --git a/clang/test/CodeGen/builtin-expect.c b/clang/test/CodeGen/builtin-expect.c index df34e873e208..1e7fe9aa8839 100644 --- a/clang/test/CodeGen/builtin-expect.c +++ b/clang/test/CodeGen/builtin-expect.c @@ -44,6 +44,7 @@ void expect_value_side_effects(void) { // Make sure that issigprocmask() is called before bar()? // There's no compare, so there's nothing to expect? +// rdar://9330105 void isigprocmask(void); long bar(void); diff --git a/clang/test/CodeGen/builtin-memfns.c b/clang/test/CodeGen/builtin-memfns.c index 23c3c60b779b..a9f62faff22a 100644 --- a/clang/test/CodeGen/builtin-memfns.c +++ b/clang/test/CodeGen/builtin-memfns.c @@ -23,6 +23,8 @@ int test1(int argc, char **argv) { return 0; } +// rdar://9289468 + // CHECK: @test2 // CHECK: call void @llvm.memcpy.p0.p0.i32 char* test2(char* a, char* b) { @@ -68,6 +70,7 @@ int test7(int *p) { // CHECK: call void @llvm.memset{{.*}} align 1{{.*}}256, i1 false) } +// // Make sure we don't over-estimate the alignment of fields of // packed structs. struct PS { diff --git a/clang/test/CodeGen/builtins-overflow.c b/clang/test/CodeGen/builtins-overflow.c index 4babc05759dc..3d1e9f060d90 100644 --- a/clang/test/CodeGen/builtins-overflow.c +++ b/clang/test/CodeGen/builtins-overflow.c @@ -1,4 +1,5 @@ // Test CodeGen for Security Check Overflow Builtins. +// rdar://13421498 // RUN: %clang_cc1 -triple "i686-unknown-unknown" -emit-llvm -x c %s -o - | FileCheck -DLONG_TYPE=i32 -DLONG_MAX=2147483647 %s // RUN: %clang_cc1 -triple "x86_64-unknown-unknown" -emit-llvm -x c %s -o - | FileCheck -DLONG_TYPE=i64 -DLONG_MAX=9223372036854775807 %s diff --git a/clang/test/CodeGen/byval-memcpy-elim.c b/clang/test/CodeGen/byval-memcpy-elim.c index 3f06e3ba7f19..4fae6d79a0f7 100644 --- a/clang/test/CodeGen/byval-memcpy-elim.c +++ b/clang/test/CodeGen/byval-memcpy-elim.c @@ -21,6 +21,7 @@ void test1(struct Test1S *A, struct Test2S *B) { // The above gets tricker when the byval argument requires higher alignment // than the natural alignment of the type in question. +// rdar://9483886 // Make sure we do generate a memcpy when we cannot guarantee alignment. struct Test3S { diff --git a/clang/test/CodeGen/c11atomics-ios.c b/clang/test/CodeGen/c11atomics-ios.c index af489811edc5..7ad92fbb2cec 100644 --- a/clang/test/CodeGen/c11atomics-ios.c +++ b/clang/test/CodeGen/c11atomics-ios.c @@ -4,6 +4,8 @@ // only deploy on processors with native atomics support, so it's a good // way to test those code-paths. +// This work was done in pursuit of . + // CHECK-LABEL: define{{.*}} void @testFloat(ptr void testFloat(_Atomic(float) *fp) { // CHECK: [[FP:%.*]] = alloca ptr diff --git a/clang/test/CodeGen/capture-complex-expr-in-block.c b/clang/test/CodeGen/capture-complex-expr-in-block.c index 431740b8457b..1bc7730011b9 100644 --- a/clang/test/CodeGen/capture-complex-expr-in-block.c +++ b/clang/test/CodeGen/capture-complex-expr-in-block.c @@ -1,4 +1,5 @@ // RUN: %clang_cc1 %s -emit-llvm -o - -fblocks -triple x86_64-apple-darwin10 | FileCheck %s +// rdar://10033986 typedef void (^BLOCK)(void); int main (void) diff --git a/clang/test/CodeGen/cfstring.c b/clang/test/CodeGen/cfstring.c index 4a84d00d23bd..f7c90f77b062 100644 --- a/clang/test/CodeGen/cfstring.c +++ b/clang/test/CodeGen/cfstring.c @@ -2,8 +2,8 @@ // RUN: %clang_cc1 -triple x86_64-macho -emit-llvm %s -o %t -// Check that the backing store of CFStrings are constant with the -// -fwritable-strings flag. +// : Check that the backing store of CFStrings are +// constant with the -fwritable-strings flag. // // RUN: %clang_cc1 -triple x86_64-macho -fwritable-strings -emit-llvm %s -o - | FileCheck %s // @@ -17,6 +17,7 @@ void f(void) { CFSTR("Hello, World!"); } +// rdar://6248329 void *G = CFSTR("yo joe"); void h(void) { diff --git a/clang/test/CodeGen/cfstring2.c b/clang/test/CodeGen/cfstring2.c index 7ff57e14407f..da6190539e9e 100644 --- a/clang/test/CodeGen/cfstring2.c +++ b/clang/test/CodeGen/cfstring2.c @@ -9,5 +9,6 @@ void f(void) { CFSTR("Hello, World!"); } +// rdar://6151192 void *G = CFSTR("yo joe"); diff --git a/clang/test/CodeGen/complex-builtins-3.c b/clang/test/CodeGen/complex-builtins-3.c index 039a1141fe79..131c160b6ce7 100644 --- a/clang/test/CodeGen/complex-builtins-3.c +++ b/clang/test/CodeGen/complex-builtins-3.c @@ -1,4 +1,5 @@ // RUN: %clang_cc1 %s -O1 -emit-llvm -o - | FileCheck %s +// rdar://8315199 /* Test for builtin conj, creal, cimag. */ /* Origin: Joseph Myers */ diff --git a/clang/test/CodeGen/complex.c b/clang/test/CodeGen/complex.c index 6233529a18f8..ace60ed0a6b6 100644 --- a/clang/test/CodeGen/complex.c +++ b/clang/test/CodeGen/complex.c @@ -87,6 +87,7 @@ void t6(void) { --ci1; } +// double t7(double _Complex c) { return __builtin_fabs(__real__(c)); } diff --git a/clang/test/CodeGen/conditional-gnu-ext.c b/clang/test/CodeGen/conditional-gnu-ext.c index 8fb364449155..55141014ebce 100644 --- a/clang/test/CodeGen/conditional-gnu-ext.c +++ b/clang/test/CodeGen/conditional-gnu-ext.c @@ -5,10 +5,12 @@ int foo(int x, short y) { return x ?: y; } +// rdar://6586493 float test(float x, int Y) { return Y != 0 ? : x; } +// rdar://8446940 extern void abort(void); void test1 (void) { char x[1]; @@ -18,6 +20,7 @@ void test1 (void) { abort(); } +// rdar://8453812 _Complex int getComplex(_Complex int val) { static int count; if (count++) diff --git a/clang/test/CodeGen/conditional.c b/clang/test/CodeGen/conditional.c index 70c87848b6c1..464341250edf 100644 --- a/clang/test/CodeGen/conditional.c +++ b/clang/test/CodeGen/conditional.c @@ -55,6 +55,7 @@ int test10(int c) { } enum { Gronk = 5 }; +// rdar://9289603 // CHECK: @test11 // CHECK: select i1 {{.*}}, i32 4, i32 5 int test11(int c) { diff --git a/clang/test/CodeGen/debug-info-block-decl.c b/clang/test/CodeGen/debug-info-block-decl.c index 8db13c377ede..d94c2e6338c2 100644 --- a/clang/test/CodeGen/debug-info-block-decl.c +++ b/clang/test/CodeGen/debug-info-block-decl.c @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -debug-info-kind=limited -fblocks -emit-llvm -o - %s | FileCheck %s // Assignment and block entry should point to the same line. +// rdar://problem/14039866 // CHECK: define{{.*}}@main() // CHECK: store {{.*}}, !dbg ![[ASSIGNMENT:[0-9]+]] diff --git a/clang/test/CodeGen/debug-info-crash.c b/clang/test/CodeGen/debug-info-crash.c index 08db3d7aefed..80fe881e97f0 100644 --- a/clang/test/CodeGen/debug-info-crash.c +++ b/clang/test/CodeGen/debug-info-crash.c @@ -1,6 +1,7 @@ // REQUIRES: x86-registered-target // RUN: %clang_cc1 -std=c89 -triple i386-apple-darwin10 -fblocks -debug-info-kind=limited -S %s -o - +// rdar://7590323 typedef struct dispatch_queue_s *dispatch_queue_t; __attribute__((visibility("default"))) extern struct dispatch_queue_s _dispatch_main_q; diff --git a/clang/test/CodeGen/debug-info-file-change.c b/clang/test/CodeGen/debug-info-file-change.c index 94e3c9d7e3c0..9a80f4d49caf 100644 --- a/clang/test/CodeGen/debug-info-file-change.c +++ b/clang/test/CodeGen/debug-info-file-change.c @@ -1,5 +1,6 @@ // RUN: %clang -emit-llvm -S -g %s -o - | FileCheck %s +// Radar 8396182 // There are no lexical blocks, but we need two DILexicalBlockFiles to // correctly represent file info. diff --git a/clang/test/CodeGen/debug-info-line2.c b/clang/test/CodeGen/debug-info-line2.c index 085fd97bfabb..e2328c5aa9a4 100644 --- a/clang/test/CodeGen/debug-info-line2.c +++ b/clang/test/CodeGen/debug-info-line2.c @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -triple x86_64-darwin-apple -debug-info-kind=limited -emit-llvm -o - %s | FileCheck %s +// Radar 9199234 int bar(void); int foo(int i) { diff --git a/clang/test/CodeGen/debug-info-scope.c b/clang/test/CodeGen/debug-info-scope.c index 26d98d08aeac..6c446a842584 100644 --- a/clang/test/CodeGen/debug-info-scope.c +++ b/clang/test/CodeGen/debug-info-scope.c @@ -2,6 +2,7 @@ // RUN: %clang_cc1 -dwarf-version=4 -debug-info-kind=line-tables-only -disable-llvm-passes -emit-llvm < %s | FileCheck --check-prefix=GMLT %s // RUN: %clang_cc1 -dwarf-version=4 -debug-info-kind=line-directives-only -disable-llvm-passes -emit-llvm < %s | FileCheck --check-prefix=GMLT %s // Two variables with same name in separate scope. +// Radar 8330217. int main(void) { int j = 0; int k = 0; diff --git a/clang/test/CodeGen/debug-info.c b/clang/test/CodeGen/debug-info.c index 4c444515757b..e3f0426900ea 100644 --- a/clang/test/CodeGen/debug-info.c +++ b/clang/test/CodeGen/debug-info.c @@ -41,6 +41,8 @@ struct foo2 { struct foo2 foo2; + +// Radar 7325611 // CHECK-DAG: !DIDerivedType(tag: DW_TAG_typedef, name: "barfoo" typedef int barfoo; barfoo foo(void) { diff --git a/clang/test/CodeGen/decl.c b/clang/test/CodeGen/decl.c index a63846b3223d..0b7317cd4751 100644 --- a/clang/test/CodeGen/decl.c +++ b/clang/test/CodeGen/decl.c @@ -19,6 +19,7 @@ void test1(void) { } +// rdar://7346691 void test2(void) { // This should codegen as a "@test2.x" global + memcpy. int x[] = { 1, 2, 3, 4, 6, 8, 9, 10, 123, 231, 123,23, 24 }; @@ -77,11 +78,13 @@ void test6(void) { test6f(&x); } +// rdar://7657600 struct test7s { int a; int b; } test7[] = { {1, 2}, {4}, }; +// rdar://7872531 #pragma pack(push, 2) struct test8s { int f0; char f1; } test8g = {}; @@ -101,7 +104,7 @@ void init_error(void) { -// ABI crash in recursive struct-through-function-pointer. +// rdar://8147692 - ABI crash in recursive struct-through-function-pointer. typedef struct { int x5a; } x5; diff --git a/clang/test/CodeGen/designated-initializers.c b/clang/test/CodeGen/designated-initializers.c index 620b1b90d257..e630a6b41815 100644 --- a/clang/test/CodeGen/designated-initializers.c +++ b/clang/test/CodeGen/designated-initializers.c @@ -53,6 +53,7 @@ struct ds ds7 = { }; +// struct overwrite_string_struct1 { __typeof(L"foo"[0]) L[6]; int M; @@ -141,6 +142,7 @@ union_16644_t union_16644_instance_4[2] = // CHECK: @lab ={{.*}} global { [4 x i8], i32 } { [4 x i8] undef, i32 123 } struct leading_anon_bitfield { int : 32; int n; } lab = { .n = 123 }; +// rdar://45691981 struct Base { struct { int A; diff --git a/clang/test/CodeGen/dostmt.c b/clang/test/CodeGen/dostmt.c index 474ffca16038..88533312ae1a 100644 --- a/clang/test/CodeGen/dostmt.c +++ b/clang/test/CodeGen/dostmt.c @@ -61,6 +61,7 @@ int test4(void) { return i; } +// rdar://6103124 void test5(void) { do { break; } while(0); } diff --git a/clang/test/CodeGen/exceptions-strictfp.c b/clang/test/CodeGen/exceptions-strictfp.c index fa0ca3250918..9a465c15858f 100644 --- a/clang/test/CodeGen/exceptions-strictfp.c +++ b/clang/test/CodeGen/exceptions-strictfp.c @@ -3,6 +3,7 @@ // Verify strictfp attributes on invoke calls (and therefore also on // function definitions). +// rdar://problem/8621849 void test1(void) { extern void test1_helper(void (^)(int)); diff --git a/clang/test/CodeGen/exceptions.c b/clang/test/CodeGen/exceptions.c index 93f21799f0e8..0369267b02d5 100644 --- a/clang/test/CodeGen/exceptions.c +++ b/clang/test/CodeGen/exceptions.c @@ -1,6 +1,7 @@ // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -Wno-strict-prototypes -emit-llvm -o - %s -fexceptions -fblocks | FileCheck %s // RUN: %clang_cc1 -triple armv7-apple-unknown -Wno-strict-prototypes -emit-llvm -o - %s -fexceptions -exception-model=sjlj -fblocks | FileCheck %s -check-prefix=CHECK-ARM +// rdar://problem/8621849 void test1(void) { extern void test1_helper(void (^)(int)); diff --git a/clang/test/CodeGen/exprs.c b/clang/test/CodeGen/exprs.c index 13a64f027106..7307cf2b4fb0 100644 --- a/clang/test/CodeGen/exprs.c +++ b/clang/test/CodeGen/exprs.c @@ -53,6 +53,7 @@ void eMaisUma(void) { return; } +// rdar://6520707 void f0(void (*fp)(void), void (*fp2)(void)) { int x = fp - fp2; } @@ -104,6 +105,7 @@ int f8(void) { return ({ foo(); }).Y; } +// rdar://6880558 struct S; struct C { int i; @@ -118,6 +120,7 @@ void f10(void) { __builtin_sin(0); } +// rdar://7530813 // CHECK-LABEL: define{{.*}} i32 @f11 int f11(long X) { int A[100]; diff --git a/clang/test/CodeGen/ext-vector.c b/clang/test/CodeGen/ext-vector.c index db8baf054ac7..a3edabf0fc0d 100644 --- a/clang/test/CodeGen/ext-vector.c +++ b/clang/test/CodeGen/ext-vector.c @@ -113,8 +113,8 @@ void test6(float4 *ap, float4 *bp, float c) { a *= c; a /= c; - // Vector comparisons can sometimes crash the x86 backend, reject them until - // the implementation is stable. + // Vector comparisons can sometimes crash the x86 backend: rdar://6326239, + // reject them until the implementation is stable. #if 0 int4 cmp; cmp = a < b; diff --git a/clang/test/CodeGen/func-aligned.c b/clang/test/CodeGen/func-aligned.c index fa6c6c6fe35e..aec53b08c58c 100644 --- a/clang/test/CodeGen/func-aligned.c +++ b/clang/test/CodeGen/func-aligned.c @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -triple x86_64-apple-darwin %s -emit-llvm -o - | FileCheck %s +// rdar://7270273 void foo(void) __attribute__((aligned (64))); void foo(void) { // CHECK: define{{.*}} void @foo() {{.*}} align 64 diff --git a/clang/test/CodeGen/func-in-block.c b/clang/test/CodeGen/func-in-block.c index b7784e54602a..d61b5791355d 100644 --- a/clang/test/CodeGen/func-in-block.c +++ b/clang/test/CodeGen/func-in-block.c @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fblocks -emit-llvm -o - %s | FileCheck %s +// rdar: // 7860965 extern void PRINTF(const char *); extern void B(void (^)(void)); diff --git a/clang/test/CodeGen/function-attributes.c b/clang/test/CodeGen/function-attributes.c index 845f3baf7a4e..38a0fb03de1e 100644 --- a/clang/test/CodeGen/function-attributes.c +++ b/clang/test/CodeGen/function-attributes.c @@ -62,7 +62,7 @@ void f13(void) __attribute__((pure)) __attribute__((const)); void f13(void){} -// [irgen] clang isn't setting the optsize bit on functions +// [irgen] clang isn't setting the optsize bit on functions // CHECK-LABEL: define{{.*}} void @f15 // CHECK: [[NUW]] // CHECK: { diff --git a/clang/test/CodeGen/functions.c b/clang/test/CodeGen/functions.c index 1bbaa80d653c..e9075e9a929d 100644 --- a/clang/test/CodeGen/functions.c +++ b/clang/test/CodeGen/functions.c @@ -10,6 +10,7 @@ int g(int i) { return g(i); } +// rdar://6110827 typedef void T(void); void test3(T f) { f(); diff --git a/clang/test/CodeGen/global-init.c b/clang/test/CodeGen/global-init.c index 4a63820c1854..a69f02885611 100644 --- a/clang/test/CodeGen/global-init.c +++ b/clang/test/CodeGen/global-init.c @@ -53,5 +53,6 @@ char yuv_types[4][6]= {"4:0:0","4:2:0","4:2:2","4:4:4"}; // NOTE: tentative definitions are processed at the end of the translation unit. // This shouldn't be emitted as common because it has an explicit section. +// rdar://7119244 // CHECK: @b ={{.*}} global i32 0, section "foo" int b __attribute__((section("foo"))); diff --git a/clang/test/CodeGen/implicit-arg.c b/clang/test/CodeGen/implicit-arg.c index 9959419f9b7c..c25f034a1a38 100644 --- a/clang/test/CodeGen/implicit-arg.c +++ b/clang/test/CodeGen/implicit-arg.c @@ -1,5 +1,6 @@ // RUN: %clang_cc1 %s -emit-llvm -o - // RUN: %clang_cc1 %s -emit-llvm -O1 -o - +// rdar://6518089 static int bar(); void foo() { diff --git a/clang/test/CodeGen/init.c b/clang/test/CodeGen/init.c index cbf615bb9ddf..5ebd6853733f 100644 --- a/clang/test/CodeGen/init.c +++ b/clang/test/CodeGen/init.c @@ -53,6 +53,7 @@ vec3 f5(vec3 value) { }}; } +// rdar://problem/8154689 void f6(void) { int x; long ids[] = { (long) &x }; diff --git a/clang/test/CodeGen/inline.c b/clang/test/CodeGen/inline.c index 9c4043f843fe..1acde03260c8 100644 --- a/clang/test/CodeGen/inline.c +++ b/clang/test/CodeGen/inline.c @@ -87,6 +87,7 @@ void (*P1)() = gnu_inline; extern __inline __attribute__((gnu_inline)) void gnu_ei_inline() {} void (*P)() = gnu_ei_inline; +// int test1(); __inline int test1() { return 4; } __inline int test2() { return 5; } diff --git a/clang/test/CodeGen/integer-overflow.c b/clang/test/CodeGen/integer-overflow.c index 9a3107c0b529..6f7616d3bd38 100644 --- a/clang/test/CodeGen/integer-overflow.c +++ b/clang/test/CodeGen/integer-overflow.c @@ -6,6 +6,7 @@ // Tests for signed integer overflow stuff. +// rdar://7432000 rdar://7221421 void test1(void) { // DEFAULT-LABEL: define{{.*}} void @test1 // WRAPV-LABEL: define{{.*}} void @test1 diff --git a/clang/test/CodeGen/libcalls-fno-builtin.c b/clang/test/CodeGen/libcalls-fno-builtin.c index 967a9f375565..54fadb6cf28e 100644 --- a/clang/test/CodeGen/libcalls-fno-builtin.c +++ b/clang/test/CodeGen/libcalls-fno-builtin.c @@ -10,6 +10,8 @@ // RUN: %clang_cc1 -S -O3 -fno-builtin -o - %s | FileCheck --check-prefix=ASM %s // RUN: %clang_cc1 -S -O3 -fno-builtin-ceil -o - %s | FileCheck --check-prefix=ASM-INDIV %s +// rdar://10551066 + typedef __SIZE_TYPE__ size_t; typedef struct FILE FILE; diff --git a/clang/test/CodeGen/ms-inline-asm.cpp b/clang/test/CodeGen/ms-inline-asm.cpp index 024b2bc07025..a1fb19f3f640 100644 --- a/clang/test/CodeGen/ms-inline-asm.cpp +++ b/clang/test/CodeGen/ms-inline-asm.cpp @@ -1,6 +1,8 @@ // REQUIRES: x86-registered-target // RUN: %clang_cc1 -x c++ %s -triple i386-apple-darwin10 -fasm-blocks -emit-llvm -o - -std=c++11 | FileCheck %s +// rdar://13645930 + struct Foo { static int *ptr; static int a, b; diff --git a/clang/test/CodeGen/ms_struct-bitfield-1.c b/clang/test/CodeGen/ms_struct-bitfield-1.c index 8758081a447c..25c0ba233261 100644 --- a/clang/test/CodeGen/ms_struct-bitfield-1.c +++ b/clang/test/CodeGen/ms_struct-bitfield-1.c @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -emit-llvm-only -triple x86_64-apple-darwin9 %s +// rdar://8823265 #define ATTR __attribute__((__ms_struct__)) diff --git a/clang/test/CodeGen/ms_struct-bitfield-2.c b/clang/test/CodeGen/ms_struct-bitfield-2.c index 1f7cc9ae8b25..36e0172db0f5 100644 --- a/clang/test/CodeGen/ms_struct-bitfield-2.c +++ b/clang/test/CodeGen/ms_struct-bitfield-2.c @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -emit-llvm-only -triple x86_64-apple-darwin9 %s +// rdar://8823265 #define ATTR __attribute__((__ms_struct__)) diff --git a/clang/test/CodeGen/ms_struct-bitfield-3.c b/clang/test/CodeGen/ms_struct-bitfield-3.c index 3f6a4de91db3..0eba4359145e 100644 --- a/clang/test/CodeGen/ms_struct-bitfield-3.c +++ b/clang/test/CodeGen/ms_struct-bitfield-3.c @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -emit-llvm-only -triple i386-apple-darwin9 %s +// rdar://8823265 #define ATTR __attribute__((__ms_struct__)) diff --git a/clang/test/CodeGen/ms_struct-bitfield-init.c b/clang/test/CodeGen/ms_struct-bitfield-init.c index 7490bbb5d091..933293838c60 100644 --- a/clang/test/CodeGen/ms_struct-bitfield-init.c +++ b/clang/test/CodeGen/ms_struct-bitfield-init.c @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -emit-llvm-only -triple x86_64-apple-darwin9 %s +// rdar://8823265 extern void abort(void); #define ATTR __attribute__((__ms_struct__)) diff --git a/clang/test/CodeGen/ms_struct-bitfield.c b/clang/test/CodeGen/ms_struct-bitfield.c index 37b0245e57c4..ac854ff91667 100644 --- a/clang/test/CodeGen/ms_struct-bitfield.c +++ b/clang/test/CodeGen/ms_struct-bitfield.c @@ -1,6 +1,8 @@ // RUN: %clang_cc1 -emit-llvm -o - -triple x86_64-apple-darwin9 %s | FileCheck %s // RUN: %clang_cc1 -emit-llvm -o - -triple thumbv7-apple-ios -target-abi apcs-gnu %s | FileCheck %s -check-prefix=CHECK-ARM +// rdar://8823265 + // Note that we're declaring global variables with these types, // triggering both Sema and IRGen struct layout. @@ -147,7 +149,8 @@ int s10 = sizeof(t10); // CHECK: @s10 ={{.*}} global i32 16 // CHECK-ARM: @s10 ={{.*}} global i32 8 -// ensure that ms_structs work correctly on a !useBitFieldTypeAlignment() target +// rdar://16041826 - ensure that ms_structs work correctly on a +// !useBitFieldTypeAlignment() target struct { unsigned int a : 31; unsigned int b : 2; diff --git a/clang/test/CodeGen/ms_struct-pack.c b/clang/test/CodeGen/ms_struct-pack.c index 83f8fc906db3..6382f3b90a35 100644 --- a/clang/test/CodeGen/ms_struct-pack.c +++ b/clang/test/CodeGen/ms_struct-pack.c @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -emit-llvm-only -triple i386-apple-darwin9 -fdump-record-layouts %s | FileCheck %s +// rdar://8823265 #pragma pack(1) struct _one_ms { @@ -122,6 +123,7 @@ typedef struct _eight_ms eight_ms; static int a8[(sizeof(eight_ms) == 48) - 1]; +// rdar://15926990 #pragma pack(2) struct test0 { unsigned long a : 8; diff --git a/clang/test/CodeGen/no-opt-volatile-memcpy.c b/clang/test/CodeGen/no-opt-volatile-memcpy.c index 572b1faa11d5..8f53b5dbfe73 100644 --- a/clang/test/CodeGen/no-opt-volatile-memcpy.c +++ b/clang/test/CodeGen/no-opt-volatile-memcpy.c @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -triple=x86_64-apple-darwin -emit-llvm -o - %s | FileCheck %s +// rdar://11861085 struct s { char filler [128]; diff --git a/clang/test/CodeGen/noinline.c b/clang/test/CodeGen/noinline.c index 18ba4b54a268..41d7bd3dad3b 100644 --- a/clang/test/CodeGen/noinline.c +++ b/clang/test/CodeGen/noinline.c @@ -1,4 +1,5 @@ // Make sure -fno-inline-functions is behaving correctly. +// rdar://10972766 // RUN: %clang_cc1 -O3 -fno-inline -fno-inline-functions -emit-llvm %s -o - | FileCheck -check-prefix=NOINLINE %s diff --git a/clang/test/CodeGen/packed-nest-unpacked.c b/clang/test/CodeGen/packed-nest-unpacked.c index ad6029140187..318345bed90a 100644 --- a/clang/test/CodeGen/packed-nest-unpacked.c +++ b/clang/test/CodeGen/packed-nest-unpacked.c @@ -6,6 +6,7 @@ struct Y g; void f(struct X); struct X foo(void); +// struct X test1(void) { // CHECK: @test1 // CHECK: call void @llvm.memcpy.p0.p0.i64(ptr {{.*}}, ptr align 1 getelementptr inbounds (%struct.Y, ptr @g, i32 0, i32 1), i64 24, i1 false) @@ -24,6 +25,7 @@ void test3(struct X a) { g.y = a; } +// void test4(void) { // CHECK: @test4 // CHECK: call void @llvm.memcpy.p0.p0.i64(ptr {{.*}}, ptr align 1 getelementptr inbounds (%struct.Y, ptr @g, i32 0, i32 1), i64 24, i1 false) @@ -37,6 +39,7 @@ int test5(void) { return g.y.x[0]; } +// void test6(void) { // CHECK: @test6 // CHECK: call void @llvm.memcpy.p0.p0.i64(ptr align 1 getelementptr inbounds (%struct.Y, ptr @g, i32 0, i32 1), ptr align 4 %{{.*}}, i64 24, i1 false) diff --git a/clang/test/CodeGen/pascal-wchar-string.c b/clang/test/CodeGen/pascal-wchar-string.c index 144313181f51..8f5f33fe8945 100644 --- a/clang/test/CodeGen/pascal-wchar-string.c +++ b/clang/test/CodeGen/pascal-wchar-string.c @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -emit-llvm -o - %s -fpascal-strings -fwchar-type=short -fno-signed-wchar | FileCheck %s +// rdar://8020384 #include diff --git a/clang/test/CodeGen/pointer-to-int.c b/clang/test/CodeGen/pointer-to-int.c index 76bb4159b365..4e321bfa40e9 100644 --- a/clang/test/CodeGen/pointer-to-int.c +++ b/clang/test/CodeGen/pointer-to-int.c @@ -5,6 +5,7 @@ int test(void* i) return (int)i; } +// rdar://6093986 int test2(void) { float x[2]; return x; diff --git a/clang/test/CodeGen/pragma-pack-2.c b/clang/test/CodeGen/pragma-pack-2.c index 1cd8fe34ae20..8a77280029c6 100644 --- a/clang/test/CodeGen/pragma-pack-2.c +++ b/clang/test/CodeGen/pragma-pack-2.c @@ -5,6 +5,8 @@ // RUN: %clang_cc1 -triple x86_64-apple-darwin9 %s -emit-llvm -o - | FileCheck -check-prefix CHECK-X64 %s // CHECK-X64: %struct.s0 = type <{ i64, i64, i32, [12 x i32] }> // CHECK-X64: %struct.s1 = type { [15 x i32], %struct.s0 } + +// rdar://problem/7095436 #pragma pack(4) struct s0 { diff --git a/clang/test/CodeGen/pragma-pack-3.c b/clang/test/CodeGen/pragma-pack-3.c index c2e34f80b0f5..3f990214b1cf 100644 --- a/clang/test/CodeGen/pragma-pack-3.c +++ b/clang/test/CodeGen/pragma-pack-3.c @@ -4,6 +4,7 @@ // RUN: %clang_cc1 -triple x86_64-apple-darwin9 %s -emit-llvm -o - | FileCheck -check-prefix CHECK-X64 %s // CHECK-X64: %union.command = type <{ ptr, [2 x i8] }> +// #pragma pack(push, 2) typedef union command { void *windowRef; diff --git a/clang/test/CodeGen/private-extern-redef.c b/clang/test/CodeGen/private-extern-redef.c index 4ae04243fa71..78bab8541575 100644 --- a/clang/test/CodeGen/private-extern-redef.c +++ b/clang/test/CodeGen/private-extern-redef.c @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -triple x86_64-darwin-apple -emit-llvm -o - %s | FileCheck %s +// rdar://9609649 __private_extern__ const int I; __private_extern__ const int J = 927; diff --git a/clang/test/CodeGen/redef-ext-inline.c b/clang/test/CodeGen/redef-ext-inline.c index 6f8144f96390..b8e2f365ff41 100644 --- a/clang/test/CodeGen/redef-ext-inline.c +++ b/clang/test/CodeGen/redef-ext-inline.c @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -emit-llvm %s -o - -std=gnu89 +// rdar://7208839 extern inline int f1 (void) {return 1;} int f3 (void) {return f1();} diff --git a/clang/test/CodeGen/sanitize-blocks.c b/clang/test/CodeGen/sanitize-blocks.c index 2b1b0ae6c6f2..2fd008bcca79 100644 --- a/clang/test/CodeGen/sanitize-blocks.c +++ b/clang/test/CodeGen/sanitize-blocks.c @@ -2,6 +2,7 @@ // Awkward interactions of sanitizers with blocks. +// rdar://22071955 const char *TheString = "Hello, world!"; const char *(^getString)(void) = ^{ return TheString; diff --git a/clang/test/CodeGen/struct-init.c b/clang/test/CodeGen/struct-init.c index 01b238bfa165..f9ef6795da2f 100644 --- a/clang/test/CodeGen/struct-init.c +++ b/clang/test/CodeGen/struct-init.c @@ -22,6 +22,7 @@ struct GLGENH ABHFBF = {1}; typedef __attribute__(( ext_vector_type(2) )) unsigned int uint2; typedef __attribute__(( __vector_size__(8) )) unsigned int __neon_uint32x2_t; +// rdar://8183908 typedef unsigned int uint32_t; typedef __attribute__((neon_vector_type(2))) uint32_t uint32x2_t; void foo(void) { diff --git a/clang/test/CodeGen/switch-dce.c b/clang/test/CodeGen/switch-dce.c index 1bd4f20c52e3..0f17c8b202c2 100644 --- a/clang/test/CodeGen/switch-dce.c +++ b/clang/test/CodeGen/switch-dce.c @@ -1,6 +1,6 @@ // RUN: %clang_cc1 -triple i386-unknown-unknown %s -emit-llvm -o - | FileCheck %s -// PR9322 +// PR9322 and rdar://6970405 // CHECK: @test1 // CHECK-NOT: switch diff --git a/clang/test/CodeGen/switch.c b/clang/test/CodeGen/switch.c index 7d1d1bd54501..fbe5b67ccc5e 100644 --- a/clang/test/CodeGen/switch.c +++ b/clang/test/CodeGen/switch.c @@ -197,6 +197,7 @@ int f13(unsigned x) { // Don't delete a basic block that we want to introduce later references to. // This isn't really specific to switches, but it's easy to show with them. +// rdar://problem/8837067 int f14(int x) { switch (x) { diff --git a/clang/test/CodeGen/transparent-union-redecl.c b/clang/test/CodeGen/transparent-union-redecl.c index 15380cffdafd..5358b98f3a6e 100644 --- a/clang/test/CodeGen/transparent-union-redecl.c +++ b/clang/test/CodeGen/transparent-union-redecl.c @@ -2,6 +2,7 @@ // Test that different order of declarations is acceptable and that // implementing different redeclarations is acceptable. +// rdar://problem/34949329 typedef union { int i; diff --git a/clang/test/CodeGen/union-align.c b/clang/test/CodeGen/union-align.c index 73ea319b391b..2055d93d8efc 100644 --- a/clang/test/CodeGen/union-align.c +++ b/clang/test/CodeGen/union-align.c @@ -1,6 +1,7 @@ // RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -emit-llvm %s -o - | grep load | grep "4 x float" | not grep "align 4" // RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -emit-llvm %s -o - | grep load | grep "4 x float" | grep "align 16" // PR3432 +// rdar://6536377 typedef float __m128 __attribute__ ((__vector_size__ (16))); diff --git a/clang/test/CodeGen/unwind-attr.c b/clang/test/CodeGen/unwind-attr.c index f23270e954bc..50cbd6df7718 100644 --- a/clang/test/CodeGen/unwind-attr.c +++ b/clang/test/CodeGen/unwind-attr.c @@ -9,14 +9,14 @@ int test0(void) { return opaque(); } -// locally infer nounwind at -O0 +// : locally infer nounwind at -O0 // CHECK: define{{.*}} [[INT:i.*]] @test1() [[NUW:#[0-9]+]] { // CHECK-NOEXC: define{{.*}} [[INT:i.*]] @test1() [[NUW]] { int test1(void) { return 0; } -// not for weak functions +// : not for weak functions // CHECK: define weak{{.*}} [[INT:i.*]] @test2() [[TF]] { // CHECK-NOEXC: define weak{{.*}} [[INT:i.*]] @test2() [[NUW]] { __attribute__((weak)) int test2(void) { diff --git a/clang/test/CodeGen/utf16-cfstrings.c b/clang/test/CodeGen/utf16-cfstrings.c index a6fe0cbd80d7..4ed1d070e83c 100644 --- a/clang/test/CodeGen/utf16-cfstrings.c +++ b/clang/test/CodeGen/utf16-cfstrings.c @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -triple x86_64-apple-darwin -emit-llvm %s -o - | FileCheck %s +// // CHECK: @.str = private unnamed_addr constant [9 x i16] [i16 252, i16 98, i16 101, i16 114, i16 104, i16 117, i16 110, i16 100, i16 0], section "__TEXT,__ustring", align 2 diff --git a/clang/test/CodeGen/vector-alignment.c b/clang/test/CodeGen/vector-alignment.c index c0b607e96c61..803e7fb90db5 100644 --- a/clang/test/CodeGen/vector-alignment.c +++ b/clang/test/CodeGen/vector-alignment.c @@ -10,6 +10,7 @@ // RUN: -emit-llvm -o - %s | FileCheck %s --check-prefix=ALL --check-prefix=AVX512 // RUN: %clang_cc1 -w -triple i386-apple-darwin10 -target-feature +avx512f \ // RUN: -emit-llvm -o - %s | FileCheck %s --check-prefix=ALL --check-prefix=AVX512 +// rdar://11759609 // At or below target max alignment with no aligned attribute should align based // on the size of vector. diff --git a/clang/test/CodeGen/visibility.c b/clang/test/CodeGen/visibility.c index ee760ec77879..8c8c70636d0a 100644 --- a/clang/test/CodeGen/visibility.c +++ b/clang/test/CodeGen/visibility.c @@ -51,6 +51,7 @@ int f_def(void) { struct Test1 { int field; }; void __attribute__((visibility("default"))) test1(struct Test1 *v) { } +// rdar://problem/8595231 // CHECK-DEFAULT-LABEL: define{{.*}} void @test2() // CHECK-PROTECTED-LABEL: define{{.*}} void @test2() // CHECK-HIDDEN-LABEL: define{{.*}} void @test2() @@ -67,6 +68,7 @@ __private_extern__ void test3(void) {} extern int test4; __private_extern__ int test4 = 10; +// rdar://12399248 // CHECK-DEFAULT-LABEL: define hidden void @test5() // CHECK-PROTECTED-LABEL: define hidden void @test5() // CHECK-HIDDEN-LABEL: define hidden void @test5() diff --git a/clang/test/CodeGen/vla.c b/clang/test/CodeGen/vla.c index 11489b8795bf..6b54770b344f 100644 --- a/clang/test/CodeGen/vla.c +++ b/clang/test/CodeGen/vla.c @@ -37,6 +37,7 @@ void g(int count) { int (*b)[][count]; } +// rdar://8403108 // CHECK-LABEL: define{{.*}} void @f_8403108 void f_8403108(unsigned x) { // CHECK: call ptr @llvm.stacksave() @@ -73,6 +74,7 @@ void test1(void) { function(1, bork[2]); } +// rdar://8476159 static int GLOB; int test2(int n) { @@ -142,6 +144,7 @@ int test4(unsigned n, char (*p)[n][n+1][6]) { return p2 - p; } +// rdar://11485774 void test5(void) { // CHECK-LABEL: define{{.*}} void @test5( diff --git a/clang/test/CodeGenCXX/2008-01-12-VecInit.cpp b/clang/test/CodeGenCXX/2008-01-12-VecInit.cpp index 6a516c9bd343..92bfd51d1ba8 100644 --- a/clang/test/CodeGenCXX/2008-01-12-VecInit.cpp +++ b/clang/test/CodeGenCXX/2008-01-12-VecInit.cpp @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -emit-llvm %s -o - -// +// rdar://5685492 + typedef int __attribute__((vector_size(16))) v; v vt = {1, 2, 3, 4}; diff --git a/clang/test/CodeGenCXX/2008-05-07-CrazyOffsetOf.cpp b/clang/test/CodeGenCXX/2008-05-07-CrazyOffsetOf.cpp index cb31a04c69fe..6967df9d94e0 100644 --- a/clang/test/CodeGenCXX/2008-05-07-CrazyOffsetOf.cpp +++ b/clang/test/CodeGenCXX/2008-05-07-CrazyOffsetOf.cpp @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -triple=x86_64-unknown-linux -emit-llvm %s -o - | FileCheck %s +// rdar://5914926 struct bork { struct bork *next_local; diff --git a/clang/test/CodeGenCXX/2009-08-05-ZeroInitWidth.cpp b/clang/test/CodeGenCXX/2009-08-05-ZeroInitWidth.cpp index 6e62ae4e4461..4404d4a8d518 100644 --- a/clang/test/CodeGenCXX/2009-08-05-ZeroInitWidth.cpp +++ b/clang/test/CodeGenCXX/2009-08-05-ZeroInitWidth.cpp @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -emit-llvm %s -o - +// rdar://7114564 struct A { unsigned long long : (sizeof(unsigned long long) * 8) - 16; }; diff --git a/clang/test/CodeGenCXX/2009-08-11-VectorRetTy.cpp b/clang/test/CodeGenCXX/2009-08-11-VectorRetTy.cpp index fe6f32a6969c..21b88c93ad7f 100644 --- a/clang/test/CodeGenCXX/2009-08-11-VectorRetTy.cpp +++ b/clang/test/CodeGenCXX/2009-08-11-VectorRetTy.cpp @@ -1,4 +1,5 @@ // RUN: %clang_cc1 %s -emit-llvm -o /dev/null +// typedef void (*Func) (); typedef long long m64 __attribute__((__vector_size__(8), __may_alias__)); static inline m64 __attribute__((__always_inline__, __nodebug__)) _mm_set1_pi16() {} diff --git a/clang/test/CodeGenCXX/2009-10-27-crash.cpp b/clang/test/CodeGenCXX/2009-10-27-crash.cpp index 28dbce7877ec..482bb752995f 100644 --- a/clang/test/CodeGenCXX/2009-10-27-crash.cpp +++ b/clang/test/CodeGenCXX/2009-10-27-crash.cpp @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -emit-llvm %s -o /dev/null +// Radar 7328944 typedef struct { diff --git a/clang/test/CodeGenCXX/2012-03-16-StoreAlign.cpp b/clang/test/CodeGenCXX/2012-03-16-StoreAlign.cpp index 63ad912cc097..5c2708c9fd0c 100644 --- a/clang/test/CodeGenCXX/2012-03-16-StoreAlign.cpp +++ b/clang/test/CodeGenCXX/2012-03-16-StoreAlign.cpp @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -emit-llvm -o - -triple x86_64-apple-darwin %s | FileCheck %s +// struct Length { Length(double v) { diff --git a/clang/test/CodeGenCXX/align-avx-complete-objects.cpp b/clang/test/CodeGenCXX/align-avx-complete-objects.cpp index 38b522b2e7e0..5afdfec8b80e 100644 --- a/clang/test/CodeGenCXX/align-avx-complete-objects.cpp +++ b/clang/test/CodeGenCXX/align-avx-complete-objects.cpp @@ -1,5 +1,6 @@ // RUN: %clang_cc1 %std_cxx11-14 %s -O0 -triple=x86_64-apple-darwin -target-feature +avx2 -fmax-type-align=16 -emit-llvm -o - -Werror | FileCheck %s --check-prefixes=CHECK,PRE17 // RUN: %clang_cc1 %std_cxx17- %s -O0 -triple=x86_64-apple-darwin -target-feature +avx2 -fmax-type-align=16 -emit-llvm -o - -Werror | FileCheck %s --check-prefixes=CHECK,CXX17 +// rdar://16254558 typedef float AVX2Float __attribute__((__vector_size__(32))); diff --git a/clang/test/CodeGenCXX/anonymous-union-member-initializer.cpp b/clang/test/CodeGenCXX/anonymous-union-member-initializer.cpp index 827b51bb23cb..2094c7e84d24 100644 --- a/clang/test/CodeGenCXX/anonymous-union-member-initializer.cpp +++ b/clang/test/CodeGenCXX/anonymous-union-member-initializer.cpp @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -emit-llvm -o - %s | FileCheck %s +// rdar://8818236 namespace rdar8818236 { struct S { char c2; diff --git a/clang/test/CodeGenCXX/apple-kext-guard-variable.cpp b/clang/test/CodeGenCXX/apple-kext-guard-variable.cpp index 04c20663ba99..ea4c1483ce70 100644 --- a/clang/test/CodeGenCXX/apple-kext-guard-variable.cpp +++ b/clang/test/CodeGenCXX/apple-kext-guard-variable.cpp @@ -1,5 +1,7 @@ // RUN: %clang -target x86_64-apple-darwin10 -S -o %t.s -Wno-stdlibcxx-not-found -mkernel -Xclang -verify %s +// rdar://problem/9143356 + int foo(); void test() { static int y = 0; diff --git a/clang/test/CodeGenCXX/apple-kext-linkage.cpp b/clang/test/CodeGenCXX/apple-kext-linkage.cpp index 11a025f1d156..8e76084980d4 100644 --- a/clang/test/CodeGenCXX/apple-kext-linkage.cpp +++ b/clang/test/CodeGenCXX/apple-kext-linkage.cpp @@ -18,7 +18,7 @@ inline unsigned f(unsigned n) { return n == 0 ? 0 : n + f(n-1); } unsigned g(unsigned n) { return f(n); } -// give explicit instantiations external linkage in kernel mode +// rdar://problem/10133200: give explicit instantiations external linkage in kernel mode // CHECK-LABEL: define{{.*}} void @_Z3barIiEvv() template void bar() {} template void bar(); diff --git a/clang/test/CodeGenCXX/apple-kext-no-staticinit-section.cpp b/clang/test/CodeGenCXX/apple-kext-no-staticinit-section.cpp index 5ba1f6ced77b..5d258f6a6175 100644 --- a/clang/test/CodeGenCXX/apple-kext-no-staticinit-section.cpp +++ b/clang/test/CodeGenCXX/apple-kext-no-staticinit-section.cpp @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fapple-kext -fno-rtti -disable-O0-optnone -emit-llvm -o - %s | FileCheck %s +// rdar://8825235 /** 1) Normally, global object construction code ends up in __StaticInit segment of text section .section __TEXT,__StaticInit,regular,pure_instructions diff --git a/clang/test/CodeGenCXX/apple-kext.cpp b/clang/test/CodeGenCXX/apple-kext.cpp index d49ef2a0ccfa..a3007e5a49e2 100644 --- a/clang/test/CodeGenCXX/apple-kext.cpp +++ b/clang/test/CodeGenCXX/apple-kext.cpp @@ -22,6 +22,8 @@ D::~D() {} // CHECK: define{{.*}} void @_ZN18testBaseDestructor1DD1Ev({{.*}}) unnamed_addr #[[ATTR1:.*]] align 2 { // CHECK: define{{.*}} void @_ZN18testBaseDestructor1DD0Ev({{.*}}) unnamed_addr #[[ATTR1]] align 2 { + +// rdar://11241230 namespace test0 { struct A { A(); ~A(); }; A a; diff --git a/clang/test/CodeGenCXX/arm.cpp b/clang/test/CodeGenCXX/arm.cpp index 7276e56c061d..1d737b4d01a9 100644 --- a/clang/test/CodeGenCXX/arm.cpp +++ b/clang/test/CodeGenCXX/arm.cpp @@ -20,6 +20,7 @@ public: }; // The global dtor needs the right calling conv with -fno-use-cxa-atexit +// rdar://7817590 bar baz; // PR9593 @@ -244,6 +245,7 @@ namespace test4 { } } +// : don't crash namespace test5 { struct A { ~A(); @@ -354,6 +356,7 @@ namespace test8 { } } +// rdar://12836470 // Use a larger-than-mandated array cookie when allocating an // array whose type is overaligned. namespace test9 { diff --git a/clang/test/CodeGenCXX/arm64-constructor-return.cpp b/clang/test/CodeGenCXX/arm64-constructor-return.cpp index ec842cbd2bbf..54d6cfcff8bd 100644 --- a/clang/test/CodeGenCXX/arm64-constructor-return.cpp +++ b/clang/test/CodeGenCXX/arm64-constructor-return.cpp @@ -1,4 +1,5 @@ // RUN: %clang_cc1 %s -triple=arm64-apple-ios7.0.0 -emit-llvm -o - | FileCheck %s +// rdar://12162905 struct S { S(); diff --git a/clang/test/CodeGenCXX/arm64.cpp b/clang/test/CodeGenCXX/arm64.cpp index 338b7db9e001..3d15be45cd32 100644 --- a/clang/test/CodeGenCXX/arm64.cpp +++ b/clang/test/CodeGenCXX/arm64.cpp @@ -2,6 +2,7 @@ // RUN: %clang_cc1 %s -triple=arm64-apple-ios -emit-llvm -o - | FileCheck -check-prefix=CHECK-GLOBALS %s // __cxa_guard_acquire argument is 64-bit +// rdar://11540122 struct A { A(); }; @@ -12,6 +13,7 @@ void f() { } // ARM64 uses the C++11 definition of POD. +// rdar://12650514 namespace test1 { // This class is POD in C++11 and cannot have objects allocated in // its tail-padding. @@ -37,7 +39,7 @@ namespace std { } // ARM64 uses string comparisons for what would otherwise be -// default-visibility weak RTTI. +// default-visibility weak RTTI. rdar://12650568 namespace test2 { struct A { virtual void foo(); diff --git a/clang/test/CodeGenCXX/armv7k.cpp b/clang/test/CodeGenCXX/armv7k.cpp index a4a243c162ea..758275e476b9 100644 --- a/clang/test/CodeGenCXX/armv7k.cpp +++ b/clang/test/CodeGenCXX/armv7k.cpp @@ -5,6 +5,7 @@ // RUN: %clang_cc1 %s -triple=arm64_32-apple-ios -emit-llvm -o - -target-abi darwinpcs | FileCheck -check-prefix=CHECK-GLOBALS %s // __cxa_guard_acquire argument is 64-bit +// rdar://11540122 struct A { A(); }; @@ -15,6 +16,7 @@ void f() { } // ARM64 uses the C++11 definition of POD. +// rdar://12650514 namespace test1 { // This class is POD in C++11 and cannot have objects allocated in // its tail-padding. @@ -40,7 +42,7 @@ namespace std { } // ARM64 uses string comparisons for what would otherwise be -// default-visibility weak RTTI. +// default-visibility weak RTTI. rdar://12650568 namespace test2 { struct A { virtual void foo(); diff --git a/clang/test/CodeGenCXX/asm.cpp b/clang/test/CodeGenCXX/asm.cpp index 6d9c991621d2..bc639a2be587 100644 --- a/clang/test/CodeGenCXX/asm.cpp +++ b/clang/test/CodeGenCXX/asm.cpp @@ -11,7 +11,7 @@ int foo(A); void bar(A &a) { // CHECK: call void asm - asm("" : : "r"(foo(a)) ); + asm("" : : "r"(foo(a)) ); // rdar://8540491 // CHECK: call void @_ZN1AD1Ev } diff --git a/clang/test/CodeGenCXX/attr-used.cpp b/clang/test/CodeGenCXX/attr-used.cpp index 8ca37f6194ec..d2a73f7d33e6 100644 --- a/clang/test/CodeGenCXX/attr-used.cpp +++ b/clang/test/CodeGenCXX/attr-used.cpp @@ -1,6 +1,6 @@ // RUN: %clang_cc1 -emit-llvm -triple %itanium_abi_triple -o - %s | FileCheck %s -// clang++ not respecting __attribute__((used)) on destructors +// : clang++ not respecting __attribute__((used)) on destructors struct X0 { // CHECK-DAG: define linkonce_odr {{.*}} @_ZN2X0C1Ev __attribute__((used)) X0() {} diff --git a/clang/test/CodeGenCXX/block-byref-cxx-objc.cpp b/clang/test/CodeGenCXX/block-byref-cxx-objc.cpp index 58bb88ef90c1..6aca809c2c72 100644 --- a/clang/test/CodeGenCXX/block-byref-cxx-objc.cpp +++ b/clang/test/CodeGenCXX/block-byref-cxx-objc.cpp @@ -1,4 +1,5 @@ // RUN: %clang_cc1 %s -std=c++11 -emit-llvm -triple %itanium_abi_triple -o - -fblocks -fexceptions | FileCheck %s +// rdar://8594790 struct A { int x; @@ -50,6 +51,8 @@ int testB() { // CHECK: define linkonce_odr hidden void @__destroy_helper_block_e{{4|8}}_{{20|32}}r{{24|40}}r( // CHECK: attributes #[[NOUNWIND_ATTR]] = {{{.*}}nounwind{{.*}}} + +// rdar://problem/11135650 namespace test1 { struct A { int x; A(); ~A(); }; diff --git a/clang/test/CodeGenCXX/blocks-cxx11.cpp b/clang/test/CodeGenCXX/blocks-cxx11.cpp index cd55af81c8e4..67d252827661 100644 --- a/clang/test/CodeGenCXX/blocks-cxx11.cpp +++ b/clang/test/CodeGenCXX/blocks-cxx11.cpp @@ -3,6 +3,7 @@ template void takeItByValue(T); void takeABlock(void (^)()); +// rdar://problem/11022704 namespace test_int { void test() { const int x = 100; @@ -80,6 +81,7 @@ namespace test_complex_int_ref_mutable { } } +// rdar://13295759 namespace test_block_in_lambda { void takeBlock(void (^block)()); diff --git a/clang/test/CodeGenCXX/blocks.cpp b/clang/test/CodeGenCXX/blocks.cpp index eaab1890dfc4..a8adee0be624 100644 --- a/clang/test/CodeGenCXX/blocks.cpp +++ b/clang/test/CodeGenCXX/blocks.cpp @@ -89,6 +89,7 @@ namespace test2 { // CHECK: call void @_ZN5test21BD1Ev( } +// rdar://problem/9334739 // Make sure we mark destructors for parameters captured in blocks. namespace test3 { struct A { @@ -105,6 +106,7 @@ namespace test3 { } } +// rdar://problem/9971485 namespace test4 { struct A { A(); @@ -213,7 +215,8 @@ namespace test7 { } namespace test8 { - // failure to capture this after skipping rebuild of the 'this' pointer. + // : failure to capture this after skipping rebuild + // of the 'this' pointer. struct X { int x; @@ -226,6 +229,7 @@ namespace test8 { template int X::foo(); } +// rdar://13459289 namespace test9 { struct B { void *p; diff --git a/clang/test/CodeGenCXX/class-layout.cpp b/clang/test/CodeGenCXX/class-layout.cpp index 84b0f887876a..9e2e9cd74c70 100644 --- a/clang/test/CodeGenCXX/class-layout.cpp +++ b/clang/test/CodeGenCXX/class-layout.cpp @@ -78,8 +78,8 @@ namespace Test6 { E *e; } -// Make sure this doesn't crash. (It's okay if we start rejecting it at some -// point.) +// : Make sure this doesn't crash. (It's okay +// if we start rejecting it at some point.) namespace Test7 { #pragma pack (1) class A {}; diff --git a/clang/test/CodeGenCXX/conditional-gnu-ext.cpp b/clang/test/CodeGenCXX/conditional-gnu-ext.cpp index b17e0f7bb9a2..81e1584461de 100644 --- a/clang/test/CodeGenCXX/conditional-gnu-ext.cpp +++ b/clang/test/CodeGenCXX/conditional-gnu-ext.cpp @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -triple x86_64-unknown-unknown -emit-llvm -o - %s | FileCheck %s +// rdar: // 8353567 // pr7726 extern "C" int printf(...); @@ -8,6 +9,7 @@ void test0() { printf("%p\n", (void *)0xdeadbeef ? : (void *)0xaaaaaa); } +// rdar://8446940 namespace radar8446940 { extern "C" void abort(); diff --git a/clang/test/CodeGenCXX/copy-assign-volatile-synthesis.cpp b/clang/test/CodeGenCXX/copy-assign-volatile-synthesis.cpp index d420bd1f626c..eb13503fdc3f 100644 --- a/clang/test/CodeGenCXX/copy-assign-volatile-synthesis.cpp +++ b/clang/test/CodeGenCXX/copy-assign-volatile-synthesis.cpp @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -emit-llvm %s -o - | FileCheck %s +// rdar://9894548 typedef unsigned long word_t; typedef unsigned long u64_t; diff --git a/clang/test/CodeGenCXX/copy-constructor-synthesis.cpp b/clang/test/CodeGenCXX/copy-constructor-synthesis.cpp index 3548897ec4ba..1bf2a01de053 100644 --- a/clang/test/CodeGenCXX/copy-constructor-synthesis.cpp +++ b/clang/test/CodeGenCXX/copy-constructor-synthesis.cpp @@ -171,6 +171,7 @@ void f(B b1) { // CHECK-NEXT: ret void } +// rdar://13816940 // Test above because things get weirdly re-ordered. namespace rdar13816940 { struct A { diff --git a/clang/test/CodeGenCXX/cxx-block-objects.cpp b/clang/test/CodeGenCXX/cxx-block-objects.cpp index 4e60b38c84b4..d28bcb670fd2 100644 --- a/clang/test/CodeGenCXX/cxx-block-objects.cpp +++ b/clang/test/CodeGenCXX/cxx-block-objects.cpp @@ -1,4 +1,5 @@ // RUN: %clang_cc1 %s -fblocks -triple x86_64-apple-darwin -emit-llvm -o - | FileCheck %s +// rdar://8594790 extern "C" { extern "C" void *_Block_copy(const void *aBlock); diff --git a/clang/test/CodeGenCXX/cxx11-special-members.cpp b/clang/test/CodeGenCXX/cxx11-special-members.cpp index f67acaa45650..b1cadaf3d43c 100644 --- a/clang/test/CodeGenCXX/cxx11-special-members.cpp +++ b/clang/test/CodeGenCXX/cxx11-special-members.cpp @@ -28,6 +28,7 @@ void f2(B &x, B &y) { // CHECK: define {{.*}} @_ZN1BaSEOS_( // CHECK: call {{.*}} @_ZN1AaSERKS_( +// rdar://18309639 { template struct C { C() = default; }; struct D { C<0> c; diff --git a/clang/test/CodeGenCXX/cxx11-trivial-initializer-struct.cpp b/clang/test/CodeGenCXX/cxx11-trivial-initializer-struct.cpp index 5b6bf6cca73a..cdac2535a3ef 100644 --- a/clang/test/CodeGenCXX/cxx11-trivial-initializer-struct.cpp +++ b/clang/test/CodeGenCXX/cxx11-trivial-initializer-struct.cpp @@ -7,6 +7,8 @@ // RUN: diff %t-c++11.ll %t-c++17.ll // RUN: diff %t.ll %t-c++03.ll +// rdar://12897704 + struct sAFSearchPos { unsigned char *pos; unsigned char count; diff --git a/clang/test/CodeGenCXX/debug-info-byval.cpp b/clang/test/CodeGenCXX/debug-info-byval.cpp index ac122ec567da..d61c289b3c48 100644 --- a/clang/test/CodeGenCXX/debug-info-byval.cpp +++ b/clang/test/CodeGenCXX/debug-info-byval.cpp @@ -1,6 +1,7 @@ // FIXME: Check IR rather than asm, then triple is not needed. // RUN: %clang --target=%itanium_abi_triple -g -S %s -o - | FileCheck %s // Test to check presence of debug info for byval parameter. +// Radar 8350436. class DAG { public: int i; diff --git a/clang/test/CodeGenCXX/debug-info-decl-nested.cpp b/clang/test/CodeGenCXX/debug-info-decl-nested.cpp index 8d89f4138a1a..5345ff2dff94 100644 --- a/clang/test/CodeGenCXX/debug-info-decl-nested.cpp +++ b/clang/test/CodeGenCXX/debug-info-decl-nested.cpp @@ -7,6 +7,8 @@ // definition of the constructor for OuterClass. The declaration is // necessary so the backend can emit the DW_AT_specification attribute // for the definition. +// +// rdar://problem/13116508 class Foo; class OuterClass diff --git a/clang/test/CodeGenCXX/debug-info-enum.cpp b/clang/test/CodeGenCXX/debug-info-enum.cpp index 48162b55ed64..088b94dd080c 100644 --- a/clang/test/CodeGenCXX/debug-info-enum.cpp +++ b/clang/test/CodeGenCXX/debug-info-enum.cpp @@ -29,6 +29,7 @@ void foo() { } namespace test2 { +// rdar://8195980 // CHECK: [[E2]] = !DICompositeType(tag: DW_TAG_enumeration_type, name: "e" // CHECK-SAME: scope: [[TEST2:![0-9]+]] // CHECK-SAME: elements: [[TEST1_ENUMS]] diff --git a/clang/test/CodeGenCXX/debug-info-indirect-field-decl.cpp b/clang/test/CodeGenCXX/debug-info-indirect-field-decl.cpp index 1b857d81f855..126e1f6bd1b8 100644 --- a/clang/test/CodeGenCXX/debug-info-indirect-field-decl.cpp +++ b/clang/test/CodeGenCXX/debug-info-indirect-field-decl.cpp @@ -1,6 +1,8 @@ // RUN: %clang_cc1 -emit-llvm -debug-info-kind=limited -triple x86_64-apple-darwin %s -o - | FileCheck %s // // Test that indirect field decls are handled gracefully. +// rdar://problem/16348575 +// template class Foo { }; struct Bar { diff --git a/clang/test/CodeGenCXX/debug-info-method-spec.cpp b/clang/test/CodeGenCXX/debug-info-method-spec.cpp index a58e8de107c2..0c803fdf6bf5 100644 --- a/clang/test/CodeGenCXX/debug-info-method-spec.cpp +++ b/clang/test/CodeGenCXX/debug-info-method-spec.cpp @@ -1,5 +1,6 @@ // FIXME: Check IR rather than asm, then triple is not needed. // RUN: %clang --target=%itanium_abi_triple -fverbose-asm -g -S %s -o - | grep DW_AT_specification +// Radar 9254491 class A { public: void doSomething(int i) { ++i; } diff --git a/clang/test/CodeGenCXX/debug-info-method2.cpp b/clang/test/CodeGenCXX/debug-info-method2.cpp index 1879b1a364dd..40664366e81f 100644 --- a/clang/test/CodeGenCXX/debug-info-method2.cpp +++ b/clang/test/CodeGenCXX/debug-info-method2.cpp @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -x c++ -debug-info-kind=limited -S -emit-llvm < %s | FileCheck %s +// rdar://10336845 // Preserve type qualifiers in -flimit-debug-info mode. // CHECK: DW_TAG_const_type diff --git a/clang/test/CodeGenCXX/debug-info-scope.cpp b/clang/test/CodeGenCXX/debug-info-scope.cpp index a90ad83e7c5a..b55ae9e85878 100644 --- a/clang/test/CodeGenCXX/debug-info-scope.cpp +++ b/clang/test/CodeGenCXX/debug-info-scope.cpp @@ -1,6 +1,8 @@ // RUN: %clang_cc1 -debug-info-kind=limited -gno-column-info -std=c++11 -emit-llvm %s -o -| FileCheck %s // // Two variables with the same name in subsequent if staments need to be in separate scopes. +// +// rdar://problem/14024005 int src(); diff --git a/clang/test/CodeGenCXX/debug-info-template-fwd.cpp b/clang/test/CodeGenCXX/debug-info-template-fwd.cpp index b6c6aa15fde6..8b8d29cad0e4 100644 --- a/clang/test/CodeGenCXX/debug-info-template-fwd.cpp +++ b/clang/test/CodeGenCXX/debug-info-template-fwd.cpp @@ -5,6 +5,7 @@ // CHECK: !DICompositeType(tag: DW_TAG_structure_type, name: "Derived" // CHECK-NOT: DIFlagFwdDecl // CHECK-SAME: ){{$}} +// rdar://problem/15931354 template class Derived; template class Base { diff --git a/clang/test/CodeGenCXX/debug-info-this.cpp b/clang/test/CodeGenCXX/debug-info-this.cpp index f1cd4aa8c090..a2842d021783 100644 --- a/clang/test/CodeGenCXX/debug-info-this.cpp +++ b/clang/test/CodeGenCXX/debug-info-this.cpp @@ -1,4 +1,5 @@ // RUN: %clang -emit-llvm -g -S %s -o - | FileCheck %s +// Radar 9239104 class Class { public: diff --git a/clang/test/CodeGenCXX/debug-info-zero-length-arrays.cpp b/clang/test/CodeGenCXX/debug-info-zero-length-arrays.cpp index 0b3fd937d23c..9f8eab624b40 100644 --- a/clang/test/CodeGenCXX/debug-info-zero-length-arrays.cpp +++ b/clang/test/CodeGenCXX/debug-info-zero-length-arrays.cpp @@ -1,4 +1,5 @@ // RUN: %clang -target x86_64-unknown-unknown -fverbose-asm -g -O0 -S -emit-llvm %s -o - | FileCheck %s +// class A { int x[]; diff --git a/clang/test/CodeGenCXX/delete-two-arg.cpp b/clang/test/CodeGenCXX/delete-two-arg.cpp index 552634f430a8..9eb07e27f571 100644 --- a/clang/test/CodeGenCXX/delete-two-arg.cpp +++ b/clang/test/CodeGenCXX/delete-two-arg.cpp @@ -49,6 +49,7 @@ namespace test2 { } } +// rdar://problem/8913519 namespace test3 { struct A { int x; diff --git a/clang/test/CodeGenCXX/derived-to-base-conv.cpp b/clang/test/CodeGenCXX/derived-to-base-conv.cpp index fc52f2063d8d..8ba98020707c 100644 --- a/clang/test/CodeGenCXX/derived-to-base-conv.cpp +++ b/clang/test/CodeGenCXX/derived-to-base-conv.cpp @@ -72,6 +72,7 @@ void test1(Derived bb) { // Don't crash after devirtualizing a derived-to-base conversion // to an empty base allocated at offset zero. +// rdar://problem/11993704 class Test2a {}; class Test2b final : public virtual Test2a {}; void test2(Test2b &x) { diff --git a/clang/test/CodeGenCXX/duplicate-mangled-name.cpp b/clang/test/CodeGenCXX/duplicate-mangled-name.cpp index 1eb63f7a27f3..53476f75654f 100644 --- a/clang/test/CodeGenCXX/duplicate-mangled-name.cpp +++ b/clang/test/CodeGenCXX/duplicate-mangled-name.cpp @@ -5,6 +5,7 @@ #ifdef TEST1 +// rdar://15522601 class MyClass { static void meth(); }; diff --git a/clang/test/CodeGenCXX/eh.cpp b/clang/test/CodeGenCXX/eh.cpp index c20eb3119688..da642a0ba042 100644 --- a/clang/test/CodeGenCXX/eh.cpp +++ b/clang/test/CodeGenCXX/eh.cpp @@ -64,6 +64,8 @@ void test4() { // CHECK: call void @__cxa_rethrow() [[NR]] // CHECK-NEXT: unreachable + +// rdar://problem/7696549 namespace test5 { struct A { A(); @@ -170,6 +172,7 @@ namespace test8 { } // Constructor function-try-block must rethrow on fallthrough. +// rdar://problem/7696603 namespace test9 { void opaque(); @@ -229,6 +232,7 @@ namespace test10 { } // __cxa_begin_catch returns pointers by value, even when catching by reference +// namespace test11 { void opaque(); @@ -332,6 +336,7 @@ namespace test13 { } } +// rdar://problem/8231514 namespace test14 { struct A { ~A(); }; struct B { ~B(); }; @@ -349,6 +354,7 @@ namespace test14 { } } +// rdar://problem/8231514 // JumpDests shouldn't get confused by scopes that aren't normal cleanups. namespace test15 { struct A { ~A(); }; diff --git a/clang/test/CodeGenCXX/exceptions.cpp b/clang/test/CodeGenCXX/exceptions.cpp index 8301c68b8fbd..72ee4f388e27 100644 --- a/clang/test/CodeGenCXX/exceptions.cpp +++ b/clang/test/CodeGenCXX/exceptions.cpp @@ -75,6 +75,7 @@ namespace test1 { return new A(B().x); } + // rdar://11904428 // Terminate landing pads should call __cxa_begin_catch first. // CHECK98: define linkonce_odr hidden void @__clang_call_terminate(ptr %0) [[NI_NR_NUW:#[0-9]+]] comdat // CHECK98-NEXT: [[T0:%.*]] = call ptr @__cxa_begin_catch(ptr %0) [[NUW:#[0-9]+]] @@ -213,6 +214,7 @@ namespace test3 { return new(foo(),bar()) A(5); } + // rdar://problem/8439196 A *b(bool cond) { // CHECK: define{{( dso_local)?}} ptr @_ZN5test31bEb(i1 zeroext diff --git a/clang/test/CodeGenCXX/global-block-literal-helpers.cpp b/clang/test/CodeGenCXX/global-block-literal-helpers.cpp index 8e82e38b2be3..762b5d9910df 100644 --- a/clang/test/CodeGenCXX/global-block-literal-helpers.cpp +++ b/clang/test/CodeGenCXX/global-block-literal-helpers.cpp @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -std=c++11 -emit-llvm -fblocks -o - -triple x86_64-apple-darwin10 %s | FileCheck %s +// rdar://11343499 namespace N { typedef void (^BL)(); diff --git a/clang/test/CodeGenCXX/global-init.cpp b/clang/test/CodeGenCXX/global-init.cpp index 52039a520822..757ac5465fb4 100644 --- a/clang/test/CodeGenCXX/global-init.cpp +++ b/clang/test/CodeGenCXX/global-init.cpp @@ -40,6 +40,7 @@ C c; // CHECK: call i32 @__cxa_atexit(ptr @_ZN1DD1Ev, ptr @d, ptr @__dso_handle) D d; +// namespace test1 { int f(); const int x = f(); // This has side-effects and gets emitted immediately. @@ -51,6 +52,7 @@ namespace test1 { // All of these initializers end up delayed, so we check them later. } +// namespace test2 { struct allocator { allocator(); ~allocator(); }; struct A { A(const allocator &a = allocator()); ~A(); }; @@ -201,7 +203,7 @@ namespace test7 { // CHECK: call void [[TEST1_Y_INIT]] // CHECK: call void [[TEST1_Z_INIT]] -// this should be nounwind +// rdar://problem/8090834: this should be nounwind // CHECK-NOEXC: define internal void @_GLOBAL__sub_I_global_init.cpp() [[NUW:#[0-9]+]] section "__TEXT,__StaticInit,regular,pure_instructions" { // CHECK-NOEXC: attributes [[NUW]] = { noinline nounwind{{.*}} } diff --git a/clang/test/CodeGenCXX/globalinit-loc.cpp b/clang/test/CodeGenCXX/globalinit-loc.cpp index fb482b664361..e9715a651f40 100644 --- a/clang/test/CodeGenCXX/globalinit-loc.cpp +++ b/clang/test/CodeGenCXX/globalinit-loc.cpp @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -emit-llvm -debug-info-kind=limited %s -o - | FileCheck %s +// rdar://problem/14985269. // // Verify that the global init helper function does not get associated // with any source location. diff --git a/clang/test/CodeGenCXX/implicit-copy-constructor.cpp b/clang/test/CodeGenCXX/implicit-copy-constructor.cpp index 6b3254559489..c7bf2a7fe445 100644 --- a/clang/test/CodeGenCXX/implicit-copy-constructor.cpp +++ b/clang/test/CodeGenCXX/implicit-copy-constructor.cpp @@ -72,6 +72,7 @@ void test_X2() pdata.f0( new impl(*i)); } +// rdar://problem/9598341 namespace test3 { struct A { A(const A&); A&operator=(const A&); }; struct B { A a; unsigned : 0; }; diff --git a/clang/test/CodeGenCXX/inheriting-constructor-cleanup.cpp b/clang/test/CodeGenCXX/inheriting-constructor-cleanup.cpp index 722166fd8648..9ea48a933877 100644 --- a/clang/test/CodeGenCXX/inheriting-constructor-cleanup.cpp +++ b/clang/test/CodeGenCXX/inheriting-constructor-cleanup.cpp @@ -2,6 +2,7 @@ // RUN: %clang_cc1 -triple x86_64-darwin -std=c++11 -fcxx-exceptions -fexceptions -emit-llvm -o - %s | FileCheck %s --check-prefix=EXCEPTIONS // PR36748 +// rdar://problem/45805151 // Classes to verify order of destroying function parameters. struct S1 { diff --git a/clang/test/CodeGenCXX/inline-functions.cpp b/clang/test/CodeGenCXX/inline-functions.cpp index 6c4badc4f6f6..549682ed094b 100644 --- a/clang/test/CodeGenCXX/inline-functions.cpp +++ b/clang/test/CodeGenCXX/inline-functions.cpp @@ -26,6 +26,7 @@ void B::f() { } // MSVCCOMPAT-LABEL: define dso_local void @"?f@@YAXXZ" void f() { } +// inline void f1(int); // NORMAL-LABEL: define linkonce_odr void @_Z2f1i diff --git a/clang/test/CodeGenCXX/internal-linkage.cpp b/clang/test/CodeGenCXX/internal-linkage.cpp index 27b69cc0764d..f3c0ad18459f 100644 --- a/clang/test/CodeGenCXX/internal-linkage.cpp +++ b/clang/test/CodeGenCXX/internal-linkage.cpp @@ -17,6 +17,7 @@ Anon anon1; // CHECK: @anon2 = internal global X anon2; +// rdar: // 8071804 char const * const xyzzy = "Hello, world!"; extern char const * const xyzzy; diff --git a/clang/test/CodeGenCXX/lambda-expressions.cpp b/clang/test/CodeGenCXX/lambda-expressions.cpp index 3ad982a195cc..45f61b4bdb0a 100644 --- a/clang/test/CodeGenCXX/lambda-expressions.cpp +++ b/clang/test/CodeGenCXX/lambda-expressions.cpp @@ -201,6 +201,7 @@ void h() { A (*h)() = [] { return A(); }; } +// struct XXX {}; void nestedCapture () { XXX localKey; diff --git a/clang/test/CodeGenCXX/lpad-linetable.cpp b/clang/test/CodeGenCXX/lpad-linetable.cpp index d32aadf6eabb..b20106f5f98f 100644 --- a/clang/test/CodeGenCXX/lpad-linetable.cpp +++ b/clang/test/CodeGenCXX/lpad-linetable.cpp @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -fcxx-exceptions -fexceptions -emit-llvm -debug-info-kind=limited -triple x86_64-apple-darwin10 -std=c++98 %s -o - | FileCheck %s // The landing pad should have the line number of the closing brace of the function. +// rdar://problem/13888152 // CHECK: ret i32 // CHECK: landingpad {{.*}} // CHECK-NEXT: !dbg ![[LPAD:[0-9]+]] diff --git a/clang/test/CodeGenCXX/mangle-template.cpp b/clang/test/CodeGenCXX/mangle-template.cpp index 7611bae5dbd6..9b80a6d64695 100644 --- a/clang/test/CodeGenCXX/mangle-template.cpp +++ b/clang/test/CodeGenCXX/mangle-template.cpp @@ -169,6 +169,7 @@ namespace test12 { } } +// rdar://problem/12072531 // Test the boundary condition of minimal signed integers. namespace test13 { template char returnChar() { return c; } diff --git a/clang/test/CodeGenCXX/mangle.cpp b/clang/test/CodeGenCXX/mangle.cpp index 31467d943840..75c9966fb807 100644 --- a/clang/test/CodeGenCXX/mangle.cpp +++ b/clang/test/CodeGenCXX/mangle.cpp @@ -395,6 +395,7 @@ namespace test2 { // CHECK-LABEL: define linkonce_odr noundef i32 @_ZN5test211read_memberINS_1AEEEDtptcvPT_Li0E6memberERS2_( } +// rdar://problem/9280586 namespace test3 { struct AmbiguousBase { int ab; }; struct Path1 : AmbiguousBase { float p; }; @@ -476,6 +477,7 @@ namespace test9 { } } +// namespace test10 { template struct S {}; template void f(struct S ) {} @@ -525,6 +527,7 @@ namespace test14 { } } +// rdar://problem/8204122 namespace test15 { enum E { e = 3 }; template struct S {}; @@ -535,6 +538,7 @@ namespace test15 { template void f<7>(S<7 + e>); } +// rdar://problem/8302148 namespace test17 { template struct A {}; @@ -579,6 +583,7 @@ namespace test18 { // CHECK-LABEL: define weak_odr void @_ZN6test181fINS_1AEEEvNS_1SIXadsrT_onanEEE } +// rdar://problem/8332117 namespace test19 { struct A { template int f(); @@ -617,6 +622,7 @@ namespace test20 { template void test1(decltype(f<>(int()))); } +// rdar:// 8620510 namespace test21 { // CHECK-LABEL: define{{.*}} void @_ZN6test2112vla_arg_funcEiPA_i( void vla_arg_func(int X, int a[X][X]) {} @@ -627,6 +633,7 @@ namespace test22 { void f(decltype(nullptr)) { } } +// rdar://problem/8913416 namespace test23 { typedef void * const vpc; @@ -652,6 +659,7 @@ namespace test24 { } } +// rdar://problem/8806641 namespace test25 { template struct A { static void call() { fn(); } diff --git a/clang/test/CodeGenCXX/member-alignment.cpp b/clang/test/CodeGenCXX/member-alignment.cpp index 8e7a353dfe6f..788e01fbc68f 100644 --- a/clang/test/CodeGenCXX/member-alignment.cpp +++ b/clang/test/CodeGenCXX/member-alignment.cpp @@ -19,6 +19,8 @@ // RUN: %clang_cc1 -emit-llvm -triple x86_64-unknown-windows-msvc %s -o - | \ // RUN: FileCheck -check-prefix CHECK-MSVC %s +// rdar://7268289 + class t { public: virtual void foo(void); diff --git a/clang/test/CodeGenCXX/member-function-pointers.cpp b/clang/test/CodeGenCXX/member-function-pointers.cpp index 51ea970111aa..f74263cd4621 100644 --- a/clang/test/CodeGenCXX/member-function-pointers.cpp +++ b/clang/test/CodeGenCXX/member-function-pointers.cpp @@ -240,8 +240,9 @@ namespace test9 { } } -// Verify that we can emit reinterprets of member pointers as constant -// initializers. For added trickiness, we also add some non-trivial adjustments. +// rdar://problem/10815683 - Verify that we can emit reinterprets of +// member pointers as constant initializers. For added trickiness, +// we also add some non-trivial adjustments. namespace test10 { struct A { int nonEmpty; diff --git a/clang/test/CodeGenCXX/microsoft-uuidof-mangling.cpp b/clang/test/CodeGenCXX/microsoft-uuidof-mangling.cpp index 9bcc95f780e2..5c02b1eb014c 100644 --- a/clang/test/CodeGenCXX/microsoft-uuidof-mangling.cpp +++ b/clang/test/CodeGenCXX/microsoft-uuidof-mangling.cpp @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -emit-llvm %s -o - -triple x86_64-unknown-unknown -fms-extensions | FileCheck %s --check-prefixes=CHECK,CHECK-V12 // RUN: %clang_cc1 -emit-llvm %s -o - -triple x86_64-unknown-unknown -fms-extensions -fclang-abi-compat=11 | FileCheck %s --check-prefixes=CHECK,CHECK-V11 +// rdar://17784718 typedef struct _GUID { diff --git a/clang/test/CodeGenCXX/ms_struct.cpp b/clang/test/CodeGenCXX/ms_struct.cpp index 1995e3155bd5..eec50ddd40f8 100644 --- a/clang/test/CodeGenCXX/ms_struct.cpp +++ b/clang/test/CodeGenCXX/ms_struct.cpp @@ -1,5 +1,7 @@ // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -emit-llvm %s -o - | FileCheck %s +// rdar://20636558 + #pragma GCC diagnostic ignored "-Wincompatible-ms-struct" #define ATTR __attribute__((__ms_struct__)) diff --git a/clang/test/CodeGenCXX/new-overflow.cpp b/clang/test/CodeGenCXX/new-overflow.cpp index 8a193955574e..9cf1df8d018f 100644 --- a/clang/test/CodeGenCXX/new-overflow.cpp +++ b/clang/test/CodeGenCXX/new-overflow.cpp @@ -1,5 +1,7 @@ // RUN: %clang_cc1 -std=c++14 -triple i386-unknown-unknown %s -emit-llvm -o - | FileCheck %s +// rdar://problem/9246208 + // Basic test. namespace test0 { struct A { diff --git a/clang/test/CodeGenCXX/no-opt-volatile-memcpy.cpp b/clang/test/CodeGenCXX/no-opt-volatile-memcpy.cpp index 1a52169d5a93..eee9c9bd33bb 100644 --- a/clang/test/CodeGenCXX/no-opt-volatile-memcpy.cpp +++ b/clang/test/CodeGenCXX/no-opt-volatile-memcpy.cpp @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -triple=x86_64-apple-darwin -emit-llvm -o - %s | FileCheck %s +// rdar://11861085 struct s { char filler [128]; diff --git a/clang/test/CodeGenCXX/noexcept.cpp b/clang/test/CodeGenCXX/noexcept.cpp index adc9d842171a..cb7a5e80b504 100644 --- a/clang/test/CodeGenCXX/noexcept.cpp +++ b/clang/test/CodeGenCXX/noexcept.cpp @@ -1,5 +1,6 @@ // RUN: %clang_cc1 %s -triple=x86_64-apple-darwin10 -emit-llvm -o - -fcxx-exceptions -fexceptions -std=c++11 | FileCheck %s +// rdar://11904428 // Ensure that we call __cxa_begin_catch before calling // std::terminate in a noexcept function. namespace test0 { diff --git a/clang/test/CodeGenCXX/nrvo.cpp b/clang/test/CodeGenCXX/nrvo.cpp index d8a88832b4de..6ac5afcc2ac1 100644 --- a/clang/test/CodeGenCXX/nrvo.cpp +++ b/clang/test/CodeGenCXX/nrvo.cpp @@ -760,6 +760,7 @@ X test5() { // http://wg21.link/p2025r2#ex-14 } #endif +// rdar://problem/10430868 // CHECK-LABEL: @_Z5test6v( // CHECK-NEXT: entry: // CHECK-NEXT: [[RESULT_PTR:%.*]] = alloca ptr, align 4 diff --git a/clang/test/CodeGenCXX/operator-new.cpp b/clang/test/CodeGenCXX/operator-new.cpp index 1d7887146705..a393561f7db8 100644 --- a/clang/test/CodeGenCXX/operator-new.cpp +++ b/clang/test/CodeGenCXX/operator-new.cpp @@ -14,7 +14,7 @@ void f1() { new teste(); } -// operator new should check for overflow in multiply. +// rdar://5739832 - operator new should check for overflow in multiply. void *f2(long N) { return new int[N]; diff --git a/clang/test/CodeGenCXX/pragma-pack-2.cpp b/clang/test/CodeGenCXX/pragma-pack-2.cpp index 375495bb4841..7728f570bc57 100644 --- a/clang/test/CodeGenCXX/pragma-pack-2.cpp +++ b/clang/test/CodeGenCXX/pragma-pack-2.cpp @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -triple x86_64-apple-macosx10.7.2 %s -emit-llvm -o - | FileCheck %s +// struct FOO { unsigned int x; diff --git a/clang/test/CodeGenCXX/predefined-expr.cpp b/clang/test/CodeGenCXX/predefined-expr.cpp index 815bcbb3bd89..e6bf4297eb7a 100644 --- a/clang/test/CodeGenCXX/predefined-expr.cpp +++ b/clang/test/CodeGenCXX/predefined-expr.cpp @@ -538,6 +538,7 @@ int main() { return 0; } +// rdar://19065361 class XXX { XXX(); ~XXX(); diff --git a/clang/test/CodeGenCXX/reference-in-block-args.cpp b/clang/test/CodeGenCXX/reference-in-block-args.cpp index 41f142afd543..1ff1ae2dc856 100644 --- a/clang/test/CodeGenCXX/reference-in-block-args.cpp +++ b/clang/test/CodeGenCXX/reference-in-block-args.cpp @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -fblocks %s -emit-llvm -o %t +// rdar: // 8041962 extern "C" int printf(const char*, ...); diff --git a/clang/test/CodeGenCXX/reference-in-blocks.cpp b/clang/test/CodeGenCXX/reference-in-blocks.cpp index f5cc566e7e50..388ec7c4bbca 100644 --- a/clang/test/CodeGenCXX/reference-in-blocks.cpp +++ b/clang/test/CodeGenCXX/reference-in-blocks.cpp @@ -9,6 +9,7 @@ T _i; T get() {return _i;}; }; +// rdar: // 7495203 class A { public: A() : field(10), d1(3.14) {} @@ -24,7 +25,7 @@ class A { void A::F() { __block A &tlc = *this; - // crashed in code gen + // crashed in code gen (radar 7495203) ^{ tlc.S(); }(); } diff --git a/clang/test/CodeGenCXX/reference-init.cpp b/clang/test/CodeGenCXX/reference-init.cpp index a98d400eb17a..3c1f4898c426 100644 --- a/clang/test/CodeGenCXX/reference-init.cpp +++ b/clang/test/CodeGenCXX/reference-init.cpp @@ -24,6 +24,7 @@ namespace PR5911 { int test() { return f(iarr); } } +// radar 7574896 struct Foo { int foo; }; Foo& ignoreSetMutex = *(new Foo); diff --git a/clang/test/CodeGenCXX/rtti-linkage.cpp b/clang/test/CodeGenCXX/rtti-linkage.cpp index ca50a1bc6f01..e3391c9308f8 100644 --- a/clang/test/CodeGenCXX/rtti-linkage.cpp +++ b/clang/test/CodeGenCXX/rtti-linkage.cpp @@ -152,11 +152,13 @@ void t3() { (void) typeid(T<2>); } +// rdar://problem/8778973 struct T4 {}; void t4(const T4 *ptr) { const void *value = &typeid(ptr); } +// rdar://16265084 void t5() { struct A {}; const void *value = &typeid(A); diff --git a/clang/test/CodeGenCXX/runtimecc.cpp b/clang/test/CodeGenCXX/runtimecc.cpp index 988b6620626c..0c6a12f25332 100644 --- a/clang/test/CodeGenCXX/runtimecc.cpp +++ b/clang/test/CodeGenCXX/runtimecc.cpp @@ -7,6 +7,8 @@ // translation units to define these runtime functions (or, equivalently, // for us to get LTO'ed with such a translation unit), and then the // mismatch will kill us. +// +// rdar://12818655 // CHECK: [[A:%.*]] = type { double } diff --git a/clang/test/CodeGenCXX/specialized-static-data-mem-init.cpp b/clang/test/CodeGenCXX/specialized-static-data-mem-init.cpp index 32afe95531f9..d793242be1a0 100644 --- a/clang/test/CodeGenCXX/specialized-static-data-mem-init.cpp +++ b/clang/test/CodeGenCXX/specialized-static-data-mem-init.cpp @@ -1,4 +1,5 @@ // RUN: %clang_cc1 %s -emit-llvm -triple %itanium_abi_triple -o - | FileCheck %s +// rdar: // 8562966 // pr8409 // CHECK: @_ZN1CIiE11needs_guardE = linkonce_odr {{(dso_local )?}}global diff --git a/clang/test/CodeGenCXX/static-init.cpp b/clang/test/CodeGenCXX/static-init.cpp index a44f78116dbb..baf5c12a12aa 100644 --- a/clang/test/CodeGenCXX/static-init.cpp +++ b/clang/test/CodeGenCXX/static-init.cpp @@ -91,6 +91,7 @@ namespace union_static_local { } } +// rdar://problem/11091093 // Static variables should be consistent across constructor // or destructor variants. namespace test2 { diff --git a/clang/test/CodeGenCXX/stmtexpr.cpp b/clang/test/CodeGenCXX/stmtexpr.cpp index 6e19ce864813..cc34613fe7ce 100644 --- a/clang/test/CodeGenCXX/stmtexpr.cpp +++ b/clang/test/CodeGenCXX/stmtexpr.cpp @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -Wno-unused-value -triple i686-linux-gnu -emit-llvm -o - %s | FileCheck %s +// rdar: //8540501 extern "C" int printf(...); extern "C" void abort(); @@ -63,6 +64,7 @@ int main() return foo(1).i-1; } +// rdar: // 8600553 int a[128]; int* foo5() { // CHECK-NOT: memcpy @@ -71,6 +73,7 @@ int* foo5() { return (({ a; })); } +// // Make sure this doesn't crash. int foo5(bool b) { int y = 0; diff --git a/clang/test/CodeGenCXX/template-dependent-bind-temporary.cpp b/clang/test/CodeGenCXX/template-dependent-bind-temporary.cpp index 32ca9ad4bf7d..4c4b3ea9f776 100644 --- a/clang/test/CodeGenCXX/template-dependent-bind-temporary.cpp +++ b/clang/test/CodeGenCXX/template-dependent-bind-temporary.cpp @@ -1,4 +1,5 @@ // RUN: %clang_cc1 %s -emit-llvm -triple %itanium_abi_triple -o - | FileCheck %s +// rdar: //8620524 // PR7851 struct string { string (const string& ); diff --git a/clang/test/CodeGenCXX/temporaries.cpp b/clang/test/CodeGenCXX/temporaries.cpp index c5adb42a6f17..568051a36fe4 100644 --- a/clang/test/CodeGenCXX/temporaries.cpp +++ b/clang/test/CodeGenCXX/temporaries.cpp @@ -495,6 +495,7 @@ namespace Elision { // CHECK: call void @_ZN7Elision1AD1Ev(ptr {{[^,]*}} [[X]]) } + // rdar://problem/8433352 // CHECK: define{{.*}} void @_ZN7Elision5test5Ev(ptr noalias sret([[A]]) align 8 struct B { A a; B(); }; A test5() { diff --git a/clang/test/CodeGenCXX/throw-expressions.cpp b/clang/test/CodeGenCXX/throw-expressions.cpp index 807c460d3ec6..d8801fe887d4 100644 --- a/clang/test/CodeGenCXX/throw-expressions.cpp +++ b/clang/test/CodeGenCXX/throw-expressions.cpp @@ -9,6 +9,7 @@ int test2() { return val ? throw val : val; } +// rdar://problem/8608801 void test3() { throw false; } diff --git a/clang/test/CodeGenCXX/thunk-linkonce-odr.cpp b/clang/test/CodeGenCXX/thunk-linkonce-odr.cpp index a3b2875d25e1..e48284197e20 100644 --- a/clang/test/CodeGenCXX/thunk-linkonce-odr.cpp +++ b/clang/test/CodeGenCXX/thunk-linkonce-odr.cpp @@ -1,4 +1,5 @@ // RUN: %clang_cc1 %s -triple i386-unknown-unknown -emit-llvm -o - | FileCheck %s +// & struct A { virtual int f() { return 1; } diff --git a/clang/test/CodeGenCXX/type_visibility.cpp b/clang/test/CodeGenCXX/type_visibility.cpp index 13aafcff0fa1..4ead7671a39f 100644 --- a/clang/test/CodeGenCXX/type_visibility.cpp +++ b/clang/test/CodeGenCXX/type_visibility.cpp @@ -12,6 +12,8 @@ #define TYPE_PROTECTED __attribute__((type_visibility("protected"))) #define TYPE_DEFAULT __attribute__((type_visibility("default"))) +// type_visibility is rdar://11880378 + #if !__has_attribute(type_visibility) #error No type_visibility attribute! #endif diff --git a/clang/test/CodeGenCXX/uncode-string.cpp b/clang/test/CodeGenCXX/uncode-string.cpp index c94cde618a5d..58aec75dda2e 100644 --- a/clang/test/CodeGenCXX/uncode-string.cpp +++ b/clang/test/CodeGenCXX/uncode-string.cpp @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -emit-llvm -o - %s | FileCheck %s +// rdar://8360841 wchar_t s[] = L"\u2722"; diff --git a/clang/test/CodeGenCXX/unknown-anytype.cpp b/clang/test/CodeGenCXX/unknown-anytype.cpp index 862b8fe8b66d..3d5155e41f2b 100644 --- a/clang/test/CodeGenCXX/unknown-anytype.cpp +++ b/clang/test/CodeGenCXX/unknown-anytype.cpp @@ -8,6 +8,7 @@ // x86-64 is the special case here because of its variadic convention. // We want to ensure that it always uses a variadic convention even if // other platforms do not. +// rdar://13731520 int test0() { extern __unknown_anytype test0_any; diff --git a/clang/test/CodeGenCXX/value-init.cpp b/clang/test/CodeGenCXX/value-init.cpp index 42181be92ace..1430076557e4 100644 --- a/clang/test/CodeGenCXX/value-init.cpp +++ b/clang/test/CodeGenCXX/value-init.cpp @@ -196,6 +196,7 @@ void f(const C& c) { } +// rdar://problem/9355931 namespace test6 { struct A { A(); A(int); }; diff --git a/clang/test/CodeGenCXX/varargs.cpp b/clang/test/CodeGenCXX/varargs.cpp index afffaf5554de..e6358b3d1b6b 100644 --- a/clang/test/CodeGenCXX/varargs.cpp +++ b/clang/test/CodeGenCXX/varargs.cpp @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -emit-llvm %s -o - | FileCheck %s +// rdar://7309675 // PR4678 namespace test0 { // test1 should be compmiled to be a varargs function in the IR even diff --git a/clang/test/CodeGenCXX/vector-splat-conversion.cpp b/clang/test/CodeGenCXX/vector-splat-conversion.cpp index 08b2fa8e96cb..9046ade7289a 100644 --- a/clang/test/CodeGenCXX/vector-splat-conversion.cpp +++ b/clang/test/CodeGenCXX/vector-splat-conversion.cpp @@ -4,6 +4,7 @@ typedef __attribute__((__ext_vector_type__(8))) float vector_float8; typedef vector_float8 float8; +// rdar://20000762 // CHECK-LABEL: define{{.*}} void @_Z23MandelbrotPolyCalcSIMD8v void MandelbrotPolyCalcSIMD8() { constexpr float8 v4 = 4.0; // value to compare against abs(z)^2, to see if bounded diff --git a/clang/test/CodeGenCXX/visibility-hidden-extern-templates.cpp b/clang/test/CodeGenCXX/visibility-hidden-extern-templates.cpp index 3a90159b469b..62c41c2799fb 100644 --- a/clang/test/CodeGenCXX/visibility-hidden-extern-templates.cpp +++ b/clang/test/CodeGenCXX/visibility-hidden-extern-templates.cpp @@ -12,6 +12,7 @@ extern template struct X; template struct X; extern template struct X; +// void test_X(X xi, X xc) { // CHECK-LABEL: define weak_odr hidden {{.*}}void @_ZN1XIiE1fEv xi.f(); diff --git a/clang/test/CodeGenCXX/visibility-inlines-hidden.cpp b/clang/test/CodeGenCXX/visibility-inlines-hidden.cpp index 6e2491d17f94..d388da3a10a8 100644 --- a/clang/test/CodeGenCXX/visibility-inlines-hidden.cpp +++ b/clang/test/CodeGenCXX/visibility-inlines-hidden.cpp @@ -65,6 +65,7 @@ void use(X0 *x0, X1 *x1, X2 *x2, X1 *x3) { x3->f2(); } +// rdar://problem/8614470 namespace test1 { struct __attribute__((visibility("default"))) A { inline void foo(); diff --git a/clang/test/CodeGenCXX/visibility-ms-compat.cpp b/clang/test/CodeGenCXX/visibility-ms-compat.cpp index 525691358832..864817876e82 100644 --- a/clang/test/CodeGenCXX/visibility-ms-compat.cpp +++ b/clang/test/CodeGenCXX/visibility-ms-compat.cpp @@ -5,6 +5,8 @@ // The two visibility options above are how we translate // -fvisibility-ms-compat in the driver. +// rdar://13079314 + #define HIDDEN __attribute__((visibility("hidden"))) #define PROTECTED __attribute__((visibility("protected"))) #define DEFAULT __attribute__((visibility("default"))) diff --git a/clang/test/CodeGenCXX/visibility.cpp b/clang/test/CodeGenCXX/visibility.cpp index 167a13c3ecb6..8c31613e76b9 100644 --- a/clang/test/CodeGenCXX/visibility.cpp +++ b/clang/test/CodeGenCXX/visibility.cpp @@ -238,6 +238,7 @@ namespace Test5 { } } +// namespace Test6 { struct HIDDEN foo { foo() { } @@ -375,6 +376,7 @@ namespace Test14 { struct A *test() { return var; } } +// rdar://problem/8613093 namespace Test15 { struct A {}; template struct Temp { @@ -537,6 +539,7 @@ namespace Test20 { A<1>::test3(); } + // // But we should assume that an unknown specialization has the // explicit visibility settings of the template. template struct B { @@ -566,6 +569,7 @@ namespace test21 { template void A::foo(); } +// rdar://problem/9616154 // Visibility on explicit specializations should take precedence. namespace test22 { class A1 {}; diff --git a/clang/test/CodeGenCXX/vla.cpp b/clang/test/CodeGenCXX/vla.cpp index 4cf2b3b445b4..a1df4576ee47 100644 --- a/clang/test/CodeGenCXX/vla.cpp +++ b/clang/test/CodeGenCXX/vla.cpp @@ -15,6 +15,7 @@ int f() { return sizeof a; } +// rdar://problem/9506377 void test0(void *array, int n) { // CHECK-LABEL: define{{.*}} void @_Z5test0Pvi( // AMDGCN: [[ARRAY0:%.*]] = alloca ptr, align 8, addrspace(5) diff --git a/clang/test/CodeGenCXX/volatile.cpp b/clang/test/CodeGenCXX/volatile.cpp index 38f16eefd14d..ae01881bd83a 100644 --- a/clang/test/CodeGenCXX/volatile.cpp +++ b/clang/test/CodeGenCXX/volatile.cpp @@ -2,7 +2,7 @@ // RUN: %clang_cc1 %s -triple=x86_64-apple-darwin10 -emit-llvm -std=c++11 -o - | FileCheck -check-prefix=CHECK -check-prefix=CHECK11 %s // Check that IR gen doesn't try to do an lvalue-to-rvalue conversion -// on a volatile reference result. +// on a volatile reference result. rdar://problem/8338198 namespace test0 { struct A { A(const A& t); diff --git a/clang/test/CodeGenCXX/vtable-debug-info.cpp b/clang/test/CodeGenCXX/vtable-debug-info.cpp index 932b440bca11..b426ce96fa7f 100644 --- a/clang/test/CodeGenCXX/vtable-debug-info.cpp +++ b/clang/test/CodeGenCXX/vtable-debug-info.cpp @@ -1,4 +1,5 @@ // RUN: %clang -emit-llvm -S -g %s -o /dev/null +// Radar 8730409 // XFAIL: target={{.*-windows-msvc}} // FIXME: This test crashes on *-pc-win32 diff --git a/clang/test/CodeGenCXX/vtable-layout.cpp b/clang/test/CodeGenCXX/vtable-layout.cpp index cfeb42f5fe53..20fec803e56b 100644 --- a/clang/test/CodeGenCXX/vtable-layout.cpp +++ b/clang/test/CodeGenCXX/vtable-layout.cpp @@ -1839,6 +1839,7 @@ C* C::f() { return 0; } } +// rdar://problem/10959710 namespace Test38 { struct A { virtual void *foo(); diff --git a/clang/test/CodeGenCXX/vtable-linkage.cpp b/clang/test/CodeGenCXX/vtable-linkage.cpp index 778317213377..a23731f44ee9 100644 --- a/clang/test/CodeGenCXX/vtable-linkage.cpp +++ b/clang/test/CodeGenCXX/vtable-linkage.cpp @@ -97,7 +97,7 @@ void use_F() { // CHECK-DAG: @_ZTV1B = external unnamed_addr constant // C has no key function, so its vtable should have weak_odr linkage -// and hidden visibility. +// and hidden visibility (rdar://problem/7523229). // CHECK-DAG: @_ZTV1C = linkonce_odr unnamed_addr constant {{.*}}, comdat, align 8{{$}} // CHECK-DAG: @_ZTS1C = linkonce_odr constant {{.*}}, comdat, align 1{{$}} // CHECK-DAG: @_ZTI1C = linkonce_odr constant {{.*}}, comdat, align 8{{$}} diff --git a/clang/test/CodeGenCXX/weak-extern-typeinfo.cpp b/clang/test/CodeGenCXX/weak-extern-typeinfo.cpp index 932d36f4abbd..db94aed9c8c8 100644 --- a/clang/test/CodeGenCXX/weak-extern-typeinfo.cpp +++ b/clang/test/CodeGenCXX/weak-extern-typeinfo.cpp @@ -1,4 +1,5 @@ // RUN: %clang_cc1 %s -emit-llvm -triple %itanium_abi_triple -o - | FileCheck %s +// rdar://10246395 #define WEAK __attribute__ ((weak)) diff --git a/clang/test/CodeGenCXX/x86_64-arguments.cpp b/clang/test/CodeGenCXX/x86_64-arguments.cpp index d1bbf5d30f59..d153a556eefa 100644 --- a/clang/test/CodeGenCXX/x86_64-arguments.cpp +++ b/clang/test/CodeGenCXX/x86_64-arguments.cpp @@ -62,7 +62,7 @@ void foo() { } } -namespace PR7742 { +namespace PR7742 { // Also rdar://8250764 struct s2 { float a[2]; }; @@ -107,8 +107,8 @@ namespace test5 { X getX(); int takeY(const Y&, int y); void g() { - // The temporary for the X object needs to have a defined address when - // passed into X::f as 'this'. + // rdar://8340348 - The temporary for the X object needs to have a defined + // address when passed into X::f as 'this'. takeY(getX().f(), 42); } // CHECK: void @_ZN5test51gEv() @@ -117,6 +117,8 @@ namespace test5 { // CHECK: alloca %"struct.test5::Y" } + +// rdar://8360877 namespace test6 { struct outer { int x; @@ -136,6 +138,7 @@ namespace test7 { A x(A, A, long, long, StringRef) { return A(); } // Check that the StringRef is passed byval instead of expanded // (which would split it between registers and memory). + // rdar://problem/9686430 // CHECK: define{{.*}} void @_ZN5test71xENS_1AES0_llNS_9StringRefE({{.*}} byval({{.*}}) align 8 {{%.*}}) // And a couple extra related tests: diff --git a/clang/test/CodeGenObjC/2007-10-23-GC-WriteBarrier.m b/clang/test/CodeGenObjC/2007-10-23-GC-WriteBarrier.m index 01eefd41d653..af8508b6463a 100644 --- a/clang/test/CodeGenObjC/2007-10-23-GC-WriteBarrier.m +++ b/clang/test/CodeGenObjC/2007-10-23-GC-WriteBarrier.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -emit-llvm %s -o /dev/null -fobjc-gc +// rdar://5541393 typedef unsigned int NSUInteger; __attribute__((objc_gc(strong))) float *_scores; diff --git a/clang/test/CodeGenObjC/2008-11-25-Blocks.m b/clang/test/CodeGenObjC/2008-11-25-Blocks.m index f0be6de33898..80f45b532371 100644 --- a/clang/test/CodeGenObjC/2008-11-25-Blocks.m +++ b/clang/test/CodeGenObjC/2008-11-25-Blocks.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -fblocks -emit-llvm %s -o /dev/null +// rdar://6394879 @interface bork - (id)B:(void (^)(void))blk; diff --git a/clang/test/CodeGenObjC/2009-01-26-WriteBarrier-2.m b/clang/test/CodeGenObjC/2009-01-26-WriteBarrier-2.m index e6bc7b13a221..d7219f185ba7 100644 --- a/clang/test/CodeGenObjC/2009-01-26-WriteBarrier-2.m +++ b/clang/test/CodeGenObjC/2009-01-26-WriteBarrier-2.m @@ -1,6 +1,7 @@ // RUN: %clang_cc1 -fblocks -emit-llvm %s -fobjc-gc -o - | FileCheck %s // CHECK: objc_assign_strongCast +// rdar://5541393 typedef __SIZE_TYPE__ size_t; void * malloc(size_t size); diff --git a/clang/test/CodeGenObjC/2009-02-05-VolatileProp.m b/clang/test/CodeGenObjC/2009-02-05-VolatileProp.m index d639fac50bb0..01aecfd9fe4d 100644 --- a/clang/test/CodeGenObjC/2009-02-05-VolatileProp.m +++ b/clang/test/CodeGenObjC/2009-02-05-VolatileProp.m @@ -1,4 +1,5 @@ // RUN: %clang -fexceptions -S -emit-llvm %s -o /dev/null -pedantic-errors +// rdar://6551276 void foo(const unsigned short *); void bar(void) { diff --git a/clang/test/CodeGenObjC/2009-08-05-utf16.m b/clang/test/CodeGenObjC/2009-08-05-utf16.m index 81dd99dfb68e..92394d9383eb 100644 --- a/clang/test/CodeGenObjC/2009-08-05-utf16.m +++ b/clang/test/CodeGenObjC/2009-08-05-utf16.m @@ -1,6 +1,7 @@ // REQUIRES: x86-registered-target // RUN: %clang_cc1 -triple x86_64-macho -emit-llvm -w -x objective-c %s -o - | FileCheck %s +// rdar://7095855 rdar://7115749 // CHECK: private unnamed_addr constant [6 x i16] [i16 105, i16 80, i16 111, i16 100, i16 8482, i16 0], section "__TEXT,__ustring", align 2 void *P = @"iPodâ„¢"; diff --git a/clang/test/CodeGenObjC/2010-02-01-utf16-with-null.m b/clang/test/CodeGenObjC/2010-02-01-utf16-with-null.m index a41df6b735c0..811e8a3a4ea1 100644 --- a/clang/test/CodeGenObjC/2010-02-01-utf16-with-null.m +++ b/clang/test/CodeGenObjC/2010-02-01-utf16-with-null.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -triple i686-apple-darwin -emit-llvm %s -o - | FileCheck %s +// rdar://7589850 // CHECK: @.str = private unnamed_addr constant [9 x i16] [i16 103, i16 111, i16 111, i16 100, i16 0, i16 98, i16 121, i16 101, i16 0], section "__TEXT,__ustring", align 2 // CHECK: @_unnamed_cfstring_ = private global %struct.__NSConstantString_tag { ptr @__CFConstantStringClassReference, i32 2000, ptr @.str, i32 8 }, section "__DATA,__cfstring" diff --git a/clang/test/CodeGenObjC/2010-03-17-StructRef.m b/clang/test/CodeGenObjC/2010-03-17-StructRef.m index c4fd4e5699cf..ce24c8da575b 100644 --- a/clang/test/CodeGenObjC/2010-03-17-StructRef.m +++ b/clang/test/CodeGenObjC/2010-03-17-StructRef.m @@ -1,6 +1,6 @@ // RUN: %clang_cc1 %s -emit-llvm -triple x86_64-apple-darwin -fobjc-runtime=macosx-fragile-10.5 -o - | FileCheck %s // Bitfield references must not touch memory outside of the enclosing -// struct. +// struct. Radar 7639995 typedef signed char BOOL; @protocol NSObject - (id)init; diff --git a/clang/test/CodeGenObjC/arc-arm.m b/clang/test/CodeGenObjC/arc-arm.m index 6105644c2d68..a605fab33e3a 100644 --- a/clang/test/CodeGenObjC/arc-arm.m +++ b/clang/test/CodeGenObjC/arc-arm.m @@ -1,7 +1,7 @@ // RUN: %clang_cc1 -triple armv7-apple-darwin10 -emit-llvm -fblocks -fobjc-arc -o - %s | FileCheck %s // RUN: %clang_cc1 -triple arm64-apple-ios -emit-llvm -fblocks -fobjc-arc -o - %s | FileCheck %s -// use an autorelease marker on ARM64. +// : use an autorelease marker on ARM64. id test0(void) { extern id test0_helper(void); @@ -21,6 +21,7 @@ void test1(void) { id x = test1_helper(); } +// rdar://problem/12133032 @class A; A *test2(void) { extern A *test2_helper(void); diff --git a/clang/test/CodeGenObjC/arc-block-copy-escape.m b/clang/test/CodeGenObjC/arc-block-copy-escape.m index db1d8b8671d8..886e97a8a10a 100644 --- a/clang/test/CodeGenObjC/arc-block-copy-escape.m +++ b/clang/test/CodeGenObjC/arc-block-copy-escape.m @@ -6,6 +6,8 @@ typedef void (^block_t)(void); void use_block(block_t); void use_int(int); +// rdar://problem/10211676 + void test0(int i) { block_t block = ^{ use_int(i); }; // CHECK-LABEL: define {{.*}}void @test0( diff --git a/clang/test/CodeGenObjC/arc-blocks.m b/clang/test/CodeGenObjC/arc-blocks.m index 105a72b4af1e..e5bc6db956ee 100644 --- a/clang/test/CodeGenObjC/arc-blocks.m +++ b/clang/test/CodeGenObjC/arc-blocks.m @@ -303,6 +303,7 @@ id test9(void) { // CHECK-NEXT: ret ptr } +// rdar://problem/9814099 // Test that we correctly initialize __block variables // when the initialization captures the variable. void test10a(void) { @@ -333,9 +334,10 @@ void test10a(void) { // CHECK: ret void } -// do this copy and dispose with objc_retainBlock/release instead of -// _Block_object_assign/destroy. We can also use _Block_object_assign/destroy -// with BLOCK_FIELD_IS_BLOCK as long as we don't pass BLOCK_BYREF_CALLER. +// : do this copy and dispose with +// objc_retainBlock/release instead of _Block_object_assign/destroy. +// We can also use _Block_object_assign/destroy with +// BLOCK_FIELD_IS_BLOCK as long as we don't pass BLOCK_BYREF_CALLER. // CHECK-LABEL: define internal void @__Block_byref_object_copy_.{{[0-9]+}}(ptr noundef %0, ptr noundef %1) #{{[0-9]+}} { // CHECK: [[D0:%.*]] = load ptr, ptr {{%.*}} @@ -387,6 +389,7 @@ void test10b(void) { // CHECK: ret void } +// rdar://problem/10088932 void test11_helper(id); void test11a(void) { int x; @@ -415,6 +418,7 @@ void test11b(void) { // CHECK: ret void } +// rdar://problem/9979150 @interface Test12 @property (strong) void(^ablock)(void); @property (nonatomic, strong) void(^nblock)(void); @@ -434,6 +438,7 @@ void test11b(void) { // CHECK: call void @objc_setProperty(ptr noundef {{%.*}}, ptr noundef {{%.*}}, i64 noundef {{%.*}}, ptr noundef {{%.*}}, i1 noundef zeroext false, i1 noundef zeroext true) @end +// rdar://problem/10131784 void test13(id x) { extern void test13_helper(id); extern void test13_use(void(^)(void)); @@ -485,16 +490,19 @@ void test13(id x) { // CHECK-NEXT: ret void } +// void test14(void) { void (^const x[1])(void) = { ^{} }; } +// rdar://11149025 // Don't make invalid ASTs and crash. void test15_helper(void (^block)(void), int x); void test15(int a) { test15_helper(^{ (void) a; }, ({ a; })); } +// rdar://11016025 void test16(void) { void (^BLKVAR)(void) = ^{ BLKVAR(); }; @@ -505,6 +513,8 @@ void test16(void) { // CHECK-NEXT: store ptr null, ptr [[BLKVAR]], align 8 } +// rdar://12151005 +// // This is an intentional exception to our conservative jump-scope // checking for full-expressions containing block literals with // non-trivial cleanups: if the block literal appears in the operand @@ -582,6 +592,7 @@ void testUnsafeUnretainedLifetimeInCopyAndDestroyHelpers(id x, id y) { // CHECK-LABEL: define internal void @__testUnsafeUnretainedLifetimeInCopyAndDestroyHelpers_block_invoke // CHECK-UNOPT-LABEL: define internal void @__testUnsafeUnretainedLifetimeInCopyAndDestroyHelpers_block_invoke +// rdar://13588325 void test19_sink(void (^)(int)); void test19(void (^b)(void)) { // CHECK-LABEL: define{{.*}} void @test19( diff --git a/clang/test/CodeGenObjC/arc-captured-32bit-block-var-layout-2.m b/clang/test/CodeGenObjC/arc-captured-32bit-block-var-layout-2.m index 20c409f0c788..1375fe91c8f8 100644 --- a/clang/test/CodeGenObjC/arc-captured-32bit-block-var-layout-2.m +++ b/clang/test/CodeGenObjC/arc-captured-32bit-block-var-layout-2.m @@ -1,5 +1,7 @@ // RUN: %clang_cc1 -fblocks -fobjc-arc -fobjc-runtime-has-weak -triple i386-apple-darwin -print-ivar-layout -emit-llvm -o /dev/null %s > %t-32.layout // RUN: FileCheck --input-file=%t-32.layout %s +// rdar://12184410 +// rdar://12752901 @class NSString; extern void NSLog(NSString *format, ...); diff --git a/clang/test/CodeGenObjC/arc-captured-32bit-block-var-layout.m b/clang/test/CodeGenObjC/arc-captured-32bit-block-var-layout.m index 9531ab894a5e..838346cfc265 100644 --- a/clang/test/CodeGenObjC/arc-captured-32bit-block-var-layout.m +++ b/clang/test/CodeGenObjC/arc-captured-32bit-block-var-layout.m @@ -1,5 +1,7 @@ // RUN: %clang_cc1 -fblocks -fobjc-arc -fobjc-runtime-has-weak -triple i386-apple-darwin -print-ivar-layout -emit-llvm -o /dev/null %s > %t-32.layout // RUN: FileCheck --input-file=%t-32.layout %s +// rdar://12184410 +// rdar://12752901 void x(id y) {} void y(int a) {} diff --git a/clang/test/CodeGenObjC/arc-captured-block-var-inlined-layout.m b/clang/test/CodeGenObjC/arc-captured-block-var-inlined-layout.m index 3a0d18d92d51..24e1beaf1824 100644 --- a/clang/test/CodeGenObjC/arc-captured-block-var-inlined-layout.m +++ b/clang/test/CodeGenObjC/arc-captured-block-var-inlined-layout.m @@ -2,6 +2,7 @@ // RUN: FileCheck --input-file=%t-64.layout %s // RUN: %clang_cc1 -fblocks -fobjc-arc -fobjc-runtime-has-weak -triple i386-apple-darwin -print-ivar-layout -emit-llvm -o /dev/null %s > %t-32.layout // RUN: FileCheck --input-file=%t-32.layout %s +// rdar://12184410 void x(id y) {} void y(int a) {} @@ -94,6 +95,7 @@ void f(void) { }; } +// rdar://12752901 @class NSString; extern void NSLog(NSString *format, ...); typedef void (^dispatch_block_t)(void); diff --git a/clang/test/CodeGenObjC/arc-captured-block-var-layout.m b/clang/test/CodeGenObjC/arc-captured-block-var-layout.m index 366f8882ad4a..571351719614 100644 --- a/clang/test/CodeGenObjC/arc-captured-block-var-layout.m +++ b/clang/test/CodeGenObjC/arc-captured-block-var-layout.m @@ -1,5 +1,7 @@ // RUN: %clang_cc1 -fblocks -fobjc-arc -fobjc-runtime-has-weak -triple x86_64-apple-darwin -print-ivar-layout -emit-llvm -o /dev/null %s > %t-64.layout // RUN: FileCheck -check-prefix CHECK-LP64 --input-file=%t-64.layout %s +// rdar://12184410 +// rdar://12752901 void x(id y) {} void y(int a) {} diff --git a/clang/test/CodeGenObjC/arc-compound-stmt.m b/clang/test/CodeGenObjC/arc-compound-stmt.m index c31c35968634..573ee449aaae 100644 --- a/clang/test/CodeGenObjC/arc-compound-stmt.m +++ b/clang/test/CodeGenObjC/arc-compound-stmt.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -emit-llvm -fobjc-arc -o - %s +// rdar://9694706 typedef unsigned long NSUInteger; diff --git a/clang/test/CodeGenObjC/arc-cond-stmt.m b/clang/test/CodeGenObjC/arc-cond-stmt.m index 3043a85fea38..d8ee6bb084b5 100644 --- a/clang/test/CodeGenObjC/arc-cond-stmt.m +++ b/clang/test/CodeGenObjC/arc-cond-stmt.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -emit-llvm -fobjc-arc -o - %s +// rdar://10327068 @class NSString; diff --git a/clang/test/CodeGenObjC/arc-exceptions.m b/clang/test/CodeGenObjC/arc-exceptions.m index c9ae3c7f1aa5..e97d1e05f587 100644 --- a/clang/test/CodeGenObjC/arc-exceptions.m +++ b/clang/test/CodeGenObjC/arc-exceptions.m @@ -2,7 +2,7 @@ @class Ety; -// These first two tests are all PR11732 +// These first two tests are all PR11732 / rdar://problem/10667070. void test0_helper(void); void test0(void) { diff --git a/clang/test/CodeGenObjC/arc-foreach.m b/clang/test/CodeGenObjC/arc-foreach.m index 64099e04d6d0..9abb33ca704d 100644 --- a/clang/test/CodeGenObjC/arc-foreach.m +++ b/clang/test/CodeGenObjC/arc-foreach.m @@ -1,5 +1,7 @@ // RUN: %clang_cc1 -no-enable-noundef-analysis -triple x86_64-apple-darwin -fblocks -fobjc-arc -fobjc-runtime-has-weak -emit-llvm %s -o - | FileCheck -check-prefix CHECK-LP64 %s // RUN: %clang_cc1 -no-enable-noundef-analysis -triple x86_64-apple-darwin -O1 -fblocks -fobjc-arc -fobjc-runtime-has-weak -emit-llvm %s -o - | FileCheck -check-prefix CHECK-LP64-OPT %s +// rdar://9503326 +// rdar://9606600 extern void use(id); extern void use_block(void (^)(void)); @@ -110,6 +112,7 @@ void test1(NSArray *array) { // CHECK-LP64-NEXT: call void @llvm.objc.destroyWeak(ptr [[T0]]) // CHECK-LP64-NEXT: call void @llvm.objc.destroyWeak(ptr [[X]]) +// rdar://problem/9817306 @interface Test2 - (NSArray *) array; @end diff --git a/clang/test/CodeGenObjC/arc-i386.m b/clang/test/CodeGenObjC/arc-i386.m index 5a4e2f3751a2..09edc7f1f357 100644 --- a/clang/test/CodeGenObjC/arc-i386.m +++ b/clang/test/CodeGenObjC/arc-i386.m @@ -1,7 +1,7 @@ // RUN: %clang_cc1 -triple i386-apple-darwin10 -emit-llvm -fblocks -fobjc-arc -o - %s | FileCheck %s // RUN: %clang_cc1 -triple i386-apple-iossimulator6.0 -emit-llvm -fblocks -fobjc-arc -o - %s | FileCheck %s -// implement objc_retainAutoreleasedReturnValue on i386 +// : implement objc_retainAutoreleasedReturnValue on i386 // CHECK-LABEL: define{{.*}} ptr @test0() id test0(void) { @@ -23,6 +23,7 @@ void test1(void) { id x = test1_helper(); } +// rdar://problem/12133032 // CHECK-LABEL: define {{.*}} @test2() @class A; A *test2(void) { diff --git a/clang/test/CodeGenObjC/arc-ivar-layout.m b/clang/test/CodeGenObjC/arc-ivar-layout.m index 421167c7cdcc..5e08d625e34e 100644 --- a/clang/test/CodeGenObjC/arc-ivar-layout.m +++ b/clang/test/CodeGenObjC/arc-ivar-layout.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -fobjc-arc -fobjc-runtime-has-weak -triple x86_64-apple-darwin -print-ivar-layout -emit-llvm %s -o %t-64.s | FileCheck -check-prefix CHECK-LP64 %s +// rdar://8991729 @interface NSObject { id isa; @@ -53,6 +54,7 @@ // CHECK-LP64: strong ivar layout for class 'UnsafePerson': 0x21, 0x00 +// rdar://16136439 @interface rdar16136439 @property (nonatomic, readonly, weak) id first; @end diff --git a/clang/test/CodeGenObjC/arc-loadweakretained-release.m b/clang/test/CodeGenObjC/arc-loadweakretained-release.m index 3490a8eb8007..88e882cdb1ef 100644 --- a/clang/test/CodeGenObjC/arc-loadweakretained-release.m +++ b/clang/test/CodeGenObjC/arc-loadweakretained-release.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -emit-llvm -fblocks -fobjc-arc -fobjc-runtime-has-weak -o - %s | FileCheck %s +// rdar://10849570 @interface NSObject @end diff --git a/clang/test/CodeGenObjC/arc-no-runtime.m b/clang/test/CodeGenObjC/arc-no-runtime.m index 464865d8f6f4..408c4f22f97d 100644 --- a/clang/test/CodeGenObjC/arc-no-runtime.m +++ b/clang/test/CodeGenObjC/arc-no-runtime.m @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fobjc-arc -emit-llvm %s -o - | FileCheck %s +// rdar://problem/9224855 id make(void) __attribute__((ns_returns_retained)); void test0(void) { make(); diff --git a/clang/test/CodeGenObjC/arc-precise-lifetime.m b/clang/test/CodeGenObjC/arc-precise-lifetime.m index 473c0b031f9f..988fe5a4caae 100644 --- a/clang/test/CodeGenObjC/arc-precise-lifetime.m +++ b/clang/test/CodeGenObjC/arc-precise-lifetime.m @@ -24,11 +24,11 @@ void test0(void) { // CHECK-NEXT: ret void } -// precise lifetime should suppress extension -// should work for calls via property syntax, too +// rdar://problem/9821110 - precise lifetime should suppress extension +// rdar://problem/22172983 - should work for calls via property syntax, too @interface Test1 - (char*) interior __attribute__((objc_returns_inner_pointer)); -// Should we allow this on properties? Yes! +// Should we allow this on properties? Yes! see // rdar://14990439 @property (nonatomic, readonly) char * PropertyReturnsInnerPointer __attribute__((objc_returns_inner_pointer)); @end extern Test1 *test1_helper(void); diff --git a/clang/test/CodeGenObjC/arc-property.m b/clang/test/CodeGenObjC/arc-property.m index f57be6b4f6be..a3cfd9ff55d0 100644 --- a/clang/test/CodeGenObjC/arc-property.m +++ b/clang/test/CodeGenObjC/arc-property.m @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fobjc-arc -emit-llvm %s -o - | FileCheck %s +// rdar://problem/10290317 @interface Test0 - (void) setValue: (id) x; @end @@ -35,6 +36,7 @@ struct S1 { Class isa; }; // CHECK-NEXT: ret void +// rdar://problem/12039404 @interface Test2 { @private Class _theClass; @@ -75,6 +77,7 @@ static Class theGlobalClass; // CHECK-NEXT: call void @llvm.objc.storeStrong(ptr [[T2]], ptr null) [[NUW]] // CHECK-NEXT: ret void +// rdar://13115896 @interface Test3 @property id copyMachine; @end @@ -116,6 +119,7 @@ void test3(Test3 *t) { - (void) setCopyMachine: (id) x {} @end +// rdar://31579994 // When synthesizing a property that's declared in multiple protocols, ensure // that the setter is emitted if any of these declarations is readwrite. @protocol ABC diff --git a/clang/test/CodeGenObjC/arc-ternary-op.m b/clang/test/CodeGenObjC/arc-ternary-op.m index 87167d911ea8..c62c913893b4 100644 --- a/clang/test/CodeGenObjC/arc-ternary-op.m +++ b/clang/test/CodeGenObjC/arc-ternary-op.m @@ -104,6 +104,7 @@ void test1(int cond) { // CHECK: ret void } +// rdar://13113981 // Test that, when emitting an expression at +1 that we can't peephole, // we emit the retain inside the full-expression. If we ever peephole // +1s of conditional expressions (which we probably ought to), we'll diff --git a/clang/test/CodeGenObjC/arc-unbridged-cast.m b/clang/test/CodeGenObjC/arc-unbridged-cast.m index 1571e4d83bb7..f0f32b4c2b6d 100644 --- a/clang/test/CodeGenObjC/arc-unbridged-cast.m +++ b/clang/test/CodeGenObjC/arc-unbridged-cast.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -triple x86_64-apple-darwin11 -emit-llvm -fobjc-arc -o - %s | FileCheck %s +// rdar://9744349 typedef const struct __CFString * CFStringRef; @@ -23,6 +24,7 @@ typedef const struct __CFString * CFStringRef; - (void) setP : (CFStringRef)arg {} @end +// rdar://9544832 CFStringRef SomeOtherFunc(void) __attribute__((cf_returns_retained)); id MMM(void) { diff --git a/clang/test/CodeGenObjC/arc-unopt.m b/clang/test/CodeGenObjC/arc-unopt.m index d86e2bffdcdd..8f247c64b959 100644 --- a/clang/test/CodeGenObjC/arc-unopt.m +++ b/clang/test/CodeGenObjC/arc-unopt.m @@ -45,6 +45,7 @@ Test4 *test4(void) { return test4_helper(); } +// rdar://problem/9418404 @class Test5; void test5(void) { Test5 *x, *y; diff --git a/clang/test/CodeGenObjC/arc-unoptimized-byref-var.m b/clang/test/CodeGenObjC/arc-unoptimized-byref-var.m index 88ed20dfae1d..870580c984f7 100644 --- a/clang/test/CodeGenObjC/arc-unoptimized-byref-var.m +++ b/clang/test/CodeGenObjC/arc-unoptimized-byref-var.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -emit-llvm -fblocks -fobjc-arc -fobjc-runtime-has-weak -o - %s | FileCheck -check-prefix=CHECK-UNOPT %s +// rdar://12530881 void test19(void) { __block id x; diff --git a/clang/test/CodeGenObjC/arc-weak-property.m b/clang/test/CodeGenObjC/arc-weak-property.m index 8c268c1b9dee..b62fdec3a060 100644 --- a/clang/test/CodeGenObjC/arc-weak-property.m +++ b/clang/test/CodeGenObjC/arc-weak-property.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -emit-llvm -fobjc-runtime-has-weak -fblocks -fobjc-arc -o - %s | FileCheck %s +// rdar://8899430 @interface WeakPropertyTest { __weak id PROP; diff --git a/clang/test/CodeGenObjC/arc-weak.m b/clang/test/CodeGenObjC/arc-weak.m index e1e9f8049571..9cc622cd20ed 100644 --- a/clang/test/CodeGenObjC/arc-weak.m +++ b/clang/test/CodeGenObjC/arc-weak.m @@ -3,6 +3,7 @@ __attribute((objc_root_class)) @interface A @end @interface B : A @end +// rdar://problem/23559789 // Ensure that type differences don't cause an assert here. void test0(__weak B **src) { __weak A *dest = *src; diff --git a/clang/test/CodeGenObjC/arc-with-atthrow.m b/clang/test/CodeGenObjC/arc-with-atthrow.m index 19c3135ecf97..7fddad22ed17 100644 --- a/clang/test/CodeGenObjC/arc-with-atthrow.m +++ b/clang/test/CodeGenObjC/arc-with-atthrow.m @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -emit-llvm -fobjc-arc -fobjc-exceptions -o - %s | FileCheck %s // pr10411 +// rdar://10042689 id make(void); void test(void) { diff --git a/clang/test/CodeGenObjC/arc.m b/clang/test/CodeGenObjC/arc.m index f5266b3d2478..997bbc3f6b1e 100644 --- a/clang/test/CodeGenObjC/arc.m +++ b/clang/test/CodeGenObjC/arc.m @@ -1,8 +1,8 @@ // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -Wno-objc-root-class -Wno-incompatible-pointer-types -Wno-arc-unsafe-retained-assign -emit-llvm -fblocks -fobjc-arc -fobjc-runtime-has-weak -O2 -disable-llvm-passes -o - %s | FileCheck %s // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -Wno-objc-root-class -Wno-incompatible-pointer-types -Wno-arc-unsafe-retained-assign -emit-llvm -fblocks -fobjc-arc -fobjc-runtime-has-weak -o - %s | FileCheck -check-prefix=CHECK-GLOBALS %s -// Check both native/non-native arc platforms. Here we check that they treat -// nonlazybind differently. +// rdar://13129783. Check both native/non-native arc platforms. Here we check +// that they treat nonlazybind differently. // RUN: %clang_cc1 -fobjc-runtime=macosx-10.6.0 -triple x86_64-apple-darwin10 -Wno-objc-root-class -Wno-incompatible-pointer-types -Wno-arc-unsafe-retained-assign -emit-llvm -fblocks -fobjc-arc -fobjc-runtime-has-weak -o - %s | FileCheck -check-prefix=ARC-ALIEN %s // RUN: %clang_cc1 -fobjc-runtime=macosx-10.7.0 -triple x86_64-apple-darwin11 -Wno-objc-root-class -Wno-incompatible-pointer-types -Wno-arc-unsafe-retained-assign -emit-llvm -fblocks -fobjc-arc -fobjc-runtime-has-weak -o - %s | FileCheck -check-prefix=ARC-NATIVE %s @@ -562,7 +562,9 @@ void test21(unsigned n) { // CHECK-NEXT: ret void } +// rdar://problem/8922540 // Note that we no longer emit .release_ivars flags. +// rdar://problem/12492434 // Note that we set the flag saying that we need destruction *and* // the flag saying that we don't also need construction. // CHECK-GLOBALS: @"_OBJC_CLASS_RO_$_Test23" = internal global [[RO_T:%.*]] { i32 390, @@ -573,6 +575,7 @@ void test21(unsigned n) { @interface Test24 {} @end @implementation Test24 @end +// rdar://problem/8941012 @interface Test26 { id x[4]; } @end @implementation Test26 @end // CHECK: define internal void @"\01-[Test26 .cxx_destruct]"( @@ -608,6 +611,7 @@ void test21(unsigned n) { @end +// rdar://problem/8087194 @interface Test28 @property (copy) id prop; @end @@ -929,6 +933,7 @@ void test37(void) { // CHECK: [[CALL:%.*]] = tail call ptr @objc_getProperty( // CHECK-NEXT: ret ptr [[CALL]] +// rdar://problem/9315552 void test46(__weak id *wp, __weak volatile id *wvp) { extern id test46_helper(void); @@ -953,6 +958,7 @@ void test46(__weak id *wp, __weak volatile id *wvp) { id y = *wvp = test46_helper(); } +// rdar://problem/9378887 void test47(void) { extern id test47_helper(void); id x = x = test47_helper(); @@ -1010,6 +1016,7 @@ void test49(void) { // CHECK-NEXT: ret void } +// rdar://9380136 id x(void); void test50(id y) { ({x();}); @@ -1017,6 +1024,8 @@ void test50(id y) { // CHECK: call void @llvm.objc.release } + +// rdar://9400762 struct CGPoint { float x; float y; @@ -1031,6 +1040,7 @@ typedef struct CGPoint CGPoint; @synthesize point; @end +// rdar://problem/9400398 id test52(void) { id test52_helper(int) __attribute__((ns_returns_retained)); return ({ int x = 5; test52_helper(x); }); @@ -1049,6 +1059,7 @@ id test52(void) { // CHECK-NEXT: ret ptr [[T3]] } +// rdar://problem/9400644 void test53(void) { id test53_helper(void); id x = ({ id y = test53_helper(); y; }); @@ -1077,6 +1088,7 @@ void test53(void) { // CHECK-NEXT: ret void } +// // CHECK-LABEL: define{{.*}} void @test54(i32 noundef %first, ...) void test54(int first, ...) { __builtin_va_list arglist; @@ -1100,6 +1112,7 @@ void test54(int first, ...) { // CHECK-NOT: ret // CHECK: call void @objc_msgSendSuper2( +// rdar://problem/8024350 @protocol Test56Protocol + (id) make __attribute__((ns_returns_retained)); @end @@ -1127,6 +1140,7 @@ void test56_test(void) { // CHECK-NEXT: ret void } +// rdar://problem/9784964 @interface Test57 @property (nonatomic, strong) id strong; @property (nonatomic, weak) id weak; @@ -1157,6 +1171,7 @@ void test56_test(void) { // CHECK-NEXT: [[T5:%.*]] = load ptr, ptr [[T3]] // CHECK-NEXT: ret ptr [[T5]] +// rdar://problem/9842343 void test59(void) { extern id test59_getlock(void); extern void test59_body(void); @@ -1175,6 +1190,7 @@ void test59(void) { } // Verify that we don't try to reclaim the result of performSelector. +// rdar://problem/9887545 @interface Test61 - (id) performSelector: (SEL) selector; - (void) test61_void; @@ -1211,6 +1227,7 @@ void test61(void) { // CHECK-NEXT: ret void } +// rdar://problem/9891815 void test62(void) { // CHECK-LABEL: define{{.*}} void @test62() // CHECK: [[I:%.*]] = alloca i32, align 4 @@ -1260,6 +1277,7 @@ void test62(void) { // CHECK: ret void } +// rdar://9971982 @class NSString; @interface Person { @@ -1300,6 +1318,7 @@ void test66(void) { // CHECK: call void @llvm.objc.release(ptr [[T3]]) // CHECK-NEXT: ret void +// rdar://problem/9953540 Class test67_helper(void); void test67(void) { Class cl = test67_helper(); @@ -1327,6 +1346,7 @@ void test68(void) { // CHECK-NEXT: call void @llvm.lifetime.end.p0(i64 8, ptr [[CL]]) // CHECK-NEXT: ret void +// rdar://problem/10564852 @interface Test69 @end @implementation Test69 - (id) foo { return self; } @@ -1336,6 +1356,7 @@ void test68(void) { // CHECK: [[T0:%.*]] = load ptr, ptr [[SELF]], align 8 // CHECK-NEXT: ret ptr [[T0]] +// rdar://problem/10907547 void test70(id i) { // CHECK-LABEL: define{{.*}} void @test70 // CHECK: store ptr null, ptr diff --git a/clang/test/CodeGenObjC/arm-atomic-scalar-setter-getter.m b/clang/test/CodeGenObjC/arm-atomic-scalar-setter-getter.m index a417b597c378..e179bdacb2ef 100644 --- a/clang/test/CodeGenObjC/arm-atomic-scalar-setter-getter.m +++ b/clang/test/CodeGenObjC/arm-atomic-scalar-setter-getter.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -triple armv7-apple-darwin10 -emit-llvm -o - %s | FileCheck -check-prefix=CHECK-ARM %s +// rdar://7761305 @interface I @property long long LONG_PROP; diff --git a/clang/test/CodeGenObjC/arm64-int32-ivar.m b/clang/test/CodeGenObjC/arm64-int32-ivar.m index 85f570ae3cbc..76d0543b20b1 100644 --- a/clang/test/CodeGenObjC/arm64-int32-ivar.m +++ b/clang/test/CodeGenObjC/arm64-int32-ivar.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -triple arm64-apple-ios -emit-llvm -o - %s | FileCheck %s +// rdar://12617764 // CHECK: @"OBJC_IVAR_$_I.IVAR2" = global i32 8 // CHECK: @"OBJC_IVAR_$_I.IVAR1" = global i32 0 diff --git a/clang/test/CodeGenObjC/atomic-aggregate-property.m b/clang/test/CodeGenObjC/atomic-aggregate-property.m index 35d9d0da592c..b574cc3ce4a6 100644 --- a/clang/test/CodeGenObjC/atomic-aggregate-property.m +++ b/clang/test/CodeGenObjC/atomic-aggregate-property.m @@ -1,5 +1,7 @@ // RUN: %clang_cc1 -no-enable-noundef-analysis -triple x86_64-apple-darwin10 -fobjc-gc -emit-llvm -o - %s | FileCheck -check-prefix CHECK-LP64 %s // RUN: %clang_cc1 -no-enable-noundef-analysis -x objective-c++ -triple x86_64-apple-darwin10 -fobjc-gc -emit-llvm -o - %s | FileCheck -check-prefix CHECK-LP64 %s +// rdar: // 7849824 +// struct s { double a, b, c, d; diff --git a/clang/test/CodeGenObjC/auto-property-synthesize-protocol.m b/clang/test/CodeGenObjC/auto-property-synthesize-protocol.m index 146ad6047b91..e0c54894849a 100644 --- a/clang/test/CodeGenObjC/auto-property-synthesize-protocol.m +++ b/clang/test/CodeGenObjC/auto-property-synthesize-protocol.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -triple x86_64-apple-darwin -emit-llvm %s -o - | FileCheck %s +// rdar://10907410 @protocol P @optional diff --git a/clang/test/CodeGenObjC/autorelease.m b/clang/test/CodeGenObjC/autorelease.m index 99ab9fe2de89..d7aa83159630 100644 --- a/clang/test/CodeGenObjC/autorelease.m +++ b/clang/test/CodeGenObjC/autorelease.m @@ -1,5 +1,7 @@ // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -emit-llvm -fobjc-arc -fobjc-runtime=macosx-10.7 -fexceptions -fobjc-exceptions -o - %s | FileCheck %s // RUN: %clang_cc1 -triple x86_64-apple-darwin11 -emit-llvm -fobjc-runtime=macosx-10.7 -fexceptions -fobjc-exceptions -o - %s | FileCheck %s +// rdar://8881826 +// rdar://9412038 @interface I { @@ -27,6 +29,7 @@ // CHECK: [[T:%.*]] = load ptr, ptr [[A:%.*]] // CHECK: call void @llvm.objc.autoreleasePoolPop +// rdar://13660038 int tryTo(int (*f)(void)) { @try { @autoreleasepool { diff --git a/clang/test/CodeGenObjC/block-6.m b/clang/test/CodeGenObjC/block-6.m index 11f8b3868d4d..30dafa5b3cb9 100644 --- a/clang/test/CodeGenObjC/block-6.m +++ b/clang/test/CodeGenObjC/block-6.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 %s -emit-llvm -o - -fblocks -triple x86_64-apple-darwin10 -fobjc-runtime=macosx-fragile-10.5 | FileCheck %s +// rdar://8893785 void MYFUNC(void) { // CHECK-LABEL: define{{.*}} void @MYFUNC() diff --git a/clang/test/CodeGenObjC/block-byref-variable-layout.m b/clang/test/CodeGenObjC/block-byref-variable-layout.m index 6f6aeac2086c..63c338bc4be6 100644 --- a/clang/test/CodeGenObjC/block-byref-variable-layout.m +++ b/clang/test/CodeGenObjC/block-byref-variable-layout.m @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -fblocks -fobjc-arc -fobjc-runtime-has-weak -triple x86_64-apple-darwin -emit-llvm %s -o - | FileCheck %s +// rdar://12759433 @class NSString; void Test12759433(void) { @@ -40,6 +41,7 @@ int main(void) { c(); } +// rdar://12787751 typedef char mds_path_t[1024]; void directVolumePerfWaitForStoreState(void) { diff --git a/clang/test/CodeGenObjC/block-over-align.m b/clang/test/CodeGenObjC/block-over-align.m index 00230cf07ef4..2747040ac031 100644 --- a/clang/test/CodeGenObjC/block-over-align.m +++ b/clang/test/CodeGenObjC/block-over-align.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -fblocks -triple x86_64-apple-darwin -emit-llvm -o /dev/null %s +// rdar://17878679 typedef struct { diff --git a/clang/test/CodeGenObjC/block-ptr-type-crash.m b/clang/test/CodeGenObjC/block-ptr-type-crash.m index 02eb949f3663..970339020286 100644 --- a/clang/test/CodeGenObjC/block-ptr-type-crash.m +++ b/clang/test/CodeGenObjC/block-ptr-type-crash.m @@ -2,6 +2,8 @@ // REQUIRES: asserts // Verify there is no assertion. +// rdar://30111891 + typedef unsigned long long uint64_t; typedef enum AnEnum : uint64_t AnEnum; enum AnEnum: uint64_t { diff --git a/clang/test/CodeGenObjC/block-var-layout.m b/clang/test/CodeGenObjC/block-var-layout.m index c7cd3bf12824..27fbcb3af5fe 100644 --- a/clang/test/CodeGenObjC/block-var-layout.m +++ b/clang/test/CodeGenObjC/block-var-layout.m @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -fblocks -fobjc-gc -triple x86_64-apple-darwin -fobjc-runtime=macosx-fragile-10.5 -print-ivar-layout -emit-llvm -o /dev/null %s > %t-64.layout // RUN: FileCheck -check-prefix CHECK-LP64 --input-file=%t-64.layout %s +// rdar://12752901 struct S { int i1; @@ -136,6 +137,7 @@ void Test5(void) { c(); } +// rdar: //8417746 void CFRelease(id); void notifyBlock(id dependentBlock) { id singleObservationToken; @@ -163,6 +165,7 @@ void test_empty_block(void) { wrapperBlock(); } +// rdar://16111839 typedef union { char ch[8]; } SS; typedef struct { SS s[4]; } CS; void test_union_in_layout(void) { diff --git a/clang/test/CodeGenObjC/blocks-2.m b/clang/test/CodeGenObjC/blocks-2.m index 644da55fa690..1744e2e4e485 100644 --- a/clang/test/CodeGenObjC/blocks-2.m +++ b/clang/test/CodeGenObjC/blocks-2.m @@ -13,7 +13,7 @@ id test0(id x) { return result; } -// cleanup __block variables on EH path +// : cleanup __block variables on EH path // CHECK: define{{.*}} void @{{.*}}test1 void test1(void) { extern void test1_help(void (^x)(void)); diff --git a/clang/test/CodeGenObjC/blocks-4.m b/clang/test/CodeGenObjC/blocks-4.m index 3b5a0e682fc7..cf08467a2382 100644 --- a/clang/test/CodeGenObjC/blocks-4.m +++ b/clang/test/CodeGenObjC/blocks-4.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -triple i386-apple-darwin9 -fobjc-runtime=macosx-fragile-10.5 -emit-llvm -fobjc-exceptions -fblocks -o %t %s +// rdar://7590273 void EXIT(id e); diff --git a/clang/test/CodeGenObjC/blocks-5.m b/clang/test/CodeGenObjC/blocks-5.m index e46b891074e4..d7d0ffe7fb2b 100644 --- a/clang/test/CodeGenObjC/blocks-5.m +++ b/clang/test/CodeGenObjC/blocks-5.m @@ -1,5 +1,7 @@ // RUN: %clang_cc1 -triple x86_64-apple-darwin9 -fobjc-runtime=macosx-fragile-10.5 -emit-llvm -fblocks -o %t %s +// rdar: // 8064140 + @interface IDEWorkspaceDocument { id _defaultEditorStateTree; diff --git a/clang/test/CodeGenObjC/blocks-ivar-debug.m b/clang/test/CodeGenObjC/blocks-ivar-debug.m index 4d1ca0dcc0a9..4d03fef54960 100644 --- a/clang/test/CodeGenObjC/blocks-ivar-debug.m +++ b/clang/test/CodeGenObjC/blocks-ivar-debug.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -debug-info-kind=limited %s -fblocks -S -o %t +// Radar 7959934 @interface NSObject { struct objc_object *isa; diff --git a/clang/test/CodeGenObjC/blocks.m b/clang/test/CodeGenObjC/blocks.m index f82801239ad3..62b046ebd5ec 100644 --- a/clang/test/CodeGenObjC/blocks.m +++ b/clang/test/CodeGenObjC/blocks.m @@ -7,6 +7,7 @@ void (^gb0)(void); +// test1. All of this is somehow testing rdar://6676764 struct S { void (^F)(struct S*); } P; @@ -44,6 +45,7 @@ void foo(T *P) { } @end +// rdar://problem/9006315 // In-depth test for the initialization of a __weak __block variable. @interface Test2 -(void) destroy; @end void test2(Test2 *x) { @@ -91,6 +93,7 @@ void test2(Test2 *x) { test2_helper(^{ [weakX destroy]; }); } +// rdar://problem/9124263 // In the test above, check that the use in the invocation function // doesn't require a read barrier. // CHECK-LABEL: define internal void @__test2_block_invoke @@ -101,6 +104,7 @@ void test2(Test2 *x) { // CHECK-NEXT: [[WEAKX:%.*]] = getelementptr inbounds [[WEAK_T]]{{.*}}, ptr [[T4]], i32 0, i32 6 // CHECK-NEXT: [[T0:%.*]] = load ptr, ptr [[WEAKX]], align 4 +// rdar://problem/12722954 // Make sure that ... is appropriately positioned in a block call. void test3(void (^block)(int, ...)) { block(0, 1, 2, 3); diff --git a/clang/test/CodeGenObjC/builtin-constant-p.m b/clang/test/CodeGenObjC/builtin-constant-p.m index 16da002377c3..a85722d36803 100644 --- a/clang/test/CodeGenObjC/builtin-constant-p.m +++ b/clang/test/CodeGenObjC/builtin-constant-p.m @@ -2,6 +2,7 @@ // Test that can call `__builtin_constant_p` with instances of different // Objective-C classes. +// rdar://problem/47499250 @class Foo; @class Bar; diff --git a/clang/test/CodeGenObjC/category-super-class-meth.m b/clang/test/CodeGenObjC/category-super-class-meth.m index 1a840e61bc38..dabd0c202239 100644 --- a/clang/test/CodeGenObjC/category-super-class-meth.m +++ b/clang/test/CodeGenObjC/category-super-class-meth.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 %s -emit-llvm -triple x86_64-apple-darwin -o - | FileCheck %s +// rdar://12459358 @interface NSObject -(id)copy; +(id)copy; diff --git a/clang/test/CodeGenObjC/class-type.m b/clang/test/CodeGenObjC/class-type.m index 91a099053aa4..4eae1ae6eab6 100644 --- a/clang/test/CodeGenObjC/class-type.m +++ b/clang/test/CodeGenObjC/class-type.m @@ -26,6 +26,7 @@ // Implementations without interface declarations. +// rdar://6804402 @class foo; @implementation foo @end diff --git a/clang/test/CodeGenObjC/complex-double-abi.m b/clang/test/CodeGenObjC/complex-double-abi.m index cb742e0ff6b4..635352004021 100644 --- a/clang/test/CodeGenObjC/complex-double-abi.m +++ b/clang/test/CodeGenObjC/complex-double-abi.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -emit-llvm -triple i386-apple-macosx10.7.2 %s -o - | FileCheck %s +// rdar://10331109 @interface CNumber - (double _Complex)sum; diff --git a/clang/test/CodeGenObjC/complex-property.m b/clang/test/CodeGenObjC/complex-property.m index 2a8a3d833354..a5572958a643 100644 --- a/clang/test/CodeGenObjC/complex-property.m +++ b/clang/test/CodeGenObjC/complex-property.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -emit-llvm -o - %s | FileCheck -check-prefix CHECK-LP64 %s +// rdar: // 7351147 @interface A @property __complex int COMPLEX_PROP; @@ -15,6 +16,7 @@ void f0(A *a) { // CHECK-LP64: private unnamed_addr constant [13 x i8] c"COMPLEX_PROP // CHECK-LP64: private unnamed_addr constant [17 x i8] c"setCOMPLEX_PROP +// rdar: // 7351147 @interface B @property (assign) _Complex float f_complex_ivar; @end diff --git a/clang/test/CodeGenObjC/compound-literal-property-access.m b/clang/test/CodeGenObjC/compound-literal-property-access.m index 5a742f1bbfc8..df3a5eaec08a 100644 --- a/clang/test/CodeGenObjC/compound-literal-property-access.m +++ b/clang/test/CodeGenObjC/compound-literal-property-access.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 %s -emit-llvm -triple x86_64-apple-darwin -o - | FileCheck %s +// rdar://20407999 typedef __attribute__((__ext_vector_type__(2))) float vector_float2; diff --git a/clang/test/CodeGenObjC/constant-string-class.m b/clang/test/CodeGenObjC/constant-string-class.m index f5b36cac49f5..6b55ad71cc73 100644 --- a/clang/test/CodeGenObjC/constant-string-class.m +++ b/clang/test/CodeGenObjC/constant-string-class.m @@ -4,6 +4,7 @@ // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fno-constant-cfstrings -fconstant-string-class Foo -emit-llvm -o %t %s // RUN: FileCheck --check-prefix CHECK-NONFRAGILE < %t %s +// rdar: // 8564463 // PR6056 @interface Object { diff --git a/clang/test/CodeGenObjC/debug-info-block-line.m b/clang/test/CodeGenObjC/debug-info-block-line.m index 35afbb6aefe9..2ad9a5aa6e63 100644 --- a/clang/test/CodeGenObjC/debug-info-block-line.m +++ b/clang/test/CodeGenObjC/debug-info-block-line.m @@ -1,6 +1,7 @@ // REQUIRES: x86-registered-target // RUN: %clang_cc1 -emit-llvm -fblocks -fobjc-arc -debug-info-kind=limited -triple x86_64-apple-darwin10 %s -o - | FileCheck %s +// rdar://11562117 typedef unsigned int NSUInteger; typedef long NSInteger; typedef signed char BOOL; diff --git a/clang/test/CodeGenObjC/debug-info-blocks.m b/clang/test/CodeGenObjC/debug-info-blocks.m index 14b29f222fbe..ec6bbe36f16a 100644 --- a/clang/test/CodeGenObjC/debug-info-blocks.m +++ b/clang/test/CodeGenObjC/debug-info-blocks.m @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -emit-llvm -fblocks -debug-info-kind=limited -triple x86_64-apple-darwin10 -fobjc-dispatch-method=mixed -x objective-c < %s -o - | FileCheck %s +// rdar://problem/9279956 // Test that we generate the proper debug location for a captured self. // The second half of this test is in llvm/tests/DebugInfo/debug-info-blocks.ll diff --git a/clang/test/CodeGenObjC/debug-info-crash.m b/clang/test/CodeGenObjC/debug-info-crash.m index 85b9b7d334f9..a8745d6d5ad3 100644 --- a/clang/test/CodeGenObjC/debug-info-crash.m +++ b/clang/test/CodeGenObjC/debug-info-crash.m @@ -1,6 +1,7 @@ // REQUIRES: x86-registered-target // RUN: %clang_cc1 -triple i386-apple-darwin10 -fobjc-runtime=macosx-fragile-10.5 -fblocks -debug-info-kind=limited -S %s -o - +// rdar://7556129 @implementation test - (void)wait { ^{}; diff --git a/clang/test/CodeGenObjC/debug-info-default-synth-ivar.m b/clang/test/CodeGenObjC/debug-info-default-synth-ivar.m index a0ce7832fbe3..fb2641265bde 100644 --- a/clang/test/CodeGenObjC/debug-info-default-synth-ivar.m +++ b/clang/test/CodeGenObjC/debug-info-default-synth-ivar.m @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -emit-llvm -debug-info-kind=limited %s -o %t // RUN: grep DW_TAG_member %t | count 5 +// rdar://8493239 @class NSString; diff --git a/clang/test/CodeGenObjC/debug-info-getter-name.m b/clang/test/CodeGenObjC/debug-info-getter-name.m index 6ee113b41403..3e0f52be8646 100644 --- a/clang/test/CodeGenObjC/debug-info-getter-name.m +++ b/clang/test/CodeGenObjC/debug-info-getter-name.m @@ -3,6 +3,8 @@ // CHECK: !DISubprogram(name: "-[InstanceVariablesEverywhereButTheInterface someString]" +//rdar: //8498026 + @class NSString; @interface InstanceVariablesEverywhereButTheInterface diff --git a/clang/test/CodeGenObjC/debug-info-instancetype.m b/clang/test/CodeGenObjC/debug-info-instancetype.m index c4c857cdf0cc..be454e38c0b3 100644 --- a/clang/test/CodeGenObjC/debug-info-instancetype.m +++ b/clang/test/CodeGenObjC/debug-info-instancetype.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -emit-llvm -debug-info-kind=limited -triple x86_64-apple-darwin10 %s -o - | FileCheck %s +// rdar://problem/13359718 // Substitute the actual type for a method returning instancetype. @interface NSObject + (id)alloc; diff --git a/clang/test/CodeGenObjC/debug-info-lifetime-crash.m b/clang/test/CodeGenObjC/debug-info-lifetime-crash.m index 2c3b7f09191a..668af631a376 100644 --- a/clang/test/CodeGenObjC/debug-info-lifetime-crash.m +++ b/clang/test/CodeGenObjC/debug-info-lifetime-crash.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -triple arm-apple-ios -emit-llvm -debug-info-kind=limited -fblocks -fobjc-runtime=ios-7.0.0 -fobjc-arc %s -o - | FileCheck %s +// rdar://problem/14990656 @protocol NSObject - (id)copy; @end diff --git a/clang/test/CodeGenObjC/debug-info-property-accessors.m b/clang/test/CodeGenObjC/debug-info-property-accessors.m index 22e54910a1af..1a12224fde6d 100644 --- a/clang/test/CodeGenObjC/debug-info-property-accessors.m +++ b/clang/test/CodeGenObjC/debug-info-property-accessors.m @@ -1,5 +1,7 @@ // RUN: %clang_cc1 -emit-llvm -x objective-c -debug-info-kind=limited -triple x86_64-apple-macosx10.8.0 %s -o - | FileCheck %s // +// rdar://problem/14035789 +// // Ensure we emit the names of explicit/renamed accessors even if they // are defined later in the implementation section. // diff --git a/clang/test/CodeGenObjC/debug-info-selector.m b/clang/test/CodeGenObjC/debug-info-selector.m index 9946f3d0ff42..13130b1bde5e 100644 --- a/clang/test/CodeGenObjC/debug-info-selector.m +++ b/clang/test/CodeGenObjC/debug-info-selector.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -emit-llvm -debug-info-kind=limited %s -o - | FileCheck %s +// Radar 8494540 // CHECK: objc_selector @interface MyClass { diff --git a/clang/test/CodeGenObjC/debug-info-static-var.m b/clang/test/CodeGenObjC/debug-info-static-var.m index f98f454fe729..331ab0a283a8 100644 --- a/clang/test/CodeGenObjC/debug-info-static-var.m +++ b/clang/test/CodeGenObjC/debug-info-static-var.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -debug-info-kind=limited -emit-llvm -o - %s | FileCheck %s +// Radar 8801045 // Do not emit AT_MIPS_linkage_name for static variable i // CHECK: !DIGlobalVariable(name: "i" diff --git a/clang/test/CodeGenObjC/debug-property-synth.m b/clang/test/CodeGenObjC/debug-property-synth.m index e3205162cbe9..b76fd8af5cc4 100644 --- a/clang/test/CodeGenObjC/debug-property-synth.m +++ b/clang/test/CodeGenObjC/debug-property-synth.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -triple %itanium_abi_triple -emit-llvm -debug-info-kind=limited %s -o - | FileCheck %s +// rdar://problem/9468526 // // Setting a breakpoint on a property should create breakpoints in // synthesized getters/setters. diff --git a/clang/test/CodeGenObjC/debuginfo-properties.m b/clang/test/CodeGenObjC/debuginfo-properties.m index 3c9d8f8d06fe..53f5e2de890b 100644 --- a/clang/test/CodeGenObjC/debuginfo-properties.m +++ b/clang/test/CodeGenObjC/debuginfo-properties.m @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -debug-info-kind=limited -emit-llvm -triple x86_64-apple-darwin -o - %s | FileCheck %s // Check that we emit the correct method names for properties from a protocol. +// rdar://problem/13798000 @protocol NSObject - (id)init; @end diff --git a/clang/test/CodeGenObjC/default-property-synthesis.m b/clang/test/CodeGenObjC/default-property-synthesis.m index 8a2e4b65b8ca..7d7296b5df78 100644 --- a/clang/test/CodeGenObjC/default-property-synthesis.m +++ b/clang/test/CodeGenObjC/default-property-synthesis.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -emit-llvm -o %t %s +// rdar://7923851. // Superclass declares property. Subclass redeclares the same property. // Do not @synthesize-by-default in the subclass. P1 diff --git a/clang/test/CodeGenObjC/designated-initializers.m b/clang/test/CodeGenObjC/designated-initializers.m index a67f82e1afbe..80dfdf3602c6 100644 --- a/clang/test/CodeGenObjC/designated-initializers.m +++ b/clang/test/CodeGenObjC/designated-initializers.m @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -triple i386-unknown-unknown %s -emit-llvm -o - | FileCheck %s +// struct overwrite_string_struct { char L[3]; int M; diff --git a/clang/test/CodeGenObjC/dot-syntax-2.m b/clang/test/CodeGenObjC/dot-syntax-2.m index c48c39cc9fb0..020868a80712 100644 --- a/clang/test/CodeGenObjC/dot-syntax-2.m +++ b/clang/test/CodeGenObjC/dot-syntax-2.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -emit-llvm -o %t %s +// rdar: // 8062778 @interface NSDictionary @end diff --git a/clang/test/CodeGenObjC/encode-cstyle-method.m b/clang/test/CodeGenObjC/encode-cstyle-method.m index 8b1643e3b358..cb1e6773fd56 100644 --- a/clang/test/CodeGenObjC/encode-cstyle-method.m +++ b/clang/test/CodeGenObjC/encode-cstyle-method.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fobjc-runtime=macosx-fragile-10.5 -emit-llvm -o - %s | FileCheck -check-prefix CHECK-LP64 %s +// rdar: // 7445205 @interface Foo - (id)test:(id)one, id two; diff --git a/clang/test/CodeGenObjC/encode-test-6.m b/clang/test/CodeGenObjC/encode-test-6.m index 261eb7fb3368..7c07289210e4 100644 --- a/clang/test/CodeGenObjC/encode-test-6.m +++ b/clang/test/CodeGenObjC/encode-test-6.m @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -triple x86_64-apple-darwin -emit-llvm -o %t %s // RUN: FileCheck < %t %s +// rdar://11777609 typedef struct {} Z; @@ -16,6 +17,8 @@ typedef struct {} Z; // CHECK: private unnamed_addr constant [14 x i8] c"v16@0:8{?=}16 // CHECK: private unnamed_addr constant [26 x i8] c"v32@0:8{?=}16*16{?=}24d24 + +// rdar://13190095 @interface NSObject @end @class BABugExample; @@ -33,6 +36,7 @@ typedef BABugExample BABugExampleRedefinition; // CHECK: private unnamed_addr constant [8 x i8] c"@16 +// rdar://14408244 @class SCNCamera; typedef SCNCamera C3DCamera; typedef struct @@ -50,6 +54,7 @@ typedef struct @end // CHECK: private unnamed_addr constant [39 x i8] c"{?=\22presentationInstance\22@\22SCNCamera\22}\00" +// rdar://16655340 int i; typeof(@encode(typeof(i))) e = @encode(typeof(i)); const char * Test(void) diff --git a/clang/test/CodeGenObjC/encode-test.m b/clang/test/CodeGenObjC/encode-test.m index 78a70a00e072..3e03ea81993c 100644 --- a/clang/test/CodeGenObjC/encode-test.m +++ b/clang/test/CodeGenObjC/encode-test.m @@ -162,6 +162,7 @@ struct f // CHECK: @g10 ={{.*}} constant [14 x i8] c"{f=i[4{?=}]i}\00" const char g10[] = @encode(struct f); +// rdar://9622422 // CHECK: @g11 ={{.*}} constant [2 x i8] c"v\00" const char g11[] = @encode(void); @@ -169,6 +170,7 @@ const char g11[] = @encode(void); // CHECK: @g12 ={{.*}} constant [3 x i8] c"Ai\00" const char g12[] = @encode(_Atomic(int)); +// rdar://15824769 id test_id = 0; Class test_class = 0; const char g13[] = @encode(__typeof__(*test_class)); diff --git a/clang/test/CodeGenObjC/exceptions-asm-attribute.m b/clang/test/CodeGenObjC/exceptions-asm-attribute.m index ad620c0e2831..fd2786fe0141 100644 --- a/clang/test/CodeGenObjC/exceptions-asm-attribute.m +++ b/clang/test/CodeGenObjC/exceptions-asm-attribute.m @@ -1,6 +1,7 @@ // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -emit-llvm -Wno-objc-root-class -fexceptions -fobjc-exceptions -o %t %s // RUN: FileCheck -check-prefix=CHECK-X86_64 < %t %s // RUN: FileCheck -check-prefix=CHECK-EHTYPE < %t %s +// rdar://16462586 // We need exactly 3 of these. // CHECK-EHTYPE: @"OBJC_EHTYPE_$_MySecretNamespace.EH3" diff --git a/clang/test/CodeGenObjC/exceptions-nonfragile.m b/clang/test/CodeGenObjC/exceptions-nonfragile.m index 7904b604500a..ce718bf9c7ca 100644 --- a/clang/test/CodeGenObjC/exceptions-nonfragile.m +++ b/clang/test/CodeGenObjC/exceptions-nonfragile.m @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -emit-llvm -fexceptions -fobjc-exceptions -o - %s | FileCheck %s +// rdar://problem/8535238 // CHECK: declare void @objc_exception_rethrow() void protos(void) { @@ -15,6 +16,7 @@ void throwing(void) { @throw(@"error!"); } +// rdar://problem/9431547 void die(void) __attribute__((nothrow, noreturn)); void test2(void) { @try { diff --git a/clang/test/CodeGenObjC/exceptions.m b/clang/test/CodeGenObjC/exceptions.m index 1546ed2585db..0b40b4d3ffb6 100644 --- a/clang/test/CodeGenObjC/exceptions.m +++ b/clang/test/CodeGenObjC/exceptions.m @@ -1,6 +1,6 @@ // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fobjc-runtime=macosx-fragile-10.5 -emit-llvm -fobjc-exceptions -mllvm -simplifycfg-sink-common=false -O2 -o - %s | FileCheck %s // -// [irgen] [eh] Exception code built with clang (x86_64) crashes +// [irgen] [eh] Exception code built with clang (x86_64) crashes // Just check that we don't emit any dead blocks. @interface NSArray @end @@ -37,7 +37,7 @@ void f1(void) { } // Test that modifications to local variables are respected under -// optimization. +// optimization. rdar://problem/8160285 // CHECK-LABEL: define{{.*}} i32 @f2() int f2(void) { @@ -73,7 +73,7 @@ int f2(void) { } // Test that the cleanup destination is saved when entering a finally -// block. +// block. rdar://problem/8293901 // CHECK-LABEL: define{{.*}} void @f3() void f3(void) { extern void f3_helper(int, int*); @@ -125,6 +125,7 @@ void f3(void) { f3_helper(4, &x); } +// rdar://problem/8440970 void f4(void) { extern void f4_help(int); diff --git a/clang/test/CodeGenObjC/extended-block-signature-encode.m b/clang/test/CodeGenObjC/extended-block-signature-encode.m index 662c01c1993c..0f9b0d450f72 100644 --- a/clang/test/CodeGenObjC/extended-block-signature-encode.m +++ b/clang/test/CodeGenObjC/extended-block-signature-encode.m @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -fblocks -triple x86_64-apple-darwin -fencode-extended-block-signature -emit-llvm %s -o - | FileCheck %s // RUN: %clang_cc1 -fblocks -triple x86_64-apple-darwin -emit-llvm %s -o - | FileCheck %s -check-prefix=CHECK-BRIEF +// rdar://12109031 @class NSString, NSArray; diff --git a/clang/test/CodeGenObjC/extern-void-class-decl.m b/clang/test/CodeGenObjC/extern-void-class-decl.m index 826622b94c1b..a01b5b74fc9d 100644 --- a/clang/test/CodeGenObjC/extern-void-class-decl.m +++ b/clang/test/CodeGenObjC/extern-void-class-decl.m @@ -1,5 +1,7 @@ // RUN: %clang_cc1 -triple x86_64-apple-macosx10.14.0 %s -emit-llvm -o - | FileCheck %s +// rdar://45077269 + extern void OBJC_CLASS_$_f; Class c = (Class)&OBJC_CLASS_$_f; diff --git a/clang/test/CodeGenObjC/for-in.m b/clang/test/CodeGenObjC/for-in.m index e61fc9506918..9f3943f3ae0b 100644 --- a/clang/test/CodeGenObjC/for-in.m +++ b/clang/test/CodeGenObjC/for-in.m @@ -56,6 +56,7 @@ void t1(void) { } } +// rdar://problem/9027663 void t2(NSArray *array) { for (NSArray *array in array) { // expected-warning {{collection expression type 'NSArray *' may not respond}} } diff --git a/clang/test/CodeGenObjC/forward-decl-param.m b/clang/test/CodeGenObjC/forward-decl-param.m index 5a5e83f5f085..d54a8882f6ce 100644 --- a/clang/test/CodeGenObjC/forward-decl-param.m +++ b/clang/test/CodeGenObjC/forward-decl-param.m @@ -1,6 +1,7 @@ // RUN: %clang_cc1 %s -emit-llvm -o - -// crash due to forward-declared struct in protocol method parameter. +// crash due to forward-declared struct in +// protocol method parameter. @protocol P - (void) A:(struct z) z; diff --git a/clang/test/CodeGenObjC/forward-protocol-metadata-symbols.m b/clang/test/CodeGenObjC/forward-protocol-metadata-symbols.m index 4c326dd0b4f7..88c07c1a4103 100644 --- a/clang/test/CodeGenObjC/forward-protocol-metadata-symbols.m +++ b/clang/test/CodeGenObjC/forward-protocol-metadata-symbols.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fobjc-runtime=macosx-10.14 -emit-llvm -x objective-c %s -o - | FileCheck %s +// rdar://16203115 @interface NSObject @end diff --git a/clang/test/CodeGenObjC/gc-weak-attribute.m b/clang/test/CodeGenObjC/gc-weak-attribute.m index 3f865c74e39a..500fd112eef8 100644 --- a/clang/test/CodeGenObjC/gc-weak-attribute.m +++ b/clang/test/CodeGenObjC/gc-weak-attribute.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fobjc-gc -emit-llvm -o - %s | FileCheck %s +// rdar://10073896 @interface I { diff --git a/clang/test/CodeGenObjC/getter-property-mismatch.m b/clang/test/CodeGenObjC/getter-property-mismatch.m index e4a8bf84df3d..64a1d8cbc84d 100644 --- a/clang/test/CodeGenObjC/getter-property-mismatch.m +++ b/clang/test/CodeGenObjC/getter-property-mismatch.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 %s -emit-llvm -triple x86_64-apple-darwin -o - | FileCheck %s +// rdar://11323676 @interface NSDictionary @end @interface NSMutableDictionary : NSDictionary@end@interface CalDAVAddManagedAttachmentsTaskGroup { diff --git a/clang/test/CodeGenObjC/getter-property-type-mismatch.m b/clang/test/CodeGenObjC/getter-property-type-mismatch.m index eba391ce2f08..d09a00c7ea9a 100644 --- a/clang/test/CodeGenObjC/getter-property-type-mismatch.m +++ b/clang/test/CodeGenObjC/getter-property-type-mismatch.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -emit-llvm -o - %s | FileCheck %s +// rdar://11515196 @interface NSArray @end diff --git a/clang/test/CodeGenObjC/instance-method-metadata.m b/clang/test/CodeGenObjC/instance-method-metadata.m index 7c9014d8c51e..e08de8fdacec 100644 --- a/clang/test/CodeGenObjC/instance-method-metadata.m +++ b/clang/test/CodeGenObjC/instance-method-metadata.m @@ -1,6 +1,8 @@ // REQUIRES: x86-registered-target // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -S %s -o - | FileCheck %s +// rdar://9072317 + /** The problem looks like clang getting confused when a single translation unit contains a protocol with a property and two classes that implement that protocol and synthesize the property. diff --git a/clang/test/CodeGenObjC/ivar-base-as-invariant-load.m b/clang/test/CodeGenObjC/ivar-base-as-invariant-load.m index 5ff13a2a1890..f48436e72a98 100644 --- a/clang/test/CodeGenObjC/ivar-base-as-invariant-load.m +++ b/clang/test/CodeGenObjC/ivar-base-as-invariant-load.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -emit-llvm -triple x86_64-apple-darwin -x objective-c %s -o - | FileCheck %s +// rdar://10840980 @interface A { struct { diff --git a/clang/test/CodeGenObjC/ivar-layout-array0-struct.m b/clang/test/CodeGenObjC/ivar-layout-array0-struct.m index 95c1695030a0..26459aec4c01 100644 --- a/clang/test/CodeGenObjC/ivar-layout-array0-struct.m +++ b/clang/test/CodeGenObjC/ivar-layout-array0-struct.m @@ -2,6 +2,7 @@ // RUN: %clang_cc1 -fobjc-gc -triple x86_64-apple-darwin -fobjc-runtime=macosx-fragile-10.5 -S %s -o %t-64.s // RUN: FileCheck -check-prefix CHECK-LP64 --input-file=%t-64.s %s +// rdar://8800513 @interface NSObject { id isa; } diff --git a/clang/test/CodeGenObjC/ivar-layout-flexible-array.m b/clang/test/CodeGenObjC/ivar-layout-flexible-array.m index 8727ff19a7d1..28849c86c2af 100644 --- a/clang/test/CodeGenObjC/ivar-layout-flexible-array.m +++ b/clang/test/CodeGenObjC/ivar-layout-flexible-array.m @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -triple x86_64-apple-darwin -Wno-objc-root-class -fobjc-arc -emit-llvm -o - %s | FileCheck %s +// rdar://problem/21054495 @interface FlexibleArrayMember { char flexible_array[][4][2]; } diff --git a/clang/test/CodeGenObjC/ivar-layout-nonfragile-abi2.m b/clang/test/CodeGenObjC/ivar-layout-nonfragile-abi2.m index 858f409207c2..65e17a84f163 100644 --- a/clang/test/CodeGenObjC/ivar-layout-nonfragile-abi2.m +++ b/clang/test/CodeGenObjC/ivar-layout-nonfragile-abi2.m @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -emit-llvm -o %t %s // RUN: %clang_cc1 -x objective-c++ -triple x86_64-apple-darwin10 -emit-llvm -o %t %s +// rdar: // 7824380 @interface Super { int ivar_super_a : 5; diff --git a/clang/test/CodeGenObjC/ivars.m b/clang/test/CodeGenObjC/ivars.m index c1aeea554419..1ccfa36345c5 100644 --- a/clang/test/CodeGenObjC/ivars.m +++ b/clang/test/CodeGenObjC/ivars.m @@ -2,6 +2,7 @@ // RUN: %clang_cc1 -triple i386-apple-darwin9 -fobjc-runtime=macosx-fragile-10.5 -emit-llvm -o - %s // RUN: %clang_cc1 -fobjc-gc -emit-llvm -o - %s +// rdar://6800926 @interface ITF { @public unsigned field :1 ; @@ -13,6 +14,7 @@ void foo(ITF *P) { P->boolfield = 1; } +// rdar://8368320 @interface R { struct { union { diff --git a/clang/test/CodeGenObjC/local-static-block.m b/clang/test/CodeGenObjC/local-static-block.m index ef179c14d4f6..d4962beeb582 100644 --- a/clang/test/CodeGenObjC/local-static-block.m +++ b/clang/test/CodeGenObjC/local-static-block.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -fblocks -triple x86_64-apple-darwin -fobjc-runtime=macosx-fragile-10.5 -emit-llvm -o - %s | FileCheck %s +// rdar: // 8390455 // CHECK: @ArrayRecurs = internal global // CHECK: @FUNC.ArrayRecurs = internal global diff --git a/clang/test/CodeGenObjC/messages-2.m b/clang/test/CodeGenObjC/messages-2.m index 927281e501b9..311fbae757be 100644 --- a/clang/test/CodeGenObjC/messages-2.m +++ b/clang/test/CodeGenObjC/messages-2.m @@ -144,6 +144,7 @@ typedef struct { } @end +// rdar://problem/7854674 // CHECK: define{{.*}} void @test0(ptr // CHECK-NF: define{{.*}} void @test0(ptr void test0(A *x) { diff --git a/clang/test/CodeGenObjC/misc-atomic-property.m b/clang/test/CodeGenObjC/misc-atomic-property.m index 5eacca606c9e..4c8cc669705d 100644 --- a/clang/test/CodeGenObjC/misc-atomic-property.m +++ b/clang/test/CodeGenObjC/misc-atomic-property.m @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -triple i386-apple-darwin9 -fobjc-runtime=macosx-fragile-10.5 -emit-llvm -o - %s | FileCheck %s +// rdar: //8808439 typedef struct { #ifdef __LP64__ diff --git a/clang/test/CodeGenObjC/mrr-autorelease.m b/clang/test/CodeGenObjC/mrr-autorelease.m index c4c0840a0b0b..050c584774ba 100644 --- a/clang/test/CodeGenObjC/mrr-autorelease.m +++ b/clang/test/CodeGenObjC/mrr-autorelease.m @@ -1,5 +1,7 @@ // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -triple i386-apple-darwin10 -fobjc-runtime=macosx-fragile-10.5 -emit-llvm -o - %s | FileCheck %s +// rdar://8881826 +// rdar://9423507 @interface I { diff --git a/clang/test/CodeGenObjC/mrr-captured-block-var-inlined-layout.m b/clang/test/CodeGenObjC/mrr-captured-block-var-inlined-layout.m index 7ec98350b39d..9ea2e192758b 100644 --- a/clang/test/CodeGenObjC/mrr-captured-block-var-inlined-layout.m +++ b/clang/test/CodeGenObjC/mrr-captured-block-var-inlined-layout.m @@ -2,6 +2,8 @@ // RUN: FileCheck --input-file=%t-64.layout %s // RUN: %clang_cc1 -fblocks -fobjc-runtime-has-weak -fobjc-arc -triple i386-apple-darwin -print-ivar-layout -emit-llvm -o /dev/null %s > %t-32.layout // RUN: FileCheck --input-file=%t-32.layout %s +// rdar://12184410 +// rdar://12184410 void x(id y) {} void y(int a) {} diff --git a/clang/test/CodeGenObjC/next-objc-dispatch.m b/clang/test/CodeGenObjC/next-objc-dispatch.m index 906308674cce..e3a304d90950 100644 --- a/clang/test/CodeGenObjC/next-objc-dispatch.m +++ b/clang/test/CodeGenObjC/next-objc-dispatch.m @@ -13,6 +13,8 @@ // RUN: %clang_cc1 -triple x86_64-apple-darwin9 -emit-llvm -o - %s \ // RUN: -fobjc-dispatch-method=mixed | \ // RUN: FileCheck -check-prefix CHECK-NONFRAGILE_MIXED %s +// +// // There are basically four ways that we end up doing message dispatch for the // NeXT runtime. They are: diff --git a/clang/test/CodeGenObjC/no-vararg-messaging.m b/clang/test/CodeGenObjC/no-vararg-messaging.m index 1c9e6673c64e..0095209820b3 100644 --- a/clang/test/CodeGenObjC/no-vararg-messaging.m +++ b/clang/test/CodeGenObjC/no-vararg-messaging.m @@ -1,5 +1,6 @@ // REQUIRES: x86-registered-target // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -S -o - %s | FileCheck %s +// rdar://9048030 @interface Foo +(id)alloc; diff --git a/clang/test/CodeGenObjC/ns_consume_null_check.m b/clang/test/CodeGenObjC/ns_consume_null_check.m index 018c263b093e..6213f0ac40b4 100644 --- a/clang/test/CodeGenObjC/ns_consume_null_check.m +++ b/clang/test/CodeGenObjC/ns_consume_null_check.m @@ -12,6 +12,7 @@ MyObject *x; +// rdar://10444476 void test0(void) { id obj = [NSObject new]; [x isEqual : obj]; @@ -28,6 +29,7 @@ void test0(void) { // CHECK: phi i8 [ [[CALL]], {{%.*}} ], [ 0, {{%.*}} ] // Ensure that we build PHIs correctly in the presence of cleanups. +// rdar://12046763 void test1(void) { id obj = [NSObject new]; __weak id weakObj = obj; diff --git a/clang/test/CodeGenObjC/null-check-bool-ret.m b/clang/test/CodeGenObjC/null-check-bool-ret.m index 381d136450fc..0e22ddc9ec2a 100644 --- a/clang/test/CodeGenObjC/null-check-bool-ret.m +++ b/clang/test/CodeGenObjC/null-check-bool-ret.m @@ -1,5 +1,7 @@ // RUN: %clang_cc1 -triple arm64e-apple-ios15.0.0 -emit-llvm-bc -fobjc-arc -disable-llvm-passes %s -emit-llvm -o - | FileCheck %s +// rdar://73361264 + @protocol NSObject @end diff --git a/clang/test/CodeGenObjC/null-objc-empty-vtable.m b/clang/test/CodeGenObjC/null-objc-empty-vtable.m index 14544469ba2d..de35778fc4be 100644 --- a/clang/test/CodeGenObjC/null-objc-empty-vtable.m +++ b/clang/test/CodeGenObjC/null-objc-empty-vtable.m @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -triple x86_64-apple-macosx10.9 -emit-llvm -o - %s | FileCheck -check-prefix CHECK-OSX %s // RUN: %clang_cc1 -triple thumbv7-apple-ios3.0.0 -emit-llvm -o - %s | FileCheck -check-prefix CHECK-IOS %s +// rdar://14802916 @interface I @end diff --git a/clang/test/CodeGenObjC/objc-alloc-init.m b/clang/test/CodeGenObjC/objc-alloc-init.m index 96ce9f601f7b..0e8260ad858b 100644 --- a/clang/test/CodeGenObjC/objc-alloc-init.m +++ b/clang/test/CodeGenObjC/objc-alloc-init.m @@ -49,6 +49,7 @@ void f(void) { } @end +// rdar://48247290 @interface Base -(instancetype)init; @end diff --git a/clang/test/CodeGenObjC/objc-asm-attribute-test.m b/clang/test/CodeGenObjC/objc-asm-attribute-test.m index 876370115bfc..fbb4b4d915d6 100644 --- a/clang/test/CodeGenObjC/objc-asm-attribute-test.m +++ b/clang/test/CodeGenObjC/objc-asm-attribute-test.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -emit-llvm -triple x86_64-apple-darwin %s -o - | FileCheck %s +// rdar://16462586 __attribute__((objc_runtime_name("MySecretNamespace.Protocol"))) @protocol Protocol @@ -43,6 +44,7 @@ __attribute__((objc_runtime_name("MySecretNamespace.Message"))) + (void) ClsMethodP2 {} @end +// rdar://16877359 __attribute__((objc_runtime_name("foo"))) @interface SLREarth - (instancetype)init; diff --git a/clang/test/CodeGenObjC/objc-dictionary-literal.m b/clang/test/CodeGenObjC/objc-dictionary-literal.m index c5ba9039dbb7..5d505ae1b449 100644 --- a/clang/test/CodeGenObjC/objc-dictionary-literal.m +++ b/clang/test/CodeGenObjC/objc-dictionary-literal.m @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -x objective-c -triple x86_64-apple-darwin10 -fblocks -emit-llvm %s -o /dev/null // RUN: %clang_cc1 -x objective-c++ -triple x86_64-apple-darwin10 -fblocks -emit-llvm %s -o /dev/null +// rdar://10614657 @interface NSNumber + (NSNumber *)numberWithChar:(char)value; diff --git a/clang/test/CodeGenObjC/objc-literal-tests.m b/clang/test/CodeGenObjC/objc-literal-tests.m index 653848bd07c3..71225ae3f879 100644 --- a/clang/test/CodeGenObjC/objc-literal-tests.m +++ b/clang/test/CodeGenObjC/objc-literal-tests.m @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -x objective-c -triple x86_64-apple-darwin10 -fblocks -emit-llvm %s -o - | FileCheck %s // RUN: %clang_cc1 -x objective-c++ -triple x86_64-apple-darwin10 -fblocks -emit-llvm %s -o - | FileCheck %s +// rdar://10111397 #if __has_feature(objc_bool) #define YES __objc_yes @@ -85,6 +86,7 @@ NSDictionary *dictionary = @{@"name" : NSUserName(), return __objc_yes == __objc_no; } +// rdar://10579122 typedef BOOL (^foo)(void); extern void bar(foo a); diff --git a/clang/test/CodeGenObjC/objc2-nonfragile-abi-impl.m b/clang/test/CodeGenObjC/objc2-nonfragile-abi-impl.m index 286ab7e015c2..c785a5d47642 100644 --- a/clang/test/CodeGenObjC/objc2-nonfragile-abi-impl.m +++ b/clang/test/CodeGenObjC/objc2-nonfragile-abi-impl.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -emit-llvm -o %t %s +// rdar://7547942. @interface Base @end diff --git a/clang/test/CodeGenObjC/objc2-protocol-metadata.m b/clang/test/CodeGenObjC/objc2-protocol-metadata.m index ba144e8b39e4..38f723709e02 100644 --- a/clang/test/CodeGenObjC/objc2-protocol-metadata.m +++ b/clang/test/CodeGenObjC/objc2-protocol-metadata.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -triple x86_64-apple-macosx10.10 -emit-llvm -o - %s | FileCheck %s +// rdar://20286356 @protocol P1 - InstP; diff --git a/clang/test/CodeGenObjC/objc2-strong-cast-block-import.m b/clang/test/CodeGenObjC/objc2-strong-cast-block-import.m index 905d1247f6fc..bdb3804787ed 100644 --- a/clang/test/CodeGenObjC/objc2-strong-cast-block-import.m +++ b/clang/test/CodeGenObjC/objc2-strong-cast-block-import.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fobjc-gc-only -fblocks -emit-llvm -o - %s | FileCheck %s +// rdar://10150823 @interface Test { @package diff --git a/clang/test/CodeGenObjC/objc2-weak-ivar-debug.m b/clang/test/CodeGenObjC/objc2-weak-ivar-debug.m index f2096dca5554..4377f6715490 100644 --- a/clang/test/CodeGenObjC/objc2-weak-ivar-debug.m +++ b/clang/test/CodeGenObjC/objc2-weak-ivar-debug.m @@ -3,6 +3,7 @@ // RUN: %clang_cc1 -x objective-c++ -triple x86_64-apple-darwin9 -fobjc-runtime=macosx-fragile-10.5 -fobjc-gc -debug-info-kind=limited -emit-llvm -o - %s // RUN: %clang_cc1 -x objective-c++ -triple i386-apple-darwin9 -fobjc-runtime=macosx-fragile-10.5 -fobjc-gc -debug-info-kind=limited -emit-llvm -o - %s +// rdar://7252252 @interface Loop { @public __weak Loop *_loop; diff --git a/clang/test/CodeGenObjC/objc2-write-barrier-5.m b/clang/test/CodeGenObjC/objc2-write-barrier-5.m index 8e9123fb9b83..44af818a320e 100644 --- a/clang/test/CodeGenObjC/objc2-write-barrier-5.m +++ b/clang/test/CodeGenObjC/objc2-write-barrier-5.m @@ -28,6 +28,7 @@ struct unarchive_list { @end +// rdar://10191569 @interface I { struct S { diff --git a/clang/test/CodeGenObjC/optimize-ivar-offset-load.m b/clang/test/CodeGenObjC/optimize-ivar-offset-load.m index 8513bfa7c233..b943dbe678c8 100644 --- a/clang/test/CodeGenObjC/optimize-ivar-offset-load.m +++ b/clang/test/CodeGenObjC/optimize-ivar-offset-load.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -O0 -emit-llvm %s -o - | FileCheck %s +// rdar://16095748 @interface MyNSObject @end diff --git a/clang/test/CodeGenObjC/optimized-setter-ios-device.m b/clang/test/CodeGenObjC/optimized-setter-ios-device.m index 30fec75d4107..ae8f34c081bf 100644 --- a/clang/test/CodeGenObjC/optimized-setter-ios-device.m +++ b/clang/test/CodeGenObjC/optimized-setter-ios-device.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 %s -emit-llvm -fobjc-runtime=ios-6.0.0 -triple thumbv7-apple-ios6.0.0 -o - | FileCheck %s +// rdar://11915017 @interface I // void objc_setProperty_nonatomic(id self, SEL _cmd, id newValue, ptrdiff_t offset); diff --git a/clang/test/CodeGenObjC/optimized-setter.m b/clang/test/CodeGenObjC/optimized-setter.m index 1d0693bf469d..7e0a1d769f6e 100644 --- a/clang/test/CodeGenObjC/optimized-setter.m +++ b/clang/test/CodeGenObjC/optimized-setter.m @@ -1,6 +1,7 @@ // RUN: %clang_cc1 %s -emit-llvm -fobjc-runtime=macosx-10.8 -triple x86_64-apple-macosx10.8.0 -o - | FileCheck %s // RUN: %clang_cc1 %s -emit-llvm -fobjc-runtime=ios-6.0.0 -triple x86_64-apple-ios6.0.0 -o - | FileCheck %s // RUN: %clang_cc1 %s -emit-llvm -fobjc-runtime=gnustep-1.7 -triple x86_64-unknown-freebsd -o - | FileCheck %s +// rdar://10179974 @interface I // void objc_setProperty_nonatomic(id self, SEL _cmd, id newValue, ptrdiff_t offset); diff --git a/clang/test/CodeGenObjC/os_log.m b/clang/test/CodeGenObjC/os_log.m index 837883ec4bb7..a580102f664b 100644 --- a/clang/test/CodeGenObjC/os_log.m +++ b/clang/test/CodeGenObjC/os_log.m @@ -6,6 +6,8 @@ // cleanup. This way we make sure the object will not be released until the // end of the full expression. +// rdar://problem/24528966 + @interface C - (id)m0; + (id)m1; diff --git a/clang/test/CodeGenObjC/overloadable.m b/clang/test/CodeGenObjC/overloadable.m index 1001e317f379..0d55cd3f3a26 100644 --- a/clang/test/CodeGenObjC/overloadable.m +++ b/clang/test/CodeGenObjC/overloadable.m @@ -1,3 +1,4 @@ +// rdar://6657613 // RUN: %clang_cc1 -triple %itanium_abi_triple -emit-llvm %s -o - | FileCheck %s @class C; diff --git a/clang/test/CodeGenObjC/private-extern-selector-reference.m b/clang/test/CodeGenObjC/private-extern-selector-reference.m index 0f713625fdbf..1728d4ec4bfb 100644 --- a/clang/test/CodeGenObjC/private-extern-selector-reference.m +++ b/clang/test/CodeGenObjC/private-extern-selector-reference.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -triple x86_64-apple-ios6.0.0 -emit-llvm -o - %s | FileCheck %s +// rdar://18150301 @interface Query + (void)_configureCI; diff --git a/clang/test/CodeGenObjC/property-agrr-getter.m b/clang/test/CodeGenObjC/property-agrr-getter.m index 823dd468b70d..7a1b06da4f56 100644 --- a/clang/test/CodeGenObjC/property-agrr-getter.m +++ b/clang/test/CodeGenObjC/property-agrr-getter.m @@ -37,6 +37,7 @@ float f (void) return (obj.size).width; } +// rdar://problem/9272392 void test3(AnObject *obj) { obj.size; (void) obj.size; diff --git a/clang/test/CodeGenObjC/property-array-type.m b/clang/test/CodeGenObjC/property-array-type.m index 0405a78738ab..81939617e081 100644 --- a/clang/test/CodeGenObjC/property-array-type.m +++ b/clang/test/CodeGenObjC/property-array-type.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -emit-llvm -o - %s | FileCheck %s +// rdar://15610943 struct _GLKMatrix4 { diff --git a/clang/test/CodeGenObjC/property-ref-cast-to-void.m b/clang/test/CodeGenObjC/property-ref-cast-to-void.m index e379d8625d6f..52273756381e 100644 --- a/clang/test/CodeGenObjC/property-ref-cast-to-void.m +++ b/clang/test/CodeGenObjC/property-ref-cast-to-void.m @@ -1,6 +1,7 @@ // RUN: %clang_cc1 -no-enable-noundef-analysis -triple x86_64-apple-darwin9 -fobjc-runtime=macosx-fragile-10.5 -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -no-enable-noundef-analysis -x objective-c++ -triple x86_64-apple-darwin9 -fobjc-runtime=macosx-fragile-10.5 -emit-llvm -o - %s | FileCheck %s +// rdar: // 8399655 @interface TestClass @property (readonly) int myProperty; - (int)myProperty; diff --git a/clang/test/CodeGenObjC/property-section-attribute.m b/clang/test/CodeGenObjC/property-section-attribute.m index 9d3d27ea64ef..5ba064c6126f 100644 --- a/clang/test/CodeGenObjC/property-section-attribute.m +++ b/clang/test/CodeGenObjC/property-section-attribute.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -emit-llvm -o - %s | FileCheck %s +// rdar://15450637. @interface NSObject @end diff --git a/clang/test/CodeGenObjC/property-type-mismatch.m b/clang/test/CodeGenObjC/property-type-mismatch.m index e0a39dbe51be..93947c98ddb8 100644 --- a/clang/test/CodeGenObjC/property-type-mismatch.m +++ b/clang/test/CodeGenObjC/property-type-mismatch.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -emit-llvm -o - %s | FileCheck %s +// rdar://8966864 @interface Foo -(float)myfo; diff --git a/clang/test/CodeGenObjC/property.m b/clang/test/CodeGenObjC/property.m index 0c604bfc1353..ad2a0d880f7c 100644 --- a/clang/test/CodeGenObjC/property.m +++ b/clang/test/CodeGenObjC/property.m @@ -109,6 +109,7 @@ void test4(Test4 *t) { @synthesize x = _x; @end +// rdar://problem/10410531 @interface Test6 @property void (*prop)(void); @end @@ -118,6 +119,7 @@ void test6(Test6 *a) { a.prop = test6_func; } +// rdar://problem/10507455 @interface Test7 @property unsigned char x; @end diff --git a/clang/test/CodeGenObjC/protocols.m b/clang/test/CodeGenObjC/protocols.m index 8da804d2eb89..5f6361079655 100644 --- a/clang/test/CodeGenObjC/protocols.m +++ b/clang/test/CodeGenObjC/protocols.m @@ -66,6 +66,7 @@ int main(void) { return 0; } +// rdar://problem/7992749 typedef Root P1Object; int test10(void) { return [P1Object maxValue]; diff --git a/clang/test/CodeGenObjC/reorder-synthesized-ivars.m b/clang/test/CodeGenObjC/reorder-synthesized-ivars.m index 94895b80affb..90f39f1a89ec 100644 --- a/clang/test/CodeGenObjC/reorder-synthesized-ivars.m +++ b/clang/test/CodeGenObjC/reorder-synthesized-ivars.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -emit-llvm -x objective-c %s -o - | FileCheck %s +// rdar://13192366 typedef signed char BOOL; @interface NSObject { diff --git a/clang/test/CodeGenObjC/runtime-fns.m b/clang/test/CodeGenObjC/runtime-fns.m index 07618fbfeb71..203d87fff065 100644 --- a/clang/test/CodeGenObjC/runtime-fns.m +++ b/clang/test/CodeGenObjC/runtime-fns.m @@ -26,6 +26,7 @@ id objc_msgSend(int x) { return 0; } +// rdar://6800430 void objc_assign_weak(id value, id *location) { } diff --git a/clang/test/CodeGenObjC/sel-as-builtin-type.m b/clang/test/CodeGenObjC/sel-as-builtin-type.m index 28e10e7b26a3..72a8564e0888 100644 --- a/clang/test/CodeGenObjC/sel-as-builtin-type.m +++ b/clang/test/CodeGenObjC/sel-as-builtin-type.m @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -emit-llvm -o %t %s // pr5025 +// radar 7405040 typedef const struct objc_selector { void *sel_id; diff --git a/clang/test/CodeGenObjC/selector-ref-invariance.m b/clang/test/CodeGenObjC/selector-ref-invariance.m index 64f48f6f04c8..cd37b5d8e77d 100644 --- a/clang/test/CodeGenObjC/selector-ref-invariance.m +++ b/clang/test/CodeGenObjC/selector-ref-invariance.m @@ -1,5 +1,7 @@ // RUN: %clang_cc1 -triple x86_64-apple-darwin11 -emit-llvm -fblocks -o - %s | FileCheck %s +// rdar://6027699 + void test(id x) { // CHECK: load ptr, ptr @OBJC_SELECTOR_REFERENCES_, align 8, !invariant.load // CHECK: @objc_msgSend diff --git a/clang/test/CodeGenObjC/simplify-exceptions.mm b/clang/test/CodeGenObjC/simplify-exceptions.mm index 81afaf08155d..d0baf808531c 100644 --- a/clang/test/CodeGenObjC/simplify-exceptions.mm +++ b/clang/test/CodeGenObjC/simplify-exceptions.mm @@ -3,7 +3,7 @@ // RUN: -o %t %s // RUN: FileCheck < %t %s // -// [irgen] [eh] Exception code built with clang (x86_64) crashes +// [irgen] [eh] Exception code built with clang (x86_64) crashes // Check that we don't emit unnecessary personality function references. struct t0_A { t0_A(); }; diff --git a/clang/test/CodeGenObjC/stand-alone-implementation.m b/clang/test/CodeGenObjC/stand-alone-implementation.m index 120840bb14d2..8245f01028b9 100644 --- a/clang/test/CodeGenObjC/stand-alone-implementation.m +++ b/clang/test/CodeGenObjC/stand-alone-implementation.m @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -emit-llvm -o - %s | FileCheck -check-prefix=CHECK-X86-64 %s +// radar 7547942 // Allow injection of ivars into implementation's implicit class. @implementation INTFSTANDALONE // expected-warning {{cannot find interface declaration for 'INTFSTANDALONE'}} diff --git a/clang/test/CodeGenObjC/stret-1.m b/clang/test/CodeGenObjC/stret-1.m index fb1b4abe70f4..ab3f664fb5fe 100644 --- a/clang/test/CodeGenObjC/stret-1.m +++ b/clang/test/CodeGenObjC/stret-1.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -fblocks -triple arm64-apple-darwin %s -emit-llvm -o - | FileCheck %s +// rdar://12416433 struct stret { int x[100]; }; struct stret one = {{1}}; diff --git a/clang/test/CodeGenObjC/stret.m b/clang/test/CodeGenObjC/stret.m index dc764e05a0ae..03aac40258f5 100644 --- a/clang/test/CodeGenObjC/stret.m +++ b/clang/test/CodeGenObjC/stret.m @@ -2,7 +2,7 @@ // RUN: %clang_cc1 -fblocks -triple arm-apple-darwin %s -emit-llvm -o - | FileCheck %s -check-prefix=ARM // RUN: %clang_cc1 -fblocks -triple arm64-apple-darwin %s -emit-llvm -o - | FileCheck %s -check-prefix=ARM64 -// Don't use 'stret' variants on ARM64. +// : Don't use 'stret' variants on ARM64. // X86: @main // X86: @objc_msgSend_stret diff --git a/clang/test/CodeGenObjC/super-dotsyntax-struct-property.m b/clang/test/CodeGenObjC/super-dotsyntax-struct-property.m index d7be4d3320f1..d1984f8f092f 100644 --- a/clang/test/CodeGenObjC/super-dotsyntax-struct-property.m +++ b/clang/test/CodeGenObjC/super-dotsyntax-struct-property.m @@ -1,4 +1,6 @@ // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -emit-llvm %s -o - | FileCheck %s +// rdar: // 8203426 + typedef double CGFloat; struct CGPoint { diff --git a/clang/test/CodeGenObjC/synthesize_ivar.m b/clang/test/CodeGenObjC/synthesize_ivar.m index 0ea6671e161c..92f6096b7e4d 100644 --- a/clang/test/CodeGenObjC/synthesize_ivar.m +++ b/clang/test/CodeGenObjC/synthesize_ivar.m @@ -27,7 +27,7 @@ @synthesize bindingInfo; @end -// [irgen] crash in synthesized property construction +// [irgen] crash in synthesized property construction @interface I0 @end @protocol P0 @end diff --git a/clang/test/CodeGenObjC/tentative-cfconstantstring.m b/clang/test/CodeGenObjC/tentative-cfconstantstring.m index bb78b210d6bb..b4c1bd77c0ba 100644 --- a/clang/test/CodeGenObjC/tentative-cfconstantstring.m +++ b/clang/test/CodeGenObjC/tentative-cfconstantstring.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -emit-llvm -o - %s | FileCheck %s +// rdar://13598026 @interface NSObject @end diff --git a/clang/test/CodeGenObjC/terminate.m b/clang/test/CodeGenObjC/terminate.m index 26242549bcd7..aa24e355fb0c 100644 --- a/clang/test/CodeGenObjC/terminate.m +++ b/clang/test/CodeGenObjC/terminate.m @@ -3,6 +3,7 @@ void destroy(void**); +// rdar://problem/9519113 void test0(void) { void test0_helper(void); void *ptr __attribute__((cleanup(destroy))); diff --git a/clang/test/CodeGenObjC/try.m b/clang/test/CodeGenObjC/try.m index e481e4b22897..4168cb2209f2 100644 --- a/clang/test/CodeGenObjC/try.m +++ b/clang/test/CodeGenObjC/try.m @@ -2,8 +2,8 @@ // RUN: %clang_cc1 %s -fobjc-exceptions -S -o - -triple=i686-apple-darwin9 // RUN: %clang_cc1 %s -fobjc-exceptions -S -o - -triple=x86_64-apple-darwin9 -// Don't crash if the internal proto for __objc_personality_v0 mismatches with -// an actual one. +// rdar://6757213 - Don't crash if the internal proto for +// __objc_personality_v0 mismatches with an actual one. void __objc_personality_v0() { } void test1(void) { @try { } @catch (...) { } diff --git a/clang/test/CodeGenObjC/unoptimized-setter.m b/clang/test/CodeGenObjC/unoptimized-setter.m index a7f07ae25109..adcf08701603 100644 --- a/clang/test/CodeGenObjC/unoptimized-setter.m +++ b/clang/test/CodeGenObjC/unoptimized-setter.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 %s -emit-llvm -fobjc-runtime=macosx-10.6.0 -triple x86_64-apple-macosx10.6.0 -o - | FileCheck %s +// rdar://11858187 @interface I // void objc_setProperty_nonatomic(id self, SEL _cmd, id newValue, ptrdiff_t offset); diff --git a/clang/test/CodeGenObjC/unqual-copy-restore.m b/clang/test/CodeGenObjC/unqual-copy-restore.m index c59aa59e82a8..0dc6bcb8c951 100644 --- a/clang/test/CodeGenObjC/unqual-copy-restore.m +++ b/clang/test/CodeGenObjC/unqual-copy-restore.m @@ -1,7 +1,7 @@ // RUN: %clang_cc1 %s -fobjc-arc -S -emit-llvm -o /dev/null -// Don't crash if the argument type and the parameter type in an indirect copy -// restore expression have different qualification. +// rdar://problem/28488427 - Don't crash if the argument type and the parameter +// type in an indirect copy restore expression have different qualification. @protocol P1 @end diff --git a/clang/test/CodeGenObjC/weak-metaclass-visibility.m b/clang/test/CodeGenObjC/weak-metaclass-visibility.m index 44a30835cf6f..998a8a579053 100644 --- a/clang/test/CodeGenObjC/weak-metaclass-visibility.m +++ b/clang/test/CodeGenObjC/weak-metaclass-visibility.m @@ -1,6 +1,7 @@ // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -triple armv7-apple-darwin10 -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -triple arm64-apple-ios -emit-llvm -o - %s | FileCheck %s +// rdar://16206443 @interface NSObject - (void) finalize; @@ -33,6 +34,7 @@ void kit(void) // CHECK: @"OBJC_METACLASS_$_MyClass" ={{.*}} global %struct._class_t // CHECK: @"OBJC_CLASS_$_NSObject" = external global %struct._class_t +// rdar://16529125 __attribute__((weak_import)) @interface NSURLQueryItem : NSObject @end @@ -44,6 +46,7 @@ __attribute__((weak_import)) // CHECK: @"OBJC_METACLASS_$_NSURLQueryItem" = extern_weak global // CHECK: @"OBJC_CLASS_$_NSURLQueryItem" = extern_weak global +// rdar://17633301 __attribute__((visibility("default"))) __attribute__((availability(ios,introduced=9876.5))) @interface AVScheduledAudioParameters @end diff --git a/clang/test/CodeGenObjCXX/arc-blocks.mm b/clang/test/CodeGenObjCXX/arc-blocks.mm index d54e3d88d9d6..a3481c5c8f22 100644 --- a/clang/test/CodeGenObjCXX/arc-blocks.mm +++ b/clang/test/CodeGenObjCXX/arc-blocks.mm @@ -9,6 +9,7 @@ // CHECK: [[LAYOUT0:@.*]] = private unnamed_addr constant [3 x i8] c" 9\00" +// rdar://13045269 // If a __block variable requires extended layout information *and* // a copy/dispose helper, be sure to adjust the offsets used in copy/dispose. namespace test0 { diff --git a/clang/test/CodeGenObjCXX/arc-cxx11-member-init.mm b/clang/test/CodeGenObjCXX/arc-cxx11-member-init.mm index 6f04f222df8b..f28bf670e558 100644 --- a/clang/test/CodeGenObjCXX/arc-cxx11-member-init.mm +++ b/clang/test/CodeGenObjCXX/arc-cxx11-member-init.mm @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fobjc-arc -std=c++11 -emit-llvm -o - %s | FileCheck %s +// rdar://16299964 @interface NSObject + (id)new; @@ -27,6 +28,7 @@ class XClipboardDataSet // CHECK: [[CALL:%.*]] = call noundef ptr @objc_msgSend(ptr noundef [[CLS]], ptr noundef [[SEL]]) // CHECK: store ptr [[CALL]], ptr [[mClipData]], align 8 +// rdar://18950072 struct Butt { }; __attribute__((objc_root_class)) diff --git a/clang/test/CodeGenObjCXX/arc-exceptions.mm b/clang/test/CodeGenObjCXX/arc-exceptions.mm index 709afa32ac7d..b81ccd964437 100644 --- a/clang/test/CodeGenObjCXX/arc-exceptions.mm +++ b/clang/test/CodeGenObjCXX/arc-exceptions.mm @@ -2,7 +2,7 @@ @class Ety; -// These first four tests are all PR11732. +// These first four tests are all PR11732 / rdar://problem/10667070. void test0_helper(void); void test0(void) { @@ -104,6 +104,7 @@ namespace test4 { // CHECK: resume } +// rdar://21397946 __attribute__((ns_returns_retained)) id test5_helper(unsigned); void test5(void) { id array[][2] = { diff --git a/clang/test/CodeGenObjCXX/arc-returns-inner-reference-ptr.mm b/clang/test/CodeGenObjCXX/arc-returns-inner-reference-ptr.mm index 46fae7fc1df3..6c99adf1e005 100644 --- a/clang/test/CodeGenObjCXX/arc-returns-inner-reference-ptr.mm +++ b/clang/test/CodeGenObjCXX/arc-returns-inner-reference-ptr.mm @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -emit-llvm -fobjc-arc -o - %s | FileCheck %s +// rdar://10139365 @interface Test58 - (char* &) interior __attribute__((objc_returns_inner_pointer)); diff --git a/clang/test/CodeGenObjCXX/arc-weak.mm b/clang/test/CodeGenObjCXX/arc-weak.mm index 21d409a4bb08..07c4e6e71f20 100644 --- a/clang/test/CodeGenObjCXX/arc-weak.mm +++ b/clang/test/CodeGenObjCXX/arc-weak.mm @@ -3,6 +3,7 @@ __attribute((objc_root_class)) @interface A @end @interface B : A @end +// rdar://problem/23559789 // Ensure that type differences don't cause an assert here. void test0(__weak B **src) { __weak A *dest = *src; diff --git a/clang/test/CodeGenObjCXX/arc.mm b/clang/test/CodeGenObjCXX/arc.mm index 7a6de17e2baa..2d6552999509 100644 --- a/clang/test/CodeGenObjCXX/arc.mm +++ b/clang/test/CodeGenObjCXX/arc.mm @@ -11,6 +11,7 @@ NSArray *nsarray() { return 0; } void use(id); +// rdar://problem/9315552 // The analogous ObjC testcase test46 in arr.m. void test0(__weak id *wp, __weak volatile id *wvp) { extern id test0_helper(void); @@ -37,6 +38,7 @@ void test0(__weak id *wp, __weak volatile id *wvp) { id y = *wvp = test0_helper(); } +// rdar://problem/9320648 struct Test1_helper { Test1_helper(); }; @interface Test1 @end @implementation Test1 { Test1_helper x; } @end @@ -188,6 +190,7 @@ void test35b(Test35_Helper x0, Test35_Helper *x0p) { // CHECK-NEXT: ret void } +// rdar://problem/9603128 // CHECK-LABEL: define{{.*}} ptr @_Z6test36P11objc_object( id test36(id z) { // CHECK: llvm.objc.retain @@ -197,6 +200,7 @@ id test36(id z) { return z; } +// Template instantiation side of rdar://problem/9817306 @interface Test37 + alloc; - init; @@ -265,6 +269,7 @@ template class Test38 { // CHECK-LABEL: define weak_odr void @_ZN6Test38IiE4testEi( template class Test38; +// rdar://problem/11964832 class Test39_base1 { virtual void foo(); }; @@ -280,6 +285,7 @@ id Test39::bar() { return 0; } // CHECK: call noundef ptr @_ZN6Test393barEv( // CHECK-NEXT: ret ptr +// rdar://13617051 // Just a basic correctness check that IR-gen still works after instantiating // a non-dependent message send that requires writeback. @interface Test40 diff --git a/clang/test/CodeGenObjCXX/block-in-template-inst.mm b/clang/test/CodeGenObjCXX/block-in-template-inst.mm index 1ecd820be450..c280874dbb3f 100644 --- a/clang/test/CodeGenObjCXX/block-in-template-inst.mm +++ b/clang/test/CodeGenObjCXX/block-in-template-inst.mm @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -emit-llvm-only -std=c++11 -fblocks -o - -triple x86_64-apple-darwin10 -fobjc-runtime=macosx-fragile-10.5 %s +// rdar://9362021 @class DYFuture; @interface NSCache diff --git a/clang/test/CodeGenObjCXX/block-var-layout.mm b/clang/test/CodeGenObjCXX/block-var-layout.mm index 12e61b4501c6..fc3a056048b3 100644 --- a/clang/test/CodeGenObjCXX/block-var-layout.mm +++ b/clang/test/CodeGenObjCXX/block-var-layout.mm @@ -1,5 +1,7 @@ // RUN: %clang_cc1 -x objective-c++ -fblocks -fobjc-gc -triple x86_64-apple-darwin -fobjc-runtime=macosx-fragile-10.5 -print-ivar-layout -emit-llvm -o /dev/null %s > %t-64.layout // RUN: FileCheck --input-file=%t-64.layout %s +// rdar://12184410 +// rdar://12752901 // See commentary in test/CodeGenObjC/block-var-layout.m, from which // this is largely cloned. @@ -127,6 +129,7 @@ void Test5() { } +// rdar: //8417746 void CFRelease(id); void notifyBlock(id dependentBlock) { id singleObservationToken; diff --git a/clang/test/CodeGenObjCXX/blocks.mm b/clang/test/CodeGenObjCXX/blocks.mm index 33e40095ac2f..63a1b33f355a 100644 --- a/clang/test/CodeGenObjCXX/blocks.mm +++ b/clang/test/CodeGenObjCXX/blocks.mm @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -x objective-c++ -fblocks -triple x86_64-apple-darwin -fobjc-runtime=macosx-fragile-10.5 %s -verify -std=c++11 -emit-llvm -o %t +// rdar://8979379 @interface A @end @@ -68,6 +69,7 @@ class CaptureThisAndAnotherPointer { } }; +// rdar://problem/23713871 // Check that we don't crash when using BLOCK_LAYOUT_STRONG. #pragma clang assume_nonnull begin @interface NSUUID @end diff --git a/clang/test/CodeGenObjCXX/catch-id-type.mm b/clang/test/CodeGenObjCXX/catch-id-type.mm index 0a93388cbbc0..910ccfba6f7e 100644 --- a/clang/test/CodeGenObjCXX/catch-id-type.mm +++ b/clang/test/CodeGenObjCXX/catch-id-type.mm @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -triple i386-apple-macosx10.6.6 -fobjc-runtime=macosx-fragile-10.5 -emit-llvm -fobjc-exceptions -fcxx-exceptions -fexceptions -o - %s | FileCheck %s +// rdar://8940528 @interface ns_array + (id) array; diff --git a/clang/test/CodeGenObjCXX/copy.mm b/clang/test/CodeGenObjCXX/copy.mm index 485765dcef84..966c210fe12b 100644 --- a/clang/test/CodeGenObjCXX/copy.mm +++ b/clang/test/CodeGenObjCXX/copy.mm @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fobjc-runtime=macosx-fragile-10.5 -emit-llvm -o - %s | FileCheck %s +// rdar://problem/9158302 // This should not use a memmove_collectable in non-GC mode. namespace test0 { struct A { @@ -18,6 +19,8 @@ namespace test0 { } } + +// rdar://9780211 @protocol bork @end diff --git a/clang/test/CodeGenObjCXX/designated-initializers.mm b/clang/test/CodeGenObjCXX/designated-initializers.mm index f1c66592073c..1542f1778fc7 100644 --- a/clang/test/CodeGenObjCXX/designated-initializers.mm +++ b/clang/test/CodeGenObjCXX/designated-initializers.mm @@ -1,7 +1,7 @@ // RUN: %clang_cc1 -triple arm64 %s -verify -emit-llvm -o - -Wno-c99-designator | FileCheck %s // expected-no-diagnostics -// Make sure we don't enter an infinite loop +// Make sure we don't enter an infinite loop (rdar://21942503) int vals1[] = { [__objc_yes] = 1, diff --git a/clang/test/CodeGenObjCXX/destroy.mm b/clang/test/CodeGenObjCXX/destroy.mm index a534828c3a89..d9f62e64848e 100644 --- a/clang/test/CodeGenObjCXX/destroy.mm +++ b/clang/test/CodeGenObjCXX/destroy.mm @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -std=c++11 -triple x86_64-apple-darwin10 -emit-llvm -fobjc-arc -disable-llvm-passes -o - %s | FileCheck %s +// rdar://18249673 @class MyObject; struct base { diff --git a/clang/test/CodeGenObjCXX/encode.mm b/clang/test/CodeGenObjCXX/encode.mm index f382e7f23d77..25ea52b2d5e7 100644 --- a/clang/test/CodeGenObjCXX/encode.mm +++ b/clang/test/CodeGenObjCXX/encode.mm @@ -53,6 +53,7 @@ class Int3 { int x, y, z; }; } @end +// rdar: // 8519948 typedef float HGVec4f __attribute__ ((vector_size(16))); @interface RedBalloonHGXFormWrapper { @@ -63,6 +64,7 @@ typedef float HGVec4f __attribute__ ((vector_size(16))); @implementation RedBalloonHGXFormWrapper @end +// rdar://9357400 namespace rdar9357400 { template struct fixed { template struct rebind { typedef fixed other; }; @@ -96,6 +98,7 @@ namespace rdar9357400 { extern const char gg[] = @encode(vector4f); } +// rdar://9624314 namespace rdar9624314 { struct B2 { int x; }; struct B3 {}; @@ -192,6 +195,7 @@ struct CefBrowserImpl2 : public CefBrowser2 {}; // CHECK: @g7 ={{.*}} constant [26 x i8] c"{CefBrowserImpl2=^^?^^?i}\00" extern const char g7[] = @encode(CefBrowserImpl2); +// struct Empty {}; struct X : Empty { diff --git a/clang/test/CodeGenObjCXX/exception-cxx.mm b/clang/test/CodeGenObjCXX/exception-cxx.mm index 70401b0c368c..61f3d3212713 100644 --- a/clang/test/CodeGenObjCXX/exception-cxx.mm +++ b/clang/test/CodeGenObjCXX/exception-cxx.mm @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -x objective-c++ -triple x86_64-apple-darwin10 -emit-llvm -fcxx-exceptions -fexceptions -fobjc-exceptions -o - %s | FileCheck %s +// rdar://problem/22155434 namespace test0 { void foo() { try { diff --git a/clang/test/CodeGenObjCXX/exceptions-legacy.mm b/clang/test/CodeGenObjCXX/exceptions-legacy.mm index b6361f234d38..df2a43888b85 100644 --- a/clang/test/CodeGenObjCXX/exceptions-legacy.mm +++ b/clang/test/CodeGenObjCXX/exceptions-legacy.mm @@ -3,6 +3,8 @@ // Test we maintain at least a basic amount of interoperation between // ObjC and C++ exceptions in the legacy runtime. +// rdar://12364847 + void foo(void); void test0(id obj) { diff --git a/clang/test/CodeGenObjCXX/exceptions.mm b/clang/test/CodeGenObjCXX/exceptions.mm index bc0b5ef53626..26cc48d2c223 100644 --- a/clang/test/CodeGenObjCXX/exceptions.mm +++ b/clang/test/CodeGenObjCXX/exceptions.mm @@ -18,6 +18,7 @@ namespace test0 { } } +// rdar://12605907 @interface NSException + new; @end diff --git a/clang/test/CodeGenObjCXX/foreach-statement.mm b/clang/test/CodeGenObjCXX/foreach-statement.mm index faa14e4bbcc0..d0ad5b3a8f0f 100644 --- a/clang/test/CodeGenObjCXX/foreach-statement.mm +++ b/clang/test/CodeGenObjCXX/foreach-statement.mm @@ -1,4 +1,5 @@ // RUN: %clang_cc1 %s -triple=x86_64-apple-darwin10 -emit-llvm -o - | FileCheck %s +// rdar: // 8027844 // CHECK: call void @llvm.memset diff --git a/clang/test/CodeGenObjCXX/implementation-in-extern-c.mm b/clang/test/CodeGenObjCXX/implementation-in-extern-c.mm index dd633d14fade..4c1ee256f42f 100644 --- a/clang/test/CodeGenObjCXX/implementation-in-extern-c.mm +++ b/clang/test/CodeGenObjCXX/implementation-in-extern-c.mm @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -emit-llvm %s -o /dev/null +// rdar://12581683 extern "C" { @interface RetainBucket diff --git a/clang/test/CodeGenObjCXX/inheriting-constructor-cleanup.mm b/clang/test/CodeGenObjCXX/inheriting-constructor-cleanup.mm index 153e0a44334b..6756653bd95b 100644 --- a/clang/test/CodeGenObjCXX/inheriting-constructor-cleanup.mm +++ b/clang/test/CodeGenObjCXX/inheriting-constructor-cleanup.mm @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -triple x86_64-darwin -std=c++11 -fobjc-arc -emit-llvm -o - %s | FileCheck %s --implicit-check-not "call\ " +// rdar://problem/45805151 struct Strong { __strong id x; diff --git a/clang/test/CodeGenObjCXX/ivar-objects.mm b/clang/test/CodeGenObjCXX/ivar-objects.mm index a8f898c4078e..d05763b3fcf8 100644 --- a/clang/test/CodeGenObjCXX/ivar-objects.mm +++ b/clang/test/CodeGenObjCXX/ivar-objects.mm @@ -73,6 +73,7 @@ int main() { [a release]; } +// rdar: // 7468090 class S { public: S& operator = (const S&); diff --git a/clang/test/CodeGenObjCXX/lambda-expressions.mm b/clang/test/CodeGenObjCXX/lambda-expressions.mm index e1fb6ec709b7..d50607ca217f 100644 --- a/clang/test/CodeGenObjCXX/lambda-expressions.mm +++ b/clang/test/CodeGenObjCXX/lambda-expressions.mm @@ -43,6 +43,7 @@ void f2() { global = []{ return 3; }; } template void take_lambda(T &&lambda) { lambda(); } void take_block(void (^block)()) { block(); } +// rdar://13800041 @interface A - (void) test; @end diff --git a/clang/test/CodeGenObjCXX/lambda-to-block.mm b/clang/test/CodeGenObjCXX/lambda-to-block.mm index e3ce7104d97b..e3cc28e17d93 100644 --- a/clang/test/CodeGenObjCXX/lambda-to-block.mm +++ b/clang/test/CodeGenObjCXX/lambda-to-block.mm @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -x objective-c++ -fblocks -triple x86_64-apple-darwin10 -fobjc-runtime=macosx-fragile-10.5 -std=c++1z -emit-llvm -o - %s | FileCheck %s +// rdar://31385153 // Shouldn't crash! // CHECK: %[[CLASS_ANON:.*]] = type { %[[STRUCT_COPYABLE:.*]] } diff --git a/clang/test/CodeGenObjCXX/lvalue-reference-getter.mm b/clang/test/CodeGenObjCXX/lvalue-reference-getter.mm index 5e6c0001dc04..33a2e7f1008d 100644 --- a/clang/test/CodeGenObjCXX/lvalue-reference-getter.mm +++ b/clang/test/CodeGenObjCXX/lvalue-reference-getter.mm @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -emit-llvm -o - %s | FileCheck %s +// rdar://10153365 static int gint; struct SetSection { diff --git a/clang/test/CodeGenObjCXX/mangle.mm b/clang/test/CodeGenObjCXX/mangle.mm index 1ca916bd3edb..1a59b513fbdd 100644 --- a/clang/test/CodeGenObjCXX/mangle.mm +++ b/clang/test/CodeGenObjCXX/mangle.mm @@ -42,6 +42,7 @@ } @end +// rdar://9566314 @interface NX - (void)Meth; @end @@ -54,6 +55,8 @@ } @end +// rdar://13434937 +// // Don't crash when mangling an enum whose semantic context // is a class extension (which looks anonymous in the AST). // The other tests here are just for coverage. diff --git a/clang/test/CodeGenObjCXX/message-reference.mm b/clang/test/CodeGenObjCXX/message-reference.mm index bc36933e94b0..042ec0632276 100644 --- a/clang/test/CodeGenObjCXX/message-reference.mm +++ b/clang/test/CodeGenObjCXX/message-reference.mm @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -x objective-c++ -triple x86_64-apple-darwin10 -fobjc-runtime=macosx-fragile-10.5 -emit-llvm -o - %s | FileCheck %s +// rdar://8604515 @interface I {} -(unsigned int&)referenceCount; diff --git a/clang/test/CodeGenObjCXX/message.mm b/clang/test/CodeGenObjCXX/message.mm index d9dd5cbf981c..0be92f652160 100644 --- a/clang/test/CodeGenObjCXX/message.mm +++ b/clang/test/CodeGenObjCXX/message.mm @@ -2,6 +2,7 @@ // Properly instantiate a non-dependent message expression which // requires a contextual conversion to ObjC pointer type. +// @interface Test0 - (void) foo; @end diff --git a/clang/test/CodeGenObjCXX/nrvo.mm b/clang/test/CodeGenObjCXX/nrvo.mm index 802dd59aa87b..0e4b98996965 100644 --- a/clang/test/CodeGenObjCXX/nrvo.mm +++ b/clang/test/CodeGenObjCXX/nrvo.mm @@ -1,6 +1,6 @@ // RUN: %clang_cc1 -emit-llvm -o - -fblocks %s -O1 -fno-inline-functions -triple x86_64-apple-darwin10.0.0 -fobjc-runtime=macosx-fragile-10.5 | FileCheck %s -// PR10835 +// PR10835 / struct X { X(); X(const X&); diff --git a/clang/test/CodeGenObjCXX/property-derived-to-base-conv.mm b/clang/test/CodeGenObjCXX/property-derived-to-base-conv.mm index dc31003a2d43..5784f2be9cec 100644 --- a/clang/test/CodeGenObjCXX/property-derived-to-base-conv.mm +++ b/clang/test/CodeGenObjCXX/property-derived-to-base-conv.mm @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -fobjc-gc -triple x86_64-apple-darwin10 -fobjc-runtime=macosx-fragile-10.5 -emit-llvm -o - %s +// rdar: // 7501812 struct A { int member; diff --git a/clang/test/CodeGenObjCXX/property-dot-copy.mm b/clang/test/CodeGenObjCXX/property-dot-copy.mm index dad8575a831f..c0ff258e8585 100644 --- a/clang/test/CodeGenObjCXX/property-dot-copy.mm +++ b/clang/test/CodeGenObjCXX/property-dot-copy.mm @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -emit-llvm -o - %s | FileCheck %s +// rdar://8427922 struct Vector3D { @@ -32,6 +33,7 @@ int main () return 0; } +// rdar: // 8437253 extern "C" void exit(...); struct CGPoint { diff --git a/clang/test/CodeGenObjCXX/property-dot-reference.mm b/clang/test/CodeGenObjCXX/property-dot-reference.mm index 245aa4176c7d..9fb35858219f 100644 --- a/clang/test/CodeGenObjCXX/property-dot-reference.mm +++ b/clang/test/CodeGenObjCXX/property-dot-reference.mm @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -emit-llvm -fexceptions -o - %s | FileCheck %s +// rdar://8409336 struct TFENode { void GetURL() const; @@ -16,6 +17,7 @@ void GetURL() const; } // expected-warning {{non-void function does not return a value}} @end +// rdar://8437240 struct X { int x; }; diff --git a/clang/test/CodeGenObjCXX/property-lvalue-capture.mm b/clang/test/CodeGenObjCXX/property-lvalue-capture.mm index 951bb11bf2b8..76c218bcff05 100644 --- a/clang/test/CodeGenObjCXX/property-lvalue-capture.mm +++ b/clang/test/CodeGenObjCXX/property-lvalue-capture.mm @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -emit-llvm -o - %s | FileCheck %s +// rdar://15118128 template struct Quad2 { Quad2() {} diff --git a/clang/test/CodeGenObjCXX/property-object-reference-1.mm b/clang/test/CodeGenObjCXX/property-object-reference-1.mm index 5e78326f71c7..ccbbec388362 100644 --- a/clang/test/CodeGenObjCXX/property-object-reference-1.mm +++ b/clang/test/CodeGenObjCXX/property-object-reference-1.mm @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -x objective-c++ %s -triple x86_64-apple-darwin10 -emit-llvm -o - | FileCheck %s +// rdar://6137845 struct TCPPObject { diff --git a/clang/test/CodeGenObjCXX/property-object-reference-2.mm b/clang/test/CodeGenObjCXX/property-object-reference-2.mm index 702265edd05b..a29d11466fdb 100644 --- a/clang/test/CodeGenObjCXX/property-object-reference-2.mm +++ b/clang/test/CodeGenObjCXX/property-object-reference-2.mm @@ -1,5 +1,6 @@ // RUN: %clang_cc1 %s -triple x86_64-apple-darwin10 -fobjc-runtime=macosx-10.7 -emit-llvm -o - | FileCheck %s // RUN: %clang_cc1 %s -triple x86_64-unknown-freebsd -fobjc-runtime=gnustep-1.7 -emit-llvm -o - | FileCheck -check-prefix=CHECK-GNUSTEP %s +// rdar://6137845 extern int DEFAULT(); diff --git a/clang/test/CodeGenObjCXX/property-object-reference.mm b/clang/test/CodeGenObjCXX/property-object-reference.mm index 26e052b724bd..f31371cf5231 100644 --- a/clang/test/CodeGenObjCXX/property-object-reference.mm +++ b/clang/test/CodeGenObjCXX/property-object-reference.mm @@ -1,4 +1,5 @@ // RUN: %clang_cc1 %s -triple x86_64-apple-darwin10 -fobjc-runtime=macosx-fragile-10.5 -emit-llvm -o - | FileCheck %s +// rdar://10188258 struct Foo {int i;}; static Foo gFoo; diff --git a/clang/test/CodeGenObjCXX/property-objects.mm b/clang/test/CodeGenObjCXX/property-objects.mm index 500a81698f99..5ef535f48a4a 100644 --- a/clang/test/CodeGenObjCXX/property-objects.mm +++ b/clang/test/CodeGenObjCXX/property-objects.mm @@ -50,6 +50,7 @@ struct CGRect { _labelLayer.frame = labelLayerFrame; } +// rdar://8366604 - (void)dealloc { CGRect cgrect = self.extent; @@ -69,6 +70,7 @@ int main() { return 0; } +// rdar://8379892 // CHECK-LABEL: define{{.*}} void @_Z1fP1A // CHECK: call void @_ZN1XC1Ev(ptr {{[^,]*}} [[LVTEMP:%[a-zA-Z0-9\.]+]]) // CHECK: call void @_ZN1XC1ERKS_(ptr {{[^,]*}} [[AGGTMP:%[a-zA-Z0-9\.]+]], ptr noundef nonnull align {{[0-9]+}} dereferenceable({{[0-9]+}}) [[LVTEMP]]) @@ -90,6 +92,7 @@ void f(A* a) { a.x = X(); } +// rdar://21801088 // Ensure that pseudo-objecet expressions that require the RHS to be // rewritten don't result in crashes or redundant emission of code. struct B0 { long long x; }; diff --git a/clang/test/CodeGenObjCXX/property-reference.mm b/clang/test/CodeGenObjCXX/property-reference.mm index 28586efb40bf..43d7570b545c 100644 --- a/clang/test/CodeGenObjCXX/property-reference.mm +++ b/clang/test/CodeGenObjCXX/property-reference.mm @@ -1,4 +1,5 @@ // RUN: %clang_cc1 %s -triple x86_64-apple-darwin10 -fobjc-runtime=macosx-fragile-10.5 -emit-llvm -o - | FileCheck %s +// rdar://9208606 struct MyStruct { int x; @@ -49,6 +50,7 @@ namespace test1 { // CHECK: call noundef nonnull align {{[0-9]+}} dereferenceable({{[0-9]+}}) ptr @_ZN5test11AaSERKS0_( // CHECK-NEXT: ret void +// rdar://problem/10497174 @interface Test2 @property int prop; @end diff --git a/clang/test/CodeGenObjCXX/refence-assign-write-barrier.mm b/clang/test/CodeGenObjCXX/refence-assign-write-barrier.mm index 0f81d9928fce..ad277ef6d596 100644 --- a/clang/test/CodeGenObjCXX/refence-assign-write-barrier.mm +++ b/clang/test/CodeGenObjCXX/refence-assign-write-barrier.mm @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -fobjc-gc -triple x86_64-apple-darwin10 -fobjc-runtime=macosx-fragile-10.5 -emit-llvm -o - %s | FileCheck %s +// rdar://8681766 @interface NSArray - (NSArray*) retain; diff --git a/clang/test/CodeGenObjCXX/unknown-anytype.mm b/clang/test/CodeGenObjCXX/unknown-anytype.mm index 1d0b4f9bfea4..71b49e38c0da 100644 --- a/clang/test/CodeGenObjCXX/unknown-anytype.mm +++ b/clang/test/CodeGenObjCXX/unknown-anytype.mm @@ -1,5 +1,7 @@ // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fdebugger-support -funknown-anytype -emit-llvm -o - %s | FileCheck %s +// rdar://13025708 + @interface A @end void test0(A *a) { (void) [a test0: (float) 2.0]; diff --git a/clang/test/CodeGenObjCXX/write-barrier-global-assign.mm b/clang/test/CodeGenObjCXX/write-barrier-global-assign.mm index 869aeda13b15..539e21fcfbee 100644 --- a/clang/test/CodeGenObjCXX/write-barrier-global-assign.mm +++ b/clang/test/CodeGenObjCXX/write-barrier-global-assign.mm @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -fobjc-gc -triple x86_64-apple-darwin10 -fobjc-runtime=macosx-fragile-10.5 -emit-llvm -o - %s | FileCheck %s +// rdar://8761767 @class CPDestUser; diff --git a/clang/test/Coverage/targets.c b/clang/test/Coverage/targets.c index a0ec2836874a..b95ecd9b9021 100644 --- a/clang/test/Coverage/targets.c +++ b/clang/test/Coverage/targets.c @@ -13,5 +13,5 @@ // RUN: %clang_cc1 -debug-info-kind=limited -triple x86_64-pc-linux-gnu -emit-llvm -o %t %s // RUN: %clang_cc1 -debug-info-kind=limited -triple x86_64-unknown-unknown -emit-llvm -o %t %s -// clang 1.0 fails to compile Python 2.6 +// clang 1.0 fails to compile Python 2.6 // RUN: %clang -target x86_64-apple-darwin9 -### -S %s -mmacosx-version-min=10.4 diff --git a/clang/test/Driver/darwin-debug-flags.c b/clang/test/Driver/darwin-debug-flags.c index 918ee345658a..23925e6ad5aa 100644 --- a/clang/test/Driver/darwin-debug-flags.c +++ b/clang/test/Driver/darwin-debug-flags.c @@ -1,6 +1,8 @@ // RUN: env RC_DEBUG_OPTIONS=1 %clang -target i386-apple-darwin11 -I "path with \spaces" -g -Os %s -emit-llvm -S -o - | FileCheck %s +// // RUN: touch %t.s // RUN: env RC_DEBUG_OPTIONS=1 %clang -### -target i386-apple-darwin11 -c -g %t.s 2>&1 | FileCheck -check-prefix=S %s +// // RUN: %clang -### -target i386-apple-darwin11 -c -g %t.s 2>&1 | FileCheck -check-prefix=P %s // CHECK: distinct !DICompileUnit( diff --git a/clang/test/Driver/darwin-max-type-align.c b/clang/test/Driver/darwin-max-type-align.c index ab4880d7cf23..bce0a7cb0d72 100644 --- a/clang/test/Driver/darwin-max-type-align.c +++ b/clang/test/Driver/darwin-max-type-align.c @@ -1,4 +1,5 @@ // Check the -fmax-type-align=N flag +// rdar://16254558 // // RUN: %clang --target=x86_64-apple-macosx10.7.0 %s -o - -### 2>&1 | \ // RUN: FileCheck -check-prefix=TEST0 %s diff --git a/clang/test/Driver/debug-options-as.c b/clang/test/Driver/debug-options-as.c index 18bd137b36e8..259ad583edaa 100644 --- a/clang/test/Driver/debug-options-as.c +++ b/clang/test/Driver/debug-options-as.c @@ -2,6 +2,7 @@ // Check to make sure clang is somewhat picky about -g options. // (Delived from debug-options.c) +// rdar://10383444 // RUN: %clang -### -c -save-temps -integrated-as -g %s 2>&1 \ // RUN: | FileCheck -check-prefix=SAVE %s // @@ -19,6 +20,7 @@ // GGDB0-NOT: -debug-info-kind= // Check to make sure clang with -g on a .s file gets passed. +// rdar://9275556 // RUN: %clang -### -c -integrated-as -g -x assembler %s 2>&1 \ // RUN: | FileCheck %s // @@ -26,6 +28,7 @@ // CHECK: "-debug-info-kind=constructor" // Check to make sure clang with -g on a .s file gets passed -dwarf-debug-producer. +// rdar://12955296 // RUN: %clang -### -c -integrated-as -g -x assembler %s 2>&1 \ // RUN: | FileCheck -check-prefix=P %s // diff --git a/clang/test/Driver/debug-options.c b/clang/test/Driver/debug-options.c index 0fc0508e38c4..8617949cea1c 100644 --- a/clang/test/Driver/debug-options.c +++ b/clang/test/Driver/debug-options.c @@ -1,4 +1,5 @@ // Check to make sure clang is somewhat picky about -g options. +// rdar://10383444 // Linux. // RUN: %clang -### -c -g %s -target x86_64-linux-gnu 2>&1 \ diff --git a/clang/test/Driver/no-objc-arr.m b/clang/test/Driver/no-objc-arr.m index deaf6b9e00ad..fba284f8bef1 100644 --- a/clang/test/Driver/no-objc-arr.m +++ b/clang/test/Driver/no-objc-arr.m @@ -1,5 +1,6 @@ // RUN: %clang -Werror -fobjc-arc -fsyntax-only -fno-objc-arc -Xclang -verify %s // expected-no-diagnostics +// rdar://8949617 void * FOO(void) { id string = @"Hello World.\n"; diff --git a/clang/test/Driver/objc-sdk-migration-options.m b/clang/test/Driver/objc-sdk-migration-options.m index 8f7e5c72a3cf..c3b295e85f2e 100644 --- a/clang/test/Driver/objc-sdk-migration-options.m +++ b/clang/test/Driver/objc-sdk-migration-options.m @@ -1,4 +1,5 @@ // Check miscellaneous Objective-C sdk migration options. +// rdar://19994452 // RUN: %clang -objcmt-migrate-property-dot-syntax -target x86_64-apple-darwin10 -S -### %s \ // RUN: -arch x86_64 2> %t diff --git a/clang/test/FixIt/Inputs/nullability-objc.h b/clang/test/FixIt/Inputs/nullability-objc.h index 38c8508946fe..e3e6baafd66d 100644 --- a/clang/test/FixIt/Inputs/nullability-objc.h +++ b/clang/test/FixIt/Inputs/nullability-objc.h @@ -2,6 +2,7 @@ @class Container; @protocol Protocol; +// rdar://problem/34260995 // The first pointer in the file is handled in a different way so need // a separate test for this case even if the parameter type is the same as in // objcIdParameterWithProtocol. @@ -25,6 +26,7 @@ void objcClassParameterWithProtocol(Item *i); // expected-warning {{po // CHECK: fix-it:"{{.*}}nullability-objc.h":{[[@LINE-3]]:53-[[@LINE-3]]:53}:" _Nullable " // CHECK: fix-it:"{{.*}}nullability-objc.h":{[[@LINE-4]]:53-[[@LINE-4]]:53}:" _Nonnull " +// rdar://problem/34260995 void objcIdParameterWithProtocol(id i); // expected-warning {{pointer is missing a nullability type specifier}} // expected-note@-1 {{insert '_Nullable'}} // expected-note@-2 {{insert '_Nonnull'}} diff --git a/clang/test/FixIt/auto-fixit.m b/clang/test/FixIt/auto-fixit.m index a758228da5ea..4d33ea30e21d 100644 --- a/clang/test/FixIt/auto-fixit.m +++ b/clang/test/FixIt/auto-fixit.m @@ -3,6 +3,8 @@ RUN: %clang_cc1 -x objective-c -Werror %t */ +// rdar://9036633 + int main(void) { auto int i = 0; return i; diff --git a/clang/test/FixIt/auto-isa-fixit.m b/clang/test/FixIt/auto-isa-fixit.m index ad4b3e47f45c..5af90f52bdf3 100644 --- a/clang/test/FixIt/auto-isa-fixit.m +++ b/clang/test/FixIt/auto-isa-fixit.m @@ -1,6 +1,7 @@ // RUN: cp %s %t // RUN: %clang_cc1 -x objective-c -fixit %t // RUN: %clang_cc1 -x objective-c -Werror %t +// rdar://13503456 void object_setClass(id, id); Class object_getClass(id); diff --git a/clang/test/FixIt/bridge-cast-in-arc.mm b/clang/test/FixIt/bridge-cast-in-arc.mm index a7acefd0b462..d32629d7c700 100644 --- a/clang/test/FixIt/bridge-cast-in-arc.mm +++ b/clang/test/FixIt/bridge-cast-in-arc.mm @@ -1,12 +1,13 @@ // RUN: not %clang_cc1 -triple x86_64-apple-darwin10 -fdiagnostics-parseable-fixits -x objective-c++ -fobjc-arc %s 2>&1 | FileCheck %s +// rdar://12788838 id obj; void Test1() { void *foo = reinterpret_cast(obj); } -// CHECK: {6:15-6:39}:"(__bridge void *)" -// CHECK: {6:15-6:39}:"(__bridge_retained void *)" +// CHECK: {7:15-7:39}:"(__bridge void *)" +// CHECK: {7:15-7:39}:"(__bridge_retained void *)" typedef const void * CFTypeRef; extern "C" CFTypeRef CFBridgingRetain(id X); @@ -14,5 +15,5 @@ extern "C" CFTypeRef CFBridgingRetain(id X); void Test2() { void *foo = reinterpret_cast(obj); } -// CHECK: {15:15-15:39}:"(__bridge void *)" -// CHECK: {15:15-15:39}:"CFBridgingRetain" +// CHECK: {16:15-16:39}:"(__bridge void *)" +// CHECK: {16:15-16:39}:"CFBridgingRetain" diff --git a/clang/test/FixIt/fixit-autoreleasepool.m b/clang/test/FixIt/fixit-autoreleasepool.m index ec1dc57f878c..06c45448fd21 100644 --- a/clang/test/FixIt/fixit-autoreleasepool.m +++ b/clang/test/FixIt/fixit-autoreleasepool.m @@ -1,8 +1,9 @@ // RUN: not %clang_cc1 -triple x86_64-apple-darwin10 -fdiagnostics-parseable-fixits -x objective-c %s 2>&1 | FileCheck %s +// rdar://10723084 void f0() { @autorelease { } } -// CHECK: {4:4-4:15}:"autoreleasepool" +// CHECK: {5:4-5:15}:"autoreleasepool" diff --git a/clang/test/FixIt/fixit-class-method-messaging.m b/clang/test/FixIt/fixit-class-method-messaging.m index 4211930a8bb2..aa29b9c02061 100644 --- a/clang/test/FixIt/fixit-class-method-messaging.m +++ b/clang/test/FixIt/fixit-class-method-messaging.m @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -fsyntax-only -verify %s // RUN: %clang_cc1 -fdiagnostics-parseable-fixits %s 2>&1 | FileCheck %s +// rdar://16263395 @interface NSObject @end diff --git a/clang/test/FixIt/fixit-interface-as-param.m b/clang/test/FixIt/fixit-interface-as-param.m index 5191bc40fe0b..748d83e07005 100644 --- a/clang/test/FixIt/fixit-interface-as-param.m +++ b/clang/test/FixIt/fixit-interface-as-param.m @@ -1,4 +1,5 @@ // RUN: not %clang_cc1 -triple x86_64-apple-darwin10 -fblocks -fdiagnostics-parseable-fixits -x objective-c %s 2>&1 | FileCheck %s +// rdar://11311333 @interface NSView @end @@ -8,12 +9,12 @@ - (void)foo; @end -// CHECK: {6:35-6:35}:"*" -// CHECK: {7:21-7:21}:"*" +// CHECK: {7:35-7:35}:"*" +// CHECK: {8:21-8:21}:"*" @implementation INTF -(void)foo { ^(NSView view) { }; } @end -// CHECK: {15:11-15:11}:"*" +// CHECK: {16:11-16:11}:"*" diff --git a/clang/test/FixIt/fixit-missing-method-return-type.m b/clang/test/FixIt/fixit-missing-method-return-type.m index 92e6ac6e9af2..769fbe8921b3 100644 --- a/clang/test/FixIt/fixit-missing-method-return-type.m +++ b/clang/test/FixIt/fixit-missing-method-return-type.m @@ -7,6 +7,7 @@ // RUN: cp %s %t // RUN: %clang_cc1 -Wmissing-method-return-type -fixit -x objective-c++ -Wno-objc-root-class %t // RUN: %clang_cc1 -fsyntax-only -pedantic -Wmissing-method-return-type -Werror -x objective-c++ -Wno-objc-root-class %t +// rdar://9615045 @interface I - initWithFoo:(id)foo; // expected-warning {{method has no return type specified; defaults to 'id' [-Wmissing-method-return-type]}} diff --git a/clang/test/FixIt/fixit-missing-self-in-block.m b/clang/test/FixIt/fixit-missing-self-in-block.m index 929f36498d42..8fd9564ed02c 100644 --- a/clang/test/FixIt/fixit-missing-self-in-block.m +++ b/clang/test/FixIt/fixit-missing-self-in-block.m @@ -1,6 +1,7 @@ // RUN: cp %s %t // RUN: %clang_cc1 -x objective-c -fobjc-arc -fblocks -fixit %t // RUN: %clang_cc1 -x objective-c -fobjc-arc -fblocks -Werror %t +// rdar://11194874 @interface Root @end diff --git a/clang/test/FixIt/fixit-multiple-selector-warnings.m b/clang/test/FixIt/fixit-multiple-selector-warnings.m index 735a3fc073aa..4b9ff7b3a184 100644 --- a/clang/test/FixIt/fixit-multiple-selector-warnings.m +++ b/clang/test/FixIt/fixit-multiple-selector-warnings.m @@ -2,6 +2,7 @@ RUN: %clang_cc1 -x objective-c -Wselector-type-mismatch -fixit %t RUN: %clang_cc1 -x objective-c -Wselector-type-mismatch -Werror %t */ +// rdar://16458579 @interface I - (id) compare: (char) arg1; diff --git a/clang/test/FixIt/fixit-newline-style.c b/clang/test/FixIt/fixit-newline-style.c index 61e4df67e85b..06cb262691ea 100644 --- a/clang/test/FixIt/fixit-newline-style.c +++ b/clang/test/FixIt/fixit-newline-style.c @@ -1,6 +1,7 @@ // RUN: %clang_cc1 -pedantic -Wunused-label -fno-diagnostics-show-line-numbers -x c %s 2>&1 | FileCheck %s -strict-whitespace // This file intentionally uses a CRLF newline style +// // CHECK: warning: unused label 'ddd' // CHECK-NEXT: {{^ ddd:}} // CHECK-NEXT: {{^ \^~~~$}} diff --git a/clang/test/FixIt/fixit-nsstring-compare.m b/clang/test/FixIt/fixit-nsstring-compare.m index ed6ae3361e40..d74cee5cf157 100644 --- a/clang/test/FixIt/fixit-nsstring-compare.m +++ b/clang/test/FixIt/fixit-nsstring-compare.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fdiagnostics-parseable-fixits -x objective-c %s 2>&1 | FileCheck %s +// rdar://12716301 typedef unsigned char BOOL; @@ -16,6 +17,6 @@ int main(void) { } -// CHECK: {15:21-15:21}:"[" -// CHECK: {15:28-15:30}:" isEqual:" -// CHECK: {15:40-15:40}:"]" +// CHECK: {16:21-16:21}:"[" +// CHECK: {16:28-16:30}:" isEqual:" +// CHECK: {16:40-16:40}:"]" diff --git a/clang/test/FixIt/fixit-objc-arc.m b/clang/test/FixIt/fixit-objc-arc.m index 763e8b7d29c8..dcee81594e78 100644 --- a/clang/test/FixIt/fixit-objc-arc.m +++ b/clang/test/FixIt/fixit-objc-arc.m @@ -2,6 +2,7 @@ // RUN: cp %s %t // RUN: not %clang_cc1 -pedantic -fobjc-arc -fixit -x objective-c %t // RUN: %clang_cc1 -pedantic -fobjc-arc -Werror -x objective-c %t +// rdar://14106083 @class A; @class NSString; diff --git a/clang/test/FixIt/fixit-objc-bridge-related-attr.m b/clang/test/FixIt/fixit-objc-bridge-related-attr.m index 16d2586636f0..4a81ecd2ff9b 100644 --- a/clang/test/FixIt/fixit-objc-bridge-related-attr.m +++ b/clang/test/FixIt/fixit-objc-bridge-related-attr.m @@ -2,6 +2,7 @@ // RUN: not %clang_cc1 -triple x86_64-apple-darwin10 -fdiagnostics-parseable-fixits -x objective-c %s 2>&1 | FileCheck %s // RUN: not %clang_cc1 -triple x86_64-apple-darwin10 -fobjc-arc -fdiagnostics-parseable-fixits -x objective-c %s 2>&1 | FileCheck %s // RUN: not %clang_cc1 -triple x86_64-apple-darwin10 -fdiagnostics-parseable-fixits -x objective-c++ %s 2>&1 | FileCheck %s +// rdar://15499111 typedef struct __attribute__((objc_bridge_related(NSColor,colorWithCGColor:,CGColor))) CGColor *CGColorRef; @@ -24,11 +25,11 @@ CGColorRef Test2(NSTextField *textField, CGColorRef newColor) { newColor = textField.backgroundColor; // [textField.backgroundColor CGColor] return textField.backgroundColor; } -// CHECK: {19:30-19:30}:"[NSColor colorWithCGColor:" -// CHECK: {19:38-19:38}:"]" -// CHECK: {20:9-20:9}:"[NSColor colorWithCGColor:" -// CHECK: {20:17-20:17}:"]" -// CHECK: {24:13-24:13}:"[" -// CHECK: {24:38-24:38}:" CGColor]" -// CHECK: {25:9-25:9}:"[" -// CHECK: {25:34-25:34}:" CGColor]" +// CHECK: {20:30-20:30}:"[NSColor colorWithCGColor:" +// CHECK: {20:38-20:38}:"]" +// CHECK: {21:9-21:9}:"[NSColor colorWithCGColor:" +// CHECK: {21:17-21:17}:"]" +// CHECK: {25:13-25:13}:"[" +// CHECK: {25:38-25:38}:" CGColor]" +// CHECK: {26:9-26:9}:"[" +// CHECK: {26:34-26:34}:" CGColor]" diff --git a/clang/test/FixIt/fixit-objc-bridge-related-property.m b/clang/test/FixIt/fixit-objc-bridge-related-property.m index 9ea6ce1d3de7..5b13645d49a5 100644 --- a/clang/test/FixIt/fixit-objc-bridge-related-property.m +++ b/clang/test/FixIt/fixit-objc-bridge-related-property.m @@ -1,6 +1,7 @@ // RUN: not %clang_cc1 -triple x86_64-apple-darwin10 -fdiagnostics-parseable-fixits -x objective-c %s 2>&1 | FileCheck %s // RUN: not %clang_cc1 -triple x86_64-apple-darwin10 -fobjc-arc -fdiagnostics-parseable-fixits -x objective-c %s 2>&1 | FileCheck %s // RUN: not %clang_cc1 -triple x86_64-apple-darwin10 -fdiagnostics-parseable-fixits -x objective-c++ %s 2>&1 | FileCheck %s +// rdar://15517899 typedef struct __attribute__((objc_bridge_related(NSColor,colorWithCGColor:,CGColor))) CGColor *CGColorRef; @@ -18,5 +19,5 @@ CGColorRef Test(NSTextField *textField, CGColorRef newColor) { newColor = textField.backgroundColor; return textField.backgroundColor; } -// CHECK:{18:38-18:38}:".CGColor" -// CHECK:{19:34-19:34}:".CGColor" +// CHECK:{19:38-19:38}:".CGColor" +// CHECK:{20:34-20:34}:".CGColor" diff --git a/clang/test/FixIt/fixit-objc-bridge-related.m b/clang/test/FixIt/fixit-objc-bridge-related.m index 0bf8accf4628..65974a29772a 100644 --- a/clang/test/FixIt/fixit-objc-bridge-related.m +++ b/clang/test/FixIt/fixit-objc-bridge-related.m @@ -1,5 +1,6 @@ // RUN: not %clang_cc1 -triple x86_64-apple-darwin10 -fdiagnostics-parseable-fixits -x objective-c -fobjc-arc %s 2>&1 | FileCheck %s // RUN: not %clang_cc1 -triple x86_64-apple-darwin10 -fdiagnostics-parseable-fixits -x objective-c++ -fobjc-arc %s 2>&1 | FileCheck %s +// rdar://15932435 typedef struct __attribute__((objc_bridge_related(UIColor,colorWithCGColor:,CGColor))) CGColor *CGColorRef; @@ -21,14 +22,14 @@ void test(UIButton *myButton) { cgColor = (CGColorRef)[myButton tintColor]; } -// CHECK: {16:36-16:36}:"[" -// CHECK: {16:54-16:54}:" CGColor]" +// CHECK: {17:36-17:36}:"[" +// CHECK: {17:54-17:54}:" CGColor]" -// CHECK: {17:13-17:13}:"[" -// CHECK: {17:31-17:31}:" CGColor]" +// CHECK: {18:13-18:13}:"[" +// CHECK: {18:31-18:31}:" CGColor]" -// CHECK: {21:25-21:25}:"[" -// CHECK: {21:45-21:45}:" CGColor]" +// CHECK: {22:25-22:25}:"[" +// CHECK: {22:45-22:45}:" CGColor]" @interface ImplicitPropertyTest - (UIColor *)tintColor; @@ -38,5 +39,5 @@ void test1(ImplicitPropertyTest *myImplicitPropertyTest) { CGColorRef cgColor = (CGColorRef)[myImplicitPropertyTest tintColor]; } -// CHECK: {38:36-38:36}:"[" -// CHECK: {38:70-38:70}:" CGColor]" +// CHECK: {39:36-39:36}:"[" +// CHECK: {39:70-39:70}:" CGColor]" diff --git a/clang/test/FixIt/fixit-objc-message-comma-separator.m b/clang/test/FixIt/fixit-objc-message-comma-separator.m index c53919a6280e..748553e73060 100644 --- a/clang/test/FixIt/fixit-objc-message-comma-separator.m +++ b/clang/test/FixIt/fixit-objc-message-comma-separator.m @@ -1,4 +1,5 @@ // RUN: not %clang_cc1 -triple x86_64-apple-darwin10 -fdiagnostics-parseable-fixits -x objective-c %s 2>&1 | FileCheck %s +// rdar://11376372 @class NSObject; @@ -13,4 +14,4 @@ int main(int argc, char *argv[]) [obj aMethodWithArg1:@"Arg 1 Good", arg2:@"Arg 2 Good"]; } -// CHECK: {13:39-13:40}:"" +// CHECK: {14:39-14:40}:"" diff --git a/clang/test/FixIt/fixit-objc.m b/clang/test/FixIt/fixit-objc.m index cb1d715605da..756d0fcb62ba 100644 --- a/clang/test/FixIt/fixit-objc.m +++ b/clang/test/FixIt/fixit-objc.m @@ -35,10 +35,12 @@ void f(Test *t) { [t test:"Foo"]; // expected-error {{string literal must be prefixed by '@'}} t.property = "Foo"; // expected-error {{string literal must be prefixed by '@'}} + // [t test:@"Foo"]]; // expected-error{{extraneous ']' before ';'}} g(@"Foo")); // expected-error{{extraneous ')' before ';'}} } +// rdar://7861841 @interface Radar7861841 { @public int x; diff --git a/clang/test/FixIt/fixit-recursive-block.c b/clang/test/FixIt/fixit-recursive-block.c index bc0a2395080b..eee6ec9a3687 100644 --- a/clang/test/FixIt/fixit-recursive-block.c +++ b/clang/test/FixIt/fixit-recursive-block.c @@ -2,6 +2,8 @@ // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -Wuninitialized -fblocks -verify %s // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -Wuninitialized -fblocks -x objective-c -fobjc-arc -DARC -verify %s +// rdar://10817031 + int main(void) { void (^arc_fail)(void) = ^(void) { #ifdef ARC @@ -13,4 +15,4 @@ int main(void) { arc_fail(); // BOOM }; } -// CHECK: {6:12-6:12}:"__block " +// CHECK: {8:12-8:12}:"__block " diff --git a/clang/test/FixIt/fixit-static-object-decl.m b/clang/test/FixIt/fixit-static-object-decl.m index 999240bdbbd0..6d6f55500518 100644 --- a/clang/test/FixIt/fixit-static-object-decl.m +++ b/clang/test/FixIt/fixit-static-object-decl.m @@ -7,6 +7,7 @@ // RUN: cp %s %t // RUN: not %clang_cc1 -fixit -x objective-c++ %t -std=c++11 // RUN: %clang_cc1 -fsyntax-only -Werror -x objective-c++ %t -std=c++11 +// rdar://9603056 @interface S @end diff --git a/clang/test/FixIt/fixit.c b/clang/test/FixIt/fixit.c index 0e86d454a0e1..4e1323f35afb 100644 --- a/clang/test/FixIt/fixit.c +++ b/clang/test/FixIt/fixit.c @@ -49,12 +49,14 @@ int test_cond(int y, int fooBar) { // expected-note {{here}} // CHECK: const typedef int int_t; const typedef typedef int int_t; // expected-warning {{duplicate 'typedef'}} +// enum Color { Red // expected-error{{missing ',' between enumerators}} Green = 17 // expected-error{{missing ',' between enumerators}} Blue, }; +// rdar://9295072 struct test_struct { // CHECK: struct test_struct *struct_ptr; test_struct *struct_ptr; // expected-error {{must use 'struct' tag to refer to type 'test_struct'}} diff --git a/clang/test/FixIt/fixit.cpp b/clang/test/FixIt/fixit.cpp index 605c2d0bd023..3dbc6cf8e085 100644 --- a/clang/test/FixIt/fixit.cpp +++ b/clang/test/FixIt/fixit.cpp @@ -166,7 +166,7 @@ void f(){ typename F1:: /*template*/ Iterator<0> Mypos; // expected-error {{use 'template' keyword to treat 'Iterator' as a dependent template name}} } -// Tests for &/* fixits +// Tests for &/* fixits radar 7113438. class AD {}; class BD: public AD {}; diff --git a/clang/test/FixIt/multiarg-selector-fixit.m b/clang/test/FixIt/multiarg-selector-fixit.m index 765d87205eb6..39ffa5c13cc8 100644 --- a/clang/test/FixIt/multiarg-selector-fixit.m +++ b/clang/test/FixIt/multiarg-selector-fixit.m @@ -1,6 +1,7 @@ // RUN: cp %s %t // RUN: %clang_cc1 -x objective-c -fixit %t // RUN: diff %t %s +// rdar://15756038 #define nil (void *)0 diff --git a/clang/test/FixIt/no-macro-fixit.c b/clang/test/FixIt/no-macro-fixit.c index a814dc7a9350..8e1d400e5087 100644 --- a/clang/test/FixIt/no-macro-fixit.c +++ b/clang/test/FixIt/no-macro-fixit.c @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -pedantic -fixit -x c %s +// rdar://9091893 #define va_arg(ap, type) __builtin_va_arg(ap, type) typedef __builtin_va_list va_list; diff --git a/clang/test/FixIt/property-access-fixit.m b/clang/test/FixIt/property-access-fixit.m index 4765a1b5dd3b..c0c1c4b0e279 100644 --- a/clang/test/FixIt/property-access-fixit.m +++ b/clang/test/FixIt/property-access-fixit.m @@ -1,6 +1,7 @@ // RUN: cp %s %t // RUN: %clang_cc1 -x objective-c -fixit %t // RUN: %clang_cc1 -x objective-c -Werror %t +//rdar://17911746 @class BridgeFormatter; diff --git a/clang/test/FixIt/selector-fixit.m b/clang/test/FixIt/selector-fixit.m index a0cc8450a890..103f0f01a0cc 100644 --- a/clang/test/FixIt/selector-fixit.m +++ b/clang/test/FixIt/selector-fixit.m @@ -1,6 +1,7 @@ // RUN: cp %s %t // RUN: %clang_cc1 -x objective-c -Wundeclared-selector -Wno-int-conversion -fixit %t // RUN: %clang_cc1 -x objective-c -Wundeclared-selector -Wno-int-conversion -Werror %t +// rdar://14039037 @interface NSObject @end @@ -28,6 +29,7 @@ @end +// rdar://7853549 @interface rdar7853549 : NSObject - (int) bounds; @end diff --git a/clang/test/FixIt/typo-crash.m b/clang/test/FixIt/typo-crash.m index 0a25ee63b8ba..f10fe61ae78e 100644 --- a/clang/test/FixIt/typo-crash.m +++ b/clang/test/FixIt/typo-crash.m @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -fsyntax-only -verify %s +// @implementation Unknown (Blarg) // expected-error{{cannot find interface declaration for 'Unknown'}} - (int)method { return ivar; } // expected-error{{use of undeclared identifier 'ivar'}} @end diff --git a/clang/test/Frontend/dependency-gen.c b/clang/test/Frontend/dependency-gen.c index da3ac4f3adbd..3746b440ec6e 100644 --- a/clang/test/Frontend/dependency-gen.c +++ b/clang/test/Frontend/dependency-gen.c @@ -10,6 +10,7 @@ // RUN: %clang -MD -MF - %s -fsyntax-only -include a/b/x.h -DINCLUDE_FLAG_TEST | FileCheck -check-prefix=CHECK-TWO %s // CHECK-TWO: {{ }}a{{[/\\]}}b{{[/\\]}}x.h +// rdar://problem/9734352 (paths involving ".") // RUN: %clang -MD -MF - %s -fsyntax-only -I ./a/b | FileCheck -check-prefix=CHECK-THREE %s // CHECK-THREE: {{ }}a{{[/\\]}}b{{[/\\]}}x.h // RUN: %clang -MD -MF - %s -fsyntax-only -I .//./a/b/ | FileCheck -check-prefix=CHECK-FOUR %s diff --git a/clang/test/Frontend/dependency-generation-crash.c b/clang/test/Frontend/dependency-generation-crash.c index 9b6c25d5f2a8..2fc3348bed29 100644 --- a/clang/test/Frontend/dependency-generation-crash.c +++ b/clang/test/Frontend/dependency-generation-crash.c @@ -1,3 +1,5 @@ // RUN: not %clang_cc1 -E -dependency-file bla -MT %t/doesnotexist/bla.o -MP -o %t/doesnotexist/bla.o -x c /dev/null 2>&1 | FileCheck %s // CHECK: error: unable to open output file + +// rdar://9286457 diff --git a/clang/test/Frontend/objc-bool-is-bool.m b/clang/test/Frontend/objc-bool-is-bool.m index b7051f37ee2b..ee4fb58d5a77 100644 --- a/clang/test/Frontend/objc-bool-is-bool.m +++ b/clang/test/Frontend/objc-bool-is-bool.m @@ -4,6 +4,8 @@ // RUN: %clang_cc1 -x objective-c++ -fsyntax-only -E -dM -triple=x86_64-apple-darwin16 %s | FileCheck --check-prefix=CHAR %s // RUN: %clang_cc1 -x c++ -fsyntax-only -E -dM -triple=x86_64-apple-darwin16 %s | FileCheck --check-prefix=CHAR %s +// rdar://21170440 + // BOOL: #define __OBJC_BOOL_IS_BOOL 1 // BOOL-NOT: #define __OBJC_BOOL_IS_BOOL 0 diff --git a/clang/test/Index/TestClassDecl.m b/clang/test/Index/TestClassDecl.m index d55200fbae73..899765eb0a2d 100644 --- a/clang/test/Index/TestClassDecl.m +++ b/clang/test/Index/TestClassDecl.m @@ -3,7 +3,7 @@ // RUN: c-index-test -test-load-tu %t.ast local | FileCheck -check-prefix=CHECK-load %s // This test checks how the @class resolves as a cursor when there is a real definition -// that follows. +// that follows. @class Foo; diff --git a/clang/test/Index/TestClassForwardDecl.m b/clang/test/Index/TestClassForwardDecl.m index dc9eae69467b..4f8d8ff0ae01 100644 --- a/clang/test/Index/TestClassForwardDecl.m +++ b/clang/test/Index/TestClassForwardDecl.m @@ -3,7 +3,7 @@ // RUN: c-index-test -test-load-tu %t.ast local | FileCheck -check-prefix=CHECK-load %s // REQUIRES: x86-registered-target // This test checks how the @class resolves as a cursor when the @interface is implicitly defined. -// See TestClassDecl.m for the corresponding test case. +// See TestClassDecl.m for the corresponding test case. () @class Foo; diff --git a/clang/test/Index/annotate-comments-availability-attrs.cpp b/clang/test/Index/annotate-comments-availability-attrs.cpp index 35a668f165d6..2722c06fc8d9 100644 --- a/clang/test/Index/annotate-comments-availability-attrs.cpp +++ b/clang/test/Index/annotate-comments-availability-attrs.cpp @@ -1,3 +1,5 @@ +// rdar://12378879 + // RUN: rm -rf %t // RUN: mkdir %t // RUN: c-index-test -test-load-source all -comments-xml-schema=%S/../../bindings/xml/comment-xml-schema.rng %s > %t/out diff --git a/clang/test/Index/annotate-comments-objc.m b/clang/test/Index/annotate-comments-objc.m index 6a48d9ae8f2c..41ede39baa87 100644 --- a/clang/test/Index/annotate-comments-objc.m +++ b/clang/test/Index/annotate-comments-objc.m @@ -12,6 +12,7 @@ void functionBeforeImports(void); @class NSString; //===--- +// rdar://14258334 // Check that we attach comments to properties correctly. //===--- @@ -32,6 +33,7 @@ void functionBeforeImports(void); @end //===--- +// rdar://14348912 // Check that we attach comments to enums declared using the NS_ENUM macro. //===--- @@ -122,19 +124,19 @@ DECLARE_ENUMS(namedEnumFromMacro) // CHECK-DAG: DocCommentsB.h:2:6: FunctionDecl=functionFromDocCommentsB1:{{.*}} BriefComment=[Comment for 'functionFromDocCommentsB1'.] // CHECK-DAG: DocCommentsB.h:7:6: FunctionDecl=functionFromDocCommentsB2:{{.*}} BriefComment=[Comment for 'functionFromDocCommentsB2'.] // CHECK-DAG: DocCommentsC.h:2:6: FunctionDecl=functionFromDocCommentsC:{{.*}} BriefComment=[Comment for 'functionFromDocCommentsC'.] -// CHECK: annotate-comments-objc.m:22:50: ObjCPropertyDecl=property1_isdoxy1:{{.*}} property1_isdoxy1 IS_DOXYGEN_SINGLE -// CHECK: annotate-comments-objc.m:23:50: ObjCPropertyDecl=property1_isdoxy2:{{.*}} property1_isdoxy2 IS_DOXYGEN_SINGLE -// CHECK: annotate-comments-objc.m:24:50: ObjCPropertyDecl=property1_isdoxy3:{{.*}} property1_isdoxy3 IS_DOXYGEN_SINGLE -// CHECK: annotate-comments-objc.m:25:50: ObjCPropertyDecl=property1_isdoxy4:{{.*}} property1_isdoxy4 IS_DOXYGEN_SINGLE -// CHECK: annotate-comments-objc.m:28:9: ObjCInstanceMethodDecl=method1_isdoxy1:{{.*}} method1_isdoxy1 IS_DOXYGEN_SINGLE -// CHECK: annotate-comments-objc.m:29:9: ObjCInstanceMethodDecl=method1_isdoxy2:{{.*}} method1_isdoxy2 IS_DOXYGEN_SINGLE -// CHECK: annotate-comments-objc.m:30:9: ObjCInstanceMethodDecl=method1_isdoxy3:{{.*}} method1_isdoxy3 IS_DOXYGEN_SINGLE -// CHECK: annotate-comments-objc.m:31:9: ObjCInstanceMethodDecl=method1_isdoxy4:{{.*}} method1_isdoxy4 IS_DOXYGEN_SINGLE -// CHECK: annotate-comments-objc.m:41:22: EnumDecl=An_NS_ENUM_isdoxy1:{{.*}} An_NS_ENUM_isdoxy1 IS_DOXYGEN_SINGLE -// CHECK: annotate-comments-objc.m:41:22: TypedefDecl=An_NS_ENUM_isdoxy1:{{.*}} An_NS_ENUM_isdoxy1 IS_DOXYGEN_SINGLE -// CHECK: annotate-comments-objc.m:41:22: EnumDecl=An_NS_ENUM_isdoxy1:{{.*}} An_NS_ENUM_isdoxy1 IS_DOXYGEN_SINGLE -// CHECK: annotate-comments-objc.m:60:1: FunctionDecl=functionFromMacro:{{.*}} BriefComment=[functionFromMacro IS_DOXYGEN_SINGLE] -// CHECK: annotate-comments-objc.m:60:1: FunctionDecl=functionFromMacroWithSuffix:{{.*}} BriefComment=[functionFromMacroWithSuffix IS_DOXYGEN_SINGLE] -// CHECK: annotate-comments-objc.m:63:32: TypedefDecl=typedef_isdoxy1:{{.*}} typedef_isdoxy1 IS_DOXYGEN_SINGLE -// CHECK: annotate-comments-objc.m:72:1: EnumDecl=enumFromMacro:{{.*}} BriefComment=[enumFromMacro IS_DOXYGEN_SINGLE] -// CHECK: annotate-comments-objc.m:72:15: EnumDecl=namedEnumFromMacro:{{.*}} BriefComment=[namedEnumFromMacro IS_DOXYGEN_SINGLE] +// CHECK: annotate-comments-objc.m:23:50: ObjCPropertyDecl=property1_isdoxy1:{{.*}} property1_isdoxy1 IS_DOXYGEN_SINGLE +// CHECK: annotate-comments-objc.m:24:50: ObjCPropertyDecl=property1_isdoxy2:{{.*}} property1_isdoxy2 IS_DOXYGEN_SINGLE +// CHECK: annotate-comments-objc.m:25:50: ObjCPropertyDecl=property1_isdoxy3:{{.*}} property1_isdoxy3 IS_DOXYGEN_SINGLE +// CHECK: annotate-comments-objc.m:26:50: ObjCPropertyDecl=property1_isdoxy4:{{.*}} property1_isdoxy4 IS_DOXYGEN_SINGLE +// CHECK: annotate-comments-objc.m:29:9: ObjCInstanceMethodDecl=method1_isdoxy1:{{.*}} method1_isdoxy1 IS_DOXYGEN_SINGLE +// CHECK: annotate-comments-objc.m:30:9: ObjCInstanceMethodDecl=method1_isdoxy2:{{.*}} method1_isdoxy2 IS_DOXYGEN_SINGLE +// CHECK: annotate-comments-objc.m:31:9: ObjCInstanceMethodDecl=method1_isdoxy3:{{.*}} method1_isdoxy3 IS_DOXYGEN_SINGLE +// CHECK: annotate-comments-objc.m:32:9: ObjCInstanceMethodDecl=method1_isdoxy4:{{.*}} method1_isdoxy4 IS_DOXYGEN_SINGLE +// CHECK: annotate-comments-objc.m:43:22: EnumDecl=An_NS_ENUM_isdoxy1:{{.*}} An_NS_ENUM_isdoxy1 IS_DOXYGEN_SINGLE +// CHECK: annotate-comments-objc.m:43:22: TypedefDecl=An_NS_ENUM_isdoxy1:{{.*}} An_NS_ENUM_isdoxy1 IS_DOXYGEN_SINGLE +// CHECK: annotate-comments-objc.m:43:22: EnumDecl=An_NS_ENUM_isdoxy1:{{.*}} An_NS_ENUM_isdoxy1 IS_DOXYGEN_SINGLE +// CHECK: annotate-comments-objc.m:62:1: FunctionDecl=functionFromMacro:{{.*}} BriefComment=[functionFromMacro IS_DOXYGEN_SINGLE] +// CHECK: annotate-comments-objc.m:62:1: FunctionDecl=functionFromMacroWithSuffix:{{.*}} BriefComment=[functionFromMacroWithSuffix IS_DOXYGEN_SINGLE] +// CHECK: annotate-comments-objc.m:65:32: TypedefDecl=typedef_isdoxy1:{{.*}} typedef_isdoxy1 IS_DOXYGEN_SINGLE +// CHECK: annotate-comments-objc.m:74:1: EnumDecl=enumFromMacro:{{.*}} BriefComment=[enumFromMacro IS_DOXYGEN_SINGLE] +// CHECK: annotate-comments-objc.m:74:15: EnumDecl=namedEnumFromMacro:{{.*}} BriefComment=[namedEnumFromMacro IS_DOXYGEN_SINGLE] diff --git a/clang/test/Index/annotate-comments-property-accessor.m b/clang/test/Index/annotate-comments-property-accessor.m index cfbb123a7ccf..2bd1d0135cdd 100644 --- a/clang/test/Index/annotate-comments-property-accessor.m +++ b/clang/test/Index/annotate-comments-property-accessor.m @@ -2,6 +2,7 @@ // RUN: mkdir %t // RUN: c-index-test -test-load-source all -comments-xml-schema=%S/../../bindings/xml/comment-xml-schema.rng %s > %t/out // RUN: FileCheck %s < %t/out +// rdar://12378879 // Ensure that XML we generate is not invalid. // RUN: FileCheck %s -check-prefix=WRONG < %t/out diff --git a/clang/test/Index/annotate-comments-typedef.m b/clang/test/Index/annotate-comments-typedef.m index 3be5535150c2..8447f44ae2c5 100644 --- a/clang/test/Index/annotate-comments-typedef.m +++ b/clang/test/Index/annotate-comments-typedef.m @@ -2,6 +2,7 @@ // RUN: mkdir %t // RUN: c-index-test -test-load-source all -comments-xml-schema=%S/../../bindings/xml/comment-xml-schema.rng %s > %t/out // RUN: FileCheck %s < %t/out +// rdar://13067629 // Ensure that XML we generate is not invalid. // RUN: FileCheck %s -check-prefix=WRONG < %t/out diff --git a/clang/test/Index/annotate-deep-statements.cpp b/clang/test/Index/annotate-deep-statements.cpp index 350ab714ac1c..fb420a25f0b8 100644 --- a/clang/test/Index/annotate-deep-statements.cpp +++ b/clang/test/Index/annotate-deep-statements.cpp @@ -1,5 +1,6 @@ // RUN: c-index-test -test-annotate-tokens=%s:1:1:1000:1 %s | FileCheck %s +// rdar://11979525 // Check that we don't get stack overflow trying to annotate an extremely deep AST. // AddressSanitizer and UndefinedBehaviorSanitizer increases stack usage. diff --git a/clang/test/Index/annotate-tokens.m b/clang/test/Index/annotate-tokens.m index 95f158e67412..0a76105a94d5 100644 --- a/clang/test/Index/annotate-tokens.m +++ b/clang/test/Index/annotate-tokens.m @@ -9,8 +9,8 @@ } @end -// The 'barType' referenced in the ivar declarations should be annotated as -// TypeRefs. +// From , the 'barType' referenced in the ivar +// declarations should be annotated as TypeRefs. typedef int * barType; @interface Bar { @@ -25,9 +25,10 @@ typedef int * barType; } @end -// The ranges for attributes are not currently stored, causing most of the -// tokens to be falsely annotated. Since there are no source ranges for -// attributes, we currently don't annotate them. +// From . The ranges for attributes are not +// currently stored, causing most of the tokens to be falsely annotated. +// Since there are no source ranges for attributes, we currently don't +// annotate them. @interface IBActionTests - (IBAction) actionMethod:(in id)arg; - (void)foo:(int)x; @@ -45,7 +46,8 @@ extern int ibaction_test(void); } @end -// Essentially the same issue as above, but impacting code marked as IBOutlets. +// From . Essentially the same issue as 7967123, +// but impacting code marked as IBOutlets. @interface IBOutletTests { IBOutlet char * anOutlet; @@ -54,8 +56,9 @@ extern int ibaction_test(void); @property IBOutlet int * aPropOutlet; @end -// The first 'foo:' wasn't being annotated as being part of the Objective-C -// message expression since the argument was expanded from a macro. +// From . The first 'foo:' wasn't being annotated as +// being part of the Objective-C message expression since the argument +// was expanded from a macro. #define VAL 0 @@ -85,7 +88,8 @@ void f() { (void)@protocol(Proto); } -// Properly annotate functions and variables declared within an @implementation. +// - Properly annotate functions and variables +// declared within an @implementation. @class Rdar8595462_A; @interface Rdar8595462_B @end @@ -98,7 +102,7 @@ Rdar8595462_A * Rdar8595462_aFunction() { static Rdar8595462_A * Rdar8595462_staticVar; @end -// Issues doing syntax coloring of properties +// Issues doing syntax coloring of properties @interface Rdar8595386 { Foo *_foo; } @@ -112,7 +116,7 @@ static Rdar8595462_A * Rdar8595462_staticVar; @dynamic foo2; @end -// Blocks don't get colored if annotation starts within the block itself +// Blocks don't get colored if annotation starts within the block itself @interface Rdar8778404 @end @@ -235,367 +239,367 @@ typedef id *proto_ptr; // CHECK: Punctuation: "}" [25:1 - 25:2] CompoundStmt= // CHECK: Punctuation: "@" [26:1 - 26:2] ObjCImplementationDecl=Bar:21:17 (Definition) // CHECK: Keyword: "end" [26:2 - 26:5] -// CHECK: Punctuation: "@" [31:1 - 31:2] ObjCInterfaceDecl=IBActionTests:31:12 -// CHECK: Keyword: "interface" [31:2 - 31:11] ObjCInterfaceDecl=IBActionTests:31:12 -// CHECK: Identifier: "IBActionTests" [31:12 - 31:25] ObjCInterfaceDecl=IBActionTests:31:12 -// CHECK: Punctuation: "-" [32:1 - 32:2] ObjCInstanceMethodDecl=actionMethod::32:1 -// CHECK: Punctuation: "(" [32:3 - 32:4] ObjCInstanceMethodDecl=actionMethod::32:1 -// CHECK: Identifier: "IBAction" [32:4 - 32:12] macro expansion=IBAction -// CHECK: Punctuation: ")" [32:12 - 32:13] ObjCInstanceMethodDecl=actionMethod::32:1 -// CHECK: Identifier: "actionMethod" [32:14 - 32:26] ObjCInstanceMethodDecl=actionMethod::32:1 -// CHECK: Punctuation: ":" [32:26 - 32:27] ObjCInstanceMethodDecl=actionMethod::32:1 -// CHECK: Punctuation: "(" [32:27 - 32:28] ObjCInstanceMethodDecl=actionMethod::32:1 -// CHECK: Keyword: "in" [32:28 - 32:30] ObjCInstanceMethodDecl=actionMethod::32:1 -// CHECK: Identifier: "id" [32:31 - 32:33] TypeRef=id:0:0 -// CHECK: Punctuation: ")" [32:33 - 32:34] ParmDecl=arg:32:34 (Definition) -// CHECK: Identifier: "arg" [32:34 - 32:37] ParmDecl=arg:32:34 (Definition) -// CHECK: Punctuation: ";" [32:37 - 32:38] ObjCInstanceMethodDecl=actionMethod::32:1 -// CHECK: Punctuation: "-" [33:1 - 33:2] ObjCInstanceMethodDecl=foo::33:9 -// CHECK: Punctuation: "(" [33:3 - 33:4] ObjCInstanceMethodDecl=foo::33:9 -// CHECK: Keyword: "void" [33:4 - 33:8] ObjCInstanceMethodDecl=foo::33:9 -// CHECK: Punctuation: ")" [33:8 - 33:9] ObjCInstanceMethodDecl=foo::33:9 -// CHECK: Identifier: "foo" [33:9 - 33:12] ObjCInstanceMethodDecl=foo::33:9 -// CHECK: Punctuation: ":" [33:12 - 33:13] ObjCInstanceMethodDecl=foo::33:9 -// CHECK: Punctuation: "(" [33:13 - 33:14] ObjCInstanceMethodDecl=foo::33:9 -// CHECK: Keyword: "int" [33:14 - 33:17] ParmDecl=x:33:18 (Definition) -// CHECK: Punctuation: ")" [33:17 - 33:18] ParmDecl=x:33:18 (Definition) -// CHECK: Identifier: "x" [33:18 - 33:19] ParmDecl=x:33:18 (Definition) -// CHECK: Punctuation: ";" [33:19 - 33:20] ObjCInstanceMethodDecl=foo::33:9 -// CHECK: Punctuation: "@" [34:1 - 34:2] ObjCInterfaceDecl=IBActionTests:31:12 -// CHECK: Keyword: "end" [34:2 - 34:5] ObjCInterfaceDecl=IBActionTests:31:12 -// CHECK: Keyword: "extern" [35:1 - 35:7] -// CHECK: Keyword: "int" [35:8 - 35:11] FunctionDecl=ibaction_test:35:12 -// CHECK: Identifier: "ibaction_test" [35:12 - 35:25] FunctionDecl=ibaction_test:35:12 -// CHECK: Punctuation: "(" [35:25 - 35:26] FunctionDecl=ibaction_test:35:12 -// CHECK: Keyword: "void" [35:26 - 35:30] FunctionDecl=ibaction_test:35:12 -// CHECK: Punctuation: ")" [35:30 - 35:31] FunctionDecl=ibaction_test:35:12 -// CHECK: Punctuation: ";" [35:31 - 35:32] -// CHECK: Punctuation: "@" [36:1 - 36:2] ObjCImplementationDecl=IBActionTests:36:17 (Definition) -// CHECK: Keyword: "implementation" [36:2 - 36:16] ObjCImplementationDecl=IBActionTests:36:17 (Definition) -// CHECK: Identifier: "IBActionTests" [36:17 - 36:30] ObjCImplementationDecl=IBActionTests:36:17 (Definition) -// CHECK: Punctuation: "-" [37:1 - 37:2] ObjCInstanceMethodDecl=actionMethod::37:14 (Definition) -// CHECK: Punctuation: "(" [37:3 - 37:4] ObjCInstanceMethodDecl=actionMethod::37:14 (Definition) -// CHECK: Identifier: "IBAction" [37:4 - 37:12] macro expansion=IBAction -// CHECK: Punctuation: ")" [37:12 - 37:13] ObjCInstanceMethodDecl=actionMethod::37:14 (Definition) -// CHECK: Identifier: "actionMethod" [37:14 - 37:26] ObjCInstanceMethodDecl=actionMethod::37:14 (Definition) -// CHECK: Punctuation: ":" [37:26 - 37:27] ObjCInstanceMethodDecl=actionMethod::37:14 (Definition) -// CHECK: Keyword: "in" [37:28 - 37:30] ObjCInstanceMethodDecl=actionMethod::37:14 (Definition) -// CHECK: Identifier: "id" [37:31 - 37:33] TypeRef=id:0:0 -// CHECK: Punctuation: ")" [37:33 - 37:34] ParmDecl=arg:37:34 (Definition) -// CHECK: Identifier: "arg" [37:34 - 37:37] ParmDecl=arg:37:34 (Definition) -// CHECK: Punctuation: "{" [38:1 - 38:2] CompoundStmt= -// CHECK: Identifier: "ibaction_test" [39:5 - 39:18] DeclRefExpr=ibaction_test:35:12 -// CHECK: Punctuation: "(" [39:18 - 39:19] CallExpr=ibaction_test:35:12 -// CHECK: Punctuation: ")" [39:19 - 39:20] CallExpr=ibaction_test:35:12 -// CHECK: Punctuation: ";" [39:20 - 39:21] CompoundStmt= -// CHECK: Punctuation: "[" [40:5 - 40:6] ObjCMessageExpr=foo::33:9 -// CHECK: Identifier: "self" [40:6 - 40:10] ObjCSelfExpr=self:0:0 -// CHECK: Identifier: "foo" [40:11 - 40:14] ObjCMessageExpr=foo::33:9 -// CHECK: Punctuation: ":" [40:14 - 40:15] ObjCMessageExpr=foo::33:9 -// CHECK: Literal: "0" [40:15 - 40:16] IntegerLiteral= -// CHECK: Punctuation: "]" [40:16 - 40:17] ObjCMessageExpr=foo::33:9 -// CHECK: Punctuation: ";" [40:17 - 40:18] CompoundStmt= -// CHECK: Punctuation: "}" [41:1 - 41:2] CompoundStmt= -// CHECK: Punctuation: "-" [42:1 - 42:2] ObjCInstanceMethodDecl=foo::42:10 (Definition) -// CHECK: Punctuation: "(" [42:3 - 42:4] ObjCInstanceMethodDecl=foo::42:10 (Definition) -// CHECK: Keyword: "void" [42:4 - 42:8] ObjCInstanceMethodDecl=foo::42:10 (Definition) -// CHECK: Punctuation: ")" [42:8 - 42:9] ObjCInstanceMethodDecl=foo::42:10 (Definition) -// CHECK: Identifier: "foo" [42:10 - 42:13] ObjCInstanceMethodDecl=foo::42:10 (Definition) -// CHECK: Punctuation: ":" [42:13 - 42:14] ObjCInstanceMethodDecl=foo::42:10 (Definition) -// CHECK: Punctuation: "(" [42:14 - 42:15] ObjCInstanceMethodDecl=foo::42:10 (Definition) -// CHECK: Keyword: "int" [42:15 - 42:18] ParmDecl=x:42:19 (Definition) -// CHECK: Punctuation: ")" [42:18 - 42:19] ParmDecl=x:42:19 (Definition) -// CHECK: Identifier: "x" [42:19 - 42:20] ParmDecl=x:42:19 (Definition) -// CHECK: Punctuation: "{" [43:1 - 43:2] CompoundStmt= -// CHECK: Punctuation: "(" [44:3 - 44:4] CStyleCastExpr= -// CHECK: Keyword: "void" [44:4 - 44:8] CStyleCastExpr= -// CHECK: Punctuation: ")" [44:8 - 44:9] CStyleCastExpr= -// CHECK: Identifier: "x" [44:10 - 44:11] DeclRefExpr=x:42:19 -// CHECK: Punctuation: ";" [44:11 - 44:12] CompoundStmt= -// CHECK: Punctuation: "}" [45:1 - 45:2] CompoundStmt= -// CHECK: Punctuation: "@" [46:1 - 46:2] ObjCImplementationDecl=IBActionTests:36:17 (Definition) -// CHECK: Keyword: "end" [46:2 - 46:5] -// CHECK: Punctuation: "@" [49:1 - 49:2] ObjCInterfaceDecl=IBOutletTests:49:12 -// CHECK: Keyword: "interface" [49:2 - 49:11] ObjCInterfaceDecl=IBOutletTests:49:12 -// CHECK: Identifier: "IBOutletTests" [49:12 - 49:25] ObjCInterfaceDecl=IBOutletTests:49:12 -// CHECK: Punctuation: "{" [50:1 - 50:2] ObjCInterfaceDecl=IBOutletTests:49:12 -// CHECK: Identifier: "IBOutlet" [51:5 - 51:13] macro expansion=IBOutlet -// CHECK: Keyword: "char" [51:14 - 51:18] ObjCIvarDecl=anOutlet:51:21 (Definition) -// CHECK: Punctuation: "*" [51:19 - 51:20] ObjCIvarDecl=anOutlet:51:21 (Definition) -// CHECK: Identifier: "anOutlet" [51:21 - 51:29] ObjCIvarDecl=anOutlet:51:21 (Definition) -// CHECK: Punctuation: ";" [51:29 - 51:30] ObjCInterfaceDecl=IBOutletTests:49:12 -// CHECK: Punctuation: "}" [52:1 - 52:2] ObjCInterfaceDecl=IBOutletTests:49:12 -// CHECK: Punctuation: "-" [53:1 - 53:2] ObjCInstanceMethodDecl=actionMethod::53:1 -// CHECK: Punctuation: "(" [53:3 - 53:4] ObjCInstanceMethodDecl=actionMethod::53:1 -// CHECK: Identifier: "IBAction" [53:4 - 53:12] macro expansion=IBAction -// CHECK: Punctuation: ")" [53:12 - 53:13] ObjCInstanceMethodDecl=actionMethod::53:1 -// CHECK: Identifier: "actionMethod" [53:14 - 53:26] ObjCInstanceMethodDecl=actionMethod::53:1 -// CHECK: Punctuation: ":" [53:26 - 53:27] ObjCInstanceMethodDecl=actionMethod::53:1 -// CHECK: Punctuation: "(" [53:27 - 53:28] ObjCInstanceMethodDecl=actionMethod::53:1 -// CHECK: Identifier: "id" [53:28 - 53:30] TypeRef=id:0:0 -// CHECK: Punctuation: ")" [53:30 - 53:31] ParmDecl=arg:53:31 (Definition) -// CHECK: Identifier: "arg" [53:31 - 53:34] ParmDecl=arg:53:31 (Definition) -// CHECK: Punctuation: ";" [53:34 - 53:35] ObjCInstanceMethodDecl=actionMethod::53:1 -// CHECK: Punctuation: "@" [54:1 - 54:2] ObjCPropertyDecl=aPropOutlet:54:26 -// CHECK: Keyword: "property" [54:2 - 54:10] ObjCPropertyDecl=aPropOutlet:54:26 -// CHECK: Identifier: "IBOutlet" [54:11 - 54:19] macro expansion=IBOutlet -// CHECK: Keyword: "int" [54:20 - 54:23] ObjCPropertyDecl=aPropOutlet:54:26 -// CHECK: Punctuation: "*" [54:24 - 54:25] ObjCPropertyDecl=aPropOutlet:54:26 -// CHECK: Identifier: "aPropOutlet" [54:26 - 54:37] ObjCPropertyDecl=aPropOutlet:54:26 -// CHECK: Punctuation: ";" [54:37 - 54:38] ObjCInterfaceDecl=IBOutletTests:49:12 -// CHECK: Punctuation: "@" [55:1 - 55:2] ObjCInterfaceDecl=IBOutletTests:49:12 -// CHECK: Keyword: "end" [55:2 - 55:5] ObjCInterfaceDecl=IBOutletTests:49:12 -// CHECK: Punctuation: "#" [60:1 - 60:2] preprocessing directive= -// CHECK: Identifier: "define" [60:2 - 60:8] preprocessing directive= -// CHECK: Identifier: "VAL" [60:9 - 60:12] macro definition=VAL -// CHECK: Literal: "0" [60:13 - 60:14] macro definition=VAL -// CHECK: Punctuation: "@" [62:1 - 62:2] ObjCInterfaceDecl=R7974151:62:12 -// CHECK: Keyword: "interface" [62:2 - 62:11] ObjCInterfaceDecl=R7974151:62:12 -// CHECK: Identifier: "R7974151" [62:12 - 62:20] ObjCInterfaceDecl=R7974151:62:12 -// CHECK: Punctuation: "-" [63:1 - 63:2] ObjCInstanceMethodDecl=foo::63:9 -// CHECK: Punctuation: "(" [63:3 - 63:4] ObjCInstanceMethodDecl=foo::63:9 -// CHECK: Keyword: "int" [63:4 - 63:7] ObjCInstanceMethodDecl=foo::63:9 -// CHECK: Punctuation: ")" [63:7 - 63:8] ObjCInstanceMethodDecl=foo::63:9 -// CHECK: Identifier: "foo" [63:9 - 63:12] ObjCInstanceMethodDecl=foo::63:9 -// CHECK: Punctuation: ":" [63:12 - 63:13] ObjCInstanceMethodDecl=foo::63:9 -// CHECK: Punctuation: "(" [63:13 - 63:14] ObjCInstanceMethodDecl=foo::63:9 -// CHECK: Keyword: "int" [63:14 - 63:17] ParmDecl=arg:63:18 (Definition) -// CHECK: Punctuation: ")" [63:17 - 63:18] ParmDecl=arg:63:18 (Definition) -// CHECK: Identifier: "arg" [63:18 - 63:21] ParmDecl=arg:63:18 (Definition) -// CHECK: Punctuation: ";" [63:21 - 63:22] ObjCInstanceMethodDecl=foo::63:9 -// CHECK: Punctuation: "-" [64:1 - 64:2] ObjCInstanceMethodDecl=method:64:9 -// CHECK: Punctuation: "(" [64:3 - 64:4] ObjCInstanceMethodDecl=method:64:9 -// CHECK: Keyword: "int" [64:4 - 64:7] ObjCInstanceMethodDecl=method:64:9 -// CHECK: Punctuation: ")" [64:7 - 64:8] ObjCInstanceMethodDecl=method:64:9 -// CHECK: Identifier: "method" [64:9 - 64:15] ObjCInstanceMethodDecl=method:64:9 -// CHECK: Punctuation: ";" [64:15 - 64:16] ObjCInstanceMethodDecl=method:64:9 -// CHECK: Punctuation: "@" [65:1 - 65:2] ObjCInterfaceDecl=R7974151:62:12 -// CHECK: Keyword: "end" [65:2 - 65:5] ObjCInterfaceDecl=R7974151:62:12 -// CHECK: Punctuation: "@" [67:1 - 67:2] ObjCImplementationDecl=R7974151:67:17 (Definition) -// CHECK: Keyword: "implementation" [67:2 - 67:16] ObjCImplementationDecl=R7974151:67:17 (Definition) -// CHECK: Identifier: "R7974151" [67:17 - 67:25] ObjCImplementationDecl=R7974151:67:17 (Definition) -// CHECK: Punctuation: "-" [68:1 - 68:2] ObjCInstanceMethodDecl=foo::68:9 (Definition) -// CHECK: Punctuation: "(" [68:3 - 68:4] ObjCInstanceMethodDecl=foo::68:9 (Definition) -// CHECK: Keyword: "int" [68:4 - 68:7] ObjCInstanceMethodDecl=foo::68:9 (Definition) -// CHECK: Punctuation: ")" [68:7 - 68:8] ObjCInstanceMethodDecl=foo::68:9 (Definition) -// CHECK: Identifier: "foo" [68:9 - 68:12] ObjCInstanceMethodDecl=foo::68:9 (Definition) -// CHECK: Punctuation: ":" [68:12 - 68:13] ObjCInstanceMethodDecl=foo::68:9 (Definition) -// CHECK: Punctuation: "(" [68:13 - 68:14] ObjCInstanceMethodDecl=foo::68:9 (Definition) -// CHECK: Keyword: "int" [68:14 - 68:17] ParmDecl=arg:68:18 (Definition) -// CHECK: Punctuation: ")" [68:17 - 68:18] ParmDecl=arg:68:18 (Definition) -// CHECK: Identifier: "arg" [68:18 - 68:21] ParmDecl=arg:68:18 (Definition) -// CHECK: Punctuation: "{" [68:22 - 68:23] CompoundStmt= -// CHECK: Keyword: "return" [69:3 - 69:9] ReturnStmt= -// CHECK: Identifier: "arg" [69:10 - 69:13] DeclRefExpr=arg:68:18 -// CHECK: Punctuation: ";" [69:13 - 69:14] CompoundStmt= -// CHECK: Punctuation: "}" [70:1 - 70:2] CompoundStmt= -// CHECK: Punctuation: "-" [71:1 - 71:2] ObjCInstanceMethodDecl=method:71:9 (Definition) -// CHECK: Punctuation: "(" [71:3 - 71:4] ObjCInstanceMethodDecl=method:71:9 (Definition) -// CHECK: Keyword: "int" [71:4 - 71:7] ObjCInstanceMethodDecl=method:71:9 (Definition) -// CHECK: Punctuation: ")" [71:7 - 71:8] ObjCInstanceMethodDecl=method:71:9 (Definition) -// CHECK: Identifier: "method" [71:9 - 71:15] ObjCInstanceMethodDecl=method:71:9 (Definition) -// CHECK: Punctuation: "{" [72:1 - 72:2] CompoundStmt= -// CHECK: Keyword: "int" [73:5 - 73:8] VarDecl=local:73:9 (Definition) -// CHECK: Identifier: "local" [73:9 - 73:14] VarDecl=local:73:9 (Definition) -// CHECK: Punctuation: "=" [73:15 - 73:16] VarDecl=local:73:9 (Definition) -// CHECK: Punctuation: "[" [73:17 - 73:18] ObjCMessageExpr=foo::63:9 -// CHECK: Identifier: "self" [73:18 - 73:22] ObjCSelfExpr=self:0:0 -// CHECK: Identifier: "foo" [73:23 - 73:26] ObjCMessageExpr=foo::63:9 -// CHECK: Punctuation: ":" [73:26 - 73:27] ObjCMessageExpr=foo::63:9 -// CHECK: Identifier: "VAL" [73:27 - 73:30] macro expansion=VAL:60:9 -// CHECK: Punctuation: "]" [73:30 - 73:31] ObjCMessageExpr=foo::63:9 -// CHECK: Punctuation: ";" [73:31 - 73:32] DeclStmt= -// CHECK: Keyword: "int" [74:5 - 74:8] VarDecl=second:74:9 (Definition) -// CHECK: Identifier: "second" [74:9 - 74:15] VarDecl=second:74:9 (Definition) -// CHECK: Punctuation: "=" [74:16 - 74:17] VarDecl=second:74:9 (Definition) -// CHECK: Punctuation: "[" [74:18 - 74:19] ObjCMessageExpr=foo::63:9 -// CHECK: Identifier: "self" [74:19 - 74:23] ObjCSelfExpr=self:0:0 -// CHECK: Identifier: "foo" [74:24 - 74:27] ObjCMessageExpr=foo::63:9 -// CHECK: Punctuation: ":" [74:27 - 74:28] ObjCMessageExpr=foo::63:9 -// CHECK: Literal: "0" [74:28 - 74:29] IntegerLiteral= -// CHECK: Punctuation: "]" [74:29 - 74:30] ObjCMessageExpr=foo::63:9 -// CHECK: Punctuation: ";" [74:30 - 74:31] DeclStmt= -// CHECK: Keyword: "return" [75:5 - 75:11] ReturnStmt= -// CHECK: Identifier: "local" [75:12 - 75:17] DeclRefExpr=local:73:9 -// CHECK: Punctuation: ";" [75:17 - 75:18] CompoundStmt= -// CHECK: Punctuation: "}" [76:1 - 76:2] CompoundStmt= -// CHECK: Punctuation: "-" [77:1 - 77:2] ObjCInstanceMethodDecl=othermethod::77:8 (Definition) -// CHECK: Punctuation: "(" [77:3 - 77:4] ObjCInstanceMethodDecl=othermethod::77:8 (Definition) -// CHECK: Keyword: "int" [77:4 - 77:7] ObjCInstanceMethodDecl=othermethod::77:8 (Definition) -// CHECK: Punctuation: ")" [77:7 - 77:8] ObjCInstanceMethodDecl=othermethod::77:8 (Definition) -// CHECK: Identifier: "othermethod" [77:8 - 77:19] ObjCInstanceMethodDecl=othermethod::77:8 (Definition) -// CHECK: Punctuation: ":" [77:19 - 77:20] ObjCInstanceMethodDecl=othermethod::77:8 (Definition) -// CHECK: Punctuation: "(" [77:20 - 77:21] ObjCInstanceMethodDecl=othermethod::77:8 (Definition) -// CHECK: Identifier: "IBOutletTests" [77:21 - 77:34] ObjCClassRef=IBOutletTests:49:12 -// CHECK: Punctuation: "*" [77:35 - 77:36] ParmDecl=ibt:77:37 (Definition) -// CHECK: Punctuation: ")" [77:36 - 77:37] ParmDecl=ibt:77:37 (Definition) -// CHECK: Identifier: "ibt" [77:37 - 77:40] ParmDecl=ibt:77:37 (Definition) -// CHECK: Punctuation: "{" [77:41 - 77:42] CompoundStmt= -// CHECK: Keyword: "return" [78:3 - 78:9] ReturnStmt= -// CHECK: Punctuation: "*" [78:10 - 78:11] UnaryOperator= -// CHECK: Identifier: "ibt" [78:11 - 78:14] DeclRefExpr=ibt:77:37 -// CHECK: Punctuation: "." [78:14 - 78:15] MemberRefExpr=aPropOutlet:54:26 -// CHECK: Identifier: "aPropOutlet" [78:15 - 78:26] MemberRefExpr=aPropOutlet:54:26 -// CHECK: Punctuation: ";" [78:26 - 78:27] CompoundStmt= +// CHECK: Punctuation: "@" [32:1 - 32:2] ObjCInterfaceDecl=IBActionTests:32:12 +// CHECK: Keyword: "interface" [32:2 - 32:11] ObjCInterfaceDecl=IBActionTests:32:12 +// CHECK: Identifier: "IBActionTests" [32:12 - 32:25] ObjCInterfaceDecl=IBActionTests:32:12 +// CHECK: Punctuation: "-" [33:1 - 33:2] ObjCInstanceMethodDecl=actionMethod::33:1 +// CHECK: Punctuation: "(" [33:3 - 33:4] ObjCInstanceMethodDecl=actionMethod::33:1 +// CHECK: Identifier: "IBAction" [33:4 - 33:12] macro expansion=IBAction +// CHECK: Punctuation: ")" [33:12 - 33:13] ObjCInstanceMethodDecl=actionMethod::33:1 +// CHECK: Identifier: "actionMethod" [33:14 - 33:26] ObjCInstanceMethodDecl=actionMethod::33:1 +// CHECK: Punctuation: ":" [33:26 - 33:27] ObjCInstanceMethodDecl=actionMethod::33:1 +// CHECK: Punctuation: "(" [33:27 - 33:28] ObjCInstanceMethodDecl=actionMethod::33:1 +// CHECK: Keyword: "in" [33:28 - 33:30] ObjCInstanceMethodDecl=actionMethod::33:1 +// CHECK: Identifier: "id" [33:31 - 33:33] TypeRef=id:0:0 +// CHECK: Punctuation: ")" [33:33 - 33:34] ParmDecl=arg:33:34 (Definition) +// CHECK: Identifier: "arg" [33:34 - 33:37] ParmDecl=arg:33:34 (Definition) +// CHECK: Punctuation: ";" [33:37 - 33:38] ObjCInstanceMethodDecl=actionMethod::33:1 +// CHECK: Punctuation: "-" [34:1 - 34:2] ObjCInstanceMethodDecl=foo::34:9 +// CHECK: Punctuation: "(" [34:3 - 34:4] ObjCInstanceMethodDecl=foo::34:9 +// CHECK: Keyword: "void" [34:4 - 34:8] ObjCInstanceMethodDecl=foo::34:9 +// CHECK: Punctuation: ")" [34:8 - 34:9] ObjCInstanceMethodDecl=foo::34:9 +// CHECK: Identifier: "foo" [34:9 - 34:12] ObjCInstanceMethodDecl=foo::34:9 +// CHECK: Punctuation: ":" [34:12 - 34:13] ObjCInstanceMethodDecl=foo::34:9 +// CHECK: Punctuation: "(" [34:13 - 34:14] ObjCInstanceMethodDecl=foo::34:9 +// CHECK: Keyword: "int" [34:14 - 34:17] ParmDecl=x:34:18 (Definition) +// CHECK: Punctuation: ")" [34:17 - 34:18] ParmDecl=x:34:18 (Definition) +// CHECK: Identifier: "x" [34:18 - 34:19] ParmDecl=x:34:18 (Definition) +// CHECK: Punctuation: ";" [34:19 - 34:20] ObjCInstanceMethodDecl=foo::34:9 +// CHECK: Punctuation: "@" [35:1 - 35:2] ObjCInterfaceDecl=IBActionTests:32:12 +// CHECK: Keyword: "end" [35:2 - 35:5] ObjCInterfaceDecl=IBActionTests:32:12 +// CHECK: Keyword: "extern" [36:1 - 36:7] +// CHECK: Keyword: "int" [36:8 - 36:11] FunctionDecl=ibaction_test:36:12 +// CHECK: Identifier: "ibaction_test" [36:12 - 36:25] FunctionDecl=ibaction_test:36:12 +// CHECK: Punctuation: "(" [36:25 - 36:26] FunctionDecl=ibaction_test:36:12 +// CHECK: Keyword: "void" [36:26 - 36:30] FunctionDecl=ibaction_test:36:12 +// CHECK: Punctuation: ")" [36:30 - 36:31] FunctionDecl=ibaction_test:36:12 +// CHECK: Punctuation: ";" [36:31 - 36:32] +// CHECK: Punctuation: "@" [37:1 - 37:2] ObjCImplementationDecl=IBActionTests:37:17 (Definition) +// CHECK: Keyword: "implementation" [37:2 - 37:16] ObjCImplementationDecl=IBActionTests:37:17 (Definition) +// CHECK: Identifier: "IBActionTests" [37:17 - 37:30] ObjCImplementationDecl=IBActionTests:37:17 (Definition) +// CHECK: Punctuation: "-" [38:1 - 38:2] ObjCInstanceMethodDecl=actionMethod::38:14 (Definition) +// CHECK: Punctuation: "(" [38:3 - 38:4] ObjCInstanceMethodDecl=actionMethod::38:14 (Definition) +// CHECK: Identifier: "IBAction" [38:4 - 38:12] macro expansion=IBAction +// CHECK: Punctuation: ")" [38:12 - 38:13] ObjCInstanceMethodDecl=actionMethod::38:14 (Definition) +// CHECK: Identifier: "actionMethod" [38:14 - 38:26] ObjCInstanceMethodDecl=actionMethod::38:14 (Definition) +// CHECK: Punctuation: ":" [38:26 - 38:27] ObjCInstanceMethodDecl=actionMethod::38:14 (Definition) +// CHECK: Keyword: "in" [38:28 - 38:30] ObjCInstanceMethodDecl=actionMethod::38:14 (Definition) +// CHECK: Identifier: "id" [38:31 - 38:33] TypeRef=id:0:0 +// CHECK: Punctuation: ")" [38:33 - 38:34] ParmDecl=arg:38:34 (Definition) +// CHECK: Identifier: "arg" [38:34 - 38:37] ParmDecl=arg:38:34 (Definition) +// CHECK: Punctuation: "{" [39:1 - 39:2] CompoundStmt= +// CHECK: Identifier: "ibaction_test" [40:5 - 40:18] DeclRefExpr=ibaction_test:36:12 +// CHECK: Punctuation: "(" [40:18 - 40:19] CallExpr=ibaction_test:36:12 +// CHECK: Punctuation: ")" [40:19 - 40:20] CallExpr=ibaction_test:36:12 +// CHECK: Punctuation: ";" [40:20 - 40:21] CompoundStmt= +// CHECK: Punctuation: "[" [41:5 - 41:6] ObjCMessageExpr=foo::34:9 +// CHECK: Identifier: "self" [41:6 - 41:10] ObjCSelfExpr=self:0:0 +// CHECK: Identifier: "foo" [41:11 - 41:14] ObjCMessageExpr=foo::34:9 +// CHECK: Punctuation: ":" [41:14 - 41:15] ObjCMessageExpr=foo::34:9 +// CHECK: Literal: "0" [41:15 - 41:16] IntegerLiteral= +// CHECK: Punctuation: "]" [41:16 - 41:17] ObjCMessageExpr=foo::34:9 +// CHECK: Punctuation: ";" [41:17 - 41:18] CompoundStmt= +// CHECK: Punctuation: "}" [42:1 - 42:2] CompoundStmt= +// CHECK: Punctuation: "-" [43:1 - 43:2] ObjCInstanceMethodDecl=foo::43:10 (Definition) +// CHECK: Punctuation: "(" [43:3 - 43:4] ObjCInstanceMethodDecl=foo::43:10 (Definition) +// CHECK: Keyword: "void" [43:4 - 43:8] ObjCInstanceMethodDecl=foo::43:10 (Definition) +// CHECK: Punctuation: ")" [43:8 - 43:9] ObjCInstanceMethodDecl=foo::43:10 (Definition) +// CHECK: Identifier: "foo" [43:10 - 43:13] ObjCInstanceMethodDecl=foo::43:10 (Definition) +// CHECK: Punctuation: ":" [43:13 - 43:14] ObjCInstanceMethodDecl=foo::43:10 (Definition) +// CHECK: Punctuation: "(" [43:14 - 43:15] ObjCInstanceMethodDecl=foo::43:10 (Definition) +// CHECK: Keyword: "int" [43:15 - 43:18] ParmDecl=x:43:19 (Definition) +// CHECK: Punctuation: ")" [43:18 - 43:19] ParmDecl=x:43:19 (Definition) +// CHECK: Identifier: "x" [43:19 - 43:20] ParmDecl=x:43:19 (Definition) +// CHECK: Punctuation: "{" [44:1 - 44:2] CompoundStmt= +// CHECK: Punctuation: "(" [45:3 - 45:4] CStyleCastExpr= +// CHECK: Keyword: "void" [45:4 - 45:8] CStyleCastExpr= +// CHECK: Punctuation: ")" [45:8 - 45:9] CStyleCastExpr= +// CHECK: Identifier: "x" [45:10 - 45:11] DeclRefExpr=x:43:19 +// CHECK: Punctuation: ";" [45:11 - 45:12] CompoundStmt= +// CHECK: Punctuation: "}" [46:1 - 46:2] CompoundStmt= +// CHECK: Punctuation: "@" [47:1 - 47:2] ObjCImplementationDecl=IBActionTests:37:17 (Definition) +// CHECK: Keyword: "end" [47:2 - 47:5] +// CHECK: Punctuation: "@" [51:1 - 51:2] ObjCInterfaceDecl=IBOutletTests:51:12 +// CHECK: Keyword: "interface" [51:2 - 51:11] ObjCInterfaceDecl=IBOutletTests:51:12 +// CHECK: Identifier: "IBOutletTests" [51:12 - 51:25] ObjCInterfaceDecl=IBOutletTests:51:12 +// CHECK: Punctuation: "{" [52:1 - 52:2] ObjCInterfaceDecl=IBOutletTests:51:12 +// CHECK: Identifier: "IBOutlet" [53:5 - 53:13] macro expansion=IBOutlet +// CHECK: Keyword: "char" [53:14 - 53:18] ObjCIvarDecl=anOutlet:53:21 (Definition) +// CHECK: Punctuation: "*" [53:19 - 53:20] ObjCIvarDecl=anOutlet:53:21 (Definition) +// CHECK: Identifier: "anOutlet" [53:21 - 53:29] ObjCIvarDecl=anOutlet:53:21 (Definition) +// CHECK: Punctuation: ";" [53:29 - 53:30] ObjCInterfaceDecl=IBOutletTests:51:12 +// CHECK: Punctuation: "}" [54:1 - 54:2] ObjCInterfaceDecl=IBOutletTests:51:12 +// CHECK: Punctuation: "-" [55:1 - 55:2] ObjCInstanceMethodDecl=actionMethod::55:1 +// CHECK: Punctuation: "(" [55:3 - 55:4] ObjCInstanceMethodDecl=actionMethod::55:1 +// CHECK: Identifier: "IBAction" [55:4 - 55:12] macro expansion=IBAction +// CHECK: Punctuation: ")" [55:12 - 55:13] ObjCInstanceMethodDecl=actionMethod::55:1 +// CHECK: Identifier: "actionMethod" [55:14 - 55:26] ObjCInstanceMethodDecl=actionMethod::55:1 +// CHECK: Punctuation: ":" [55:26 - 55:27] ObjCInstanceMethodDecl=actionMethod::55:1 +// CHECK: Punctuation: "(" [55:27 - 55:28] ObjCInstanceMethodDecl=actionMethod::55:1 +// CHECK: Identifier: "id" [55:28 - 55:30] TypeRef=id:0:0 +// CHECK: Punctuation: ")" [55:30 - 55:31] ParmDecl=arg:55:31 (Definition) +// CHECK: Identifier: "arg" [55:31 - 55:34] ParmDecl=arg:55:31 (Definition) +// CHECK: Punctuation: ";" [55:34 - 55:35] ObjCInstanceMethodDecl=actionMethod::55:1 +// CHECK: Punctuation: "@" [56:1 - 56:2] ObjCPropertyDecl=aPropOutlet:56:26 +// CHECK: Keyword: "property" [56:2 - 56:10] ObjCPropertyDecl=aPropOutlet:56:26 +// CHECK: Identifier: "IBOutlet" [56:11 - 56:19] macro expansion=IBOutlet +// CHECK: Keyword: "int" [56:20 - 56:23] ObjCPropertyDecl=aPropOutlet:56:26 +// CHECK: Punctuation: "*" [56:24 - 56:25] ObjCPropertyDecl=aPropOutlet:56:26 +// CHECK: Identifier: "aPropOutlet" [56:26 - 56:37] ObjCPropertyDecl=aPropOutlet:56:26 +// CHECK: Punctuation: ";" [56:37 - 56:38] ObjCInterfaceDecl=IBOutletTests:51:12 +// CHECK: Punctuation: "@" [57:1 - 57:2] ObjCInterfaceDecl=IBOutletTests:51:12 +// CHECK: Keyword: "end" [57:2 - 57:5] ObjCInterfaceDecl=IBOutletTests:51:12 +// CHECK: Punctuation: "#" [63:1 - 63:2] preprocessing directive= +// CHECK: Identifier: "define" [63:2 - 63:8] preprocessing directive= +// CHECK: Identifier: "VAL" [63:9 - 63:12] macro definition=VAL +// CHECK: Literal: "0" [63:13 - 63:14] macro definition=VAL +// CHECK: Punctuation: "@" [65:1 - 65:2] ObjCInterfaceDecl=R7974151:65:12 +// CHECK: Keyword: "interface" [65:2 - 65:11] ObjCInterfaceDecl=R7974151:65:12 +// CHECK: Identifier: "R7974151" [65:12 - 65:20] ObjCInterfaceDecl=R7974151:65:12 +// CHECK: Punctuation: "-" [66:1 - 66:2] ObjCInstanceMethodDecl=foo::66:9 +// CHECK: Punctuation: "(" [66:3 - 66:4] ObjCInstanceMethodDecl=foo::66:9 +// CHECK: Keyword: "int" [66:4 - 66:7] ObjCInstanceMethodDecl=foo::66:9 +// CHECK: Punctuation: ")" [66:7 - 66:8] ObjCInstanceMethodDecl=foo::66:9 +// CHECK: Identifier: "foo" [66:9 - 66:12] ObjCInstanceMethodDecl=foo::66:9 +// CHECK: Punctuation: ":" [66:12 - 66:13] ObjCInstanceMethodDecl=foo::66:9 +// CHECK: Punctuation: "(" [66:13 - 66:14] ObjCInstanceMethodDecl=foo::66:9 +// CHECK: Keyword: "int" [66:14 - 66:17] ParmDecl=arg:66:18 (Definition) +// CHECK: Punctuation: ")" [66:17 - 66:18] ParmDecl=arg:66:18 (Definition) +// CHECK: Identifier: "arg" [66:18 - 66:21] ParmDecl=arg:66:18 (Definition) +// CHECK: Punctuation: ";" [66:21 - 66:22] ObjCInstanceMethodDecl=foo::66:9 +// CHECK: Punctuation: "-" [67:1 - 67:2] ObjCInstanceMethodDecl=method:67:9 +// CHECK: Punctuation: "(" [67:3 - 67:4] ObjCInstanceMethodDecl=method:67:9 +// CHECK: Keyword: "int" [67:4 - 67:7] ObjCInstanceMethodDecl=method:67:9 +// CHECK: Punctuation: ")" [67:7 - 67:8] ObjCInstanceMethodDecl=method:67:9 +// CHECK: Identifier: "method" [67:9 - 67:15] ObjCInstanceMethodDecl=method:67:9 +// CHECK: Punctuation: ";" [67:15 - 67:16] ObjCInstanceMethodDecl=method:67:9 +// CHECK: Punctuation: "@" [68:1 - 68:2] ObjCInterfaceDecl=R7974151:65:12 +// CHECK: Keyword: "end" [68:2 - 68:5] ObjCInterfaceDecl=R7974151:65:12 +// CHECK: Punctuation: "@" [70:1 - 70:2] ObjCImplementationDecl=R7974151:70:17 (Definition) +// CHECK: Keyword: "implementation" [70:2 - 70:16] ObjCImplementationDecl=R7974151:70:17 (Definition) +// CHECK: Identifier: "R7974151" [70:17 - 70:25] ObjCImplementationDecl=R7974151:70:17 (Definition) +// CHECK: Punctuation: "-" [71:1 - 71:2] ObjCInstanceMethodDecl=foo::71:9 (Definition) +// CHECK: Punctuation: "(" [71:3 - 71:4] ObjCInstanceMethodDecl=foo::71:9 (Definition) +// CHECK: Keyword: "int" [71:4 - 71:7] ObjCInstanceMethodDecl=foo::71:9 (Definition) +// CHECK: Punctuation: ")" [71:7 - 71:8] ObjCInstanceMethodDecl=foo::71:9 (Definition) +// CHECK: Identifier: "foo" [71:9 - 71:12] ObjCInstanceMethodDecl=foo::71:9 (Definition) +// CHECK: Punctuation: ":" [71:12 - 71:13] ObjCInstanceMethodDecl=foo::71:9 (Definition) +// CHECK: Punctuation: "(" [71:13 - 71:14] ObjCInstanceMethodDecl=foo::71:9 (Definition) +// CHECK: Keyword: "int" [71:14 - 71:17] ParmDecl=arg:71:18 (Definition) +// CHECK: Punctuation: ")" [71:17 - 71:18] ParmDecl=arg:71:18 (Definition) +// CHECK: Identifier: "arg" [71:18 - 71:21] ParmDecl=arg:71:18 (Definition) +// CHECK: Punctuation: "{" [71:22 - 71:23] CompoundStmt= +// CHECK: Keyword: "return" [72:3 - 72:9] ReturnStmt= +// CHECK: Identifier: "arg" [72:10 - 72:13] DeclRefExpr=arg:71:18 +// CHECK: Punctuation: ";" [72:13 - 72:14] CompoundStmt= +// CHECK: Punctuation: "}" [73:1 - 73:2] CompoundStmt= +// CHECK: Punctuation: "-" [74:1 - 74:2] ObjCInstanceMethodDecl=method:74:9 (Definition) +// CHECK: Punctuation: "(" [74:3 - 74:4] ObjCInstanceMethodDecl=method:74:9 (Definition) +// CHECK: Keyword: "int" [74:4 - 74:7] ObjCInstanceMethodDecl=method:74:9 (Definition) +// CHECK: Punctuation: ")" [74:7 - 74:8] ObjCInstanceMethodDecl=method:74:9 (Definition) +// CHECK: Identifier: "method" [74:9 - 74:15] ObjCInstanceMethodDecl=method:74:9 (Definition) +// CHECK: Punctuation: "{" [75:1 - 75:2] CompoundStmt= +// CHECK: Keyword: "int" [76:5 - 76:8] VarDecl=local:76:9 (Definition) +// CHECK: Identifier: "local" [76:9 - 76:14] VarDecl=local:76:9 (Definition) +// CHECK: Punctuation: "=" [76:15 - 76:16] VarDecl=local:76:9 (Definition) +// CHECK: Punctuation: "[" [76:17 - 76:18] ObjCMessageExpr=foo::66:9 +// CHECK: Identifier: "self" [76:18 - 76:22] ObjCSelfExpr=self:0:0 +// CHECK: Identifier: "foo" [76:23 - 76:26] ObjCMessageExpr=foo::66:9 +// CHECK: Punctuation: ":" [76:26 - 76:27] ObjCMessageExpr=foo::66:9 +// CHECK: Identifier: "VAL" [76:27 - 76:30] macro expansion=VAL:63:9 +// CHECK: Punctuation: "]" [76:30 - 76:31] ObjCMessageExpr=foo::66:9 +// CHECK: Punctuation: ";" [76:31 - 76:32] DeclStmt= +// CHECK: Keyword: "int" [77:5 - 77:8] VarDecl=second:77:9 (Definition) +// CHECK: Identifier: "second" [77:9 - 77:15] VarDecl=second:77:9 (Definition) +// CHECK: Punctuation: "=" [77:16 - 77:17] VarDecl=second:77:9 (Definition) +// CHECK: Punctuation: "[" [77:18 - 77:19] ObjCMessageExpr=foo::66:9 +// CHECK: Identifier: "self" [77:19 - 77:23] ObjCSelfExpr=self:0:0 +// CHECK: Identifier: "foo" [77:24 - 77:27] ObjCMessageExpr=foo::66:9 +// CHECK: Punctuation: ":" [77:27 - 77:28] ObjCMessageExpr=foo::66:9 +// CHECK: Literal: "0" [77:28 - 77:29] IntegerLiteral= +// CHECK: Punctuation: "]" [77:29 - 77:30] ObjCMessageExpr=foo::66:9 +// CHECK: Punctuation: ";" [77:30 - 77:31] DeclStmt= +// CHECK: Keyword: "return" [78:5 - 78:11] ReturnStmt= +// CHECK: Identifier: "local" [78:12 - 78:17] DeclRefExpr=local:76:9 +// CHECK: Punctuation: ";" [78:17 - 78:18] CompoundStmt= // CHECK: Punctuation: "}" [79:1 - 79:2] CompoundStmt= -// CHECK: Punctuation: "@" [80:1 - 80:2] ObjCImplementationDecl=R7974151:67:17 (Definition) -// CHECK: Keyword: "end" [80:2 - 80:5] -// CHECK: Punctuation: "@" [82:1 - 82:2] ObjCProtocolDecl=Proto:82:11 (Definition) -// CHECK: Keyword: "protocol" [82:2 - 82:10] ObjCProtocolDecl=Proto:82:11 (Definition) -// CHECK: Identifier: "Proto" [82:11 - 82:16] ObjCProtocolDecl=Proto:82:11 (Definition) -// CHECK: Punctuation: "@" [82:17 - 82:18] ObjCProtocolDecl=Proto:82:11 (Definition) -// CHECK: Keyword: "end" [82:18 - 82:21] ObjCProtocolDecl=Proto:82:11 (Definition) -// CHECK: Keyword: "void" [84:1 - 84:5] FunctionDecl=f:84:6 (Definition) -// CHECK: Identifier: "f" [84:6 - 84:7] FunctionDecl=f:84:6 (Definition) -// CHECK: Punctuation: "(" [84:7 - 84:8] FunctionDecl=f:84:6 (Definition) -// CHECK: Punctuation: ")" [84:8 - 84:9] FunctionDecl=f:84:6 (Definition) -// CHECK: Punctuation: "{" [84:10 - 84:11] CompoundStmt= -// CHECK: Punctuation: "(" [85:3 - 85:4] CStyleCastExpr= -// CHECK: Keyword: "void" [85:4 - 85:8] CStyleCastExpr= -// CHECK: Punctuation: ")" [85:8 - 85:9] CStyleCastExpr= -// CHECK: Punctuation: "@" [85:9 - 85:10] ObjCProtocolExpr=Proto:82:1 -// CHECK: Keyword: "protocol" [85:10 - 85:18] ObjCProtocolExpr=Proto:82:1 -// CHECK: Punctuation: "(" [85:18 - 85:19] ObjCProtocolExpr=Proto:82:1 -// CHECK: Identifier: "Proto" [85:19 - 85:24] ObjCProtocolExpr=Proto:82:1 -// CHECK: Punctuation: ")" [85:24 - 85:25] ObjCProtocolExpr=Proto:82:1 -// CHECK: Punctuation: ";" [85:25 - 85:26] CompoundStmt= -// CHECK: Punctuation: "}" [86:1 - 86:2] CompoundStmt= -// CHECK: Punctuation: "@" [89:1 - 89:2] ObjCInterfaceDecl=Rdar8595462_A:89:8 -// CHECK: Keyword: "class" [89:2 - 89:7] ObjCInterfaceDecl=Rdar8595462_A:89:8 -// CHECK: Identifier: "Rdar8595462_A" [89:8 - 89:21] ObjCClassRef=Rdar8595462_A:89:8 -// CHECK: Punctuation: ";" [89:21 - 89:22] -// CHECK: Punctuation: "@" [90:1 - 90:2] ObjCInterfaceDecl=Rdar8595462_B:90:12 -// CHECK: Keyword: "interface" [90:2 - 90:11] ObjCInterfaceDecl=Rdar8595462_B:90:12 -// CHECK: Identifier: "Rdar8595462_B" [90:12 - 90:25] ObjCInterfaceDecl=Rdar8595462_B:90:12 -// CHECK: Punctuation: "@" [91:1 - 91:2] ObjCInterfaceDecl=Rdar8595462_B:90:12 -// CHECK: Keyword: "end" [91:2 - 91:5] ObjCInterfaceDecl=Rdar8595462_B:90:12 -// CHECK: Punctuation: "@" [93:1 - 93:2] ObjCImplementationDecl=Rdar8595462_B:93:17 (Definition) -// CHECK: Keyword: "implementation" [93:2 - 93:16] ObjCImplementationDecl=Rdar8595462_B:93:17 (Definition) -// CHECK: Identifier: "Rdar8595462_B" [93:17 - 93:30] ObjCImplementationDecl=Rdar8595462_B:93:17 (Definition) -// CHECK: Identifier: "Rdar8595462_A" [94:1 - 94:14] ObjCClassRef=Rdar8595462_A:89:8 -// CHECK: Punctuation: "*" [94:15 - 94:16] FunctionDecl=Rdar8595462_aFunction:94:17 (Definition) -// CHECK: Identifier: "Rdar8595462_aFunction" [94:17 - 94:38] FunctionDecl=Rdar8595462_aFunction:94:17 (Definition) -// CHECK: Punctuation: "(" [94:38 - 94:39] FunctionDecl=Rdar8595462_aFunction:94:17 (Definition) -// CHECK: Punctuation: ")" [94:39 - 94:40] FunctionDecl=Rdar8595462_aFunction:94:17 (Definition) -// CHECK: Punctuation: "{" [94:41 - 94:42] CompoundStmt= -// CHECK: Identifier: "Rdar8595462_A" [95:3 - 95:16] ObjCClassRef=Rdar8595462_A:89:8 -// CHECK: Punctuation: "*" [95:17 - 95:18] VarDecl=localVar:95:19 (Definition) -// CHECK: Identifier: "localVar" [95:19 - 95:27] VarDecl=localVar:95:19 (Definition) -// CHECK: Punctuation: "=" [95:28 - 95:29] VarDecl=localVar:95:19 (Definition) -// CHECK: Literal: "0" [95:30 - 95:31] IntegerLiteral= -// CHECK: Punctuation: ";" [95:31 - 95:32] DeclStmt= -// CHECK: Keyword: "return" [96:3 - 96:9] ReturnStmt= -// CHECK: Identifier: "localVar" [96:10 - 96:18] DeclRefExpr=localVar:95:19 -// CHECK: Punctuation: ";" [96:18 - 96:19] CompoundStmt= -// CHECK: Punctuation: "}" [97:1 - 97:2] CompoundStmt= -// CHECK: Keyword: "static" [98:1 - 98:7] VarDecl=Rdar8595462_staticVar:98:24 -// CHECK: Identifier: "Rdar8595462_A" [98:8 - 98:21] ObjCClassRef=Rdar8595462_A:89:8 -// CHECK: Punctuation: "*" [98:22 - 98:23] VarDecl=Rdar8595462_staticVar:98:24 -// CHECK: Identifier: "Rdar8595462_staticVar" [98:24 - 98:45] VarDecl=Rdar8595462_staticVar:98:24 -// CHECK: Punctuation: ";" [98:45 - 98:46] ObjCImplementationDecl=Rdar8595462_B:93:17 (Definition) -// CHECK: Punctuation: "@" [99:1 - 99:2] ObjCImplementationDecl=Rdar8595462_B:93:17 (Definition) -// CHECK: Keyword: "end" [99:2 - 99:5] +// CHECK: Punctuation: "-" [80:1 - 80:2] ObjCInstanceMethodDecl=othermethod::80:8 (Definition) +// CHECK: Punctuation: "(" [80:3 - 80:4] ObjCInstanceMethodDecl=othermethod::80:8 (Definition) +// CHECK: Keyword: "int" [80:4 - 80:7] ObjCInstanceMethodDecl=othermethod::80:8 (Definition) +// CHECK: Punctuation: ")" [80:7 - 80:8] ObjCInstanceMethodDecl=othermethod::80:8 (Definition) +// CHECK: Identifier: "othermethod" [80:8 - 80:19] ObjCInstanceMethodDecl=othermethod::80:8 (Definition) +// CHECK: Punctuation: ":" [80:19 - 80:20] ObjCInstanceMethodDecl=othermethod::80:8 (Definition) +// CHECK: Punctuation: "(" [80:20 - 80:21] ObjCInstanceMethodDecl=othermethod::80:8 (Definition) +// CHECK: Identifier: "IBOutletTests" [80:21 - 80:34] ObjCClassRef=IBOutletTests:51:12 +// CHECK: Punctuation: "*" [80:35 - 80:36] ParmDecl=ibt:80:37 (Definition) +// CHECK: Punctuation: ")" [80:36 - 80:37] ParmDecl=ibt:80:37 (Definition) +// CHECK: Identifier: "ibt" [80:37 - 80:40] ParmDecl=ibt:80:37 (Definition) +// CHECK: Punctuation: "{" [80:41 - 80:42] CompoundStmt= +// CHECK: Keyword: "return" [81:3 - 81:9] ReturnStmt= +// CHECK: Punctuation: "*" [81:10 - 81:11] UnaryOperator= +// CHECK: Identifier: "ibt" [81:11 - 81:14] DeclRefExpr=ibt:80:37 +// CHECK: Punctuation: "." [81:14 - 81:15] MemberRefExpr=aPropOutlet:56:26 +// CHECK: Identifier: "aPropOutlet" [81:15 - 81:26] MemberRefExpr=aPropOutlet:56:26 +// CHECK: Punctuation: ";" [81:26 - 81:27] CompoundStmt= +// CHECK: Punctuation: "}" [82:1 - 82:2] CompoundStmt= +// CHECK: Punctuation: "@" [83:1 - 83:2] ObjCImplementationDecl=R7974151:70:17 (Definition) +// CHECK: Keyword: "end" [83:2 - 83:5] +// CHECK: Punctuation: "@" [85:1 - 85:2] ObjCProtocolDecl=Proto:85:11 (Definition) +// CHECK: Keyword: "protocol" [85:2 - 85:10] ObjCProtocolDecl=Proto:85:11 (Definition) +// CHECK: Identifier: "Proto" [85:11 - 85:16] ObjCProtocolDecl=Proto:85:11 (Definition) +// CHECK: Punctuation: "@" [85:17 - 85:18] ObjCProtocolDecl=Proto:85:11 (Definition) +// CHECK: Keyword: "end" [85:18 - 85:21] ObjCProtocolDecl=Proto:85:11 (Definition) +// CHECK: Keyword: "void" [87:1 - 87:5] FunctionDecl=f:87:6 (Definition) +// CHECK: Identifier: "f" [87:6 - 87:7] FunctionDecl=f:87:6 (Definition) +// CHECK: Punctuation: "(" [87:7 - 87:8] FunctionDecl=f:87:6 (Definition) +// CHECK: Punctuation: ")" [87:8 - 87:9] FunctionDecl=f:87:6 (Definition) +// CHECK: Punctuation: "{" [87:10 - 87:11] CompoundStmt= +// CHECK: Punctuation: "(" [88:3 - 88:4] CStyleCastExpr= +// CHECK: Keyword: "void" [88:4 - 88:8] CStyleCastExpr= +// CHECK: Punctuation: ")" [88:8 - 88:9] CStyleCastExpr= +// CHECK: Punctuation: "@" [88:9 - 88:10] ObjCProtocolExpr=Proto:85:1 +// CHECK: Keyword: "protocol" [88:10 - 88:18] ObjCProtocolExpr=Proto:85:1 +// CHECK: Punctuation: "(" [88:18 - 88:19] ObjCProtocolExpr=Proto:85:1 +// CHECK: Identifier: "Proto" [88:19 - 88:24] ObjCProtocolExpr=Proto:85:1 +// CHECK: Punctuation: ")" [88:24 - 88:25] ObjCProtocolExpr=Proto:85:1 +// CHECK: Punctuation: ";" [88:25 - 88:26] CompoundStmt= +// CHECK: Punctuation: "}" [89:1 - 89:2] CompoundStmt= +// CHECK: Punctuation: "@" [93:1 - 93:2] ObjCInterfaceDecl=Rdar8595462_A:93:8 +// CHECK: Keyword: "class" [93:2 - 93:7] ObjCInterfaceDecl=Rdar8595462_A:93:8 +// CHECK: Identifier: "Rdar8595462_A" [93:8 - 93:21] ObjCClassRef=Rdar8595462_A:93:8 +// CHECK: Punctuation: ";" [93:21 - 93:22] +// CHECK: Punctuation: "@" [94:1 - 94:2] ObjCInterfaceDecl=Rdar8595462_B:94:12 +// CHECK: Keyword: "interface" [94:2 - 94:11] ObjCInterfaceDecl=Rdar8595462_B:94:12 +// CHECK: Identifier: "Rdar8595462_B" [94:12 - 94:25] ObjCInterfaceDecl=Rdar8595462_B:94:12 +// CHECK: Punctuation: "@" [95:1 - 95:2] ObjCInterfaceDecl=Rdar8595462_B:94:12 +// CHECK: Keyword: "end" [95:2 - 95:5] ObjCInterfaceDecl=Rdar8595462_B:94:12 +// CHECK: Punctuation: "@" [97:1 - 97:2] ObjCImplementationDecl=Rdar8595462_B:97:17 (Definition) +// CHECK: Keyword: "implementation" [97:2 - 97:16] ObjCImplementationDecl=Rdar8595462_B:97:17 (Definition) +// CHECK: Identifier: "Rdar8595462_B" [97:17 - 97:30] ObjCImplementationDecl=Rdar8595462_B:97:17 (Definition) +// CHECK: Identifier: "Rdar8595462_A" [98:1 - 98:14] ObjCClassRef=Rdar8595462_A:93:8 +// CHECK: Punctuation: "*" [98:15 - 98:16] FunctionDecl=Rdar8595462_aFunction:98:17 (Definition) +// CHECK: Identifier: "Rdar8595462_aFunction" [98:17 - 98:38] FunctionDecl=Rdar8595462_aFunction:98:17 (Definition) +// CHECK: Punctuation: "(" [98:38 - 98:39] FunctionDecl=Rdar8595462_aFunction:98:17 (Definition) +// CHECK: Punctuation: ")" [98:39 - 98:40] FunctionDecl=Rdar8595462_aFunction:98:17 (Definition) +// CHECK: Punctuation: "{" [98:41 - 98:42] CompoundStmt= +// CHECK: Identifier: "Rdar8595462_A" [99:3 - 99:16] ObjCClassRef=Rdar8595462_A:93:8 +// CHECK: Punctuation: "*" [99:17 - 99:18] VarDecl=localVar:99:19 (Definition) +// CHECK: Identifier: "localVar" [99:19 - 99:27] VarDecl=localVar:99:19 (Definition) +// CHECK: Punctuation: "=" [99:28 - 99:29] VarDecl=localVar:99:19 (Definition) +// CHECK: Literal: "0" [99:30 - 99:31] IntegerLiteral= +// CHECK: Punctuation: ";" [99:31 - 99:32] DeclStmt= +// CHECK: Keyword: "return" [100:3 - 100:9] ReturnStmt= +// CHECK: Identifier: "localVar" [100:10 - 100:18] DeclRefExpr=localVar:99:19 +// CHECK: Punctuation: ";" [100:18 - 100:19] CompoundStmt= +// CHECK: Punctuation: "}" [101:1 - 101:2] CompoundStmt= +// CHECK: Keyword: "static" [102:1 - 102:7] VarDecl=Rdar8595462_staticVar:102:24 +// CHECK: Identifier: "Rdar8595462_A" [102:8 - 102:21] ObjCClassRef=Rdar8595462_A:93:8 +// CHECK: Punctuation: "*" [102:22 - 102:23] VarDecl=Rdar8595462_staticVar:102:24 +// CHECK: Identifier: "Rdar8595462_staticVar" [102:24 - 102:45] VarDecl=Rdar8595462_staticVar:102:24 +// CHECK: Punctuation: ";" [102:45 - 102:46] ObjCImplementationDecl=Rdar8595462_B:97:17 (Definition) +// CHECK: Punctuation: "@" [103:1 - 103:2] ObjCImplementationDecl=Rdar8595462_B:97:17 (Definition) +// CHECK: Keyword: "end" [103:2 - 103:5] -// CHECK: Punctuation: "@" [106:1 - 106:2] ObjCPropertyDecl=foo:106:33 -// CHECK: Keyword: "property" [106:2 - 106:10] ObjCPropertyDecl=foo:106:33 -// CHECK: Punctuation: "(" [106:11 - 106:12] ObjCPropertyDecl=foo:106:33 -// CHECK: Keyword: "readonly" [106:12 - 106:20] ObjCPropertyDecl=foo:106:33 -// CHECK: Punctuation: "," [106:20 - 106:21] ObjCPropertyDecl=foo:106:33 -// CHECK: Keyword: "copy" [106:22 - 106:26] ObjCPropertyDecl=foo:106:33 -// CHECK: Punctuation: ")" [106:26 - 106:27] ObjCPropertyDecl=foo:106:33 -// CHECK: Identifier: "Foo" [106:28 - 106:31] ObjCClassRef=Foo:1:12 -// CHECK: Punctuation: "*" [106:32 - 106:33] ObjCPropertyDecl=foo:106:33 -// CHECK: Identifier: "foo" [106:33 - 106:36] ObjCPropertyDecl=foo:106:33 -// CHECK: Keyword: "property" [107:2 - 107:10] ObjCPropertyDecl=foo2:107:27 -// CHECK: Punctuation: "(" [107:11 - 107:12] ObjCPropertyDecl=foo2:107:27 -// CHECK: Keyword: "readonly" [107:12 - 107:20] ObjCPropertyDecl=foo2:107:27 -// CHECK: Punctuation: ")" [107:20 - 107:21] ObjCPropertyDecl=foo2:107:27 -// CHECK: Identifier: "Foo" [107:22 - 107:25] ObjCClassRef=Foo:1:12 -// CHECK: Punctuation: "*" [107:26 - 107:27] ObjCPropertyDecl=foo2:107:27 -// CHECK: Identifier: "foo2" [107:27 - 107:31] ObjCPropertyDecl=foo2:107:27 +// CHECK: Punctuation: "@" [110:1 - 110:2] ObjCPropertyDecl=foo:110:33 +// CHECK: Keyword: "property" [110:2 - 110:10] ObjCPropertyDecl=foo:110:33 +// CHECK: Punctuation: "(" [110:11 - 110:12] ObjCPropertyDecl=foo:110:33 +// CHECK: Keyword: "readonly" [110:12 - 110:20] ObjCPropertyDecl=foo:110:33 +// CHECK: Punctuation: "," [110:20 - 110:21] ObjCPropertyDecl=foo:110:33 +// CHECK: Keyword: "copy" [110:22 - 110:26] ObjCPropertyDecl=foo:110:33 +// CHECK: Punctuation: ")" [110:26 - 110:27] ObjCPropertyDecl=foo:110:33 +// CHECK: Identifier: "Foo" [110:28 - 110:31] ObjCClassRef=Foo:1:12 +// CHECK: Punctuation: "*" [110:32 - 110:33] ObjCPropertyDecl=foo:110:33 +// CHECK: Identifier: "foo" [110:33 - 110:36] ObjCPropertyDecl=foo:110:33 +// CHECK: Keyword: "property" [111:2 - 111:10] ObjCPropertyDecl=foo2:111:27 +// CHECK: Punctuation: "(" [111:11 - 111:12] ObjCPropertyDecl=foo2:111:27 +// CHECK: Keyword: "readonly" [111:12 - 111:20] ObjCPropertyDecl=foo2:111:27 +// CHECK: Punctuation: ")" [111:20 - 111:21] ObjCPropertyDecl=foo2:111:27 +// CHECK: Identifier: "Foo" [111:22 - 111:25] ObjCClassRef=Foo:1:12 +// CHECK: Punctuation: "*" [111:26 - 111:27] ObjCPropertyDecl=foo2:111:27 +// CHECK: Identifier: "foo2" [111:27 - 111:31] ObjCPropertyDecl=foo2:111:27 -// CHECK: Punctuation: "@" [111:1 - 111:2] ObjCSynthesizeDecl=foo:106:33 (Definition) -// CHECK: Keyword: "synthesize" [111:2 - 111:12] ObjCSynthesizeDecl=foo:106:33 (Definition) -// CHECK: Identifier: "foo" [111:13 - 111:16] ObjCSynthesizeDecl=foo:106:33 (Definition) -// CHECK: Punctuation: "=" [111:17 - 111:18] ObjCSynthesizeDecl=foo:106:33 (Definition) -// CHECK: Identifier: "_foo" [111:19 - 111:23] MemberRef=_foo:103:8 -// CHECK: Punctuation: ";" [111:23 - 111:24] ObjCImplementationDecl=Rdar8595386:110:17 (Definition) +// CHECK: Punctuation: "@" [115:1 - 115:2] ObjCSynthesizeDecl=foo:110:33 (Definition) +// CHECK: Keyword: "synthesize" [115:2 - 115:12] ObjCSynthesizeDecl=foo:110:33 (Definition) +// CHECK: Identifier: "foo" [115:13 - 115:16] ObjCSynthesizeDecl=foo:110:33 (Definition) +// CHECK: Punctuation: "=" [115:17 - 115:18] ObjCSynthesizeDecl=foo:110:33 (Definition) +// CHECK: Identifier: "_foo" [115:19 - 115:23] MemberRef=_foo:107:8 +// CHECK: Punctuation: ";" [115:23 - 115:24] ObjCImplementationDecl=Rdar8595386:114:17 (Definition) -// RUN: c-index-test -test-annotate-tokens=%s:123:1:126:1 %s -DIBOutlet='__attribute__((iboutlet))' -DIBAction='void)__attribute__((ibaction)' | FileCheck -check-prefix=CHECK-INSIDE_BLOCK %s -// CHECK-INSIDE_BLOCK: Keyword: "int" [123:5 - 123:8] VarDecl=result:123:9 (Definition) -// CHECK-INSIDE_BLOCK: Identifier: "result" [123:9 - 123:15] VarDecl=result:123:9 (Definition) -// CHECK-INSIDE_BLOCK: Punctuation: "=" [123:16 - 123:17] VarDecl=result:123:9 (Definition) -// CHECK-INSIDE_BLOCK: Punctuation: "[" [123:18 - 123:19] ObjCMessageExpr=blah::120:8 -// CHECK-INSIDE_BLOCK: Identifier: "self" [123:19 - 123:23] ObjCSelfExpr=self:0:0 -// CHECK-INSIDE_BLOCK: Identifier: "blah" [123:24 - 123:28] ObjCMessageExpr=blah::120:8 -// CHECK-INSIDE_BLOCK: Punctuation: ":" [123:28 - 123:29] ObjCMessageExpr=blah::120:8 -// CHECK-INSIDE_BLOCK: Literal: "5" [123:29 - 123:30] IntegerLiteral= -// CHECK-INSIDE_BLOCK: Punctuation: "," [123:30 - 123:31] ObjCMessageExpr=blah::120:8 -// CHECK-INSIDE_BLOCK: Identifier: "x" [123:32 - 123:33] DeclRefExpr=x:121:19 -// CHECK-INSIDE_BLOCK: Punctuation: "]" [123:33 - 123:34] ObjCMessageExpr=blah::120:8 -// CHECK-INSIDE_BLOCK: Punctuation: ";" [123:34 - 123:35] DeclStmt= -// CHECK-INSIDE_BLOCK: Identifier: "Rdar8778404" [124:5 - 124:16] ObjCClassRef=Rdar8778404:116:12 -// CHECK-INSIDE_BLOCK: Punctuation: "*" [124:17 - 124:18] VarDecl=a:124:18 (Definition) -// CHECK-INSIDE_BLOCK: Identifier: "a" [124:18 - 124:19] VarDecl=a:124:18 (Definition) -// CHECK-INSIDE_BLOCK: Punctuation: "=" [124:20 - 124:21] VarDecl=a:124:18 (Definition) -// CHECK-INSIDE_BLOCK: Identifier: "self" [124:22 - 124:26] ObjCSelfExpr=self:0:0 +// RUN: c-index-test -test-annotate-tokens=%s:127:1:130:1 %s -DIBOutlet='__attribute__((iboutlet))' -DIBAction='void)__attribute__((ibaction)' | FileCheck -check-prefix=CHECK-INSIDE_BLOCK %s +// CHECK-INSIDE_BLOCK: Keyword: "int" [127:5 - 127:8] VarDecl=result:127:9 (Definition) +// CHECK-INSIDE_BLOCK: Identifier: "result" [127:9 - 127:15] VarDecl=result:127:9 (Definition) +// CHECK-INSIDE_BLOCK: Punctuation: "=" [127:16 - 127:17] VarDecl=result:127:9 (Definition) +// CHECK-INSIDE_BLOCK: Punctuation: "[" [127:18 - 127:19] ObjCMessageExpr=blah::124:8 +// CHECK-INSIDE_BLOCK: Identifier: "self" [127:19 - 127:23] ObjCSelfExpr=self:0:0 +// CHECK-INSIDE_BLOCK: Identifier: "blah" [127:24 - 127:28] ObjCMessageExpr=blah::124:8 +// CHECK-INSIDE_BLOCK: Punctuation: ":" [127:28 - 127:29] ObjCMessageExpr=blah::124:8 +// CHECK-INSIDE_BLOCK: Literal: "5" [127:29 - 127:30] IntegerLiteral= +// CHECK-INSIDE_BLOCK: Punctuation: "," [127:30 - 127:31] ObjCMessageExpr=blah::124:8 +// CHECK-INSIDE_BLOCK: Identifier: "x" [127:32 - 127:33] DeclRefExpr=x:125:19 +// CHECK-INSIDE_BLOCK: Punctuation: "]" [127:33 - 127:34] ObjCMessageExpr=blah::124:8 +// CHECK-INSIDE_BLOCK: Punctuation: ";" [127:34 - 127:35] DeclStmt= +// CHECK-INSIDE_BLOCK: Identifier: "Rdar8778404" [128:5 - 128:16] ObjCClassRef=Rdar8778404:120:12 +// CHECK-INSIDE_BLOCK: Punctuation: "*" [128:17 - 128:18] VarDecl=a:128:18 (Definition) +// CHECK-INSIDE_BLOCK: Identifier: "a" [128:18 - 128:19] VarDecl=a:128:18 (Definition) +// CHECK-INSIDE_BLOCK: Punctuation: "=" [128:20 - 128:21] VarDecl=a:128:18 (Definition) +// CHECK-INSIDE_BLOCK: Identifier: "self" [128:22 - 128:26] ObjCSelfExpr=self:0:0 -// RUN: c-index-test -test-annotate-tokens=%s:130:1:134:1 %s -DIBOutlet='__attribute__((iboutlet))' -DIBAction='void)__attribute__((ibaction)' | FileCheck -check-prefix=CHECK-PROP-AFTER-METHOD %s -// CHECK-PROP-AFTER-METHOD: Punctuation: "@" [130:1 - 130:2] ObjCInterfaceDecl=Rdar8062781:130:12 -// CHECK-PROP-AFTER-METHOD: Keyword: "interface" [130:2 - 130:11] ObjCInterfaceDecl=Rdar8062781:130:12 -// CHECK-PROP-AFTER-METHOD: Identifier: "Rdar8062781" [130:12 - 130:23] ObjCInterfaceDecl=Rdar8062781:130:12 -// CHECK-PROP-AFTER-METHOD: Punctuation: "+" [131:1 - 131:2] ObjCClassMethodDecl=getB:131:9 -// CHECK-PROP-AFTER-METHOD: Punctuation: "(" [131:3 - 131:4] ObjCClassMethodDecl=getB:131:9 -// CHECK-PROP-AFTER-METHOD: Identifier: "Foo" [131:4 - 131:7] ObjCClassRef=Foo:1:12 -// CHECK-PROP-AFTER-METHOD: Punctuation: "*" [131:7 - 131:8] ObjCClassMethodDecl=getB:131:9 -// CHECK-PROP-AFTER-METHOD: Punctuation: ")" [131:8 - 131:9] ObjCClassMethodDecl=getB:131:9 -// CHECK-PROP-AFTER-METHOD: Identifier: "getB" [131:9 - 131:13] ObjCClassMethodDecl=getB:131:9 -// CHECK-PROP-AFTER-METHOD: Punctuation: ";" [131:13 - 131:14] ObjCClassMethodDecl=getB:131:9 -// CHECK-PROP-AFTER-METHOD: Punctuation: "@" [132:1 - 132:2] ObjCPropertyDecl=blah:132:38 -// CHECK-PROP-AFTER-METHOD: Keyword: "property" [132:2 - 132:10] ObjCPropertyDecl=blah:132:38 -// CHECK-PROP-AFTER-METHOD: Punctuation: "(" [132:11 - 132:12] ObjCPropertyDecl=blah:132:38 -// CHECK-PROP-AFTER-METHOD: Keyword: "readonly" [132:12 - 132:20] ObjCPropertyDecl=blah:132:38 -// CHECK-PROP-AFTER-METHOD: Punctuation: "," [132:20 - 132:21] ObjCPropertyDecl=blah:132:38 -// CHECK-PROP-AFTER-METHOD: Keyword: "nonatomic" [132:22 - 132:31] ObjCPropertyDecl=blah:132:38 -// CHECK-PROP-AFTER-METHOD: Punctuation: ")" [132:31 - 132:32] ObjCPropertyDecl=blah:132:38 -// CHECK-PROP-AFTER-METHOD: Identifier: "Foo" [132:33 - 132:36] ObjCClassRef=Foo:1:12 -// CHECK-PROP-AFTER-METHOD: Punctuation: "*" [132:37 - 132:38] ObjCPropertyDecl=blah:132:38 -// CHECK-PROP-AFTER-METHOD: Identifier: "blah" [132:38 - 132:42] ObjCPropertyDecl=blah:132:38 -// CHECK-PROP-AFTER-METHOD: Punctuation: ";" [132:42 - 132:43] ObjCInterfaceDecl=Rdar8062781:130:12 -// CHECK-PROP-AFTER-METHOD: Punctuation: "@" [133:1 - 133:2] ObjCPropertyDecl=abah:133:35 -// CHECK-PROP-AFTER-METHOD: Keyword: "property" [133:2 - 133:10] ObjCPropertyDecl=abah:133:35 -// CHECK-PROP-AFTER-METHOD: Punctuation: "(" [133:11 - 133:12] ObjCPropertyDecl=abah:133:35 -// CHECK-PROP-AFTER-METHOD: Keyword: "readonly" [133:12 - 133:20] ObjCPropertyDecl=abah:133:35 -// CHECK-PROP-AFTER-METHOD: Punctuation: "," [133:20 - 133:21] ObjCPropertyDecl=abah:133:35 -// CHECK-PROP-AFTER-METHOD: Keyword: "atomic" [133:22 - 133:28] ObjCPropertyDecl=abah:133:35 -// CHECK-PROP-AFTER-METHOD: Punctuation: ")" [133:28 - 133:29] ObjCPropertyDecl=abah:133:35 -// CHECK-PROP-AFTER-METHOD: Identifier: "Foo" [133:30 - 133:33] ObjCClassRef=Foo:1:12 -// CHECK-PROP-AFTER-METHOD: Punctuation: "*" [133:34 - 133:35] ObjCPropertyDecl=abah:133:35 -// CHECK-PROP-AFTER-METHOD: Identifier: "abah" [133:35 - 133:39] ObjCPropertyDecl=abah:133:35 -// CHECK-PROP-AFTER-METHOD: Punctuation: ";" [133:39 - 133:40] ObjCInterfaceDecl=Rdar8062781:130:12 -// CHECK-PROP-AFTER-METHOD: Punctuation: "@" [134:1 - 134:2] ObjCInterfaceDecl=Rdar8062781:130:12 +// RUN: c-index-test -test-annotate-tokens=%s:134:1:138:1 %s -DIBOutlet='__attribute__((iboutlet))' -DIBAction='void)__attribute__((ibaction)' | FileCheck -check-prefix=CHECK-PROP-AFTER-METHOD %s +// CHECK-PROP-AFTER-METHOD: Punctuation: "@" [134:1 - 134:2] ObjCInterfaceDecl=Rdar8062781:134:12 +// CHECK-PROP-AFTER-METHOD: Keyword: "interface" [134:2 - 134:11] ObjCInterfaceDecl=Rdar8062781:134:12 +// CHECK-PROP-AFTER-METHOD: Identifier: "Rdar8062781" [134:12 - 134:23] ObjCInterfaceDecl=Rdar8062781:134:12 +// CHECK-PROP-AFTER-METHOD: Punctuation: "+" [135:1 - 135:2] ObjCClassMethodDecl=getB:135:9 +// CHECK-PROP-AFTER-METHOD: Punctuation: "(" [135:3 - 135:4] ObjCClassMethodDecl=getB:135:9 +// CHECK-PROP-AFTER-METHOD: Identifier: "Foo" [135:4 - 135:7] ObjCClassRef=Foo:1:12 +// CHECK-PROP-AFTER-METHOD: Punctuation: "*" [135:7 - 135:8] ObjCClassMethodDecl=getB:135:9 +// CHECK-PROP-AFTER-METHOD: Punctuation: ")" [135:8 - 135:9] ObjCClassMethodDecl=getB:135:9 +// CHECK-PROP-AFTER-METHOD: Identifier: "getB" [135:9 - 135:13] ObjCClassMethodDecl=getB:135:9 +// CHECK-PROP-AFTER-METHOD: Punctuation: ";" [135:13 - 135:14] ObjCClassMethodDecl=getB:135:9 +// CHECK-PROP-AFTER-METHOD: Punctuation: "@" [136:1 - 136:2] ObjCPropertyDecl=blah:136:38 +// CHECK-PROP-AFTER-METHOD: Keyword: "property" [136:2 - 136:10] ObjCPropertyDecl=blah:136:38 +// CHECK-PROP-AFTER-METHOD: Punctuation: "(" [136:11 - 136:12] ObjCPropertyDecl=blah:136:38 +// CHECK-PROP-AFTER-METHOD: Keyword: "readonly" [136:12 - 136:20] ObjCPropertyDecl=blah:136:38 +// CHECK-PROP-AFTER-METHOD: Punctuation: "," [136:20 - 136:21] ObjCPropertyDecl=blah:136:38 +// CHECK-PROP-AFTER-METHOD: Keyword: "nonatomic" [136:22 - 136:31] ObjCPropertyDecl=blah:136:38 +// CHECK-PROP-AFTER-METHOD: Punctuation: ")" [136:31 - 136:32] ObjCPropertyDecl=blah:136:38 +// CHECK-PROP-AFTER-METHOD: Identifier: "Foo" [136:33 - 136:36] ObjCClassRef=Foo:1:12 +// CHECK-PROP-AFTER-METHOD: Punctuation: "*" [136:37 - 136:38] ObjCPropertyDecl=blah:136:38 +// CHECK-PROP-AFTER-METHOD: Identifier: "blah" [136:38 - 136:42] ObjCPropertyDecl=blah:136:38 +// CHECK-PROP-AFTER-METHOD: Punctuation: ";" [136:42 - 136:43] ObjCInterfaceDecl=Rdar8062781:134:12 +// CHECK-PROP-AFTER-METHOD: Punctuation: "@" [137:1 - 137:2] ObjCPropertyDecl=abah:137:35 +// CHECK-PROP-AFTER-METHOD: Keyword: "property" [137:2 - 137:10] ObjCPropertyDecl=abah:137:35 +// CHECK-PROP-AFTER-METHOD: Punctuation: "(" [137:11 - 137:12] ObjCPropertyDecl=abah:137:35 +// CHECK-PROP-AFTER-METHOD: Keyword: "readonly" [137:12 - 137:20] ObjCPropertyDecl=abah:137:35 +// CHECK-PROP-AFTER-METHOD: Punctuation: "," [137:20 - 137:21] ObjCPropertyDecl=abah:137:35 +// CHECK-PROP-AFTER-METHOD: Keyword: "atomic" [137:22 - 137:28] ObjCPropertyDecl=abah:137:35 +// CHECK-PROP-AFTER-METHOD: Punctuation: ")" [137:28 - 137:29] ObjCPropertyDecl=abah:137:35 +// CHECK-PROP-AFTER-METHOD: Identifier: "Foo" [137:30 - 137:33] ObjCClassRef=Foo:1:12 +// CHECK-PROP-AFTER-METHOD: Punctuation: "*" [137:34 - 137:35] ObjCPropertyDecl=abah:137:35 +// CHECK-PROP-AFTER-METHOD: Identifier: "abah" [137:35 - 137:39] ObjCPropertyDecl=abah:137:35 +// CHECK-PROP-AFTER-METHOD: Punctuation: ";" [137:39 - 137:40] ObjCInterfaceDecl=Rdar8062781:134:12 +// CHECK-PROP-AFTER-METHOD: Punctuation: "@" [138:1 - 138:2] ObjCInterfaceDecl=Rdar8062781:134:12 -// RUN: c-index-test -test-annotate-tokens=%s:137:1:138:1 %s -DIBOutlet='__attribute__((iboutlet))' -DIBAction='void)__attribute__((ibaction)' -target x86_64-apple-macosx10.7.0 | FileCheck -check-prefix=CHECK-WITH-WEAK %s -// CHECK-WITH-WEAK: Identifier: "__weak" [137:3 - 137:9] macro expansion -// CHECK-WITH-WEAK: Identifier: "Foo" [137:10 - 137:13] ObjCClassRef=Foo:1:12 -// CHECK-WITH-WEAK: Punctuation: "*" [137:14 - 137:15] ObjCIvarDecl=foo:137:15 (Definition) -// CHECK-WITH-WEAK: Identifier: "foo" [137:15 - 137:18] ObjCIvarDecl=foo:137:15 (Definition) -// CHECK-WITH-WEAK: Punctuation: ";" [137:18 - 137:19] ObjCInterfaceDecl=rdar9535717:136:12 -// CHECK-WITH-WEAK: Punctuation: "}" [138:1 - 138:2] ObjCInterfaceDecl=rdar9535717:136:12 +// RUN: c-index-test -test-annotate-tokens=%s:141:1:142:1 %s -DIBOutlet='__attribute__((iboutlet))' -DIBAction='void)__attribute__((ibaction)' -target x86_64-apple-macosx10.7.0 | FileCheck -check-prefix=CHECK-WITH-WEAK %s +// CHECK-WITH-WEAK: Identifier: "__weak" [141:3 - 141:9] macro expansion +// CHECK-WITH-WEAK: Identifier: "Foo" [141:10 - 141:13] ObjCClassRef=Foo:1:12 +// CHECK-WITH-WEAK: Punctuation: "*" [141:14 - 141:15] ObjCIvarDecl=foo:141:15 (Definition) +// CHECK-WITH-WEAK: Identifier: "foo" [141:15 - 141:18] ObjCIvarDecl=foo:141:15 (Definition) +// CHECK-WITH-WEAK: Punctuation: ";" [141:18 - 141:19] ObjCInterfaceDecl=rdar9535717:140:12 +// CHECK-WITH-WEAK: Punctuation: "}" [142:1 - 142:2] ObjCInterfaceDecl=rdar9535717:140:12 -// RUN: c-index-test -test-annotate-tokens=%s:141:1:149:1 %s -DIBOutlet='__attribute__((iboutlet))' -DIBAction='void)__attribute__((ibaction)' -target x86_64-apple-macosx10.7.0 | FileCheck -check-prefix=CHECK-PROP %s -// CHECK-PROP: Keyword: "property" [142:4 - 142:12] ObjCPropertyDecl=classProperty:142:17 -// CHECK-PROP: Keyword: "int" [142:13 - 142:16] ObjCPropertyDecl=classProperty:142:17 -// CHECK-PROP: Identifier: "classProperty" [142:17 - 142:30] ObjCPropertyDecl=classProperty:142:17 -// CHECK-PROP: Keyword: "property" [145:4 - 145:12] ObjCPropertyDecl=categoryProperty:145:17 -// CHECK-PROP: Keyword: "int" [145:13 - 145:16] ObjCPropertyDecl=categoryProperty:145:17 -// CHECK-PROP: Identifier: "categoryProperty" [145:17 - 145:33] ObjCPropertyDecl=categoryProperty:145:17 -// CHECK-PROP: Keyword: "property" [148:4 - 148:12] ObjCPropertyDecl=extensionProperty:148:17 -// CHECK-PROP: Keyword: "int" [148:13 - 148:16] ObjCPropertyDecl=extensionProperty:148:17 -// CHECK-PROP: Identifier: "extensionProperty" [148:17 - 148:34] ObjCPropertyDecl=extensionProperty:148:17 +// RUN: c-index-test -test-annotate-tokens=%s:145:1:153:1 %s -DIBOutlet='__attribute__((iboutlet))' -DIBAction='void)__attribute__((ibaction)' -target x86_64-apple-macosx10.7.0 | FileCheck -check-prefix=CHECK-PROP %s +// CHECK-PROP: Keyword: "property" [146:4 - 146:12] ObjCPropertyDecl=classProperty:146:17 +// CHECK-PROP: Keyword: "int" [146:13 - 146:16] ObjCPropertyDecl=classProperty:146:17 +// CHECK-PROP: Identifier: "classProperty" [146:17 - 146:30] ObjCPropertyDecl=classProperty:146:17 +// CHECK-PROP: Keyword: "property" [149:4 - 149:12] ObjCPropertyDecl=categoryProperty:149:17 +// CHECK-PROP: Keyword: "int" [149:13 - 149:16] ObjCPropertyDecl=categoryProperty:149:17 +// CHECK-PROP: Identifier: "categoryProperty" [149:17 - 149:33] ObjCPropertyDecl=categoryProperty:149:17 +// CHECK-PROP: Keyword: "property" [152:4 - 152:12] ObjCPropertyDecl=extensionProperty:152:17 +// CHECK-PROP: Keyword: "int" [152:13 - 152:16] ObjCPropertyDecl=extensionProperty:152:17 +// CHECK-PROP: Identifier: "extensionProperty" [152:17 - 152:34] ObjCPropertyDecl=extensionProperty:152:17 -// RUN: c-index-test -test-annotate-tokens=%s:151:1:152:1 %s -DIBOutlet='__attribute__((iboutlet))' -DIBAction='void)__attribute__((ibaction)' -target x86_64-apple-macosx10.7.0 | FileCheck -check-prefix=CHECK-ID-PROTO %s -// CHECK-ID-PROTO: Identifier: "id" [151:9 - 151:11] TypeRef=id:0:0 -// CHECK-ID-PROTO: Punctuation: "<" [151:11 - 151:12] TypedefDecl=proto_ptr:151:20 (Definition) -// CHECK-ID-PROTO: Identifier: "Proto" [151:12 - 151:17] ObjCProtocolRef=Proto -// CHECK-ID-PROTO: Punctuation: ">" [151:17 - 151:18] TypedefDecl=proto_ptr:151:20 (Definition) +// RUN: c-index-test -test-annotate-tokens=%s:155:1:156:1 %s -DIBOutlet='__attribute__((iboutlet))' -DIBAction='void)__attribute__((ibaction)' -target x86_64-apple-macosx10.7.0 | FileCheck -check-prefix=CHECK-ID-PROTO %s +// CHECK-ID-PROTO: Identifier: "id" [155:9 - 155:11] TypeRef=id:0:0 +// CHECK-ID-PROTO: Punctuation: "<" [155:11 - 155:12] TypedefDecl=proto_ptr:155:20 (Definition) +// CHECK-ID-PROTO: Identifier: "Proto" [155:12 - 155:17] ObjCProtocolRef=Proto +// CHECK-ID-PROTO: Punctuation: ">" [155:17 - 155:18] TypedefDecl=proto_ptr:155:20 (Definition) diff --git a/clang/test/Index/c-index-api-loadTU-test.m b/clang/test/Index/c-index-api-loadTU-test.m index 4acba206717c..1aca6b46c439 100644 --- a/clang/test/Index/c-index-api-loadTU-test.m +++ b/clang/test/Index/c-index-api-loadTU-test.m @@ -71,6 +71,7 @@ struct X0; struct X0 {}; @interface TestAttributes() +// @property (retain) IBOutlet id anotherOutlet; @property (class) int cProp; @end @@ -167,15 +168,15 @@ struct X0 {}; // CHECK: c-index-api-loadTU-test.m:69:16: TypeRef=struct X0:71:8 Extent=[69:16 - 69:18] // CHECK: c-index-api-loadTU-test.m:70:8: StructDecl=X0:70:8 Extent=[70:1 - 70:10] // CHECK: c-index-api-loadTU-test.m:71:8: StructDecl=X0:71:8 (Definition) Extent=[71:1 - 71:14] -// CHECK: c-index-api-loadTU-test.m:73:12: ObjCCategoryDecl=:73:12 Extent=[73:1 - 76:5] +// CHECK: c-index-api-loadTU-test.m:73:12: ObjCCategoryDecl=:73:12 Extent=[73:1 - 77:5] // CHECK: c-index-api-loadTU-test.m:73:12: ObjCClassRef=TestAttributes:62:12 Extent=[73:12 - 73:26] -// CHECK: c-index-api-loadTU-test.m:74:32: ObjCPropertyDecl=anotherOutlet:74:32 [retain,] Extent=[74:1 - 74:45] -// CHECK: c-index-api-loadTU-test.m:74:20: attribute(iboutlet)= Extent=[74:20 - 74:28] -// CHECK: c-index-api-loadTU-test.m:74:29: TypeRef=id:0:0 Extent=[74:29 - 74:31] -// CHECK: c-index-api-loadTU-test.m:74:32: ObjCInstanceMethodDecl=anotherOutlet:74:32 Extent=[74:32 - 74:45] -// CHECK: c-index-api-loadTU-test.m:74:32: ObjCInstanceMethodDecl=setAnotherOutlet::74:32 Extent=[74:32 - 74:45] -// CHECK: c-index-api-loadTU-test.m:74:32: ParmDecl=anotherOutlet:74:32 (Definition) Extent=[74:32 - 74:45] -// CHECK: c-index-api-loadTU-test.m:75:23: ObjCPropertyDecl=cProp:75:23 [class,] Extent=[75:1 - 75:28] -// CHECK: c-index-api-loadTU-test.m:75:23: ObjCClassMethodDecl=cProp:75:23 Extent=[75:23 - 75:28] -// CHECK: c-index-api-loadTU-test.m:75:23: ObjCClassMethodDecl=setCProp::75:23 Extent=[75:23 - 75:28] -// CHECK: c-index-api-loadTU-test.m:75:23: ParmDecl=cProp:75:23 (Definition) Extent=[75:23 - 75:28] +// CHECK: c-index-api-loadTU-test.m:75:32: ObjCPropertyDecl=anotherOutlet:75:32 [retain,] Extent=[75:1 - 75:45] +// CHECK: c-index-api-loadTU-test.m:75:20: attribute(iboutlet)= Extent=[75:20 - 75:28] +// CHECK: c-index-api-loadTU-test.m:75:29: TypeRef=id:0:0 Extent=[75:29 - 75:31] +// CHECK: c-index-api-loadTU-test.m:75:32: ObjCInstanceMethodDecl=anotherOutlet:75:32 Extent=[75:32 - 75:45] +// CHECK: c-index-api-loadTU-test.m:75:32: ObjCInstanceMethodDecl=setAnotherOutlet::75:32 Extent=[75:32 - 75:45] +// CHECK: c-index-api-loadTU-test.m:75:32: ParmDecl=anotherOutlet:75:32 (Definition) Extent=[75:32 - 75:45] +// CHECK: c-index-api-loadTU-test.m:76:23: ObjCPropertyDecl=cProp:76:23 [class,] Extent=[76:1 - 76:28] +// CHECK: c-index-api-loadTU-test.m:76:23: ObjCClassMethodDecl=cProp:76:23 Extent=[76:23 - 76:28] +// CHECK: c-index-api-loadTU-test.m:76:23: ObjCClassMethodDecl=setCProp::76:23 Extent=[76:23 - 76:28] +// CHECK: c-index-api-loadTU-test.m:76:23: ParmDecl=cProp:76:23 (Definition) Extent=[76:23 - 76:28] diff --git a/clang/test/Index/c-index-redecls.c b/clang/test/Index/c-index-redecls.c index 059c0b8adc6f..67e58684e811 100644 --- a/clang/test/Index/c-index-redecls.c +++ b/clang/test/Index/c-index-redecls.c @@ -1,7 +1,8 @@ // RUN: c-index-test -write-pch %t.ast %s // RUN: c-index-test -test-load-tu %t.ast all -// We would blow the thread stack because of nested calls due to redeclarations. +// rdar://8956193 - We would blow the thread stack because of nested calls due +// to redeclarations. void socrates(void); void socrates(void); diff --git a/clang/test/Index/cindex-on-invalid-usrs.m b/clang/test/Index/cindex-on-invalid-usrs.m index 9fb2118ff2eb..64147615ca51 100644 --- a/clang/test/Index/cindex-on-invalid-usrs.m +++ b/clang/test/Index/cindex-on-invalid-usrs.m @@ -1,6 +1,6 @@ // RUN: c-index-test -test-load-source-usrs local %s 2>&1 | FileCheck %s -// Crash when generating USRs. +// - Crash when generating USRs. @interface Rdar8452791 () - (void)rdar8452791; // CHECK: error: cannot find interface declaration for 'Rdar8452791' diff --git a/clang/test/Index/cindex-on-invalid.m b/clang/test/Index/cindex-on-invalid.m index a8f754dd51e6..6eff24baf808 100644 --- a/clang/test/Index/cindex-on-invalid.m +++ b/clang/test/Index/cindex-on-invalid.m @@ -1,5 +1,6 @@ // RUN: c-index-test -test-load-source local %s 2>&1 | FileCheck %s +// void test() { goto exit; } @@ -14,7 +15,7 @@ void f(int y) { int -// CHECK: cindex-on-invalid.m:4:8: error: use of undeclared label 'exit' -// CHECK: cindex-on-invalid.m:12:9:{12:7-12:13} -// CHECK: cindex-on-invalid.m:20:1: error: expected identifier or '(' +// CHECK: cindex-on-invalid.m:5:8: error: use of undeclared label 'exit' +// CHECK: cindex-on-invalid.m:13:9:{13:7-13:13} +// CHECK: cindex-on-invalid.m:21:1: error: expected identifier or '(' diff --git a/clang/test/Index/codecompletion-chained.cpp b/clang/test/Index/codecompletion-chained.cpp index 40454d277178..93e832f81ea2 100644 --- a/clang/test/Index/codecompletion-chained.cpp +++ b/clang/test/Index/codecompletion-chained.cpp @@ -1,3 +1,6 @@ + +// + #ifndef HEADER1 #define HEADER1 @@ -26,5 +29,5 @@ Cake:: // RUN: c-index-test -write-pch %t1.h.pch %s // RUN: c-index-test -write-pch %t2.h.pch %s -include %t1.h -// RUN: c-index-test -code-completion-at=%s:22:1 %s -include %t2.h | FileCheck -check-prefix=CHECK-TU %s -// RUN: c-index-test -code-completion-at=%s:22:7 %s -include %t2.h | FileCheck -check-prefix=CHECK-NAMESPACE %s +// RUN: c-index-test -code-completion-at=%s:25:1 %s -include %t2.h | FileCheck -check-prefix=CHECK-TU %s +// RUN: c-index-test -code-completion-at=%s:25:7 %s -include %t2.h | FileCheck -check-prefix=CHECK-NAMESPACE %s diff --git a/clang/test/Index/comment-c-decls.c b/clang/test/Index/comment-c-decls.c index 0ac526c92dba..2a99b36ea820 100644 --- a/clang/test/Index/comment-c-decls.c +++ b/clang/test/Index/comment-c-decls.c @@ -6,6 +6,7 @@ // Ensure that XML we generate is not invalid. // RUN: FileCheck %s -check-prefix=WRONG < %t/out // WRONG-NOT: CommentXMLInvalid +// rdar://12378714 /** * \brief Aaa. diff --git a/clang/test/Index/comment-cplus-decls.cpp b/clang/test/Index/comment-cplus-decls.cpp index 376dd6a07755..15432a72aa04 100644 --- a/clang/test/Index/comment-cplus-decls.cpp +++ b/clang/test/Index/comment-cplus-decls.cpp @@ -12,6 +12,7 @@ // RUN: FileCheck %s -check-prefix=WRONG < %t/98 // RUN: FileCheck %s -check-prefix=WRONG < %t/11 // WRONG-NOT: CommentXMLInvalid +// rdar://12378714 /** * \brief plain c++ class diff --git a/clang/test/Index/comment-cplus-template-decls.cpp b/clang/test/Index/comment-cplus-template-decls.cpp index b3a8f40a4a41..7ef09bd691b1 100644 --- a/clang/test/Index/comment-cplus-template-decls.cpp +++ b/clang/test/Index/comment-cplus-template-decls.cpp @@ -6,6 +6,7 @@ // Ensure that XML we generate is not invalid. // RUN: FileCheck %s -check-prefix=WRONG < %t/out // WRONG-NOT: CommentXMLInvalid +// rdar://12378714 /** * \brief Aaa diff --git a/clang/test/Index/comment-cplus11-specific.cpp b/clang/test/Index/comment-cplus11-specific.cpp index 44263686432d..fa0db914cd7c 100644 --- a/clang/test/Index/comment-cplus11-specific.cpp +++ b/clang/test/Index/comment-cplus11-specific.cpp @@ -2,6 +2,7 @@ // RUN: mkdir %t // RUN: c-index-test -test-load-source all -comments-xml-schema=%S/../../bindings/xml/comment-xml-schema.rng std=c++11 %s > %t/out // RUN: FileCheck %s < %t/out +// rdar://13752382 namespace inner { //! This documentation should be inherited. diff --git a/clang/test/Index/comment-misc-tags.m b/clang/test/Index/comment-misc-tags.m index 47ee9d9aa392..bb16ea97b6d6 100644 --- a/clang/test/Index/comment-misc-tags.m +++ b/clang/test/Index/comment-misc-tags.m @@ -2,6 +2,7 @@ // RUN: mkdir %t // RUN: c-index-test -test-load-source all -comments-xml-schema=%S/../../bindings/xml/comment-xml-schema.rng %s > %t/out // RUN: FileCheck %s < %t/out +// rdar://12379114 /*! @interface IOCommandGate @@ -46,6 +47,7 @@ // CHECK-NEXT: (CXComment_Paragraph // CHECK-NEXT: (CXComment_Text Text=[ //k_ref/doc/uid/XX30000905-CH204 Programming]) +// rdar://12379053 /*! \arg \c AlignLeft left alignment. \li \c AlignRight right alignment. @@ -70,6 +72,7 @@ struct S { // CHECK: (CXComment_Paragraph // CHECK-NEXT: (CXComment_Text Text=[ No other types of alignment are supported.])) +// rdar://12379053 /*! \struct Test * Normal text. * diff --git a/clang/test/Index/comment-objc-decls.m b/clang/test/Index/comment-objc-decls.m index 8f1546d2cce3..c93ad44a051b 100644 --- a/clang/test/Index/comment-objc-decls.m +++ b/clang/test/Index/comment-objc-decls.m @@ -7,6 +7,8 @@ // RUN: FileCheck %s -check-prefix=WRONG < %t/out // WRONG-NOT: CommentXMLInvalid +// rdar://12378714 + /** * \brief This is a protocol definition */ diff --git a/clang/test/Index/comment-to-html-xml-conversion.cpp b/clang/test/Index/comment-to-html-xml-conversion.cpp index d9eefb909653..ec49e5af31da 100644 --- a/clang/test/Index/comment-to-html-xml-conversion.cpp +++ b/clang/test/Index/comment-to-html-xml-conversion.cpp @@ -690,6 +690,7 @@ void comment_to_html_conversion_34(); // CHECK-NEXT: (CXComment_Text Text=[i]) // CHECK-NEXT: (CXComment_HTMLEndTag Name=[em])))] +// rdar://12392215 /// © the copyright symbol /// ™ the trade mark symbol /// ® the registered trade mark symbol @@ -964,6 +965,7 @@ void comment_to_xml_conversion_unsafe_html_07(); //===--- // Check that we attach comments from the base class to derived classes if they don't have a comment. +// rdar://13647476 //===--- /// BaseToSuper1_Base diff --git a/clang/test/Index/comment-unqualified-objc-pointer.m b/clang/test/Index/comment-unqualified-objc-pointer.m index 9f7c670a0714..cf297ef85560 100644 --- a/clang/test/Index/comment-unqualified-objc-pointer.m +++ b/clang/test/Index/comment-unqualified-objc-pointer.m @@ -2,6 +2,7 @@ // RUN: mkdir %t // RUN: c-index-test -test-load-source all -comments-xml-schema=%S/../../bindings/xml/comment-xml-schema.rng -target x86_64-apple-darwin10 -fobjc-arc %s > %t/out // RUN: FileCheck %s < %t/out +// rdar://13757500 @class NSString; diff --git a/clang/test/Index/complete-block-properties.m b/clang/test/Index/complete-block-properties.m index 8095d71dd153..0e8872dece23 100644 --- a/clang/test/Index/complete-block-properties.m +++ b/clang/test/Index/complete-block-properties.m @@ -3,6 +3,7 @@ // Block invocations should be presented when completing properties in // standalone statements. +// rdar://28846196 typedef int Foo; typedef void (^FooBlock)(Foo *someParameter); @@ -35,9 +36,9 @@ typedef int (^BarBlock)(int *); self.getObject(0).foo = 2; } -// RUN: c-index-test -code-completion-at=%s:33:8 %s | FileCheck -check-prefix=CHECK-CC1 %s -// RUN: c-index-test -code-completion-at=%s:34:33 %s | FileCheck -check-prefix=CHECK-CC1 %s -// RUN: c-index-test -code-completion-at=%s:35:21 %s | FileCheck -check-prefix=CHECK-CC1 %s +// RUN: c-index-test -code-completion-at=%s:34:8 %s | FileCheck -check-prefix=CHECK-CC1 %s +// RUN: c-index-test -code-completion-at=%s:35:33 %s | FileCheck -check-prefix=CHECK-CC1 %s +// RUN: c-index-test -code-completion-at=%s:36:21 %s | FileCheck -check-prefix=CHECK-CC1 %s //CHECK-CC1: ObjCPropertyDecl:{ResultType int}{TypedText barBlock}{LeftParen (}{Placeholder int *}{RightParen )} (35) //CHECK-CC1-NEXT: ObjCPropertyDecl:{ResultType void}{TypedText block}{LeftParen (}{RightParen )} (37) //CHECK-CC1-NEXT: ObjCPropertyDecl:{ResultType void (^)()}{TypedText block}{Equal = }{Placeholder ^(void)} (40) @@ -51,6 +52,8 @@ typedef int (^BarBlock)(int *); @end +// rdar://25224416 + @interface NoQualifierParens @property(copy) void (^blockProperty)(void); @@ -62,7 +65,7 @@ void noQualifierParens(NoQualifierParens *f) { [f setBlockProperty: ^{}]; } -// RUN: c-index-test -code-completion-at=%s:62:6 %s | FileCheck -check-prefix=CHECK-CC2 %s +// RUN: c-index-test -code-completion-at=%s:65:6 %s | FileCheck -check-prefix=CHECK-CC2 %s //CHECK-CC2: ObjCInstanceMethodDecl:{ResultType void (^)(void)}{TypedText blockProperty} (35) //CHECK-CC2-NEXT: ObjCInstanceMethodDecl:{ResultType BarBlock}{TypedText blockProperty2} (35) //CHECK-CC2-NEXT: ObjCInstanceMethodDecl:{ResultType void}{TypedText setBlockProperty2:}{Placeholder ^int(int *)blockProperty2} (35) @@ -79,7 +82,7 @@ void classBlockProperties() { ClassProperties.explicit; } -// RUN: c-index-test -code-completion-at=%s:79:19 %s | FileCheck -check-prefix=CHECK-CC3 %s +// RUN: c-index-test -code-completion-at=%s:82:19 %s | FileCheck -check-prefix=CHECK-CC3 %s //CHECK-CC3: ObjCPropertyDecl:{ResultType void}{TypedText explicit}{LeftParen (}{RightParen )} (35) //CHECK-CC3-NEXT: ObjCPropertyDecl:{ResultType void (^)()}{TypedText explicit}{Equal = }{Placeholder ^(void)} (38) //CHECK-CC3-NEXT: ObjCPropertyDecl:{ResultType void}{TypedText explicitReadonly}{LeftParen (}{RightParen )} (35) @@ -87,5 +90,5 @@ void classBlockProperties() { void implicitSetterBlockPlaceholder(Test* test) { [test setBlock: ^{}]; } -// RUN: c-index-test -code-completion-at=%s:88:9 %s | FileCheck -check-prefix=CHECK-CC4 %s +// RUN: c-index-test -code-completion-at=%s:91:9 %s | FileCheck -check-prefix=CHECK-CC4 %s // CHECK-CC4: ObjCInstanceMethodDecl:{ResultType void}{TypedText setBlocker:}{Placeholder ^Foo(int x, Foo y, FooBlock foo)blocker} (37) diff --git a/clang/test/Index/complete-block-property-assignment.m b/clang/test/Index/complete-block-property-assignment.m index b7b81dd9e845..c1abc03ad06d 100644 --- a/clang/test/Index/complete-block-property-assignment.m +++ b/clang/test/Index/complete-block-property-assignment.m @@ -1,6 +1,8 @@ // Note: the run lines follow their respective tests, since line/column // matter in this test. +// rdar://28481726 + void func(int x); typedef int Foo; typedef void (^FooBlock)(Foo *someParameter); @@ -28,10 +30,10 @@ typedef void (^FooBlock)(Foo *someParameter); SELFY.foo = 2 } -// RUN: c-index-test -code-completion-at=%s:25:8 %s | FileCheck -check-prefix=CHECK-CC1 %s -// RUN: c-index-test -code-completion-at=%s:26:27 %s | FileCheck -check-prefix=CHECK-CC1 %s -// RUN: c-index-test -code-completion-at=%s:27:22 %s | FileCheck -check-prefix=CHECK-CC1 %s -// RUN: c-index-test -code-completion-at=%s:28:9 %s | FileCheck -check-prefix=CHECK-CC1 %s +// RUN: c-index-test -code-completion-at=%s:27:8 %s | FileCheck -check-prefix=CHECK-CC1 %s +// RUN: c-index-test -code-completion-at=%s:28:27 %s | FileCheck -check-prefix=CHECK-CC1 %s +// RUN: c-index-test -code-completion-at=%s:29:22 %s | FileCheck -check-prefix=CHECK-CC1 %s +// RUN: c-index-test -code-completion-at=%s:30:9 %s | FileCheck -check-prefix=CHECK-CC1 %s // CHECK-CC1: ObjCPropertyDecl:{ResultType int}{TypedText foo} (37) // CHECK-CC1-NEXT: ObjCPropertyDecl:{ResultType Obj *}{TypedText obj} (35) // CHECK-CC1-NEXT: ObjCPropertyDecl:{ResultType void}{TypedText onAction}{LeftParen (}{Placeholder Obj *object}{RightParen )} (37) @@ -54,11 +56,11 @@ typedef void (^FooBlock)(Foo *someParameter); return self.foo; } -// RUN: c-index-test -code-completion-at=%s:48:9 %s | FileCheck -check-prefix=CHECK-NO %s -// RUN: c-index-test -code-completion-at=%s:49:16 %s | FileCheck -check-prefix=CHECK-NO %s -// RUN: c-index-test -code-completion-at=%s:50:23 %s | FileCheck -check-prefix=CHECK-NO %s -// RUN: c-index-test -code-completion-at=%s:51:12 %s | FileCheck -check-prefix=CHECK-NO %s -// RUN: c-index-test -code-completion-at=%s:54:15 %s | FileCheck -check-prefix=CHECK-NO %s +// RUN: c-index-test -code-completion-at=%s:50:9 %s | FileCheck -check-prefix=CHECK-NO %s +// RUN: c-index-test -code-completion-at=%s:51:16 %s | FileCheck -check-prefix=CHECK-NO %s +// RUN: c-index-test -code-completion-at=%s:52:23 %s | FileCheck -check-prefix=CHECK-NO %s +// RUN: c-index-test -code-completion-at=%s:53:12 %s | FileCheck -check-prefix=CHECK-NO %s +// RUN: c-index-test -code-completion-at=%s:56:15 %s | FileCheck -check-prefix=CHECK-NO %s // CHECK-NO: ObjCPropertyDecl:{ResultType int}{TypedText foo} (37) // CHECK-NO-NEXT: ObjCPropertyDecl:{ResultType Obj *}{TypedText obj} (35) // CHECK-NO-NEXT: ObjCPropertyDecl:{ResultType void (^)(Obj *)}{TypedText onAction} (37) @@ -66,7 +68,7 @@ typedef void (^FooBlock)(Foo *someParameter); // CHECK-NO-NEXT: ObjCPropertyDecl:{ResultType void (^)(int *)}{TypedText onReadonly} (35) // CHECK-NO-NEXT: ObjCPropertyDecl:{ResultType int (^)(int)}{TypedText processEvent} (35) -// RUN: c-index-test -code-completion-at=%s:52:15 %s | FileCheck -check-prefix=CHECK-NO1 %s +// RUN: c-index-test -code-completion-at=%s:54:15 %s | FileCheck -check-prefix=CHECK-NO1 %s // CHECK-NO1: ObjCPropertyDecl:{ResultType int}{TypedText foo} (37) // CHECK-NO1-NEXT: ObjCPropertyDecl:{ResultType Obj *}{TypedText obj} (35) // CHECK-NO1-NEXT: ObjCPropertyDecl:{ResultType void (^)(Obj *)}{TypedText onAction} (37) diff --git a/clang/test/Index/complete-cached-globals.cpp b/clang/test/Index/complete-cached-globals.cpp index a0f2abc93817..791faf2be128 100644 --- a/clang/test/Index/complete-cached-globals.cpp +++ b/clang/test/Index/complete-cached-globals.cpp @@ -14,6 +14,8 @@ static void foo() { return; } +// rdar://23454249 + // RUN: c-index-test -code-completion-at=%s:14:3 %s | FileCheck -check-prefix=CHECK-CC1 %s // RUN: env CINDEXTEST_EDITING=1 CINDEXTEST_COMPLETION_CACHING=1 c-index-test -code-completion-at=%s:14:3 %s | FileCheck -check-prefix=CHECK-CC1 %s diff --git a/clang/test/Index/complete-designated-initializer.m b/clang/test/Index/complete-designated-initializer.m index 6459f1a987af..4ccafc2df3fd 100644 --- a/clang/test/Index/complete-designated-initializer.m +++ b/clang/test/Index/complete-designated-initializer.m @@ -1,6 +1,8 @@ // Note: the run lines follow their respective tests, since line/column // matter in this test. +// rdar://21014571 + #define NS_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) @interface DesignatedInitializerCompletion @@ -24,17 +26,17 @@ @end -// RUN: c-index-test -code-completion-at=%s:8:22 %s | FileCheck %s -// RUN: c-index-test -code-completion-at=%s:9:38 %s | FileCheck %s -// RUN: c-index-test -code-completion-at=%s:9:29 %s | FileCheck -check-prefix=CHECK-NONE %s -// RUN: c-index-test -code-completion-at=%s:9:34 %s | FileCheck -check-prefix=CHECK-NONE %s -// RUN: c-index-test -code-completion-at=%s:10:34 %s | FileCheck %s -// RUN: c-index-test -code-completion-at=%s:10:46 %s | FileCheck %s - -// RUN: c-index-test -code-completion-at=%s:16:22 %s | FileCheck %s -// RUN: c-index-test -code-completion-at=%s:19:38 %s | FileCheck %s -// RUN: c-index-test -code-completion-at=%s:22:34 %s | FileCheck %s -// RUN: c-index-test -code-completion-at=%s:22:46 %s | FileCheck %s +// RUN: c-index-test -code-completion-at=%s:10:22 %s | FileCheck %s +// RUN: c-index-test -code-completion-at=%s:11:38 %s | FileCheck %s +// RUN: c-index-test -code-completion-at=%s:11:29 %s | FileCheck -check-prefix=CHECK-NONE %s +// RUN: c-index-test -code-completion-at=%s:11:34 %s | FileCheck -check-prefix=CHECK-NONE %s +// RUN: c-index-test -code-completion-at=%s:12:34 %s | FileCheck %s +// RUN: c-index-test -code-completion-at=%s:12:46 %s | FileCheck %s + +// RUN: c-index-test -code-completion-at=%s:18:22 %s | FileCheck %s +// RUN: c-index-test -code-completion-at=%s:21:38 %s | FileCheck %s +// RUN: c-index-test -code-completion-at=%s:24:34 %s | FileCheck %s +// RUN: c-index-test -code-completion-at=%s:24:46 %s | FileCheck %s // CHECK: macro definition:{TypedText NS_DESIGNATED_INITIALIZER} (70) diff --git a/clang/test/Index/complete-documentation-properties.m b/clang/test/Index/complete-documentation-properties.m index 0429b1ddb2b1..21ddf805a9c0 100644 --- a/clang/test/Index/complete-documentation-properties.m +++ b/clang/test/Index/complete-documentation-properties.m @@ -2,6 +2,7 @@ // matter in this test. // This test is for when property accessors do not have their own code // completion comments. Use those in their properties in this case. +// rdar://12791315 @interface AppDelegate /** @@ -52,22 +53,22 @@ return 0; } @end -// RUN: env CINDEXTEST_COMPLETION_BRIEF_COMMENTS=1 c-index-test -code-completion-at=%s:46:16 %s | FileCheck -check-prefix=CHECK-CC1 %s +// RUN: env CINDEXTEST_COMPLETION_BRIEF_COMMENTS=1 c-index-test -code-completion-at=%s:47:16 %s | FileCheck -check-prefix=CHECK-CC1 %s // CHECK-CC1: {TypedText ReadonlyGetter}{{.*}}(brief comment: This is ReadonlyProperty) -// RUN: env CINDEXTEST_COMPLETION_BRIEF_COMMENTS=1 c-index-test -code-completion-at=%s:47:13 %s | FileCheck -check-prefix=CHECK-CC2 %s +// RUN: env CINDEXTEST_COMPLETION_BRIEF_COMMENTS=1 c-index-test -code-completion-at=%s:48:13 %s | FileCheck -check-prefix=CHECK-CC2 %s // CHECK-CC2: {TypedText GetterInClassExtension}{{.*}}(brief comment: This is PropertyInClassExtension) -// RUN: env CINDEXTEST_COMPLETION_BRIEF_COMMENTS=1 c-index-test -code-completion-at=%s:48:13 %s | FileCheck -check-prefix=CHECK-CC3 %s +// RUN: env CINDEXTEST_COMPLETION_BRIEF_COMMENTS=1 c-index-test -code-completion-at=%s:49:13 %s | FileCheck -check-prefix=CHECK-CC3 %s // CHECK-CC3: {TypedText PropertyInPrimaryClass}{{.*}}(brief comment: This is PropertyInPrimaryClass) -// RUN: env CINDEXTEST_COMPLETION_BRIEF_COMMENTS=1 c-index-test -code-completion-at=%s:49:13 %s | FileCheck -check-prefix=CHECK-CC4 %s +// RUN: env CINDEXTEST_COMPLETION_BRIEF_COMMENTS=1 c-index-test -code-completion-at=%s:50:13 %s | FileCheck -check-prefix=CHECK-CC4 %s // CHECK-CC4: {TypedText Record}{{.*}}(brief comment: This is Record) -// RUN: env CINDEXTEST_COMPLETION_BRIEF_COMMENTS=1 c-index-test -code-completion-at=%s:50:9 %s | FileCheck -check-prefix=CHECK-CC5 %s +// RUN: env CINDEXTEST_COMPLETION_BRIEF_COMMENTS=1 c-index-test -code-completion-at=%s:51:9 %s | FileCheck -check-prefix=CHECK-CC5 %s // CHECK-CC5: {TypedText setThisRecord:}{Placeholder (id)}{{.*}}(brief comment: This is Record) -// RUN: env CINDEXTEST_COMPLETION_BRIEF_COMMENTS=1 c-index-test -code-completion-at=%s:51:12 %s | FileCheck -check-prefix=CHECK-CC6 %s +// RUN: env CINDEXTEST_COMPLETION_BRIEF_COMMENTS=1 c-index-test -code-completion-at=%s:52:12 %s | FileCheck -check-prefix=CHECK-CC6 %s // CHECK-CC6: {TypedText GetterInClassExtension}{{.*}}(brief comment: This is PropertyInClassExtension) @interface AnotherAppDelegate @@ -86,6 +87,6 @@ self.ReadonlyGetter; } @end -// RUN: env CINDEXTEST_COMPLETION_BRIEF_COMMENTS=1 c-index-test -code-completion-at=%s:86:6 %s | FileCheck -check-prefix=CHECK-CC7 %s +// RUN: env CINDEXTEST_COMPLETION_BRIEF_COMMENTS=1 c-index-test -code-completion-at=%s:87:6 %s | FileCheck -check-prefix=CHECK-CC7 %s // CHECK-CC7: {TypedText ReadonlyGetter}{{.*}}(brief comment: This is getter = ReadonlyGetter) diff --git a/clang/test/Index/complete-method-decls.m b/clang/test/Index/complete-method-decls.m index 226314d052a3..66c1bc56e8c9 100644 --- a/clang/test/Index/complete-method-decls.m +++ b/clang/test/Index/complete-method-decls.m @@ -212,6 +212,7 @@ typedef A *MyObjectRef; // RUN: c-index-test -code-completion-at=%s:5:4 %s | FileCheck -check-prefix=CHECK-IBACTION %s // CHECK-IBACTION: NotImplemented:{TypedText IBAction}{RightParen )}{Placeholder selector}{Colon :}{LeftParen (}{Text id}{RightParen )}{Text sender} (40) +// // RUN: c-index-test -code-completion-at=%s:68:9 %s | FileCheck -check-prefix=CHECK-8939352 %s // CHECK-8939352: ObjCInstanceMethodDecl:{TypedText method:}{LeftParen (}{Text int}{RightParen )}{Text x}{HorizontalSpace }{TypedText :}{LeftParen (}{Text int}{RightParen )}{Text y} (40) diff --git a/clang/test/Index/complete-module-undef.m b/clang/test/Index/complete-module-undef.m index 0030437dcb4d..a9dd00096411 100644 --- a/clang/test/Index/complete-module-undef.m +++ b/clang/test/Index/complete-module-undef.m @@ -3,5 +3,6 @@ // RUN: c-index-test -test-load-source-reparse 2 local %s -fmodules -fmodules-cache-path=%t -I %S/Inputs \ // RUN: | FileCheck %s -// CHECK: complete-module-undef.m:7:1: ModuleImport=ModuleUndef:7:1 (Definition) Extent=[7:1 - 7:20] +// rdar://18416901 (used to crash) +// CHECK: complete-module-undef.m:8:1: ModuleImport=ModuleUndef:8:1 (Definition) Extent=[8:1 - 8:20] @import ModuleUndef; diff --git a/clang/test/Index/complete-objc-message.m b/clang/test/Index/complete-objc-message.m index 55c9468d36fd..c2b0670077a6 100644 --- a/clang/test/Index/complete-objc-message.m +++ b/clang/test/Index/complete-objc-message.m @@ -347,6 +347,7 @@ void test_Nullability(Nullability *n, A* a) { // RUN: c-index-test -code-completion-at=%s:197:6 %s | FileCheck -check-prefix=CHECK-NULLABLE %s // CHECK-NULLABLE: ObjCInstanceMethodDecl:{ResultType A * _Nonnull}{TypedText method:}{Placeholder (nullable A *)} +// rdar://28012953 // Code completion results should include instance methods from RootProtocol and // RootClass when completing a method invocation for a RootClass object because // RootClasses metaclass subclasses from RootClass (i.e. RootClass is actually @@ -388,7 +389,7 @@ void completeAllTheRootThings() { [RootClass classMethod]; } -// RUN: c-index-test -code-completion-at=%s:388:14 %s | FileCheck -check-prefix=CHECK-ROOT %s +// RUN: c-index-test -code-completion-at=%s:389:14 %s | FileCheck -check-prefix=CHECK-ROOT %s // CHECK-ROOT: ObjCInstanceMethodDecl:{ResultType void}{TypedText categoryInstanceMethod} (35) // CHECK-ROOT-NEXT: ObjCInstanceMethodDecl:{ResultType void}{TypedText categoryProtocolInstanceMethod} (37) // CHECK-ROOT-NEXT: ObjCClassMethodDecl:{ResultType void}{TypedText classMethod} (35) diff --git a/clang/test/Index/create-tu-fail.c b/clang/test/Index/create-tu-fail.c index e82d26429d05..de3250173a3f 100644 --- a/clang/test/Index/create-tu-fail.c +++ b/clang/test/Index/create-tu-fail.c @@ -4,6 +4,7 @@ // RUN: cp %s %t.c // RUN: not c-index-test -test-load-tu %t.pch local 2>&1 | FileCheck %s +// rdar://11558355 // Unfortunately this would crash reliably only via valgrind. // CHECK: Unable to load translation unit diff --git a/clang/test/Index/file-includes.c b/clang/test/Index/file-includes.c index f70354ee080d..ac3d568dc53d 100644 --- a/clang/test/Index/file-includes.c +++ b/clang/test/Index/file-includes.c @@ -23,4 +23,5 @@ int LocalVar; // TOP: inclusion directive=targeted-nested1.h ({{.*[/\\]}}test{{[/\\]}}Index{{[/\\]}}targeted-nested1.h) =[5:1 - 5:2] // TOP: inclusion directive=targeted-fields.h ({{.*[/\\]}}test{{[/\\]}}Index{{[/\\]}}targeted-fields.h) =[16:1 - 16:2] +// rdar://13803893 // RUN: c-index-test -file-includes-in=%S/Inputs/empty.h %S/Inputs/empty.h diff --git a/clang/test/Index/headerfile-comment-to-html.m b/clang/test/Index/headerfile-comment-to-html.m index 32473ea11c1e..679314dbc1d9 100644 --- a/clang/test/Index/headerfile-comment-to-html.m +++ b/clang/test/Index/headerfile-comment-to-html.m @@ -2,11 +2,14 @@ // RUN: mkdir %t // RUN: c-index-test -test-load-source all -comments-xml-schema=%S/../../bindings/xml/comment-xml-schema.rng %s > %t/out // RUN: FileCheck %s < %t/out +// rdar://13067629 // Ensure that XML we generate is not invalid. // RUN: FileCheck %s -check-prefix=WRONG < %t/out // WRONG-NOT: CommentXMLInvalid +// rdar://12397511 + /*! \headerfile Device.h diff --git a/clang/test/Index/index-decls.m b/clang/test/Index/index-decls.m index 426c28d19954..a5368ecb0c0d 100644 --- a/clang/test/Index/index-decls.m +++ b/clang/test/Index/index-decls.m @@ -11,6 +11,7 @@ @synthesize prop = _prop; @end +// rdar://11015325 @interface I1 __attribute__((something)) @interface I2 @end @end @@ -47,6 +48,7 @@ int test1() { } @end +// rdar://25372906 @class I5; @interface I5 -(void)meth; @@ -66,19 +68,19 @@ int test1() { // CHECK: [indexDeclaration]: kind: objc-instance-method | name: setProp: | {{.*}} | loc: 11:13 | {{.*}} | lexical-container: [I:10:17] // CHECK: [indexDeclaration]: kind: objc-ivar | name: _prop | {{.*}} | loc: 11:20 -// CHECK: [indexDeclaration]: kind: objc-ivar | name: _auto_prop | {{.*}} | loc: 19:33 -// CHECK: [indexEntityReference]: kind: objc-ivar | name: _auto_prop | {{.*}} | loc: 24:3 +// CHECK: [indexDeclaration]: kind: objc-ivar | name: _auto_prop | {{.*}} | loc: 20:33 +// CHECK: [indexEntityReference]: kind: objc-ivar | name: _auto_prop | {{.*}} | loc: 25:3 -// CHECK: [indexDeclaration]: kind: function | name: test1 | {{.*}} | loc: 28:5 -// CHECK: [indexDeclaration]: kind: variable | name: extvar | {{.*}} | loc: 29:14 -// CHECK: [indexEntityReference]: kind: variable | name: extvar | {{.*}} | loc: 30:3 -// CHECK: [indexDeclaration]: kind: function | name: extfn | {{.*}} | loc: 31:14 -// CHECK: [indexEntityReference]: kind: function | name: extfn | {{.*}} | loc: 32:10 +// CHECK: [indexDeclaration]: kind: function | name: test1 | {{.*}} | loc: 29:5 +// CHECK: [indexDeclaration]: kind: variable | name: extvar | {{.*}} | loc: 30:14 +// CHECK: [indexEntityReference]: kind: variable | name: extvar | {{.*}} | loc: 31:3 +// CHECK: [indexDeclaration]: kind: function | name: extfn | {{.*}} | loc: 32:14 +// CHECK: [indexEntityReference]: kind: function | name: extfn | {{.*}} | loc: 33:10 -// CHECK: [indexDeclaration]: kind: objc-class | name: I4 | {{.*}} | loc: 35:12 -// CHECK: [indexEntityReference]: kind: objc-property | name: prop | {{.*}} | cursor: ObjCSynthesizeDecl=prop:36:34 (Definition) | loc: 42:13 | :: kind: objc-class | name: I4 | {{.*}} | container: [I4:41:17] | refkind: direct -// CHECK-NOT: [indexDeclaration]: kind: objc-instance-method {{.*}} loc: 36: -// CHECK-NOT: [indexDeclaration]: kind: objc-instance-method {{.*}} loc: 42: +// CHECK: [indexDeclaration]: kind: objc-class | name: I4 | {{.*}} | loc: 36:12 +// CHECK: [indexEntityReference]: kind: objc-property | name: prop | {{.*}} | cursor: ObjCSynthesizeDecl=prop:37:34 (Definition) | loc: 43:13 | :: kind: objc-class | name: I4 | {{.*}} | container: [I4:42:17] | refkind: direct +// CHECK-NOT: [indexDeclaration]: kind: objc-instance-method {{.*}} loc: 37: +// CHECK-NOT: [indexDeclaration]: kind: objc-instance-method {{.*}} loc: 43: -// CHECK: [indexDeclaration]: kind: objc-instance-method | name: meth | {{.*}} loc: 52:8 | {{.*}} | isRedecl: 0 | isDef: 0 | -// CHECK: [indexDeclaration]: kind: objc-property | name: c | USR: c:objc(cs)I5(cpy)c | lang: ObjC | cursor: ObjCPropertyDecl=c:53:23 [class,] | loc: 53:23 +// CHECK: [indexDeclaration]: kind: objc-instance-method | name: meth | {{.*}} loc: 54:8 | {{.*}} | isRedecl: 0 | isDef: 0 | +// CHECK: [indexDeclaration]: kind: objc-property | name: c | USR: c:objc(cs)I5(cpy)c | lang: ObjC | cursor: ObjCPropertyDecl=c:55:23 [class,] | loc: 55:23 diff --git a/clang/test/Index/index-file.cpp b/clang/test/Index/index-file.cpp index 7731de1b18e0..da3894dd7c7f 100644 --- a/clang/test/Index/index-file.cpp +++ b/clang/test/Index/index-file.cpp @@ -4,6 +4,7 @@ extern "C" { template < typename T > *Allocate() { } } +// rdar://14063074 namespace rdar14063074 { template struct TS {}; @@ -42,14 +43,14 @@ class C { // RUN: FileCheck %s -input-file=%t // CHECK: [indexDeclaration]: kind: type-alias | name: MyTypeAlias | {{.*}} | loc: 1:7 -// CHECK: [indexDeclaration]: kind: struct-template-spec | name: TS | {{.*}} | loc: 10:8 -// CHECK: [indexDeclaration]: kind: function-template-spec | name: tfoo | {{.*}} | loc: 14:6 -// CHECK: [indexDeclaration]: kind: c++-instance-method | name: meth | {{.*}} | loc: 22:26 -// CHECK: [indexDeclaration]: kind: field | name: x_ | USR: c:@S@B@FI@x_ | lang: C++ | cursor: FieldDecl=x_:27:15 (Definition) (mutable) | loc: 27:15 | semantic-container: [B:26:7] | lexical-container: [B:26:7] | isRedecl: 0 | isDef: 1 | isContainer: 0 | isImplicit: 0 -// CHECK: [indexDeclaration]: kind: field | name: y_ | USR: c:@S@B@FI@y_ | lang: C++ | cursor: FieldDecl=y_:28:7 (Definition) | loc: 28:7 | semantic-container: [B:26:7] | lexical-container: [B:26:7] | isRedecl: 0 | isDef: 1 | isContainer: 0 | isImplicit: 0 -// CHECK: [indexDeclaration]: kind: constructor | name: B | {{.*}} (default constructor) (defaulted) | loc: 30:3 -// CHECK: [indexDeclaration]: kind: constructor | name: B | {{.*}} (converting constructor) | loc: 31:3 -// CHECK: [indexDeclaration]: kind: constructor | name: B | {{.*}} | loc: 32:12 -// CHECK: [indexDeclaration]: kind: constructor | name: B | {{.*}} (copy constructor) (converting constructor) | loc: 33:3 -// CHECK: [indexDeclaration]: kind: constructor | name: B | {{.*}} (move constructor) (converting constructor) | loc: 34:3 -// CHECK: [indexDeclaration]: kind: constructor | name: C | {{.*}} (copy constructor) (explicit) | loc: 38:12 +// CHECK: [indexDeclaration]: kind: struct-template-spec | name: TS | {{.*}} | loc: 11:8 +// CHECK: [indexDeclaration]: kind: function-template-spec | name: tfoo | {{.*}} | loc: 15:6 +// CHECK: [indexDeclaration]: kind: c++-instance-method | name: meth | {{.*}} | loc: 23:26 +// CHECK: [indexDeclaration]: kind: field | name: x_ | USR: c:@S@B@FI@x_ | lang: C++ | cursor: FieldDecl=x_:28:15 (Definition) (mutable) | loc: 28:15 | semantic-container: [B:27:7] | lexical-container: [B:27:7] | isRedecl: 0 | isDef: 1 | isContainer: 0 | isImplicit: 0 +// CHECK: [indexDeclaration]: kind: field | name: y_ | USR: c:@S@B@FI@y_ | lang: C++ | cursor: FieldDecl=y_:29:7 (Definition) | loc: 29:7 | semantic-container: [B:27:7] | lexical-container: [B:27:7] | isRedecl: 0 | isDef: 1 | isContainer: 0 | isImplicit: 0 +// CHECK: [indexDeclaration]: kind: constructor | name: B | {{.*}} (default constructor) (defaulted) | loc: 31:3 +// CHECK: [indexDeclaration]: kind: constructor | name: B | {{.*}} (converting constructor) | loc: 32:3 +// CHECK: [indexDeclaration]: kind: constructor | name: B | {{.*}} | loc: 33:12 +// CHECK: [indexDeclaration]: kind: constructor | name: B | {{.*}} (copy constructor) (converting constructor) | loc: 34:3 +// CHECK: [indexDeclaration]: kind: constructor | name: B | {{.*}} (move constructor) (converting constructor) | loc: 35:3 +// CHECK: [indexDeclaration]: kind: constructor | name: C | {{.*}} (copy constructor) (explicit) | loc: 39:12 diff --git a/clang/test/Index/index-many-call-ops.cpp b/clang/test/Index/index-many-call-ops.cpp index 006a63f1d856..d89facd93135 100644 --- a/clang/test/Index/index-many-call-ops.cpp +++ b/clang/test/Index/index-many-call-ops.cpp @@ -1,5 +1,6 @@ // RUN: c-index-test -index-file %s | FileCheck %s +// rdar://11289247 // Check that we don't get stack overflow trying to index a huge number of // call operators. diff --git a/clang/test/Index/index-many-logical-ops.c b/clang/test/Index/index-many-logical-ops.c index 1b1a7a1e7004..4ef6ee9a9c94 100644 --- a/clang/test/Index/index-many-logical-ops.c +++ b/clang/test/Index/index-many-logical-ops.c @@ -1,5 +1,6 @@ // RUN: c-index-test -index-file %s | FileCheck %s +// rdar://10941790 // Check that we don't get stack overflow trying to index a huge number of // logical operators. diff --git a/clang/test/Index/initializer-memory.cpp b/clang/test/Index/initializer-memory.cpp index da7344412576..f085c3562438 100644 --- a/clang/test/Index/initializer-memory.cpp +++ b/clang/test/Index/initializer-memory.cpp @@ -1,6 +1,6 @@ // RUN: c-index-test -test-load-source-memory-usage none %s 2>&1 | FileCheck %s -// We would create millions of Exprs to fill out the initializer. +// rdar://9275920 - We would create millions of Exprs to fill out the initializer. double data[1000000] = {0}; double data_empty_init[1000000] = {}; diff --git a/clang/test/Index/local-symbols.m b/clang/test/Index/local-symbols.m index bc74e75919be..c7b903a9e457 100644 --- a/clang/test/Index/local-symbols.m +++ b/clang/test/Index/local-symbols.m @@ -1,5 +1,6 @@ // RUN: c-index-test -test-load-source local %s | FileCheck %s +// From: // The method 'bar' was also being reported outside the @implementation @interface Foo { @@ -14,6 +15,8 @@ } @end +// From: + @protocol Prot8380046 @end @@ -29,20 +32,20 @@ void test() { NSString *s = @"objc str"; } -// CHECK: local-symbols.m:5:12: ObjCInterfaceDecl=Foo:5:12 Extent=[5:1 - 9:5] -// CHECK: local-symbols.m:6:6: ObjCIvarDecl=x:6:6 (Definition) Extent=[6:3 - 6:7] -// CHECK: local-symbols.m:6:3: TypeRef=id:0:0 Extent=[6:3 - 6:5] -// CHECK: local-symbols.m:8:8: ObjCInstanceMethodDecl=bar:8:8 Extent=[8:1 - 8:12] -// CHECK: local-symbols.m:8:4: TypeRef=id:0:0 Extent=[8:4 - 8:6] -// CHECK: local-symbols.m:11:17: ObjCImplementationDecl=Foo:11:17 (Definition) Extent=[11:1 - 15:2] -// CHECK: local-symbols.m:12:8: ObjCInstanceMethodDecl=bar:12:8 (Definition) Extent=[12:1 - 14:2] -// CHECK: local-symbols.m:12:4: TypeRef=id:0:0 Extent=[12:4 - 12:6] -// CHECK: local-symbols.m:13:10: UnexposedExpr= Extent=[13:10 - 13:11] -// CHECK: local-symbols.m:13:10: IntegerLiteral= Extent=[13:10 - 13:11] -// CHECK: local-symbols.m:17:11: ObjCProtocolDecl=Prot8380046:17:11 (Definition) Extent=[17:1 - 18:5] -// CHECK: local-symbols.m:20:12: ObjCInterfaceDecl=R8380046:20:12 Extent=[20:1 - 21:5] -// CHECK: local-symbols.m:23:12: ObjCCategoryDecl=:23:12 Extent=[23:1 - 24:5] -// CHECK: local-symbols.m:23:12: ObjCClassRef=R8380046:20:12 Extent=[23:12 - 23:20] -// CHECK: local-symbols.m:23:25: ObjCProtocolRef=Prot8380046:17:11 Extent=[23:25 - 23:36] - -// CHECK: local-symbols.m:29:17: ObjCStringLiteral="objc str" Extent=[29:17 - 29:28] +// CHECK: local-symbols.m:6:12: ObjCInterfaceDecl=Foo:6:12 Extent=[6:1 - 10:5] +// CHECK: local-symbols.m:7:6: ObjCIvarDecl=x:7:6 (Definition) Extent=[7:3 - 7:7] +// CHECK: local-symbols.m:7:3: TypeRef=id:0:0 Extent=[7:3 - 7:5] +// CHECK: local-symbols.m:9:8: ObjCInstanceMethodDecl=bar:9:8 Extent=[9:1 - 9:12] +// CHECK: local-symbols.m:9:4: TypeRef=id:0:0 Extent=[9:4 - 9:6] +// CHECK: local-symbols.m:12:17: ObjCImplementationDecl=Foo:12:17 (Definition) Extent=[12:1 - 16:2] +// CHECK: local-symbols.m:13:8: ObjCInstanceMethodDecl=bar:13:8 (Definition) Extent=[13:1 - 15:2] +// CHECK: local-symbols.m:13:4: TypeRef=id:0:0 Extent=[13:4 - 13:6] +// CHECK: local-symbols.m:14:10: UnexposedExpr= Extent=[14:10 - 14:11] +// CHECK: local-symbols.m:14:10: IntegerLiteral= Extent=[14:10 - 14:11] +// CHECK: local-symbols.m:20:11: ObjCProtocolDecl=Prot8380046:20:11 (Definition) Extent=[20:1 - 21:5] +// CHECK: local-symbols.m:23:12: ObjCInterfaceDecl=R8380046:23:12 Extent=[23:1 - 24:5] +// CHECK: local-symbols.m:26:12: ObjCCategoryDecl=:26:12 Extent=[26:1 - 27:5] +// CHECK: local-symbols.m:26:12: ObjCClassRef=R8380046:23:12 Extent=[26:12 - 26:20] +// CHECK: local-symbols.m:26:25: ObjCProtocolRef=Prot8380046:20:11 Extent=[26:25 - 26:36] + +// CHECK: local-symbols.m:32:17: ObjCStringLiteral="objc str" Extent=[32:17 - 32:28] diff --git a/clang/test/Index/overriding-ftemplate-comments.cpp b/clang/test/Index/overriding-ftemplate-comments.cpp index 169d45f288e6..340dca49c2a3 100644 --- a/clang/test/Index/overriding-ftemplate-comments.cpp +++ b/clang/test/Index/overriding-ftemplate-comments.cpp @@ -2,7 +2,7 @@ // RUN: mkdir %t // RUN: c-index-test -test-load-source all -comments-xml-schema=%S/../../bindings/xml/comment-xml-schema.rng %s > %t/out // RUN: FileCheck %s < %t/out -// Test to search overridden methods for documentation when overriding method has none. +// Test to search overridden methods for documentation when overriding method has none. rdar://12378793 // Ensure that XML we generate is not invalid. // RUN: FileCheck %s -check-prefix=WRONG < %t/out diff --git a/clang/test/Index/overriding-method-comments.mm b/clang/test/Index/overriding-method-comments.mm index 5fad8a0b481f..824d055b16fb 100644 --- a/clang/test/Index/overriding-method-comments.mm +++ b/clang/test/Index/overriding-method-comments.mm @@ -2,7 +2,7 @@ // RUN: mkdir %t // RUN: c-index-test -test-load-source all -comments-xml-schema=%S/../../bindings/xml/comment-xml-schema.rng %s > %t/out // RUN: FileCheck %s < %t/out -// Test to search overridden methods for documentation when overriding method has none. +// Test to search overridden methods for documentation when overriding method has none. rdar://12378793 // Ensure that XML we generate is not invalid. // RUN: FileCheck %s -check-prefix=WRONG < %t/out diff --git a/clang/test/Index/rdar12316296-codecompletion.m b/clang/test/Index/rdar12316296-codecompletion.m index c3bd8b9b8782..f588a9983718 100644 --- a/clang/test/Index/rdar12316296-codecompletion.m +++ b/clang/test/Index/rdar12316296-codecompletion.m @@ -1,7 +1,7 @@ // RUN: c-index-test -write-pch %t.h.pch %s // RUN: c-index-test -code-completion-at=%s:19:1 %s -include %t.h | FileCheck %s -// clang Code Completion returns nothing but preprocessor macros +// clang Code Completion returns nothing but preprocessor macros #ifndef HEADER #define HEADER diff --git a/clang/test/Index/subclass-comment.mm b/clang/test/Index/subclass-comment.mm index 273d0bc127ec..5fcb89fe632b 100644 --- a/clang/test/Index/subclass-comment.mm +++ b/clang/test/Index/subclass-comment.mm @@ -2,6 +2,7 @@ // RUN: mkdir %t // RUN: c-index-test -test-load-source all -comments-xml-schema=%S/../../bindings/xml/comment-xml-schema.rng %s > %t/out // RUN: FileCheck %s < %t/out +// rdar://13647476 //! NSObject is root of all. @interface NSObject diff --git a/clang/test/Index/targeted-cursor.m b/clang/test/Index/targeted-cursor.m index 6236a7ed4f1a..a53ebf6918e2 100644 --- a/clang/test/Index/targeted-cursor.m +++ b/clang/test/Index/targeted-cursor.m @@ -1,4 +1,5 @@ +// rdar://10920009 // RUN: c-index-test -write-pch %t.h.pch -target x86_64-apple-macosx10.7 -x objective-c-header %S/targeted-cursor.m.h -Xclang -detailed-preprocessing-record // RUN: c-index-test -cursor-at=%S/targeted-cursor.m.h:5:13 %s -target x86_64-apple-macosx10.7 -include %t.h | FileCheck %s diff --git a/clang/test/Layout/ms_struct-bitfields.c b/clang/test/Layout/ms_struct-bitfields.c index 41f4d71ceac5..9cb455b5cc42 100644 --- a/clang/test/Layout/ms_struct-bitfields.c +++ b/clang/test/Layout/ms_struct-bitfields.c @@ -1,6 +1,8 @@ // RUN: %clang_cc1 -emit-llvm-only -triple armv7-apple-darwin -fdump-record-layouts %s 2>/dev/null \ // RUN: | FileCheck %s +// rdar://22275433 + #pragma ms_struct on union A { diff --git a/clang/test/Lexer/block_cmt_end.c b/clang/test/Lexer/block_cmt_end.c index 27c6aa8d2fda..7d24817042f4 100644 --- a/clang/test/Lexer/block_cmt_end.c +++ b/clang/test/Lexer/block_cmt_end.c @@ -29,7 +29,7 @@ next comment ends with a trigraph escaped newline: */ foo -// We should not get warnings about trigraphs in comments: +// rdar://6060752 - We should not get warnings about trigraphs in comments: // '????' /* ???? */ diff --git a/clang/test/Lexer/comment-escape.c b/clang/test/Lexer/comment-escape.c index 203605513755..e9851caf2ce2 100644 --- a/clang/test/Lexer/comment-escape.c +++ b/clang/test/Lexer/comment-escape.c @@ -1,4 +1,5 @@ // RUN: %clang -fsyntax-only -Wdocumentation %s +// rdar://6757323 // foo \ #define blork 32 diff --git a/clang/test/Lexer/constants.c b/clang/test/Lexer/constants.c index b85eb4a4088e..caa373720942 100644 --- a/clang/test/Lexer/constants.c +++ b/clang/test/Lexer/constants.c @@ -46,6 +46,7 @@ int e = 'abcd'; // still warn: expected-warning {{multi-character character con int f = 'abcd'; // ignored. +// rdar://problem/6974641 float t0[] = { 1.9e20f, 1.9e-20f, diff --git a/clang/test/Lexer/counter.c b/clang/test/Lexer/counter.c index a7db898095ef..70ac98e727d5 100644 --- a/clang/test/Lexer/counter.c +++ b/clang/test/Lexer/counter.c @@ -1,3 +1,4 @@ +// __COUNTER__ support: rdar://4329310 // RUN: %clang -E %s | FileCheck %s #define PASTE2(x,y) x##y diff --git a/clang/test/Lexer/ms-extensions.c b/clang/test/Lexer/ms-extensions.c index f1eed337b873..dc7c543f00f8 100644 --- a/clang/test/Lexer/ms-extensions.c +++ b/clang/test/Lexer/ms-extensions.c @@ -17,6 +17,7 @@ __complex double c1 = 1i; __complex double c2 = 1.0i; __complex float c3 = 1.0if; +// radar 7562363 #define ULLONG_MAX 0xffffffffffffffffui64 #define UINT 0xffffffffui32 #define USHORT 0xffffui16 diff --git a/clang/test/Lexer/newline-eof.c b/clang/test/Lexer/newline-eof.c index 9f5033384e16..f8471fefac7c 100644 --- a/clang/test/Lexer/newline-eof.c +++ b/clang/test/Lexer/newline-eof.c @@ -2,6 +2,7 @@ // RUN: %clang_cc1 -fsyntax-only -pedantic -verify %s // RUN: %clang_cc1 -fsyntax-only -x c++ -std=c++03 -pedantic -verify %s // RUN: %clang_cc1 -fsyntax-only -Wnewline-eof %s 2>&1 | FileCheck %s +// rdar://9133072 // In C++11 mode, this is allowed, so don't warn in pedantic mode. // RUN: %clang_cc1 -fsyntax-only -x c++ -std=c++11 -Wnewline-eof -verify %s diff --git a/clang/test/Lexer/pragma-operators.cpp b/clang/test/Lexer/pragma-operators.cpp index c20231556a90..d9c3d36d7870 100644 --- a/clang/test/Lexer/pragma-operators.cpp +++ b/clang/test/Lexer/pragma-operators.cpp @@ -1,7 +1,7 @@ // RUN: %clang_cc1 -fms-extensions -std=c++11 -E %s -fuse-line-directives | FileCheck %s // Test that we properly expand the C99 _Pragma and Microsoft __pragma -// into #pragma directives, with newlines where needed. +// into #pragma directives, with newlines where needed. // CHECK: #line // CHECK: #pragma warning(push) diff --git a/clang/test/Lexer/rdar-8914293.c b/clang/test/Lexer/rdar-8914293.c index 2d88bc2afccd..e39e4f1904c3 100644 --- a/clang/test/Lexer/rdar-8914293.c +++ b/clang/test/Lexer/rdar-8914293.c @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -fsyntax-only -verify %s +// rdar://8914293 // We want be compatible with gcc and warn, not error. /* expected-warning {{missing terminating}} */ #define FOO "foo diff --git a/clang/test/Lexer/rdr-6096838-2.c b/clang/test/Lexer/rdr-6096838-2.c index 472a99aef060..e64acc9d226d 100644 --- a/clang/test/Lexer/rdr-6096838-2.c +++ b/clang/test/Lexer/rdr-6096838-2.c @@ -1,4 +1,5 @@ /* RUN: %clang_cc1 -triple x86_64-unknown-unknown -pedantic -std=gnu89 -fsyntax-only -verify %s + rdar://6096838 */ long double d = 0x0.0000003ffffffff00000p-16357L; /* expected-warning {{hexadecimal floating constants are a C99 feature}} */ diff --git a/clang/test/Lexer/rdr-6096838.c b/clang/test/Lexer/rdr-6096838.c index 6072143a56dd..b77b95e79613 100644 --- a/clang/test/Lexer/rdr-6096838.c +++ b/clang/test/Lexer/rdr-6096838.c @@ -1,5 +1,6 @@ /* RUN: %clang_cc1 -triple i386-unknown-unknown -fsyntax-only -verify %s * RUN: %clang_cc1 -triple x86_64-unknown-unknown -std=gnu89 -fsyntax-only -verify %s + rdar://6096838 */ // expected-no-diagnostics diff --git a/clang/test/Lexer/utf-16.c b/clang/test/Lexer/utf-16.c index e8884d8fcf66..169ee43ebe04 100644 --- a/clang/test/Lexer/utf-16.c +++ b/clang/test/Lexer/utf-16.c @@ -1,4 +1,5 @@ // RUN: %clang_cc1 %s -fsyntax-only -verify +// rdar://7876588 // This test verifies that clang gives a decent error for UTF-16 source files. diff --git a/clang/test/Misc/caret-diags-macros.c b/clang/test/Misc/caret-diags-macros.c index 51918dadd822..13b084b853ac 100644 --- a/clang/test/Misc/caret-diags-macros.c +++ b/clang/test/Misc/caret-diags-macros.c @@ -18,6 +18,7 @@ void bar(void) { // CHECK: {{.*}}:17:5: warning: expression result unused } +// rdar://7597492 #define sprintf(str, A, B) \ __builtin___sprintf_chk (str, 0, 42, A, B) @@ -37,7 +38,7 @@ void baz(char *Msg) { void test(void) { macro_args3(11); - // CHECK: {{.*}}:39:15: warning: expression result unused + // CHECK: {{.*}}:40:15: warning: expression result unused // Also check that the 'caret' printing agrees with the location here where // its easy to FileCheck. // CHECK-NEXT: macro_args3(11); @@ -47,35 +48,35 @@ void test(void) { 1, 2, 3); - // CHECK: {{.*}}:48:5: warning: expression result unused - // CHECK: {{.*}}:36:55: note: expanded from macro 'macro_many_args3' - // CHECK: {{.*}}:35:55: note: expanded from macro 'macro_many_args2' - // CHECK: {{.*}}:34:35: note: expanded from macro 'macro_many_args1' + // CHECK: {{.*}}:49:5: warning: expression result unused + // CHECK: {{.*}}:37:55: note: expanded from macro 'macro_many_args3' + // CHECK: {{.*}}:36:55: note: expanded from macro 'macro_many_args2' + // CHECK: {{.*}}:35:35: note: expanded from macro 'macro_many_args1' macro_many_args3( 1, M2, 3); - // CHECK: {{.*}}:57:5: warning: expression result unused + // CHECK: {{.*}}:58:5: warning: expression result unused // CHECK: {{.*}}:4:12: note: expanded from macro 'M2' - // CHECK: {{.*}}:36:55: note: expanded from macro 'macro_many_args3' - // CHECK: {{.*}}:35:55: note: expanded from macro 'macro_many_args2' - // CHECK: {{.*}}:34:35: note: expanded from macro 'macro_many_args1' + // CHECK: {{.*}}:37:55: note: expanded from macro 'macro_many_args3' + // CHECK: {{.*}}:36:55: note: expanded from macro 'macro_many_args2' + // CHECK: {{.*}}:35:35: note: expanded from macro 'macro_many_args1' macro_many_args3( 1, macro_args2(22), 3); - // CHECK: {{.*}}:67:17: warning: expression result unused + // CHECK: {{.*}}:68:17: warning: expression result unused // This caret location needs to be printed *inside* a different macro's // arguments. // CHECK-NEXT: macro_args2(22), // CHECK-NEXT: {{^ \^~}} - // CHECK: {{.*}}:31:36: note: expanded from macro 'macro_args2' - // CHECK: {{.*}}:30:24: note: expanded from macro 'macro_args1' - // CHECK: {{.*}}:36:55: note: expanded from macro 'macro_many_args3' - // CHECK: {{.*}}:35:55: note: expanded from macro 'macro_many_args2' - // CHECK: {{.*}}:34:35: note: expanded from macro 'macro_many_args1' + // CHECK: {{.*}}:32:36: note: expanded from macro 'macro_args2' + // CHECK: {{.*}}:31:24: note: expanded from macro 'macro_args1' + // CHECK: {{.*}}:37:55: note: expanded from macro 'macro_many_args3' + // CHECK: {{.*}}:36:55: note: expanded from macro 'macro_many_args2' + // CHECK: {{.*}}:35:35: note: expanded from macro 'macro_many_args1' } #define variadic_args1(x, y, ...) y @@ -84,12 +85,12 @@ void test(void) { void test2(void) { variadic_args3(1, 22, 3, 4); - // CHECK: {{.*}}:86:21: warning: expression result unused + // CHECK: {{.*}}:87:21: warning: expression result unused // CHECK-NEXT: variadic_args3(1, 22, 3, 4); // CHECK-NEXT: {{^ \^~}} - // CHECK: {{.*}}:83:53: note: expanded from macro 'variadic_args3' - // CHECK: {{.*}}:82:50: note: expanded from macro 'variadic_args2' - // CHECK: {{.*}}:81:35: note: expanded from macro 'variadic_args1' + // CHECK: {{.*}}:84:53: note: expanded from macro 'variadic_args3' + // CHECK: {{.*}}:83:50: note: expanded from macro 'variadic_args2' + // CHECK: {{.*}}:82:35: note: expanded from macro 'variadic_args1' } #define variadic_pasting_args1(x, y, z) y @@ -100,35 +101,35 @@ void test2(void) { void test3(void) { variadic_pasting_args3(1, 2, 3, 4); - // CHECK: {{.*}}:102:32: warning: expression result unused - // CHECK: {{.*}}:98:72: note: expanded from macro 'variadic_pasting_args3' - // CHECK: {{.*}}:96:68: note: expanded from macro 'variadic_pasting_args2' - // CHECK: {{.*}}:95:41: note: expanded from macro 'variadic_pasting_args1' + // CHECK: {{.*}}:103:32: warning: expression result unused + // CHECK: {{.*}}:99:72: note: expanded from macro 'variadic_pasting_args3' + // CHECK: {{.*}}:97:68: note: expanded from macro 'variadic_pasting_args2' + // CHECK: {{.*}}:96:41: note: expanded from macro 'variadic_pasting_args1' variadic_pasting_args3a(1, 2, 3, 4); - // CHECK: {{.*}}:108:3: warning: expression result unused + // CHECK: {{.*}}:109:3: warning: expression result unused // CHECK-NEXT: variadic_pasting_args3a(1, 2, 3, 4); // CHECK-NEXT: {{ \^~~~~~~~~~~~~~~~~~~~~~~}} - // CHECK: {{.*}}:99:44: note: expanded from macro 'variadic_pasting_args3a' + // CHECK: {{.*}}:100:44: note: expanded from macro 'variadic_pasting_args3a' // CHECK-NEXT: #define variadic_pasting_args3a(x, y, ...) variadic_pasting_args2a(x, y, __VA_ARGS__) // CHECK-NEXT: {{ \^~~~~~~~~~~~~~~~~~~~~~~}} - // CHECK: {{.*}}:97:70: note: expanded from macro 'variadic_pasting_args2a' + // CHECK: {{.*}}:98:70: note: expanded from macro 'variadic_pasting_args2a' // CHECK-NEXT: #define variadic_pasting_args2a(x, y, ...) variadic_pasting_args1(x, y ## __VA_ARGS__) // CHECK-NEXT: {{ \^~~~~~~~~~~~~~~~}} - // CHECK: {{.*}}:95:41: note: expanded from macro 'variadic_pasting_args1' + // CHECK: {{.*}}:96:41: note: expanded from macro 'variadic_pasting_args1' // CHECK-NEXT: #define variadic_pasting_args1(x, y, z) y // CHECK-NEXT: {{ \^}} } #define BAD_CONDITIONAL_OPERATOR (2<3)?2:3 int test4 = BAD_CONDITIONAL_OPERATOR+BAD_CONDITIONAL_OPERATOR; -// CHECK: {{.*}}:123:39: note: expanded from macro 'BAD_CONDITIONAL_OPERATOR' +// CHECK: {{.*}}:124:39: note: expanded from macro 'BAD_CONDITIONAL_OPERATOR' // CHECK-NEXT: #define BAD_CONDITIONAL_OPERATOR (2<3)?2:3 // CHECK-NEXT: {{^ \^}} -// CHECK: {{.*}}:123:39: note: expanded from macro 'BAD_CONDITIONAL_OPERATOR' +// CHECK: {{.*}}:124:39: note: expanded from macro 'BAD_CONDITIONAL_OPERATOR' // CHECK-NEXT: #define BAD_CONDITIONAL_OPERATOR (2<3)?2:3 // CHECK-NEXT: {{^ \^}} -// CHECK: {{.*}}:123:39: note: expanded from macro 'BAD_CONDITIONAL_OPERATOR' +// CHECK: {{.*}}:124:39: note: expanded from macro 'BAD_CONDITIONAL_OPERATOR' // CHECK-NEXT: #define BAD_CONDITIONAL_OPERATOR (2<3)?2:3 // CHECK-NEXT: {{^ ~~~~~\^~~~}} @@ -136,32 +137,32 @@ int test4 = BAD_CONDITIONAL_OPERATOR+BAD_CONDITIONAL_OPERATOR; #define TWOL (2< #define X 1+TWOL 3) QMARK 4:5 int x = X; -// CHECK: {{.*}}:138:9: note: place parentheses around the '+' expression to silence this warning +// CHECK: {{.*}}:139:9: note: place parentheses around the '+' expression to silence this warning // CHECK-NEXT: int x = X; // CHECK-NEXT: {{^ \^}} -// CHECK-NEXT: {{.*}}:137:21: note: expanded from macro 'X' +// CHECK-NEXT: {{.*}}:138:21: note: expanded from macro 'X' // CHECK-NEXT: #define X 1+TWOL 3) QMARK 4:5 // CHECK-NEXT: {{^ ~~~~~~~~~ \^}} -// CHECK-NEXT: {{.*}}:135:15: note: expanded from macro 'QMARK' +// CHECK-NEXT: {{.*}}:136:15: note: expanded from macro 'QMARK' // CHECK-NEXT: #define QMARK ? // CHECK-NEXT: {{^ \^}} -// CHECK-NEXT: {{.*}}:138:9: note: place parentheses around the '?:' expression to evaluate it first +// CHECK-NEXT: {{.*}}:139:9: note: place parentheses around the '?:' expression to evaluate it first // CHECK-NEXT: int x = X; // CHECK-NEXT: {{^ \^}} -// CHECK-NEXT: {{.*}}:137:21: note: expanded from macro 'X' +// CHECK-NEXT: {{.*}}:138:21: note: expanded from macro 'X' // CHECK-NEXT: #define X 1+TWOL 3) QMARK 4:5 // CHECK-NEXT: {{^ ~~~~~~~~\^~~~~~~~~}} #define ONEPLUS 1+ #define Y ONEPLUS (2<3) QMARK 4:5 int y = Y; -// CHECK: {{.*}}:157:9: warning: operator '?:' has lower precedence than '+'; '+' will be evaluated first +// CHECK: {{.*}}:158:9: warning: operator '?:' has lower precedence than '+'; '+' will be evaluated first // CHECK-NEXT: int y = Y; // CHECK-NEXT: {{^ \^}} -// CHECK-NEXT: {{.*}}:156:25: note: expanded from macro 'Y' +// CHECK-NEXT: {{.*}}:157:25: note: expanded from macro 'Y' // CHECK-NEXT: #define Y ONEPLUS (2<3) QMARK 4:5 // CHECK-NEXT: {{^ ~~~~~~~~~~~~~ \^}} -// CHECK-NEXT: {{.*}}:135:15: note: expanded from macro 'QMARK' +// CHECK-NEXT: {{.*}}:136:15: note: expanded from macro 'QMARK' // CHECK-NEXT: #define QMARK ? // CHECK-NEXT: {{^ \^}} @@ -172,10 +173,10 @@ void foo_aa(char* s) #define /* */ BARC(c, /* */b, a) (a + b ? c : c) iequals(__LINE__, BARC(123, (456 < 345), 789), 8); } -// CHECK: {{.*}}:173:21: warning: operator '?:' has lower precedence than '+' +// CHECK: {{.*}}:174:21: warning: operator '?:' has lower precedence than '+' // CHECK-NEXT: iequals(__LINE__, BARC(123, (456 < 345), 789), 8); // CHECK-NEXT: {{^ \^~~~~~~~~~~~~~~~~~~~~~~~~~~}} -// CHECK-NEXT: {{.*}}:172:41: note: expanded from macro 'BARC' +// CHECK-NEXT: {{.*}}:173:41: note: expanded from macro 'BARC' // CHECK-NEXT: #define /* */ BARC(c, /* */b, a) (a + b ? c : c) // CHECK-NEXT: {{^ ~~~~~ \^}} @@ -186,16 +187,16 @@ void foo_aa(char* s) #if UTARG_MAX_U #endif -// CHECK: {{.*}}:186:5: warning: left side of operator converted from negative value to unsigned: -1 to 18446744073709551615 +// CHECK: {{.*}}:187:5: warning: left side of operator converted from negative value to unsigned: -1 to 18446744073709551615 // CHECK-NEXT: #if UTARG_MAX_U // CHECK-NEXT: {{^ \^~~~~~~~~~~}} -// CHECK-NEXT: {{.*}}:184:21: note: expanded from macro 'UTARG_MAX_U' +// CHECK-NEXT: {{.*}}:185:21: note: expanded from macro 'UTARG_MAX_U' // CHECK-NEXT: #define UTARG_MAX_U APPEND (MAX_UINT, UL) // CHECK-NEXT: {{^ \^~~~~~~~~~~~~~~~~~~~~}} -// CHECK-NEXT: {{.*}}:183:27: note: expanded from macro 'APPEND' +// CHECK-NEXT: {{.*}}:184:27: note: expanded from macro 'APPEND' // CHECK-NEXT: #define APPEND(NUM, SUFF) APPEND2(NUM, SUFF) // CHECK-NEXT: {{^ \^~~~~~~~~~~~~~~~~~}} -// CHECK-NEXT: {{.*}}:182:31: note: expanded from macro 'APPEND2' +// CHECK-NEXT: {{.*}}:183:31: note: expanded from macro 'APPEND2' // CHECK-NEXT: #define APPEND2(NUM, SUFF) -1 != NUM ## SUFF // CHECK-NEXT: {{^ ~~ \^ ~~~~~~~~~~~}} @@ -209,14 +210,14 @@ void f(char* pMsgBuf, char* pKeepBuf) { Csprintf(pMsgBuf,"\nEnter minimum anagram length (2-%1d): ", strlen_test(pKeepBuf)); // FIXME: Change test to use 'Cstrlen' instead of 'strlen_test' when macro printing is fixed. } -// CHECK: {{.*}}:209:62: warning: format specifies type 'int' but the argument has type 'unsigned long' +// CHECK: {{.*}}:210:62: warning: format specifies type 'int' but the argument has type 'unsigned long' // CHECK-NEXT: Csprintf(pMsgBuf,"\nEnter minimum anagram length (2-%1d): ", strlen_test(pKeepBuf)); // CHECK-NEXT: {{^ ~~~ \^~~~~~~~~~~~~~~~~~~~~}} // CHECK-NEXT: {{^ %1lu}} -// CHECK-NEXT: {{.*}}:207:21: note: expanded from macro 'Csprintf' +// CHECK-NEXT: {{.*}}:208:21: note: expanded from macro 'Csprintf' // CHECK-NEXT: #define Csprintf sprintf2 // CHECK-NEXT: {{^ \^}} -// CHECK-NEXT: {{.*}}:205:56: note: expanded from macro 'sprintf2' +// CHECK-NEXT: {{.*}}:206:56: note: expanded from macro 'sprintf2' // CHECK-NEXT: __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) // CHECK-NEXT: {{^ \^~~~~~~~~~~}} @@ -227,21 +228,21 @@ void use_evil_macros(long mylong) { SWAP_AND_APPLY((), DECLARE_HELPER) APPLY(DECLARE_HELPER, ()) } -// CHECK: {{.*}}:227:22: warning: format specifies type 'int' but the argument has type 'long' +// CHECK: {{.*}}:228:22: warning: format specifies type 'int' but the argument has type 'long' // CHECK-NEXT: SWAP_AND_APPLY((), DECLARE_HELPER) // CHECK-NEXT: ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ -// CHECK-NEXT: {{.*}}:223:36: note: expanded from macro 'SWAP_AND_APPLY' +// CHECK-NEXT: {{.*}}:224:36: note: expanded from macro 'SWAP_AND_APPLY' // CHECK-NEXT: #define SWAP_AND_APPLY(arg, macro) macro arg // CHECK-NEXT: ^~~~~~~~~ -// CHECK-NEXT: {{.*}}:225:51: note: expanded from macro 'DECLARE_HELPER' +// CHECK-NEXT: {{.*}}:226:51: note: expanded from macro 'DECLARE_HELPER' // CHECK-NEXT: #define DECLARE_HELPER() __builtin_printf("%d\n", mylong); // CHECK-NEXT: ~~ ^~~~~~ -// CHECK-NEXT: {{.*}}:228:9: warning: format specifies type 'int' but the argument has type 'long' +// CHECK-NEXT: {{.*}}:229:9: warning: format specifies type 'int' but the argument has type 'long' // CHECK-NEXT: APPLY(DECLARE_HELPER, ()) // CHECK-NEXT: ~~~~~~^~~~~~~~~~~~~~~~~~~ -// CHECK-NEXT: {{.*}}:224:27: note: expanded from macro 'APPLY' +// CHECK-NEXT: {{.*}}:225:27: note: expanded from macro 'APPLY' // CHECK-NEXT: #define APPLY(macro, arg) macro arg // CHECK-NEXT: ^~~~~~~~~ -// CHECK-NEXT: {{.*}}:225:51: note: expanded from macro 'DECLARE_HELPER' +// CHECK-NEXT: {{.*}}:226:51: note: expanded from macro 'DECLARE_HELPER' // CHECK-NEXT: #define DECLARE_HELPER() __builtin_printf("%d\n", mylong); // CHECK-NEXT: ~~ ^~~~~~ diff --git a/clang/test/Misc/emit-html.c b/clang/test/Misc/emit-html.c index 55b20c84d7ed..ec07a60a6066 100644 --- a/clang/test/Misc/emit-html.c +++ b/clang/test/Misc/emit-html.c @@ -1,5 +1,6 @@ // RUN: %clang_cc1 %s -emit-html -o - +// rdar://6562329 #line 42 "foo.c" // PR3635 @@ -15,6 +16,7 @@ int main(int argc, char **argv) { FOR_ALL_FILES(f) { } #endif +// // -emit-html filters out # directives, but not _Pragma (or MS __pragma) // Diagnostic push/pop is stateful, so re-lexing a file can cause problems // if these pragmas are interpreted normally. diff --git a/clang/test/Misc/predefines.c b/clang/test/Misc/predefines.c index 92e324d0e02f..63944b03d8f9 100644 --- a/clang/test/Misc/predefines.c +++ b/clang/test/Misc/predefines.c @@ -1,5 +1,6 @@ /* RUN: %clang_cc1 -fsyntax-only -verify -std=c89 -ffreestanding -pedantic-errors %s * expected-no-diagnostics + * rdar://6814950 */ #include diff --git a/clang/test/Modules/crashes.m b/clang/test/Modules/crashes.m index aecc045821af..c785bd19f229 100644 --- a/clang/test/Modules/crashes.m +++ b/clang/test/Modules/crashes.m @@ -5,6 +5,7 @@ __attribute__((objc_root_class)) @interface Test +// rdar://19904648 // The diagnostic will try to find a suitable macro name to use (instead of raw __attribute__). // While iterating through the macros it would dereference a null pointer if the macro was undefined in the same module as it was originally defined in. @property (assign) id newFile; // expected-error {{property follows Cocoa naming convention for returning 'owned' objects}} \ diff --git a/clang/test/Modules/dependent-module-different-location.m b/clang/test/Modules/dependent-module-different-location.m index afbadfcf40c9..f969aa9958bd 100644 --- a/clang/test/Modules/dependent-module-different-location.m +++ b/clang/test/Modules/dependent-module-different-location.m @@ -14,7 +14,7 @@ // RUN: -fmodules -fimplicit-module-maps -fmodules-cache-path=%t/modules.cache // Test the case when a dependent module is found in a different location, so -// module cache has outdated information. +// module cache has outdated information. //--- StableFrameworks/Movable.framework/Headers/Movable.h // empty diff --git a/clang/test/Modules/import-decl.cpp b/clang/test/Modules/import-decl.cpp index b31e3d5f5fd0..05670d7e5e1a 100644 --- a/clang/test/Modules/import-decl.cpp +++ b/clang/test/Modules/import-decl.cpp @@ -9,6 +9,7 @@ int main(void) { return 0; } +// @interface A -method; @end diff --git a/clang/test/Modules/redecls.m b/clang/test/Modules/redecls.m index 0f9a250ea064..d6ad22e609ea 100644 --- a/clang/test/Modules/redecls.m +++ b/clang/test/Modules/redecls.m @@ -16,6 +16,7 @@ #else +// rdar://13712705 @interface SS : AA @end diff --git a/clang/test/Modules/self-import-header.m b/clang/test/Modules/self-import-header.m index 9cadcc4762e0..83e5c0104d25 100644 --- a/clang/test/Modules/self-import-header.m +++ b/clang/test/Modules/self-import-header.m @@ -1,3 +1,4 @@ +// rdar://13840148 // REQUIRES: x86-registered-target // RUN: rm -rf %t // RUN: %clang -fsyntax-only -isysroot %S/Inputs/System/usr/include -fmodules -fmodules-cache-path=%t \ diff --git a/clang/test/Modules/va_list.m b/clang/test/Modules/va_list.m index e6724f8f720d..1de609a8a2e6 100644 --- a/clang/test/Modules/va_list.m +++ b/clang/test/Modules/va_list.m @@ -21,6 +21,8 @@ // RUN: -fmodules-ignore-macro=PREFIX -Wno-error=implicit-int -I %S/Inputs/va_list -include-pch %t.pch \ // RUN: -x objective-c %s -fsyntax-only +// rdar://18039719 + #ifdef PREFIX @import va_list_b; #endif diff --git a/clang/test/PCH/__va_list_tag.c b/clang/test/PCH/__va_list_tag.c index d63c53f75457..81cda8963b23 100644 --- a/clang/test/PCH/__va_list_tag.c +++ b/clang/test/PCH/__va_list_tag.c @@ -1,5 +1,6 @@ // REQUIRES: x86-registered-target // PR13189 +// rdar://problem/11741429 // Test this without pch. // RUN: %clang_cc1 -triple=x86_64-unknown-freebsd7.0 -include %S/Inputs/__va_list_tag.h %s -emit-llvm -o - diff --git a/clang/test/PCH/chain-categories2.m b/clang/test/PCH/chain-categories2.m index 42138a761437..50eea2a5606f 100644 --- a/clang/test/PCH/chain-categories2.m +++ b/clang/test/PCH/chain-categories2.m @@ -1,4 +1,4 @@ -// Test that infinite loop was fixed. +// Test that infinite loop in rdar://10418538 was fixed. // Without PCH // RUN: %clang_cc1 -fsyntax-only -verify -Wno-objc-root-class -include %s -include %s %s diff --git a/clang/test/PCH/crash-12631281.cpp b/clang/test/PCH/crash-12631281.cpp index cb1ded0ce988..f7bf65e2054d 100644 --- a/clang/test/PCH/crash-12631281.cpp +++ b/clang/test/PCH/crash-12631281.cpp @@ -6,6 +6,7 @@ // expected-no-diagnostics +// rdar://12631281 // This reduced test case exposed a use-after-free memory bug, which was reliable // reproduced only on guarded malloc (and probably valgrind). diff --git a/clang/test/PCH/cxx-templates.cpp b/clang/test/PCH/cxx-templates.cpp index 11ad401de23a..eaedb9bbfde8 100644 --- a/clang/test/PCH/cxx-templates.cpp +++ b/clang/test/PCH/cxx-templates.cpp @@ -109,7 +109,7 @@ namespace cyclic_module_load { } #ifndef NO_ERRORS -// expected-error@cxx-templates.h:304 {{incomplete}} +// expected-error@cxx-templates.h:305 {{incomplete}} template int local_extern::f(); // expected-note {{in instantiation of}} #endif template int local_extern::g(); @@ -146,7 +146,7 @@ namespace ClassScopeExplicitSpecializations { template int A<3>::f<1>() const; template int A<4>::f<0>() const; // expected-warning {{has no effect}} template int A<4>::f<1>() const; - // expected-note@cxx-templates.h:402 2{{here}} + // expected-note@cxx-templates.h:403 2{{here}} static_assert(A<0>().f<0>() == 4, ""); static_assert(A<0>().f<1>() == 5, ""); diff --git a/clang/test/PCH/cxx-templates.h b/clang/test/PCH/cxx-templates.h index 95d684e4a92d..7819a1ecb8e1 100644 --- a/clang/test/PCH/cxx-templates.h +++ b/clang/test/PCH/cxx-templates.h @@ -206,6 +206,7 @@ namespace NonTypeTemplateParmContext { inline bool equalIgnoringNullity(const Vector& a, const String& b) { return false; } } +// template< typename > class Foo; template< typename T > diff --git a/clang/test/PCH/field-designator.c b/clang/test/PCH/field-designator.c index 7d969f150146..f0486ec162d5 100644 --- a/clang/test/PCH/field-designator.c +++ b/clang/test/PCH/field-designator.c @@ -2,7 +2,7 @@ // RUN: %clang_cc1 %s -emit-pch -o %t.pch // RUN: %clang_cc1 %s -include-pch %t.pch -// Make sure we don't emit a bogus +// rdar://12239321 Make sure we don't emit a bogus // error: field designator 'e' does not refer to a non-static data member #ifndef HEADER diff --git a/clang/test/PCH/format-strings.c b/clang/test/PCH/format-strings.c index 3c5ec86b1cc1..679d1cf53d08 100644 --- a/clang/test/PCH/format-strings.c +++ b/clang/test/PCH/format-strings.c @@ -1,6 +1,8 @@ // RUN: %clang_cc1 -D FOOBAR="\"\"" %s -emit-pch -o %t.pch // RUN: %clang_cc1 -D FOOBAR="\"\"" %s -include-pch %t.pch +// rdar://11418366 + #ifndef HEADER #define HEADER diff --git a/clang/test/PCH/friend-template.cpp b/clang/test/PCH/friend-template.cpp index 3a877aa43b51..a608879ee97f 100644 --- a/clang/test/PCH/friend-template.cpp +++ b/clang/test/PCH/friend-template.cpp @@ -13,6 +13,7 @@ #ifndef HEADER #define HEADER +// rdar://12627738 namespace rdar12627738 { class RecyclerTag { diff --git a/clang/test/PCH/irgen-rdar13114142.mm b/clang/test/PCH/irgen-rdar13114142.mm index d3687637eefa..4cc985d60424 100644 --- a/clang/test/PCH/irgen-rdar13114142.mm +++ b/clang/test/PCH/irgen-rdar13114142.mm @@ -30,7 +30,7 @@ OOArray operator & (OOString, OOString); #else -// We just make sure there is no crash on IRGen +// We just make sure there is no crash on IRGen (rdar://13114142) // CHECK: _Z3foov() void foo() { OOString str; diff --git a/clang/test/PCH/macro-redef.c b/clang/test/PCH/macro-redef.c index 389aaa4628d4..7e25d7f5a2f8 100644 --- a/clang/test/PCH/macro-redef.c +++ b/clang/test/PCH/macro-redef.c @@ -3,6 +3,7 @@ // RUN: %clang_cc1 -fsyntax-only %s -include-pch %t2.pch -verify // Test that a redefinition inside the PCH won't manifest as an ambiguous macro. +// rdar://13016031 #ifndef HEADER1 #define HEADER1 diff --git a/clang/test/PCH/objc_import.m b/clang/test/PCH/objc_import.m index c1a497b400ec..bdba92c0c805 100644 --- a/clang/test/PCH/objc_import.m +++ b/clang/test/PCH/objc_import.m @@ -16,6 +16,7 @@ void func(void) { [xx instMethod]; } +// rdar://14112291 @class NewID1; void foo1(NewID1 *p); void bar1(OldID1 *p) { diff --git a/clang/test/PCH/pending-ids.m b/clang/test/PCH/pending-ids.m index 76f870036182..cf502da7e4a4 100644 --- a/clang/test/PCH/pending-ids.m +++ b/clang/test/PCH/pending-ids.m @@ -1,4 +1,5 @@ // UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}} +// Test for rdar://10278815 // Without PCH // RUN: %clang_cc1 -fsyntax-only -verify -include %s %s diff --git a/clang/test/PCH/rdar10830559.cpp b/clang/test/PCH/rdar10830559.cpp index 90aba9ce261d..0144f34cbba8 100644 --- a/clang/test/PCH/rdar10830559.cpp +++ b/clang/test/PCH/rdar10830559.cpp @@ -9,6 +9,8 @@ // RUN: %clang_cc1 -emit-pch -fpch-instantiate-templates -o %t %s // RUN: %clang_cc1 -include-pch %t -emit-llvm-only %t.empty.cpp +// rdar://10830559 + //#pragma ms_struct on template< typename T > diff --git a/clang/test/PCH/single-token-macro.c b/clang/test/PCH/single-token-macro.c index cb015277ba79..aa02f65f78b1 100644 --- a/clang/test/PCH/single-token-macro.c +++ b/clang/test/PCH/single-token-macro.c @@ -1,3 +1,5 @@ +// rdar://10588825 + // Test this without pch. // RUN: %clang_cc1 %s -include %s -verify -fsyntax-only diff --git a/clang/test/Parser/asm-qualifiers.c b/clang/test/Parser/asm-qualifiers.c index 45957291e4a8..d18336dfd7c8 100644 --- a/clang/test/Parser/asm-qualifiers.c +++ b/clang/test/Parser/asm-qualifiers.c @@ -51,6 +51,7 @@ foo:; // globals asm (""); +// asm volatile (""); // expected-error {{meaningless 'volatile' on asm outside function}} asm inline (""); // expected-error {{meaningless 'inline' on asm outside function}} asm goto (""::::noodle); // expected-error {{meaningless 'goto' on asm outside function}} diff --git a/clang/test/Parser/asm.c b/clang/test/Parser/asm.c index e08d9dc7f979..480acb7b6ffd 100644 --- a/clang/test/Parser/asm.c +++ b/clang/test/Parser/asm.c @@ -22,9 +22,10 @@ void a(void) { __asm__(""); // ok } +// rdar://5952468 __asm ; // expected-error {{expected '(' after 'asm'}} -// Don't crash on wide string literals in 'asm'. +// - Don't crash on wide string literals in 'asm'. int foo asm (L"bar"); // expected-error {{cannot use wide string literal in 'asm'}} asm() // expected-error {{expected string literal in 'asm'}} @@ -35,7 +36,7 @@ asm(; // expected-error {{expected string literal in 'asm'}} asm("") // expected-error {{expected ';' after top-level asm block}} // Unterminated asm strings at the end of the file were causing us to crash, so -// this needs to be last. +// this needs to be last. rdar://15624081 // expected-warning@+3 {{missing terminating '"' character}} // expected-error@+2 {{expected string literal in 'asm'}} // expected-error@+1 {{expected ';' after top-level asm block}} diff --git a/clang/test/Parser/attr-availability.c b/clang/test/Parser/attr-availability.c index 71e80bd0b29f..eb934f344b94 100644 --- a/clang/test/Parser/attr-availability.c +++ b/clang/test/Parser/attr-availability.c @@ -30,6 +30,7 @@ void f11(void) __attribute__((availability(macosx,message=u"b"))); // expected-e void f12(void) __attribute__((availability(macosx,message="a" u"b"))); // expected-error {{expected string literal for optional message in 'availability' attribute}} +// rdar://10095131 enum E{ gorf __attribute__((availability(macosx,introduced=8.5, message = 10.0))), // expected-error {{expected string literal for optional message in 'availability' attribute}} garf __attribute__((availability(macosx,introduced=8.5, message))), // expected-error {{expected '=' after 'message'}} diff --git a/clang/test/Parser/attributes.c b/clang/test/Parser/attributes.c index c73505d9f547..fe22c7e98a53 100644 --- a/clang/test/Parser/attributes.c +++ b/clang/test/Parser/attributes.c @@ -40,11 +40,15 @@ void (*h2)(int (*f2)(y, __attribute__(()) x)); // expected-error {{expected i void (*h3)(void (*f3)(__attribute__(()) x)); // expected-error {{type specifier missing, defaults to 'int'}} void (*h4)(void (*f4)(__attribute__(()))); // expected-error {{expected parameter declarator}} + + +// rdar://6131260 int foo42(void) { int x, __attribute__((unused)) y, z; return 0; } +// rdar://6096491 void __attribute__((noreturn)) d0(void), __attribute__((noreturn)) d1(void); void d2(void) __attribute__((noreturn)), d3(void) __attribute__((noreturn)); diff --git a/clang/test/Parser/check-objc2-syntax-1.m b/clang/test/Parser/check-objc2-syntax-1.m index 5a08cd853848..364f826776c8 100644 --- a/clang/test/Parser/check-objc2-syntax-1.m +++ b/clang/test/Parser/check-objc2-syntax-1.m @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -fsyntax-only -verify %s +// rdar://15505492 @import Foundation; // expected-error {{use of '@import' when modules are disabled}} @interface Subclass diff --git a/clang/test/Parser/check-syntax-1.m b/clang/test/Parser/check-syntax-1.m index 01f8d496a8ac..0ae0c5dc2934 100644 --- a/clang/test/Parser/check-syntax-1.m +++ b/clang/test/Parser/check-syntax-1.m @@ -9,6 +9,7 @@ typedef float CGFloat; // expected-error {{expected ';' after method prototype}} @end +// rdar: // 7822196 @interface A (void) x; // expected-error {{method type specifier must start with '-' or '+'}} (int)im; // expected-error {{method type specifier must start with '-' or '+'}} \ diff --git a/clang/test/Parser/cxx-decl.cpp b/clang/test/Parser/cxx-decl.cpp index 3e9b0fe56201..725141d138fd 100644 --- a/clang/test/Parser/cxx-decl.cpp +++ b/clang/test/Parser/cxx-decl.cpp @@ -12,6 +12,8 @@ struct Type { int Type; }; +// rdar://8365458 +// rdar://9132143 typedef char bool; // expected-error {{redeclaration of C++ built-in type 'bool'}} // PR4451 - We should recover well from the typo of '::' as ':' in a2. diff --git a/clang/test/Parser/cxx-default-args.cpp b/clang/test/Parser/cxx-default-args.cpp index 5b7d22a56bb9..0095a2f04dc4 100644 --- a/clang/test/Parser/cxx-default-args.cpp +++ b/clang/test/Parser/cxx-default-args.cpp @@ -32,6 +32,7 @@ struct T { void f8(int = func<0,1<2>(0), int = 1<0, T1(int) = 0); }; +// rdar://18508589 struct S { void f(int &r = error); // expected-error {{use of undeclared identifier 'error'}} }; diff --git a/clang/test/Parser/cxx-member-crash.cpp b/clang/test/Parser/cxx-member-crash.cpp index b6e1d74ca651..65e70954e043 100644 --- a/clang/test/Parser/cxx-member-crash.cpp +++ b/clang/test/Parser/cxx-member-crash.cpp @@ -1,5 +1,7 @@ // RUN: not %clang_cc1 -fsyntax-only %s 2>&1 | FileCheck %s +// + // We only care to check whether the compiler crashes; the actual // diagnostics are uninteresting. // CHECK: 8 errors generated. diff --git a/clang/test/Parser/cxx-template-decl.cpp b/clang/test/Parser/cxx-template-decl.cpp index 734438069b9a..39162c574d08 100644 --- a/clang/test/Parser/cxx-template-decl.cpp +++ b/clang/test/Parser/cxx-template-decl.cpp @@ -86,6 +86,7 @@ class T { // expected-error{{declaration of 'T' shadows template parameter}} template // expected-note{{template parameter is declared here}} void shadow3(int Size); // expected-error{{declaration of 'Size' shadows template parameter}} +// template // expected-note{{here}} struct shadow4 { int T; // expected-error{{shadows}} diff --git a/clang/test/Parser/cxx-typeof.cpp b/clang/test/Parser/cxx-typeof.cpp index dc72cda7189a..c9651b4e1cd7 100644 --- a/clang/test/Parser/cxx-typeof.cpp +++ b/clang/test/Parser/cxx-typeof.cpp @@ -8,7 +8,7 @@ static void test() { typeof pi[x] y; } -// From the gcc test suite. +// Part of rdar://problem/8347416; from the gcc test suite. struct S { int i; __typeof(S::i) foo(); diff --git a/clang/test/Parser/declarators.c b/clang/test/Parser/declarators.c index 1433380cd4e4..3af09817e6b6 100644 --- a/clang/test/Parser/declarators.c +++ b/clang/test/Parser/declarators.c @@ -40,7 +40,7 @@ int (test5), ; // expected-error {{expected identifier or '('}} -// PR3963 - test error recovery for mistyped "typenames". +// PR3963 & rdar://6759604 - test error recovery for mistyped "typenames". foo_t *d; // expected-error {{unknown type name 'foo_t'}} foo_t a; // expected-error {{unknown type name 'foo_t'}} @@ -48,7 +48,7 @@ int test6() { /* expected-warning {{a function declaration without a prototype i return a; // a should be declared. } -// Use of tagged type without tag. +// Use of tagged type without tag. rdar://6783347 struct xyz { int y; }; enum myenum { ASDFAS }; xyz b; // expected-error {{must use 'struct' tag to refer to type 'xyz'}} @@ -81,8 +81,10 @@ struct test10 { int a; } static test10x; struct test11 { int a; } const test11x; +// rdar://7608537 struct test13 { int a; } (test13x); +// struct X { }; // expected-error{{expected identifier or '('}} @@ -93,6 +95,7 @@ void test14(void) // expected-error {{expected ';' after top level declarator}} void test14a(void); void *test14b = (void*)test14a; // Make sure test14a didn't get skipped. +// rdar://problem/8358508 long struct X { int x; } test15(void); // expected-error {{'long struct' is invalid}} void test16(i) int i j; { } // expected-error {{expected ';' at end of declaration}} \ diff --git a/clang/test/Parser/goto.c b/clang/test/Parser/goto.c index 488db5757941..f34e7e21f60c 100644 --- a/clang/test/Parser/goto.c +++ b/clang/test/Parser/goto.c @@ -20,7 +20,8 @@ void test2(void) { l: goto l; } - /* PR3429 */ + /* PR3429 & rdar://8287027 + */ { l: /* expected-error {{redefinition of label 'l'}} */ ; diff --git a/clang/test/Parser/method-def-in-class.m b/clang/test/Parser/method-def-in-class.m index a847a4387a93..476ab9ba20e8 100644 --- a/clang/test/Parser/method-def-in-class.m +++ b/clang/test/Parser/method-def-in-class.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -fsyntax-only -verify %s +// rdar://7029784 @interface A -(id) f0 { // expected-error {{expected ';' after method prototype}} diff --git a/clang/test/Parser/missing-closing-rbrace.m b/clang/test/Parser/missing-closing-rbrace.m index c1eabb84d648..d811421e4876 100644 --- a/clang/test/Parser/missing-closing-rbrace.m +++ b/clang/test/Parser/missing-closing-rbrace.m @@ -1,2 +1,3 @@ // RUN: %clang_cc1 -fsyntax-only -verify %s +// rdar: //6854840 @interface A {@end // expected-error {{'@end' appears where closing brace '}' is expected}} diff --git a/clang/test/Parser/missing-end-2.m b/clang/test/Parser/missing-end-2.m index ffc810f335be..e89f28eb247b 100644 --- a/clang/test/Parser/missing-end-2.m +++ b/clang/test/Parser/missing-end-2.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -fsyntax-only -verify %s +// rdar: //7824372 @interface A // expected-note {{class started here}} -(void) im0; diff --git a/clang/test/Parser/missing-end-3.m b/clang/test/Parser/missing-end-3.m index c039ac358f9f..4875ecdd625b 100644 --- a/clang/test/Parser/missing-end-3.m +++ b/clang/test/Parser/missing-end-3.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -fsyntax-only -verify %s +// rdar://8283484 @interface blah { // expected-note {{class started here}} @private } diff --git a/clang/test/Parser/missing-selector-name.mm b/clang/test/Parser/missing-selector-name.mm index ee76f9bb3fee..d5554c5e6545 100644 --- a/clang/test/Parser/missing-selector-name.mm +++ b/clang/test/Parser/missing-selector-name.mm @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -fsyntax-only -verify -Wno-objc-root-class %s +// rdar://11939584 @interface PodiumWalkerController @property (assign) id PROP; diff --git a/clang/test/Parser/objc-at-directive-fixit.m b/clang/test/Parser/objc-at-directive-fixit.m index ba329e0b3fb1..1d291177d4ce 100644 --- a/clang/test/Parser/objc-at-directive-fixit.m +++ b/clang/test/Parser/objc-at-directive-fixit.m @@ -1,6 +1,8 @@ // RUN: %clang_cc1 -fsyntax-only -triple x86_64-apple-macosx10.10.0 -verify -fobjc-exceptions %s // RUN: not %clang_cc1 -fsyntax-only -triple x86_64-apple-macosx10.10.0 -fdiagnostics-parseable-fixits -fobjc-exceptions %s 2>&1 | FileCheck %s +// rdar://19669565 + void bar(int x); void f(void) { diff --git a/clang/test/Parser/objc-boxing.m b/clang/test/Parser/objc-boxing.m index 36cfda77cf48..16737bc1c560 100644 --- a/clang/test/Parser/objc-boxing.m +++ b/clang/test/Parser/objc-boxing.m @@ -25,6 +25,7 @@ id missing_parentheses(void) { // expected-note {{to match this '('}} } +// rdar://10679157 void bar(id p); void foo(id p) { bar(@{p, p}); // expected-error {{expected ':'}} diff --git a/clang/test/Parser/objc-cxx-keyword-identifiers.mm b/clang/test/Parser/objc-cxx-keyword-identifiers.mm index c428e237740a..cff38c554371 100644 --- a/clang/test/Parser/objc-cxx-keyword-identifiers.mm +++ b/clang/test/Parser/objc-cxx-keyword-identifiers.mm @@ -1,5 +1,7 @@ // RUN: %clang_cc1 -fsyntax-only -std=c++11 -Wno-objc-root-class -Wno-incomplete-implementation -triple x86_64-apple-macosx10.10.0 -verify %s +// rdar://20626062 + struct S { int throw; // expected-error {{expected member name or ';' after declaration specifiers; 'throw' is a keyword in Objective-C++}} }; diff --git a/clang/test/Parser/objc-error-qualified-implementation.m b/clang/test/Parser/objc-error-qualified-implementation.m index 0152a72e6082..684c388a584e 100644 --- a/clang/test/Parser/objc-error-qualified-implementation.m +++ b/clang/test/Parser/objc-error-qualified-implementation.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -fsyntax-only -Wno-objc-root-class -verify %s +// rdar://12233858 @protocol P @end @@ -19,6 +20,7 @@ @implementation K

'}} expected-note {{to match this '<'}} @end +// rdar://13920026 @implementation I (Cat)

// expected-error {{@implementation declaration cannot be protocol qualified}} - (void) Meth {} @end diff --git a/clang/test/Parser/objc-init.m b/clang/test/Parser/objc-init.m index 2caa4a8c299c..924014dc1c19 100644 --- a/clang/test/Parser/objc-init.m +++ b/clang/test/Parser/objc-init.m @@ -2,6 +2,7 @@ // RUN: %clang_cc1 -fsyntax-only -fobjc-runtime=macosx-fragile -verify -x objective-c++ -Wno-c99-designator -Wno-objc-root-class %s // RUN: %clang_cc1 -fsyntax-only -fobjc-runtime=macosx-fragile -verify -x objective-c++ -Wno-c99-designator -Wno-objc-root-class -std=c++98 %s // RUN: %clang_cc1 -fsyntax-only -fobjc-runtime=macosx-fragile -verify -x objective-c++ -Wno-c99-designator -Wno-objc-root-class -std=c++11 %s +// rdar://5707001 @interface NSNumber; - () METH; @@ -25,6 +26,7 @@ void test3(NSNumber *x) { } +// rdar://5977581 void test4(void) { unsigned x[] = {[NSNumber METH2]+2}; } @@ -49,6 +51,7 @@ void test5(NSNumber *x) { }; } +// rdar://7370882 @interface SemicolonsAppDelegate { id i; diff --git a/clang/test/Parser/objc-messaging-1.m b/clang/test/Parser/objc-messaging-1.m index 7b9f18d9b829..b6a60733d2b6 100644 --- a/clang/test/Parser/objc-messaging-1.m +++ b/clang/test/Parser/objc-messaging-1.m @@ -19,7 +19,7 @@ int main (void) [a : "Hello\n" :2 another:(i+10), (i,j-1,5),6,8]; // expected-warning{{not found}} \ // expected-warning 2{{left operand of comma operator has no effect}} - // Comma expression as receiver + // Comma expression as receiver (rdar://6222856) [a, b, c foo]; // expected-warning{{not found}} \ // expected-warning 2{{left operand of comma operator has no effect}} diff --git a/clang/test/Parser/objc-quirks.m b/clang/test/Parser/objc-quirks.m index 696847b85ca3..0bdeb464e771 100644 --- a/clang/test/Parser/objc-quirks.m +++ b/clang/test/Parser/objc-quirks.m @@ -3,6 +3,8 @@ // FIXME: This is a horrible error message here. Fix. int @"s" = 5; // expected-error {{prefix attribute must be}} + +// rdar://6480479 @interface A // expected-note {{class started here}} }; // expected-error {{missing '@end'}} \ // expected-error {{extraneous closing brace ('}')}} \ diff --git a/clang/test/Parser/objcbridge-related-attribute.m b/clang/test/Parser/objcbridge-related-attribute.m index 246afeef5198..209448bba8ce 100644 --- a/clang/test/Parser/objcbridge-related-attribute.m +++ b/clang/test/Parser/objcbridge-related-attribute.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -verify -fsyntax-only %s +// rdar://15499111 typedef struct __attribute__((objc_bridge_related(NSColor,colorWithCGColor:,CGColor))) CGColor *CGColorRefOk; typedef struct __attribute__((objc_bridge_related(NSColor,,CGColor))) CGColor *CGColorRef1Ok; diff --git a/clang/test/Parser/objcxx11-initialized-temps.mm b/clang/test/Parser/objcxx11-initialized-temps.mm index 0f5b75fdaf90..96f19fe6a5e7 100644 --- a/clang/test/Parser/objcxx11-initialized-temps.mm +++ b/clang/test/Parser/objcxx11-initialized-temps.mm @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s // expected-no-diagnostics +// rdar://12788429 struct CGPoint { double x; diff --git a/clang/test/Parser/recovery.c b/clang/test/Parser/recovery.c index 6fdbedffd236..1e76c60a2420 100644 --- a/clang/test/Parser/recovery.c +++ b/clang/test/Parser/recovery.c @@ -19,6 +19,7 @@ static void f (char * (*g) (char **, int), char **p, ...) { } // expected-error {{extraneous closing brace ('}')}} +// rdar://6094870 void test(int a) { struct { int i; } x; @@ -60,6 +61,7 @@ struct S A = { &BADIDENT, 0 /* expected-error {{use of undeclared identifier}} */ }; +// rdar://6248081 void test6248081(void) { [10] // expected-error {{expected expression}} } @@ -73,11 +75,13 @@ void foo(void) { X = 4 // expected-error{{expected ';' after expression}} } +// rdar://9045701 void test9045701(int x) { #define VALUE 0 x = VALUE // expected-error{{expected ';' after expression}} } +// rdar://7980651 typedef int intptr_t; // expected-note {{'intptr_t' declared here}} void bar(intptr y); // expected-error {{unknown type name 'intptr'; did you mean 'intptr_t'?}} diff --git a/clang/test/Parser/selector-1.m b/clang/test/Parser/selector-1.m index f3bbbc5462b5..de8ee030ae2c 100644 --- a/clang/test/Parser/selector-1.m +++ b/clang/test/Parser/selector-1.m @@ -2,6 +2,7 @@ // RUN: %clang_cc1 -x objective-c++ -fsyntax-only -verify %s // expected-no-diagnostics +// rdar://8366474 int main(void) { SEL s = @selector(retain); SEL s1 = @selector(meth1:); diff --git a/clang/test/Parser/switch-recovery.cpp b/clang/test/Parser/switch-recovery.cpp index baf703cd03ae..861e520ec446 100644 --- a/clang/test/Parser/switch-recovery.cpp +++ b/clang/test/Parser/switch-recovery.cpp @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -fsyntax-only -verify %s +// struct A {}; struct B { void foo(int b) { diff --git a/clang/test/Parser/typeof.c b/clang/test/Parser/typeof.c index 08f3ca72ab94..69833f3161dd 100644 --- a/clang/test/Parser/typeof.c +++ b/clang/test/Parser/typeof.c @@ -18,6 +18,7 @@ static void test(void) { int *i; } +// void test2(void) { int a; short b; diff --git a/clang/test/Preprocessor/_Pragma-in-macro-arg.c b/clang/test/Preprocessor/_Pragma-in-macro-arg.c index fea44d173882..2877bcb7bfe0 100644 --- a/clang/test/Preprocessor/_Pragma-in-macro-arg.c +++ b/clang/test/Preprocessor/_Pragma-in-macro-arg.c @@ -1,6 +1,6 @@ // RUN: %clang_cc1 %s -verify -Wconversion -// Don't crash +// Don't crash (rdar://11168596) #define A(desc) _Pragma("clang diagnostic push") _Pragma("clang diagnostic ignored \"-Wparentheses\"") _Pragma("clang diagnostic pop") #define B(desc) A(desc) B(_Pragma("clang diagnostic ignored \"-Wparentheses\"")) diff --git a/clang/test/Preprocessor/_Pragma.c b/clang/test/Preprocessor/_Pragma.c index 669fdcd3cc0b..99231879ece0 100644 --- a/clang/test/Preprocessor/_Pragma.c +++ b/clang/test/Preprocessor/_Pragma.c @@ -2,6 +2,7 @@ _Pragma ("GCC system_header") // expected-warning {{system_header ignored in main file}} +// rdar://6880630 _Pragma("#define macro") // expected-warning {{unknown pragma ignored}} _Pragma("") // expected-warning {{unknown pragma ignored}} diff --git a/clang/test/Preprocessor/assembler-with-cpp.c b/clang/test/Preprocessor/assembler-with-cpp.c index d128968a96d6..8bdac0c495f2 100644 --- a/clang/test/Preprocessor/assembler-with-cpp.c +++ b/clang/test/Preprocessor/assembler-with-cpp.c @@ -37,12 +37,14 @@ // Portions of invalid pasting should still expand as macros. +// rdar://6709206 #define M4 expanded #define M5() M4 ## ( 5: M5() // CHECK-Identifiers-False: 5: expanded ( +// rdar://6804322 #define FOO(name) name ## $foo 6: FOO(blarg) // CHECK-Identifiers-False: 6: blarg $foo @@ -75,6 +77,7 @@ // CHECK-Identifiers-False: 12: \u0020\u0030 // This should not crash +// rdar://8823139 # ## // CHECK-Identifiers-False: # ## diff --git a/clang/test/Preprocessor/directive-invalid.c b/clang/test/Preprocessor/directive-invalid.c index 4f7b2f0f1224..86cd253bf256 100644 --- a/clang/test/Preprocessor/directive-invalid.c +++ b/clang/test/Preprocessor/directive-invalid.c @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -E -verify %s +// rdar://7683173 #define r_paren ) #if defined( x r_paren // expected-error {{missing ')' after 'defined'}} \ diff --git a/clang/test/Preprocessor/expr_liveness.c b/clang/test/Preprocessor/expr_liveness.c index 258565f90bcb..c3b64210bb49 100644 --- a/clang/test/Preprocessor/expr_liveness.c +++ b/clang/test/Preprocessor/expr_liveness.c @@ -45,6 +45,7 @@ baz #endif +// rdar://6505352 // -Wundef should not warn about use of undefined identifier if not live. #if (!defined(XXX) || XXX > 42) #endif diff --git a/clang/test/Preprocessor/has_attribute.c b/clang/test/Preprocessor/has_attribute.c index 77787c9b64ed..eef168e87910 100644 --- a/clang/test/Preprocessor/has_attribute.c +++ b/clang/test/Preprocessor/has_attribute.c @@ -25,6 +25,7 @@ int has_has_attribute(); int has_something_we_dont_have(); #endif +// rdar://10253857 #if __has_attribute(__const) int fn3() __attribute__ ((__const)); #endif diff --git a/clang/test/Preprocessor/if_warning.c b/clang/test/Preprocessor/if_warning.c index 1bbbb1b256d5..42c834b10aa0 100644 --- a/clang/test/Preprocessor/if_warning.c +++ b/clang/test/Preprocessor/if_warning.c @@ -23,6 +23,7 @@ extern int x; #endif #endif +// rdar://9475098 #if 0 #else 1 // expected-warning {{extra tokens}} #endif diff --git a/clang/test/Preprocessor/line-directive.c b/clang/test/Preprocessor/line-directive.c index 676e07a5571a..29ea709780f4 100644 --- a/clang/test/Preprocessor/line-directive.c +++ b/clang/test/Preprocessor/line-directive.c @@ -113,6 +113,7 @@ extern char array2_gnuline[\ _\ _LINE__ == 52 ? 1: -1]; /* line marker is location of first _ */ +// rdar://11550996 #line 0 "line-directive.c" // expected-warning {{#line directive with zero argument is a GNU extension}} undefined t; // expected-error {{unknown type name 'undefined'}} diff --git a/clang/test/Preprocessor/macro_expand.c b/clang/test/Preprocessor/macro_expand.c index 892c7a7188a6..430068ba7295 100644 --- a/clang/test/Preprocessor/macro_expand.c +++ b/clang/test/Preprocessor/macro_expand.c @@ -16,6 +16,7 @@ C: for(for)) // CHECK: {{^}}B: f(){{$}} // CHECK: {{^}}C: for(){{$}} +// rdar://6880648 #define f(x,y...) y f() diff --git a/clang/test/Preprocessor/macro_fn.c b/clang/test/Preprocessor/macro_fn.c index 5f4ea0e26d5d..f21ef5197d44 100644 --- a/clang/test/Preprocessor/macro_fn.c +++ b/clang/test/Preprocessor/macro_fn.c @@ -31,7 +31,7 @@ two(,) /* expected-warning 2 {{empty macro arguments are a C99 feature}} */ -/* PR4006 */ +/* PR4006 & rdar://6807000 */ #define e(...) __VA_ARGS__ /* expected-warning {{variadic macros are a C99 feature}} */ e(x) e() @@ -41,12 +41,13 @@ one_dot(x) /* empty ... argument: expected-warning {{must specify at least one one_dot() /* empty first argument, elided ...: expected-warning {{must specify at least one argument for '...' parameter of variadic macro}} */ -/* Crash with function-like macro test at end of directive. */ +/* rdar://6816766 - Crash with function-like macro test at end of directive. */ #define E() (i == 0) #if E #endif +/* */ #define NSAssert(condition, desc, ...) /* expected-warning {{variadic macros are a C99 feature}} */ \ SomeComplicatedStuff((desc), ##__VA_ARGS__) /* expected-warning {{token pasting of ',' and __VA_ARGS__ is a GNU extension}} */ NSAssert(somecond, somedesc) diff --git a/clang/test/Preprocessor/macro_fn_disable_expand.c b/clang/test/Preprocessor/macro_fn_disable_expand.c index 51e56c3dca91..16948dc61c34 100644 --- a/clang/test/Preprocessor/macro_fn_disable_expand.c +++ b/clang/test/Preprocessor/macro_fn_disable_expand.c @@ -11,7 +11,7 @@ m(m) -// PR4438, PR5163 +// rdar://7466570 PR4438, PR5163 // We should get '42' in the argument list for gcc compatibility. #define A 1 diff --git a/clang/test/Preprocessor/macro_paste_msextensions.c b/clang/test/Preprocessor/macro_paste_msextensions.c index 29bbd5a85554..1549ff5e5562 100644 --- a/clang/test/Preprocessor/macro_paste_msextensions.c +++ b/clang/test/Preprocessor/macro_paste_msextensions.c @@ -29,7 +29,7 @@ nested(baz) rise of the dead tokens // CHECK: ; -// VC++ allows invalid token pastes: (##baz +// rdar://8197149 - VC++ allows invalid token pastes: (##baz #define foo(x) abc(x) #define bar(y) foo(##baz(y)) bar(q) // expected-error {{type specifier missing}} expected-error {{invalid preprocessing token}} expected-error {{parameter list without types}} diff --git a/clang/test/Preprocessor/pragma_diagnostic.c b/clang/test/Preprocessor/pragma_diagnostic.c index 8a5adcf6ab55..aeb888efc7cf 100644 --- a/clang/test/Preprocessor/pragma_diagnostic.c +++ b/clang/test/Preprocessor/pragma_diagnostic.c @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -fsyntax-only -verify -Wno-undef %s // RUN: %clang_cc1 -fsyntax-only -verify -Wno-undef -Wno-unknown-warning-option -DAVOID_UNKNOWN_WARNING %s +// rdar://2362963 #if FOO // ok. #endif diff --git a/clang/test/Preprocessor/pragma_diagnostic_sections.cpp b/clang/test/Preprocessor/pragma_diagnostic_sections.cpp index 38f20acb107f..b680fae5b993 100644 --- a/clang/test/Preprocessor/pragma_diagnostic_sections.cpp +++ b/clang/test/Preprocessor/pragma_diagnostic_sections.cpp @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -fsyntax-only -Wall -Wunused-macros -Wunused-parameter -Wno-uninitialized -verify %s +// rdar://8365684 struct S { void m1() { int b; while (b==b); } // expected-warning {{always evaluates to true}} @@ -68,6 +69,7 @@ struct S2 { //------------------------------------------------------------------------------ +// rdar://8790245 #define MYMACRO \ _Pragma("clang diagnostic push") \ _Pragma("clang diagnostic ignored \"-Wunknown-pragmas\"") \ diff --git a/clang/test/Preprocessor/pragma_microsoft.c b/clang/test/Preprocessor/pragma_microsoft.c index 0140672d9cb5..afbe0ebc8f19 100644 --- a/clang/test/Preprocessor/pragma_microsoft.c +++ b/clang/test/Preprocessor/pragma_microsoft.c @@ -1,6 +1,8 @@ // RUN: %clang_cc1 -triple i686-unknown-windows-msvc %s -fsyntax-only -verify -fms-extensions -Wunknown-pragmas // RUN: not %clang_cc1 -triple i686-unknown-windows-msvc %s -fms-extensions -E | FileCheck %s +// rdar://6495941 + #define FOO 1 #define BAR "2" diff --git a/clang/test/Preprocessor/pragma_sysheader.c b/clang/test/Preprocessor/pragma_sysheader.c index be8b62457def..421bfb839ee3 100644 --- a/clang/test/Preprocessor/pragma_sysheader.c +++ b/clang/test/Preprocessor/pragma_sysheader.c @@ -3,6 +3,7 @@ // RUN: %clang_cc1 -verify -std=c99 -Wunknown-pragmas -pedantic %s -fsyntax-only -DCLANG // RUN: %clang_cc1 -verify -std=c99 -Wunknown-pragmas -pedantic %s -fsyntax-only -fms-extensions -DMS +// rdar://6899937 #include "Inputs/pragma_sysheader.h" // RUN: %clang_cc1 -E %s | FileCheck %s @@ -11,4 +12,4 @@ // CHECK-NEXT: # 12 "{{.*}}pragma_sysheader.h" // CHECK: typedef int x; // CHECK: typedef int x; -// CHECK-NEXT: # 7 "{{.*}}pragma_sysheader.c" 2 +// CHECK-NEXT: # 8 "{{.*}}pragma_sysheader.c" 2 diff --git a/clang/test/Preprocessor/warn-macro-unused.c b/clang/test/Preprocessor/warn-macro-unused.c index a978fb939be1..a305cc9966ad 100644 --- a/clang/test/Preprocessor/warn-macro-unused.c +++ b/clang/test/Preprocessor/warn-macro-unused.c @@ -10,4 +10,5 @@ #define unused unused +// rdar://9745065 #undef unused_from_header // no warning diff --git a/clang/test/Rewriter/blockcast3.mm b/clang/test/Rewriter/blockcast3.mm index 54ec0f5e1a79..1d82609cfb56 100644 --- a/clang/test/Rewriter/blockcast3.mm +++ b/clang/test/Rewriter/blockcast3.mm @@ -3,6 +3,7 @@ // RUN: FileCheck -check-prefix CHECK-LP --input-file=%t-rw.cpp %s // RUN: %clang_cc1 -x objective-c++ -fblocks -fms-extensions -rewrite-objc %t.mm -o %t-modern-rw.cpp // RUN: FileCheck -check-prefix CHECK-LP --input-file=%t-modern-rw.cpp %s +// radar 7607781 typedef struct { int a; diff --git a/clang/test/Rewriter/blockstruct.m b/clang/test/Rewriter/blockstruct.m index 988e1bf02f3a..477afb45824b 100644 --- a/clang/test/Rewriter/blockstruct.m +++ b/clang/test/Rewriter/blockstruct.m @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -x objective-c -Wno-return-type -fblocks -fms-extensions -rewrite-objc -fobjc-runtime=macosx-fragile-10.5 %s -o %t-rw.cpp // RUN: %clang_cc1 -fsyntax-only -fblocks -Wno-address-of-temporary -D"id=void*" -D"SEL=void*" -D"__declspec(X)=" %t-rw.cpp +// rdar://8918702 typedef void (^b_t)(void); void a(b_t work) { } diff --git a/clang/test/Rewriter/crash.m b/clang/test/Rewriter/crash.m index c8d5d786c94d..55d7a03fffc9 100644 --- a/clang/test/Rewriter/crash.m +++ b/clang/test/Rewriter/crash.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -rewrite-objc -fobjc-runtime=macosx-fragile-10.5 -o - %s +// rdar://5950938 @interface NSArray {} + (id)arrayWithObjects:(id)firstObj, ...; @end @@ -11,6 +12,7 @@ int main(void) { return 0; } +// rdar://6291588 @protocol A @end diff --git a/clang/test/Rewriter/inner-block-helper-funcs.mm b/clang/test/Rewriter/inner-block-helper-funcs.mm index 6bbfc5fee72f..92ef7e933615 100644 --- a/clang/test/Rewriter/inner-block-helper-funcs.mm +++ b/clang/test/Rewriter/inner-block-helper-funcs.mm @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -x objective-c++ -fblocks -fms-extensions -rewrite-objc -fobjc-runtime=macosx-fragile-10.5 %s -o %t-rw.cpp // RUN: FileCheck -check-prefix CHECK-LP --input-file=%t-rw.cpp %s +// rdar://9846759 typedef void (^dispatch_block_t)(void); diff --git a/clang/test/Rewriter/line-generation-test.m b/clang/test/Rewriter/line-generation-test.m index 063244fbfd58..5193775fbedb 100644 --- a/clang/test/Rewriter/line-generation-test.m +++ b/clang/test/Rewriter/line-generation-test.m @@ -3,6 +3,7 @@ // RUN: FileCheck -check-prefix CHECK-LINE --input-file=%t-rw.cpp %s // RUN: %clang_cc1 -fms-extensions -rewrite-objc %t.mm -o %t-rwnog.cpp // RUN: FileCheck -check-prefix CHECK-NOLINE --input-file=%t-rwnog.cpp %s +// rdar://13138170 __attribute__((objc_root_class)) @interface MyObject { @public @@ -32,8 +33,8 @@ MyObject * foo () return p->_isTickledPink; } -// CHECK-LINE: #line 21 -// CHECK-LINE: #line 27 -// CHECK-NOLINE-NOT: #line 21 -// CHECK-NOLINE-NOT: #line 27 +// CHECK-LINE: #line 22 +// CHECK-LINE: #line 28 +// CHECK-NOLINE-NOT: #line 22 +// CHECK-NOLINE-NOT: #line 28 diff --git a/clang/test/Rewriter/missing-dllimport.c b/clang/test/Rewriter/missing-dllimport.c index 33e4701630fa..9702c972182d 100644 --- a/clang/test/Rewriter/missing-dllimport.c +++ b/clang/test/Rewriter/missing-dllimport.c @@ -1,7 +1,7 @@ // RUN: %clang_cc1 -triple i686-pc-win32 -fms-extensions -verify %s // Do not report that 'foo()' is redeclared without dllimport attribute. -// specified. +// specified. Addresses . // expected-no-diagnostics __declspec(dllimport) int __cdecl foo(void); diff --git a/clang/test/Rewriter/modern-write-bf-abi.mm b/clang/test/Rewriter/modern-write-bf-abi.mm index fa127f0b13bd..70e11415db96 100644 --- a/clang/test/Rewriter/modern-write-bf-abi.mm +++ b/clang/test/Rewriter/modern-write-bf-abi.mm @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -x objective-c++ -Wno-return-type -fms-extensions -rewrite-objc %s -o %t-modern-rw.cpp // RUN: %clang_cc1 -fsyntax-only -std=gnu++98 -Wno-address-of-temporary -D"Class=void*" -D"id=void*" -D"SEL=void*" -D"__declspec(X)=" %t-modern-rw.cpp +// rdar://13138459 // -Did="void*" -DSEL="void *" -DClass="void*" @interface NSMutableArray { diff --git a/clang/test/Rewriter/no-integrated-preprocessing-64bit.m b/clang/test/Rewriter/no-integrated-preprocessing-64bit.m index 81afe2eb438b..ea63c0b1d439 100644 --- a/clang/test/Rewriter/no-integrated-preprocessing-64bit.m +++ b/clang/test/Rewriter/no-integrated-preprocessing-64bit.m @@ -1,4 +1,5 @@ // RUN: %clang -target x86_64-unknown-unknown -fms-extensions -rewrite-objc %s -o - | FileCheck %s +// rdar://12189793 #ifdef __cplusplus diff --git a/clang/test/Rewriter/no-integrated-preprocessing.m b/clang/test/Rewriter/no-integrated-preprocessing.m index c53c6601b370..bc27a630bb1e 100644 --- a/clang/test/Rewriter/no-integrated-preprocessing.m +++ b/clang/test/Rewriter/no-integrated-preprocessing.m @@ -1,5 +1,6 @@ // RUN: %clang -target i386-unknown-unknown -fms-extensions -rewrite-objc %s -o %t-rw.cpp // RUN: FileCheck %s < %t-rw.cpp +// rdar://12189793 #ifdef __cplusplus diff --git a/clang/test/Rewriter/objc-bool-literal-check-modern.mm b/clang/test/Rewriter/objc-bool-literal-check-modern.mm index 12eaafe7c8e1..338619715e12 100644 --- a/clang/test/Rewriter/objc-bool-literal-check-modern.mm +++ b/clang/test/Rewriter/objc-bool-literal-check-modern.mm @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -E %s -o %t.mm // RUN: %clang_cc1 -x objective-c++ -fblocks -fms-extensions -rewrite-objc %t.mm -o - | FileCheck %s +// rdar://11124775 typedef bool BOOL; diff --git a/clang/test/Rewriter/objc-bool-literal-modern-1.mm b/clang/test/Rewriter/objc-bool-literal-modern-1.mm index a5933825f048..7aaa79b1e943 100644 --- a/clang/test/Rewriter/objc-bool-literal-modern-1.mm +++ b/clang/test/Rewriter/objc-bool-literal-modern-1.mm @@ -1,6 +1,8 @@ // RUN: %clang_cc1 -x objective-c++ -fblocks -fms-extensions -rewrite-objc %s -o %t-rw.cpp // RUN: %clang_cc1 -fsyntax-only -Wno-address-of-temporary -D"__declspec(X)=" %t-rw.cpp +// rdar://11231426 +// rdar://11375908 typedef unsigned long size_t; typedef bool BOOL; diff --git a/clang/test/Rewriter/objc-bool-literal-modern.mm b/clang/test/Rewriter/objc-bool-literal-modern.mm index c84ff9310381..328ee6bf46f0 100644 --- a/clang/test/Rewriter/objc-bool-literal-modern.mm +++ b/clang/test/Rewriter/objc-bool-literal-modern.mm @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -x objective-c++ -fms-extensions -rewrite-objc %s -o %t-rw.cpp // RUN: %clang_cc1 -fsyntax-only -D"__declspec(X)=" %t-rw.cpp +// rdar://11124775 typedef bool BOOL; diff --git a/clang/test/Rewriter/objc-modern-StretAPI-2.mm b/clang/test/Rewriter/objc-modern-StretAPI-2.mm index 6ac361b9a1f8..961fc168be9c 100644 --- a/clang/test/Rewriter/objc-modern-StretAPI-2.mm +++ b/clang/test/Rewriter/objc-modern-StretAPI-2.mm @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -x objective-c++ -fblocks -fms-extensions -rewrite-objc %s -o %t-rw.cpp // RUN: %clang_cc1 -fsyntax-only -fblocks -Wno-address-of-temporary -D"Class=void*" -D"id=void*" -D"SEL=void*" -D"__declspec(X)=" %t-rw.cpp +// rdar://12142241 extern "C" void *sel_registerName(const char *); typedef unsigned long size_t; diff --git a/clang/test/Rewriter/objc-modern-StretAPI-3.mm b/clang/test/Rewriter/objc-modern-StretAPI-3.mm index a2c878646a5a..3ada56e939b0 100644 --- a/clang/test/Rewriter/objc-modern-StretAPI-3.mm +++ b/clang/test/Rewriter/objc-modern-StretAPI-3.mm @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -x objective-c++ -fblocks -fms-extensions -rewrite-objc %s -o %t-rw.cpp // RUN: %clang_cc1 -fsyntax-only -fblocks -Wno-address-of-temporary -D"Class=void*" -D"id=void*" -D"SEL=void*" -D"__declspec(X)=" %t-rw.cpp +// rdar://14932320 extern "C" void *sel_registerName(const char *); typedef unsigned long size_t; diff --git a/clang/test/Rewriter/objc-modern-StretAPI.mm b/clang/test/Rewriter/objc-modern-StretAPI.mm index 618c229fafde..129b56cbe92d 100644 --- a/clang/test/Rewriter/objc-modern-StretAPI.mm +++ b/clang/test/Rewriter/objc-modern-StretAPI.mm @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -x objective-c++ -fblocks -fms-extensions -rewrite-objc %s -o %t-rw.cpp // RUN: %clang_cc1 -fsyntax-only -fblocks -Wno-address-of-temporary -D"Class=void*" -D"id=void*" -D"SEL=void*" -D"__declspec(X)=" %t-rw.cpp +// rdar://11359268 extern "C" void *sel_registerName(const char *); typedef unsigned long size_t; diff --git a/clang/test/Rewriter/objc-modern-class-init-hooks.mm b/clang/test/Rewriter/objc-modern-class-init-hooks.mm index 0e19268b7f0b..c294c79e2e0f 100644 --- a/clang/test/Rewriter/objc-modern-class-init-hooks.mm +++ b/clang/test/Rewriter/objc-modern-class-init-hooks.mm @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -E %s -o %t.mm // RUN: %clang_cc1 -x objective-c++ -fblocks -fms-extensions -rewrite-objc %t.mm -o - | FileCheck %s +// rdar:// 11124354 @interface Root @end diff --git a/clang/test/Rewriter/objc-modern-class-init.mm b/clang/test/Rewriter/objc-modern-class-init.mm index 1618bae2ed35..b0326a402813 100644 --- a/clang/test/Rewriter/objc-modern-class-init.mm +++ b/clang/test/Rewriter/objc-modern-class-init.mm @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -x objective-c++ -fblocks -fms-extensions -rewrite-objc %s -o %t-rw.cpp // RUN: %clang_cc1 -fsyntax-only -fblocks -Wno-address-of-temporary -D"Class=void*" -D"id=void*" -D"SEL=void*" -D"__declspec(X)=" %t-rw.cpp +// rdar:// 11076938 @interface Root @end diff --git a/clang/test/Rewriter/objc-modern-container-subscript.mm b/clang/test/Rewriter/objc-modern-container-subscript.mm index 7c417eb9a6ef..cdcff03b770b 100644 --- a/clang/test/Rewriter/objc-modern-container-subscript.mm +++ b/clang/test/Rewriter/objc-modern-container-subscript.mm @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -x objective-c++ -fblocks -fms-extensions -rewrite-objc %s -o %t-rw.cpp // RUN: %clang_cc1 -fsyntax-only -fblocks -Wno-address-of-temporary -D"Class=void*" -D"id=void*" -D"SEL=void*" -D"__declspec(X)=" %t-rw.cpp +// rdar://11203853 typedef unsigned long size_t; diff --git a/clang/test/Rewriter/objc-modern-fast-enumeration.mm b/clang/test/Rewriter/objc-modern-fast-enumeration.mm index 082b04747b10..0ffaa260d45f 100644 --- a/clang/test/Rewriter/objc-modern-fast-enumeration.mm +++ b/clang/test/Rewriter/objc-modern-fast-enumeration.mm @@ -3,6 +3,7 @@ // RUN: %clang_cc1 -x objective-c++ -fblocks -fms-extensions -rewrite-objc %t.mm -o %t-rw.cpp // RUN: %clang_cc1 -fsyntax-only -triple i686-pc-win32 -Werror -Wno-address-of-temporary -D"Class=struct objc_class *" -D"id=struct objc_object *" -D"SEL=void*" -U__declspec -D"__declspec(X)=" %t-rw.cpp -Wno-attributes // RUN: %clang_cc1 -fsyntax-only -triple x86_64-pc-win32 -Werror -Wno-address-of-temporary -D"Class=struct objc_class *" -D"id=struct objc_object *" -D"SEL=void*" -U__declspec -D"__declspec(X)=" %t-rw.cpp -Wno-attributes +// rdar://14913632 extern "C" void *sel_registerName(const char *); diff --git a/clang/test/Rewriter/objc-modern-getclass-proto.mm b/clang/test/Rewriter/objc-modern-getclass-proto.mm index da417477aa12..98e76e01aac7 100644 --- a/clang/test/Rewriter/objc-modern-getclass-proto.mm +++ b/clang/test/Rewriter/objc-modern-getclass-proto.mm @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -E %s -o %t.mm // RUN: %clang_cc1 -x objective-c++ -fblocks -fms-extensions -rewrite-objc -fobjc-runtime=macosx-fragile-10.5 %t.mm -o %t-rw.cpp +// rdar://11375495 @interface I @end @implementation I @end diff --git a/clang/test/Rewriter/objc-modern-implicit-cast.mm b/clang/test/Rewriter/objc-modern-implicit-cast.mm index 4b852518f912..e6121991e56b 100644 --- a/clang/test/Rewriter/objc-modern-implicit-cast.mm +++ b/clang/test/Rewriter/objc-modern-implicit-cast.mm @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -x objective-c++ -fblocks -fms-extensions -rewrite-objc %s -o %t-rw.cpp // RUN: %clang_cc1 -fsyntax-only -fblocks -Wno-address-of-temporary -D"Class=void*" -D"id=void*" -D"SEL=void*" -D"__declspec(X)=" %t-rw.cpp +// rdar://11202764 typedef void(^BL)(void); diff --git a/clang/test/Rewriter/objc-modern-ivar-receiver-1.mm b/clang/test/Rewriter/objc-modern-ivar-receiver-1.mm index cc454f36afcf..a5c17a6dd45c 100644 --- a/clang/test/Rewriter/objc-modern-ivar-receiver-1.mm +++ b/clang/test/Rewriter/objc-modern-ivar-receiver-1.mm @@ -26,5 +26,6 @@ void *sel_registerName(const char *); @end // CHECK: id obj = (*(id *)((char *)newInv + OBJC_IVAR_$_NSInvocation$_container)); +// rdar://11076938 // CHECK: struct _class_t *superclass; // CHECK: extern "C" __declspec(dllimport) struct objc_cache _objc_empty_cache; diff --git a/clang/test/Rewriter/objc-modern-linkage-spec.mm b/clang/test/Rewriter/objc-modern-linkage-spec.mm index 18ef0d8cabf5..028d78702fd9 100644 --- a/clang/test/Rewriter/objc-modern-linkage-spec.mm +++ b/clang/test/Rewriter/objc-modern-linkage-spec.mm @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -x objective-c++ -fms-extensions -rewrite-objc %s -o %t-rw.cpp // RUN: %clang_cc1 -fsyntax-only -Wno-attributes -D"__declspec(X)=" %t-rw.cpp +// rdar://11169733 extern "C" __declspec(dllexport) @interface Test @end diff --git a/clang/test/Rewriter/objc-modern-metadata-visibility.mm b/clang/test/Rewriter/objc-modern-metadata-visibility.mm index 6a0c3c6fb7b7..42adf86b0f4f 100644 --- a/clang/test/Rewriter/objc-modern-metadata-visibility.mm +++ b/clang/test/Rewriter/objc-modern-metadata-visibility.mm @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -E %s -o %t.mm // RUN: %clang_cc1 -x objective-c++ -fblocks -fms-extensions -rewrite-objc %t.mm -o - | FileCheck %s +// rdar://11144048 @class NSString; diff --git a/clang/test/Rewriter/objc-modern-numeric-literal.mm b/clang/test/Rewriter/objc-modern-numeric-literal.mm index 3c7582a3e4d2..aff1d474f706 100644 --- a/clang/test/Rewriter/objc-modern-numeric-literal.mm +++ b/clang/test/Rewriter/objc-modern-numeric-literal.mm @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -E %s -o %t.mm // RUN: %clang_cc1 -x objective-c++ -fblocks -fms-extensions -rewrite-objc %t.mm -o - | FileCheck %s +// rdar://10803676 extern "C" void *sel_registerName(const char *); diff --git a/clang/test/Rewriter/objc-modern-property-attributes.mm b/clang/test/Rewriter/objc-modern-property-attributes.mm index ea4875d6a6ad..f0d002caf61c 100644 --- a/clang/test/Rewriter/objc-modern-property-attributes.mm +++ b/clang/test/Rewriter/objc-modern-property-attributes.mm @@ -1,6 +1,8 @@ // RUN: %clang_cc1 -E %s -o %t.mm // RUN: %clang_cc1 -x objective-c++ -fblocks -fms-extensions -rewrite-objc %t.mm -o - | FileCheck %s +// rdar://11095151 + typedef void (^void_block_t)(void); @interface PropertyClass { diff --git a/clang/test/Rewriter/objc-modern-property-bitfield.m b/clang/test/Rewriter/objc-modern-property-bitfield.m index f6135e7bd61a..e7b565dda537 100644 --- a/clang/test/Rewriter/objc-modern-property-bitfield.m +++ b/clang/test/Rewriter/objc-modern-property-bitfield.m @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -x objective-c++ -Wno-return-type -fms-extensions -rewrite-objc %s -o %t-modern-rw.cpp // RUN: %clang_cc1 -fsyntax-only -std=gnu++98 -Wno-address-of-temporary -D"Class=void*" -D"id=void*" -D"SEL=void*" -D"__declspec(X)=" %t-modern-rw.cpp +// rdar://13138459 void *sel_registerName(const char *); extern void abort(); diff --git a/clang/test/Rewriter/property-dot-syntax.mm b/clang/test/Rewriter/property-dot-syntax.mm index bbc30e3a80b4..140ac4a7f331 100644 --- a/clang/test/Rewriter/property-dot-syntax.mm +++ b/clang/test/Rewriter/property-dot-syntax.mm @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -x objective-c++ -Wno-return-type -fblocks -fms-extensions -rewrite-objc -fobjc-runtime=macosx-fragile-10.5 %s -o %t-rw.cpp // RUN: %clang_cc1 -fsyntax-only -std=gnu++98 -fblocks -Wno-address-of-temporary -D"id=void*" -D"SEL=void*" -D"__declspec(X)=" %t-rw.cpp +// rdar:// 8520727 void *sel_registerName(const char *); @@ -25,6 +26,7 @@ void *sel_registerName(const char *); } @end +//rdar: // 8541517 @interface A { } @property (retain) NSString *scheme; @end diff --git a/clang/test/Rewriter/protocol-rewrite-1.m b/clang/test/Rewriter/protocol-rewrite-1.m index 867f4a6b28cb..0c5104fbb56a 100644 --- a/clang/test/Rewriter/protocol-rewrite-1.m +++ b/clang/test/Rewriter/protocol-rewrite-1.m @@ -1,5 +1,7 @@ // RUN: %clang_cc1 -x objective-c -Wno-objc-root-class -fms-extensions -rewrite-objc %s -o %t-rw.cpp // RUN: FileCheck --input-file=%t-rw.cpp %s +// rdar://9846759 +// rdar://15517895 typedef struct MyWidget { int a; @@ -48,6 +50,7 @@ int main(void) { return 0; } +// rdar://15517895 @class NSObject; @interface NSProtocolChecker diff --git a/clang/test/Rewriter/protocol-rewrite-2.m b/clang/test/Rewriter/protocol-rewrite-2.m index a49168b95ca8..e0d59e88fe33 100644 --- a/clang/test/Rewriter/protocol-rewrite-2.m +++ b/clang/test/Rewriter/protocol-rewrite-2.m @@ -1,6 +1,7 @@ // RUN: %clang_cc1 -rewrite-objc -fobjc-runtime=macosx-fragile-10.5 %s -o %t.cpp // RUN: %clang_cc1 -fsyntax-only %t.cpp +// rdar://10234024 @protocol Foo; @protocol Foo @end diff --git a/clang/test/Rewriter/rewrite-anonymous-union.m b/clang/test/Rewriter/rewrite-anonymous-union.m index b5b1aa4f1f57..bc35fd02e9fc 100644 --- a/clang/test/Rewriter/rewrite-anonymous-union.m +++ b/clang/test/Rewriter/rewrite-anonymous-union.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -rewrite-objc -fobjc-runtime=macosx-fragile-10.5 -o - %s +// rdar://6948022 typedef unsigned int uint32_t; diff --git a/clang/test/Rewriter/rewrite-block-argument.m b/clang/test/Rewriter/rewrite-block-argument.m index dbcd237f0f5c..4e1194d507d4 100644 --- a/clang/test/Rewriter/rewrite-block-argument.m +++ b/clang/test/Rewriter/rewrite-block-argument.m @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -x objective-c -Wno-return-type -fblocks -fms-extensions -rewrite-objc -fobjc-runtime=macosx-fragile-10.5 %s -o %t-rw.cpp // RUN: %clang_cc1 -Wno-address-of-temporary -Did="void *" -D"SEL=void*" -D"__declspec(X)=" -emit-llvm -o %t %t-rw.cpp +// radar 7987817 void *sel_registerName(const char *); diff --git a/clang/test/Rewriter/rewrite-block-consts.mm b/clang/test/Rewriter/rewrite-block-consts.mm index fb29d9f23511..1b32b35f33a8 100644 --- a/clang/test/Rewriter/rewrite-block-consts.mm +++ b/clang/test/Rewriter/rewrite-block-consts.mm @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -x objective-c++ -Wno-return-type -fblocks -fms-extensions -rewrite-objc -fobjc-runtime=macosx-fragile-10.5 %s -o %t-rw.cpp // RUN: %clang_cc1 -fsyntax-only -Wno-address-of-temporary -D__block="" -D"SEL=void*" -D"__declspec(X)=" %t-rw.cpp +// rdar:// 8243071 void x(int y) {} void f() { diff --git a/clang/test/Rewriter/rewrite-block-literal-1.mm b/clang/test/Rewriter/rewrite-block-literal-1.mm index a3959264e781..6820a07e88ed 100644 --- a/clang/test/Rewriter/rewrite-block-literal-1.mm +++ b/clang/test/Rewriter/rewrite-block-literal-1.mm @@ -1,9 +1,11 @@ // RUN: %clang_cc1 -x objective-c++ -Wno-return-type -fblocks -fms-extensions -rewrite-objc -fobjc-runtime=macosx-fragile-10.5 %s -o %t-rw.cpp // RUN: %clang_cc1 -fsyntax-only -std=gnu++98 -Wno-address-of-temporary -Did="void *" -D"SEL=void*" -D"__declspec(X)=" %t-rw.cpp +// radar 9254348 // RUN: %clang_cc1 -x objective-c++ -Wno-return-type -fblocks -fms-extensions -rewrite-objc %s -o %t-modern-rw.cpp // RUN: %clang_cc1 -fsyntax-only -std=gnu++98 -Wno-address-of-temporary -Did="void *" -D"SEL=void*" -D"__declspec(X)=" %t-modern-rw.cpp +// rdar://11259664 - +// rdar://11375908 typedef unsigned long size_t; void *sel_registerName(const char *); diff --git a/clang/test/Rewriter/rewrite-block-literal.mm b/clang/test/Rewriter/rewrite-block-literal.mm index f9d0d2099a0c..cde6efcbf29d 100644 --- a/clang/test/Rewriter/rewrite-block-literal.mm +++ b/clang/test/Rewriter/rewrite-block-literal.mm @@ -5,8 +5,11 @@ // RUN: %clang_cc1 -x objective-c++ -Wno-return-type -fblocks -fms-extensions -rewrite-objc %s -o %t-modern-rw.cpp // RUN: %clang_cc1 -fsyntax-only -Wno-address-of-temporary -D"Class=void*" -D"id=void*" -D"SEL=void*" -D"__declspec(X)=" %t-modern-rw.cpp +// rdar://11375908 typedef unsigned long size_t; +// rdar: // 11006566 + void I( void (^)(void)); void (^noop)(void); diff --git a/clang/test/Rewriter/rewrite-block-pointer.mm b/clang/test/Rewriter/rewrite-block-pointer.mm index 7dda94136c37..b8a5ee8fce62 100644 --- a/clang/test/Rewriter/rewrite-block-pointer.mm +++ b/clang/test/Rewriter/rewrite-block-pointer.mm @@ -2,7 +2,9 @@ // RUN: %clang_cc1 -fsyntax-only -std=gnu++98 -Wno-address-of-temporary -D"SEL=void*" -D"__declspec(X)=" %t-rw.cpp // RUN: %clang_cc1 -x objective-c++ -Wno-return-type -fblocks -fms-extensions -rewrite-objc %s -o %t-modern-rw.cpp // RUN: %clang_cc1 -fsyntax-only -std=gnu++98 -Wno-address-of-temporary -D"SEL=void*" -D"__declspec(X)=" %t-modern-rw.cpp +// radar 7638400 +// rdar://11375908 typedef unsigned long size_t; typedef void * id; @@ -19,6 +21,7 @@ static void enumerateIt(void (^block)(id, id, char *)) { } @end +// radar 7651312 void apply(void (^block)(int)); static void x(int (^cmp)(int, int)) { @@ -31,11 +34,13 @@ static void y(int (^cmp)(int, int)) { }); } +// radar 7659483 void *_Block_copy(const void *aBlock); void x(void (^block)(void)) { block = ((__typeof(block))_Block_copy((const void *)(block))); } +// radar 7682763 @interface Y { @private id _private; @@ -58,6 +63,7 @@ typedef void (^void_block_t)(void); @end +// rdar: //8608902 @protocol CoreDAVAccountInfoProvider; @protocol CodeProvider; typedef void (^BDVDiscoveryCompletionHandler)(int success, id discoveredInfo); diff --git a/clang/test/Rewriter/rewrite-block-property.m b/clang/test/Rewriter/rewrite-block-property.m index 242ca3e199fc..1328ab7918ec 100644 --- a/clang/test/Rewriter/rewrite-block-property.m +++ b/clang/test/Rewriter/rewrite-block-property.m @@ -1,6 +1,7 @@ // RUN: %clang_cc1 -x objective-c++ -Wno-return-type -fblocks -fms-extensions -rewrite-objc -fobjc-runtime=macosx-fragile-10.5 %s -o %t-rw.cpp // RUN: %clang_cc1 -fsyntax-only -fblocks -Wno-address-of-temporary -D"id=void*" -D"SEL=void*" -D"__declspec(X)=" %t-rw.cpp +// rdar://9055596 void *sel_registerName(const char *); typedef void (^FooBlock) (int foo, int bar, int baz); diff --git a/clang/test/Rewriter/rewrite-byref-in-nested-blocks.mm b/clang/test/Rewriter/rewrite-byref-in-nested-blocks.mm index d433fe422416..fce5890ad4ea 100644 --- a/clang/test/Rewriter/rewrite-byref-in-nested-blocks.mm +++ b/clang/test/Rewriter/rewrite-byref-in-nested-blocks.mm @@ -2,7 +2,9 @@ // RUN: %clang_cc1 -fsyntax-only -std=gnu++98 -fblocks -Wno-address-of-temporary -D"SEL=void*" -U__declspec -D"__declspec(X)=" %t-rw.cpp // RUN: %clang_cc1 -x objective-c++ -Wno-return-type -fblocks -fms-extensions -rewrite-objc %s -o %t-modern-rw.cpp // RUN: %clang_cc1 -fsyntax-only -std=gnu++98 -Werror -Wno-address-of-temporary -D"SEL=void*" -U__declspec -D"__declspec(X)=" %t-modern-rw.cpp +// radar 7692350 +// rdar://11375908 typedef unsigned long size_t; void f(void (^block)(void)); @@ -16,6 +18,7 @@ void f(void (^block)(void)); @implementation X - (void)foo { __block int kerfluffle; + // radar 7692183 __block int x; f(^{ f(^{ diff --git a/clang/test/Rewriter/rewrite-byref-vars.mm b/clang/test/Rewriter/rewrite-byref-vars.mm index 41f4e8d9734a..2838c44f2f2a 100644 --- a/clang/test/Rewriter/rewrite-byref-vars.mm +++ b/clang/test/Rewriter/rewrite-byref-vars.mm @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -x objective-c++ -Wno-return-type -fblocks -fms-extensions -rewrite-objc -fobjc-runtime=macosx-fragile-10.5 %s -o %t-rw.cpp // RUN: %clang_cc1 -fsyntax-only -std=gnu++98 -fblocks -Wno-address-of-temporary -D"id=void*" -D"SEL=void*" -D"__declspec(X)=" %t-rw.cpp +// radar 7540194 extern "C" __declspec(dllexport) void BreakTheRewriter(int i) { __block int aBlockVariable = 0; @@ -36,12 +37,12 @@ __declspec(dllexport) extern "C" __declspec(dllexport) void XXXXBreakTheRewriter id list; } - (void) Meth; -// use before definition +// radar 7589385 use before definition - (void) allObjects; @end @implementation I -// use before definition +// radar 7589385 use before definition - (void) allObjects { __attribute__((__blocks__(byref))) id *listp; diff --git a/clang/test/Rewriter/rewrite-captured-nested-bvar.c b/clang/test/Rewriter/rewrite-captured-nested-bvar.c index 34236dd646c8..60029e7c9fc0 100644 --- a/clang/test/Rewriter/rewrite-captured-nested-bvar.c +++ b/clang/test/Rewriter/rewrite-captured-nested-bvar.c @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -x c -fblocks -fms-extensions -rewrite-objc %s -o %t-rw.cpp // RUN: FileCheck --input-file=%t-rw.cpp %s +// rdar://9006279 void q(void (^p)(void)) { p(); diff --git a/clang/test/Rewriter/rewrite-cast-ivar-access.mm b/clang/test/Rewriter/rewrite-cast-ivar-access.mm index 37ed7b3c1c87..d5c2796bcf34 100644 --- a/clang/test/Rewriter/rewrite-cast-ivar-access.mm +++ b/clang/test/Rewriter/rewrite-cast-ivar-access.mm @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -x objective-c++ -fblocks -fms-extensions -rewrite-objc -fobjc-runtime=macosx-fragile-10.5 %s -o %t-rw.cpp // RUN: FileCheck -check-prefix CHECK-LP --input-file=%t-rw.cpp %s +// radar 7575882 @interface F { int supervar; @@ -24,6 +25,7 @@ void __CFAssignWithWriteBarrier(void **location, void *value) { objc_assign_strongCast((id)value); } +// radar 7607605 @interface RealClass { @public int f; diff --git a/clang/test/Rewriter/rewrite-cast-ivar-modern-access.mm b/clang/test/Rewriter/rewrite-cast-ivar-modern-access.mm index 69c7eecefd75..4cea4f6eb17c 100644 --- a/clang/test/Rewriter/rewrite-cast-ivar-modern-access.mm +++ b/clang/test/Rewriter/rewrite-cast-ivar-modern-access.mm @@ -24,6 +24,7 @@ void __CFAssignWithWriteBarrier(void **location, void *value) { objc_assign_strongCast((id)value); } +// radar 7607605 @interface RealClass { @public int f; diff --git a/clang/test/Rewriter/rewrite-cast-to-bool.mm b/clang/test/Rewriter/rewrite-cast-to-bool.mm index 9fd5bb57406c..58db706e3ce9 100644 --- a/clang/test/Rewriter/rewrite-cast-to-bool.mm +++ b/clang/test/Rewriter/rewrite-cast-to-bool.mm @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -x objective-c++ -Wno-return-type -fblocks -fms-extensions -rewrite-objc -fobjc-runtime=macosx-fragile-10.5 %s -o %t-rw.cpp // RUN: %clang_cc1 -fsyntax-only -fblocks -Wno-address-of-temporary -D"id=void*" -D"SEL=void*" -D"__declspec(X)=" %t-rw.cpp +// radar 9899834 void *sel_registerName(const char *); diff --git a/clang/test/Rewriter/rewrite-category-property.mm b/clang/test/Rewriter/rewrite-category-property.mm index ae38b82283da..c0f530ecda37 100644 --- a/clang/test/Rewriter/rewrite-category-property.mm +++ b/clang/test/Rewriter/rewrite-category-property.mm @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -x objective-c++ -fms-extensions -rewrite-objc -fobjc-runtime=macosx-fragile-10.5 %s -o %t-rw.cpp // RUN: FileCheck -check-prefix CHECK-LP --input-file=%t-rw.cpp %s +// radar 7630636 @class Y, Z; diff --git a/clang/test/Rewriter/rewrite-eh.m b/clang/test/Rewriter/rewrite-eh.m index d20cdb822b64..6e6fb1c24cc6 100644 --- a/clang/test/Rewriter/rewrite-eh.m +++ b/clang/test/Rewriter/rewrite-eh.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -rewrite-objc -fobjc-runtime=macosx-fragile-10.5 -fobjc-exceptions -o - %s +// rdar://7522880 @interface NSException @end diff --git a/clang/test/Rewriter/rewrite-elaborated-type.mm b/clang/test/Rewriter/rewrite-elaborated-type.mm index f9dcea789325..c813a3b9f49a 100644 --- a/clang/test/Rewriter/rewrite-elaborated-type.mm +++ b/clang/test/Rewriter/rewrite-elaborated-type.mm @@ -2,6 +2,7 @@ // RUN: %clang_cc1 -fsyntax-only -std=gnu++98 -Wno-address-of-temporary -D_Bool=bool -D"id=void*" -D"SEL=void*" -D"__declspec(X)=" %t-rw.cpp // RUN: %clang_cc1 -x objective-c++ -Wno-return-type -fms-extensions -rewrite-objc %s -o %t-modern-rw.cpp // RUN: %clang_cc1 -fsyntax-only -std=gnu++98 -Wno-address-of-temporary -D_Bool=bool -D"id=void*" -D"SEL=void*" -D"__declspec(X)=" %t-modern-rw.cpp +// radar 8143056 typedef struct objc_class *Class; typedef unsigned NSPointerFunctionsOptions; diff --git a/clang/test/Rewriter/rewrite-extern-c.mm b/clang/test/Rewriter/rewrite-extern-c.mm index 2941504ab78d..cf37d7597e3a 100644 --- a/clang/test/Rewriter/rewrite-extern-c.mm +++ b/clang/test/Rewriter/rewrite-extern-c.mm @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -x objective-c++ -fblocks -rewrite-objc -fobjc-runtime=macosx-fragile-10.5 -o - %s +// radar 7546096 extern "C" { short foo() { } diff --git a/clang/test/Rewriter/rewrite-foreach-6.m b/clang/test/Rewriter/rewrite-foreach-6.m index 86673f8c35dd..29d21afb61ff 100644 --- a/clang/test/Rewriter/rewrite-foreach-6.m +++ b/clang/test/Rewriter/rewrite-foreach-6.m @@ -1,7 +1,8 @@ // RUN: %clang_cc1 -x objective-c++ -Wno-return-type -fblocks -fms-extensions -rewrite-objc -fobjc-runtime=macosx-fragile-10.5 %s -o %t-rw.cpp // RUN: %clang_cc1 -fsyntax-only -fblocks -Wno-address-of-temporary -D"id=struct objc_object*" -D"SEL=void*" -D"__declspec(X)=" %t-rw.cpp -// FIXME: Should be able to pipe into clang, but code is not yet correct for -// other reasons. +// rdar://5716356 +// FIXME: Should be able to pipe into clang, but code is not +// yet correct for other reasons: rdar://5716940 void *sel_registerName(const char *); void objc_enumerationMutation(id); diff --git a/clang/test/Rewriter/rewrite-foreach-in-block.mm b/clang/test/Rewriter/rewrite-foreach-in-block.mm index b7d1dc1bb13f..85067017cd78 100644 --- a/clang/test/Rewriter/rewrite-foreach-in-block.mm +++ b/clang/test/Rewriter/rewrite-foreach-in-block.mm @@ -2,6 +2,7 @@ // RUN: %clang_cc1 -fsyntax-only -std=gnu++98 -Wno-address-of-temporary -D"id=struct objc_object*" -D"SEL=void*" -D"__declspec(X)=" %t-rw.cpp // RUN: %clang_cc1 -x objective-c++ -Wno-return-type -fblocks -fms-extensions -rewrite-objc %s -o %t-modern-rw.cpp // RUN: %clang_cc1 -fsyntax-only -std=gnu++98 -Wno-address-of-temporary -D"id=struct objc_object*" -D"SEL=void*" -D"__declspec(X)=" %t-modern-rw.cpp +// rdar:// 9878420 typedef unsigned long size_t; diff --git a/clang/test/Rewriter/rewrite-foreach-protocol-id.m b/clang/test/Rewriter/rewrite-foreach-protocol-id.m index 48d94e95a05c..7f046be81f6d 100644 --- a/clang/test/Rewriter/rewrite-foreach-protocol-id.m +++ b/clang/test/Rewriter/rewrite-foreach-protocol-id.m @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -x objective-c++ -Wno-return-type -fblocks -fms-extensions -rewrite-objc -fobjc-runtime=macosx-fragile-10.5 %s -o %t-rw.cpp // RUN: %clang_cc1 -fsyntax-only -std=gnu++98 -fblocks -Wno-address-of-temporary -D"id=struct objc_object*" -D"SEL=void*" -D"__declspec(X)=" %t-rw.cpp +// rdar:// 9039342 void *sel_registerName(const char *); void objc_enumerationMutation(id); diff --git a/clang/test/Rewriter/rewrite-forward-class.m b/clang/test/Rewriter/rewrite-forward-class.m index 0ec99c505834..7c2fdc21f8e1 100644 --- a/clang/test/Rewriter/rewrite-forward-class.m +++ b/clang/test/Rewriter/rewrite-forward-class.m @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -x objective-c -Wno-return-type -fblocks -fms-extensions -rewrite-objc -fobjc-runtime=macosx-fragile-10.5 %s -o %t-rw.cpp // RUN: %clang_cc1 -fsyntax-only -std=gnu++98 -fblocks -Wno-address-of-temporary -D"id=void*" -D"SEL=void*" -D"__declspec(X)=" %t-rw.cpp +// rdar://6969189 @class XX; @class YY, ZZ, QQ; diff --git a/clang/test/Rewriter/rewrite-forward-class.mm b/clang/test/Rewriter/rewrite-forward-class.mm index 616dd932635f..05cd5702f373 100644 --- a/clang/test/Rewriter/rewrite-forward-class.mm +++ b/clang/test/Rewriter/rewrite-forward-class.mm @@ -41,6 +41,8 @@ int I,J,K; }; + +// rdar://15027032 @interface ISDPropertyChangeGroup @end diff --git a/clang/test/Rewriter/rewrite-implementation.mm b/clang/test/Rewriter/rewrite-implementation.mm index acb11d5c84d7..8ef4ebe97aff 100644 --- a/clang/test/Rewriter/rewrite-implementation.mm +++ b/clang/test/Rewriter/rewrite-implementation.mm @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -x objective-c++ -fblocks -fms-extensions -rewrite-objc -fobjc-runtime=macosx-fragile-10.5 %s -o %t-rw.cpp // RUN: %clang_cc1 -fsyntax-only -Wno-address-of-temporary -D"SEL=void*" -D"__declspec(X)=" %t-rw.cpp +// radar 7649577 @interface a @end diff --git a/clang/test/Rewriter/rewrite-interface-locals.mm b/clang/test/Rewriter/rewrite-interface-locals.mm index 513c435d97ab..ef361051c198 100644 --- a/clang/test/Rewriter/rewrite-interface-locals.mm +++ b/clang/test/Rewriter/rewrite-interface-locals.mm @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -x objective-c++ -fblocks -fms-extensions -rewrite-objc %s -o %t-rw.cpp // RUN: %clang_cc1 -fsyntax-only -fblocks -Wno-address-of-temporary -D"Class=void*" -D"id=void*" -D"SEL=void*" -D"__declspec(X)=" %t-rw.cpp +// rdar://15143875 @class NSData, NSError; diff --git a/clang/test/Rewriter/rewrite-ivar-use.m b/clang/test/Rewriter/rewrite-ivar-use.m index 793dd6f7dbed..0b697b0ca892 100644 --- a/clang/test/Rewriter/rewrite-ivar-use.m +++ b/clang/test/Rewriter/rewrite-ivar-use.m @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -x objective-c++ -Wno-return-type -fblocks -fms-extensions -rewrite-objc -fobjc-runtime=macosx-fragile-10.5 %s -o %t-rw.cpp // RUN: %clang_cc1 -fsyntax-only -std=gnu++98 -fblocks -Wno-address-of-temporary -D"Class=void*" -D"id=void*" -D"SEL=void*" -D"__declspec(X)=" %t-rw.cpp +// radar 7490331 void *sel_registerName(const char *); @@ -12,6 +13,7 @@ void *sel_registerName(const char *); @end @implementation Foo +// radar 7522803 static void foo(id bar) { int i = ((Foo *)bar)->a; } diff --git a/clang/test/Rewriter/rewrite-line-directive.m b/clang/test/Rewriter/rewrite-line-directive.m index bfb7f14d20f1..ec50a83d3c19 100644 --- a/clang/test/Rewriter/rewrite-line-directive.m +++ b/clang/test/Rewriter/rewrite-line-directive.m @@ -3,6 +3,7 @@ // RUN: FileCheck -check-prefix CHECK-LP --input-file=%t-rw.cpp %s // RUN: %clang -g -fms-extensions -rewrite-objc %t.mm -o %t-rw.cpp // RUN: FileCheck -check-prefix CHECK-LPG --input-file=%t-rw.cpp %s +// rdar://13138170 int z(); diff --git a/clang/test/Rewriter/rewrite-local-externs-in-block.mm b/clang/test/Rewriter/rewrite-local-externs-in-block.mm index a3d71fd923d4..b31b422ab758 100644 --- a/clang/test/Rewriter/rewrite-local-externs-in-block.mm +++ b/clang/test/Rewriter/rewrite-local-externs-in-block.mm @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -x objective-c++ -Wno-return-type -fblocks -fms-extensions -rewrite-objc -fobjc-runtime=macosx-fragile-10.5 %s -o %t-rw.cpp // RUN: %clang_cc1 -fsyntax-only -Wno-address-of-temporary -D"SEL=void*" -D"__declspec(X)=" %t-rw.cpp +// radar 7735987 extern "C" int printf(const char*, ...); diff --git a/clang/test/Rewriter/rewrite-local-static-id.mm b/clang/test/Rewriter/rewrite-local-static-id.mm index 067cfd8c730f..b3d2c4833ed1 100644 --- a/clang/test/Rewriter/rewrite-local-static-id.mm +++ b/clang/test/Rewriter/rewrite-local-static-id.mm @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -x objective-c++ -Wno-return-type -fblocks -fms-extensions -rewrite-objc -fobjc-runtime=macosx-fragile-10.5 %s -o %t-rw.cpp // RUN: %clang_cc1 -Wno-address-of-temporary -Did="void *" -D"SEL=void*" -D"__declspec(X)=" -emit-llvm -o %t %t-rw.cpp +// radar 7946975 void *sel_registerName(const char *); diff --git a/clang/test/Rewriter/rewrite-message-expr.mm b/clang/test/Rewriter/rewrite-message-expr.mm index 10398cb25d0b..04e27e5d44ae 100644 --- a/clang/test/Rewriter/rewrite-message-expr.mm +++ b/clang/test/Rewriter/rewrite-message-expr.mm @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -x objective-c++ -fblocks -fms-extensions -rewrite-objc -fobjc-runtime=macosx-fragile-10.5 %s -o %t-rw.cpp // RUN: FileCheck -check-prefix CHECK-LP --input-file=%t-rw.cpp %s +// radar 7617047 @interface Baz - (id)y; diff --git a/clang/test/Rewriter/rewrite-modern-array-literal.mm b/clang/test/Rewriter/rewrite-modern-array-literal.mm index bc9a37ea828c..c1431ea48be2 100644 --- a/clang/test/Rewriter/rewrite-modern-array-literal.mm +++ b/clang/test/Rewriter/rewrite-modern-array-literal.mm @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -x objective-c++ -fms-extensions -rewrite-objc %s -o %t-rw.cpp // RUN: %clang_cc1 -fsyntax-only -Wno-address-of-temporary -D"Class=void*" -D"id=void*" -D"SEL=void*" -D"__declspec(X)=" %t-rw.cpp +// rdar://10803676 extern "C" void *sel_registerName(const char *); @class NSString; diff --git a/clang/test/Rewriter/rewrite-modern-atautoreleasepool.mm b/clang/test/Rewriter/rewrite-modern-atautoreleasepool.mm index a4270f0328b4..f5d2956925e7 100644 --- a/clang/test/Rewriter/rewrite-modern-atautoreleasepool.mm +++ b/clang/test/Rewriter/rewrite-modern-atautoreleasepool.mm @@ -2,6 +2,7 @@ // RUN: %clang_cc1 -x objective-c++ -fblocks -fms-extensions -rewrite-objc %t.mm -o %t-rw.cpp // RUN: FileCheck --input-file=%t-rw.cpp %s // RUN: %clang_cc1 -fsyntax-only -std=gnu++98 -Wno-address-of-temporary -D"Class=void*" -D"id=void*" -D"SEL=void*" -D"__declspec(X)=" %t-rw.cpp +// radar 11474836 extern "C" void *sel_registerName(const char *); diff --git a/clang/test/Rewriter/rewrite-modern-block-consts.mm b/clang/test/Rewriter/rewrite-modern-block-consts.mm index 4af9e2969412..48c8d4023d31 100644 --- a/clang/test/Rewriter/rewrite-modern-block-consts.mm +++ b/clang/test/Rewriter/rewrite-modern-block-consts.mm @@ -1,6 +1,8 @@ // RUN: %clang_cc1 -x objective-c++ -Wno-return-type -fblocks -fms-extensions -rewrite-objc %s -o %t-modern-rw.cpp // RUN: %clang_cc1 -fsyntax-only -Werror -Wno-address-of-temporary -U__declspec -D"__declspec(X)=" %t-modern-rw.cpp +// rdar:// 8243071 +// rdar://11375908 typedef unsigned long size_t; void x(int y) {} diff --git a/clang/test/Rewriter/rewrite-modern-block.mm b/clang/test/Rewriter/rewrite-modern-block.mm index 6841ab4a5a00..926ee36f1a4a 100644 --- a/clang/test/Rewriter/rewrite-modern-block.mm +++ b/clang/test/Rewriter/rewrite-modern-block.mm @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -x objective-c++ -fblocks -fms-extensions -rewrite-objc %s -o %t-rw.cpp // RUN: %clang_cc1 -fsyntax-only -Werror -Wno-address-of-temporary -D"Class=void*" -D"id=void*" -D"SEL=void*" -U__declspec -D"__declspec(X)=" %t-rw.cpp +// rdar://11230308 typedef unsigned long size_t; typedef struct { @@ -17,11 +18,13 @@ void y() { }; } +// rdar://11236342 int foo() { __block int hello; return hello; } +// rdar://7547630 // rewriting multiple __block decls on wintin same decl stmt. void radar7547630() { __block int BI1, BI2; @@ -44,6 +47,7 @@ int rdar7547630(const char *keybuf, const char *valuebuf) { return BI2; } +// rdar://11326988 typedef struct _z { int location; int length; @@ -60,4 +64,5 @@ z w(int loc, int len); } @end +// rdar://18799145 int Test18799145() { return ^(){return 0;}(); } diff --git a/clang/test/Rewriter/rewrite-modern-captured-nested-bvar.mm b/clang/test/Rewriter/rewrite-modern-captured-nested-bvar.mm index b85515ea7045..d1457dc76d26 100644 --- a/clang/test/Rewriter/rewrite-modern-captured-nested-bvar.mm +++ b/clang/test/Rewriter/rewrite-modern-captured-nested-bvar.mm @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -E %s -o %t.mm // RUN: %clang_cc1 -x objective-c++ -fblocks -fms-extensions -rewrite-objc %t.mm -o - | FileCheck %s +// rdar://9006279 void q(void (^p)(void)) { p(); diff --git a/clang/test/Rewriter/rewrite-modern-container-literal.mm b/clang/test/Rewriter/rewrite-modern-container-literal.mm index 4c1c90cb19e7..8a52791a1df2 100644 --- a/clang/test/Rewriter/rewrite-modern-container-literal.mm +++ b/clang/test/Rewriter/rewrite-modern-container-literal.mm @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -x objective-c++ -fms-extensions -rewrite-objc %s -o %t-rw.cpp // RUN: %clang_cc1 -fsyntax-only -Wno-address-of-temporary -D"Class=void*" -D"id=void*" -D"SEL=void*" -D"__declspec(X)=" %t-rw.cpp +// rdar://10803676 void *sel_registerName(const char *); typedef unsigned long NSUInteger; diff --git a/clang/test/Rewriter/rewrite-modern-default-property-synthesis.mm b/clang/test/Rewriter/rewrite-modern-default-property-synthesis.mm index 9aa8adbb3776..4a772afabd43 100644 --- a/clang/test/Rewriter/rewrite-modern-default-property-synthesis.mm +++ b/clang/test/Rewriter/rewrite-modern-default-property-synthesis.mm @@ -2,6 +2,7 @@ // RUN: %clang_cc1 -x objective-c++ -fms-extensions -rewrite-objc %t.mm -o %t-rw.cpp // RUN: FileCheck --input-file=%t-rw.cpp %s // RUN: %clang_cc1 -fsyntax-only -std=gnu++98 -Werror -DSEL="void *" -Did="struct objc_object *" -Wno-attributes -Wno-address-of-temporary -U__declspec -D"__declspec(X)=" %t-rw.cpp +// rdar://11374235 extern "C" void *sel_registerName(const char *); diff --git a/clang/test/Rewriter/rewrite-modern-extern-c-func-decl.mm b/clang/test/Rewriter/rewrite-modern-extern-c-func-decl.mm index dcbc06c9e9e8..af8c2d6e21b0 100644 --- a/clang/test/Rewriter/rewrite-modern-extern-c-func-decl.mm +++ b/clang/test/Rewriter/rewrite-modern-extern-c-func-decl.mm @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -fms-extensions -U__declspec -rewrite-objc -x objective-c++ -fblocks -o %t-rw.cpp %s // RUN: %clang_cc1 -fsyntax-only -std=gnu++98 -Werror -Wno-address-of-temporary -Wno-attributes -D"Class=void*" -D"id=void*" -D"SEL=void*" -U__declspec -D"__declspec(X)=" %t-rw.cpp +// rdar://11131490 typedef unsigned long size_t; extern "C" __declspec(dllexport) void BreakTheRewriter(void) { @@ -44,6 +45,7 @@ main (int argc, char *argv[]) }; } +// rdar://11275241 static char stringtype; char CFStringGetTypeID(); void x(void (^)()); @@ -64,6 +66,7 @@ static void initStatics2() { }); } +// rdar://11314329 static inline const void *auto_zone_base_pointer(void *zone, const void *ptr) { return 0; } @interface I @@ -71,12 +74,12 @@ static inline const void *auto_zone_base_pointer(void *zone, const void *ptr) { id list; } - (void) Meth; -// use before definition +// radar 7589385 use before definition - (void) allObjects; @end @implementation I -// use before definition +// radar 7589385 use before definition - (void) allObjects { __attribute__((__blocks__(byref))) id *listp; diff --git a/clang/test/Rewriter/rewrite-modern-ivar-use.mm b/clang/test/Rewriter/rewrite-modern-ivar-use.mm index 1abc63bf32e0..8e729388c5ed 100644 --- a/clang/test/Rewriter/rewrite-modern-ivar-use.mm +++ b/clang/test/Rewriter/rewrite-modern-ivar-use.mm @@ -12,6 +12,7 @@ void *sel_registerName(const char *); @end @implementation Foo +// radar 7522803 static void foo(id bar) { int i = ((Foo *)bar)->a; } diff --git a/clang/test/Rewriter/rewrite-modern-ivars-2.mm b/clang/test/Rewriter/rewrite-modern-ivars-2.mm index 52304ea22fab..65ccd6242ad6 100644 --- a/clang/test/Rewriter/rewrite-modern-ivars-2.mm +++ b/clang/test/Rewriter/rewrite-modern-ivars-2.mm @@ -71,6 +71,8 @@ typedef unsigned int FSCatalogInfoBitmap; @implementation NSFileLocationComponent @end +// rdar://11229770 + @interface Foo { int bar:26; } diff --git a/clang/test/Rewriter/rewrite-modern-private-ivars.mm b/clang/test/Rewriter/rewrite-modern-private-ivars.mm index 01020a07a26f..fc2e73bb26e6 100644 --- a/clang/test/Rewriter/rewrite-modern-private-ivars.mm +++ b/clang/test/Rewriter/rewrite-modern-private-ivars.mm @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -fblocks -rewrite-objc -fms-extensions %s -o %t-rw.cpp // RUN: %clang_cc1 -Werror -fsyntax-only -Wno-address-of-temporary -Wno-c++11-narrowing -std=c++11 -D"Class=void*" -D"id=void*" -D"SEL=void*" -U__declspec -D"__declspec(X)=" %t-rw.cpp +// rdar://11351299 struct Q { int x; diff --git a/clang/test/Rewriter/rewrite-modern-protocol-1.mm b/clang/test/Rewriter/rewrite-modern-protocol-1.mm index 0cde38665c58..7b737fe61d66 100644 --- a/clang/test/Rewriter/rewrite-modern-protocol-1.mm +++ b/clang/test/Rewriter/rewrite-modern-protocol-1.mm @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -E %s -o %t.mm // RUN: %clang_cc1 -x objective-c++ -fblocks -fms-extensions -rewrite-objc %t.mm -o - | FileCheck %s +// rdar://11248048 @protocol NSCopying @end diff --git a/clang/test/Rewriter/rewrite-modern-qualified-type.mm b/clang/test/Rewriter/rewrite-modern-qualified-type.mm index 0652c51dc30e..53e0d23ef229 100644 --- a/clang/test/Rewriter/rewrite-modern-qualified-type.mm +++ b/clang/test/Rewriter/rewrite-modern-qualified-type.mm @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -x objective-c++ -Wno-return-type -fms-extensions -rewrite-objc %s -o %t-modern-rw.cpp // RUN: %clang_cc1 -fsyntax-only -Wno-address-of-temporary -D_Bool=bool -D"id=void*" -D"SEL=void*" -D"__declspec(X)=" %t-modern-rw.cpp +// rdar://13562505 @protocol OS_dispatch_object @end diff --git a/clang/test/Rewriter/rewrite-modern-struct-ivar-1.mm b/clang/test/Rewriter/rewrite-modern-struct-ivar-1.mm index ff34ff5a8881..e54b1cdaab3a 100644 --- a/clang/test/Rewriter/rewrite-modern-struct-ivar-1.mm +++ b/clang/test/Rewriter/rewrite-modern-struct-ivar-1.mm @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -fblocks -rewrite-objc -fms-extensions %s -o %t-rw.cpp // RUN: %clang_cc1 -Werror -fsyntax-only -Wno-address-of-temporary -Wno-c++11-narrowing -std=c++11 -D"Class=void*" -D"id=void*" -D"SEL=void*" -U__declspec -D"__declspec(X)=" %t-rw.cpp +// rdar://11323187 typedef unsigned long NSUInteger; diff --git a/clang/test/Rewriter/rewrite-modern-struct-ivar.mm b/clang/test/Rewriter/rewrite-modern-struct-ivar.mm index d6c64ea3c60e..f98bdbc460d3 100644 --- a/clang/test/Rewriter/rewrite-modern-struct-ivar.mm +++ b/clang/test/Rewriter/rewrite-modern-struct-ivar.mm @@ -23,6 +23,7 @@ struct S { // CHECK: return (*(struct S *)((char *)self + OBJC_IVAR_$_I$struct_ivar)); +// rdar://11323187 @interface Foo{ @protected struct { diff --git a/clang/test/Rewriter/rewrite-modern-super.mm b/clang/test/Rewriter/rewrite-modern-super.mm index 2af6ec150f41..ee397b332570 100644 --- a/clang/test/Rewriter/rewrite-modern-super.mm +++ b/clang/test/Rewriter/rewrite-modern-super.mm @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -x objective-c++ -fblocks -fms-extensions -rewrite-objc %s -o %t-rw.cpp // RUN: %clang_cc1 -fsyntax-only -Wno-address-of-temporary -D"id=struct objc_object *" -D"SEL=void*" -D"__declspec(X)=" %t-rw.cpp +// rdar://11239894 extern "C" void *sel_registerName(const char *); diff --git a/clang/test/Rewriter/rewrite-modern-synchronized.m b/clang/test/Rewriter/rewrite-modern-synchronized.m index 60650656a063..59bc87d503f6 100644 --- a/clang/test/Rewriter/rewrite-modern-synchronized.m +++ b/clang/test/Rewriter/rewrite-modern-synchronized.m @@ -33,6 +33,7 @@ void test_sync_with_implicit_finally(void) { } } +// rdar://14993814 @interface NSObject @end @interface I : NSObject @end diff --git a/clang/test/Rewriter/rewrite-modern-throw.m b/clang/test/Rewriter/rewrite-modern-throw.m index c9a54147fcbb..e2a2acd647b6 100644 --- a/clang/test/Rewriter/rewrite-modern-throw.m +++ b/clang/test/Rewriter/rewrite-modern-throw.m @@ -66,6 +66,7 @@ int main(void) } @end +// rdar://13186010 @class NSDictionary, NSException; @class NSMutableDictionary; diff --git a/clang/test/Rewriter/rewrite-modern-typeof.mm b/clang/test/Rewriter/rewrite-modern-typeof.mm index 6136563e1f0b..91e0b62fd588 100644 --- a/clang/test/Rewriter/rewrite-modern-typeof.mm +++ b/clang/test/Rewriter/rewrite-modern-typeof.mm @@ -23,6 +23,7 @@ int main() { // CHECK-LP: ((void (^)(void))_Block_copy((const void *)(b))) +// radar 7628153 void f() { int a; __typeof__(a) aVal = a; @@ -34,6 +35,7 @@ void f() { } +// rdar://11239324 void x() { id y; void (^z)() = ^{ }; diff --git a/clang/test/Rewriter/rewrite-nested-blocks-1.mm b/clang/test/Rewriter/rewrite-nested-blocks-1.mm index 27eb0543a6a0..416fd97ad668 100644 --- a/clang/test/Rewriter/rewrite-nested-blocks-1.mm +++ b/clang/test/Rewriter/rewrite-nested-blocks-1.mm @@ -2,6 +2,7 @@ // RUN: %clang_cc1 -fsyntax-only -std=gnu++98 -fblocks -Wno-address-of-temporary -D"id=void*" -D"SEL=void*" -D"__declspec(X)=" %t-rw.cpp // RUN: %clang_cc1 -x objective-c++ -Wno-return-type -fblocks -fms-extensions -rewrite-objc %s -o %t-modern-rw.cpp // RUN: %clang_cc1 -fsyntax-only -std=gnu++98 -Wno-address-of-temporary -D"id=void*" -D"SEL=void*" -D"__declspec(X)=" %t-modern-rw.cpp +// radar 7696893 typedef unsigned long size_t; void *sel_registerName(const char *); diff --git a/clang/test/Rewriter/rewrite-nested-blocks-2.mm b/clang/test/Rewriter/rewrite-nested-blocks-2.mm index a7a83f6f0c00..46afdf16889c 100644 --- a/clang/test/Rewriter/rewrite-nested-blocks-2.mm +++ b/clang/test/Rewriter/rewrite-nested-blocks-2.mm @@ -4,6 +4,7 @@ // RUN: %clang_cc1 -x objective-c++ -Wno-return-type -fblocks -fms-extensions -rewrite-objc %s -o %t-modern-rw.cpp // RUN: %clang_cc1 -fsyntax-only -Wno-address-of-temporary -D"id=void*" -D"SEL=void*" -D"__declspec(X)=" %t-modern-rw.cpp // grep "static void __FUNC_block_copy_" %t-modern-rw.cpp | count 2 +// rdar://8499592 typedef unsigned long size_t; void Outer(void (^bk)()); diff --git a/clang/test/Rewriter/rewrite-nested-blocks.mm b/clang/test/Rewriter/rewrite-nested-blocks.mm index c379773aade3..da3106c295ba 100644 --- a/clang/test/Rewriter/rewrite-nested-blocks.mm +++ b/clang/test/Rewriter/rewrite-nested-blocks.mm @@ -2,6 +2,8 @@ // RUN: %clang_cc1 -fsyntax-only -std=gnu++98 -Wno-address-of-temporary -D"SEL=void*" -D"__declspec(X)=" %t-rw.cpp // RUN: %clang_cc1 -x objective-c++ -Wno-return-type -fblocks -fms-extensions -rewrite-objc %s -o %t-modern-rw.cpp // RUN: %clang_cc1 -fsyntax-only -std=gnu++98 -Wno-address-of-temporary -D"SEL=void*" -D"__declspec(X)=" %t-modern-rw.cpp +// radar 7682149 + typedef unsigned long size_t; void f(void (^block)(void)); @@ -38,6 +40,7 @@ void foo () { }); } +// radar 7692419 @interface Bar @end diff --git a/clang/test/Rewriter/rewrite-nested-ivar.mm b/clang/test/Rewriter/rewrite-nested-ivar.mm index 5b8c2ddf08a1..47504b5d7ba0 100644 --- a/clang/test/Rewriter/rewrite-nested-ivar.mm +++ b/clang/test/Rewriter/rewrite-nested-ivar.mm @@ -2,6 +2,8 @@ // RUN: %clang_cc1 -fsyntax-only -std=gnu++98 -fblocks -Wno-address-of-temporary -D"id=void*" -D"SEL=void*" -D"__declspec(X)=" %t-rw.cpp // RUN: %clang_cc1 -x objective-c++ -Wno-return-type -fblocks -fms-extensions -rewrite-objc %s -o %t-rw-modern.cpp // RUN: %clang_cc1 -fsyntax-only -std=gnu++98 -fblocks -Wno-address-of-temporary -D"id=void*" -D"SEL=void*" -D"__declspec(X)=" %t-rw-modern.cpp +// radar 7583971 + @interface NSURLResponse { @public diff --git a/clang/test/Rewriter/rewrite-nested-property-in-blocks.mm b/clang/test/Rewriter/rewrite-nested-property-in-blocks.mm index 71e97a16f3c6..de34ac827069 100644 --- a/clang/test/Rewriter/rewrite-nested-property-in-blocks.mm +++ b/clang/test/Rewriter/rewrite-nested-property-in-blocks.mm @@ -2,6 +2,7 @@ // RUN: %clang_cc1 -triple i686-pc-windows -fsyntax-only -fms-extensions -Wno-address-of-temporary -Did="void *" -D"SEL=void*" -D"__declspec(X)=" %t-rw.cpp // RUN: %clang_cc1 -triple i686-pc-windows -x objective-c++ -Wno-return-type -fblocks -fms-extensions -rewrite-objc %s -o %t-modern-rw.cpp // RUN: %clang_cc1 -triple i686-pc-windows -fsyntax-only -fms-extensions -Wno-address-of-temporary -Did="void *" -D"SEL=void*" -D"__declspec(X)=" %t-modern-rw.cpp +// radar 8608293 typedef unsigned long size_t; void *sel_registerName(const char *); diff --git a/clang/test/Rewriter/rewrite-no-nextline.mm b/clang/test/Rewriter/rewrite-no-nextline.mm index 3d514298c379..51f412f3e7ca 100644 --- a/clang/test/Rewriter/rewrite-no-nextline.mm +++ b/clang/test/Rewriter/rewrite-no-nextline.mm @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -x objective-c++ -Wno-return-type -fblocks -fms-extensions -rewrite-objc -fobjc-runtime=macosx-fragile-10.5 %s -o %t-rw.cpp // RUN: %clang_cc1 -fsyntax-only -Wno-address-of-temporary -D"SEL=void*" -D"__declspec(X)=" %t-rw.cpp +// radar 7946975 @interface RootObject { } diff --git a/clang/test/Rewriter/rewrite-property-attributes.mm b/clang/test/Rewriter/rewrite-property-attributes.mm index 5d70147fdc87..0c7871c6d4f7 100644 --- a/clang/test/Rewriter/rewrite-property-attributes.mm +++ b/clang/test/Rewriter/rewrite-property-attributes.mm @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -x objective-c++ -Wno-return-type -fblocks -fms-extensions -rewrite-objc -fobjc-runtime=macosx-fragile-10.5 %s -o %t-rw.cpp // RUN: %clang_cc1 -fsyntax-only -std=gnu++98 -Wno-address-of-temporary -D"id=void*" -D"SEL=void*" -D"__declspec(X)=" %t-rw.cpp +// radar 7214439 typedef void (^void_block_t)(void); diff --git a/clang/test/Rewriter/rewrite-property-set-cfstring.mm b/clang/test/Rewriter/rewrite-property-set-cfstring.mm index 9c1d2de68c4c..964d1a0f2022 100644 --- a/clang/test/Rewriter/rewrite-property-set-cfstring.mm +++ b/clang/test/Rewriter/rewrite-property-set-cfstring.mm @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -x objective-c++ -Wno-return-type -fblocks -fms-extensions -rewrite-objc -fobjc-runtime=macosx-fragile-10.5 %s -o %t-rw.cpp // RUN: %clang_cc1 -fsyntax-only -std=gnu++98 -fblocks -Wno-address-of-temporary -D"id=void*" -D"SEL=void*" -D"__declspec(X)=" %t-rw.cpp +// rdar:// 8527018 void *sel_registerName(const char *); diff --git a/clang/test/Rewriter/rewrite-protocol-property.mm b/clang/test/Rewriter/rewrite-protocol-property.mm index e5559f7e2262..599ee8542c98 100644 --- a/clang/test/Rewriter/rewrite-protocol-property.mm +++ b/clang/test/Rewriter/rewrite-protocol-property.mm @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -x objective-c++ -Wno-return-type -fblocks -fms-extensions -rewrite-objc -fobjc-runtime=macosx-fragile-10.5 %s -o %t-rw.cpp // RUN: %clang_cc1 -fsyntax-only -std=gnu++98 -fblocks -Wno-address-of-temporary -Did="void*" -D"SEL=void*" -D"__declspec(X)=" %t-rw.cpp +// rdar:// 8558702 @class NSString; @interface NSObject @end diff --git a/clang/test/Rewriter/rewrite-protocol-qualified.mm b/clang/test/Rewriter/rewrite-protocol-qualified.mm index 316607d30f12..7a7eed737311 100644 --- a/clang/test/Rewriter/rewrite-protocol-qualified.mm +++ b/clang/test/Rewriter/rewrite-protocol-qualified.mm @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -x objective-c++ -Wno-return-type -fblocks -fms-extensions -rewrite-objc -fobjc-runtime=macosx-fragile-10.5 %s -o %t-rw.cpp // RUN: %clang_cc1 -fsyntax-only -Wno-address-of-temporary -D"SEL=void*" -D"id=void*" -D"__declspec(X)=" %t-rw.cpp +// radar 7589414 @protocol NSPortDelegate; @interface NSConnection @end @@ -15,6 +16,7 @@ } @end +// radar 7607413 @protocol Proto1, Proto2; @protocol Proto @@ -29,6 +31,7 @@ void f() { id b = bar((id )a); } +// rdar://8472487 @protocol NSObject @end @class NSRunLoop; @@ -36,6 +39,8 @@ void f() { @property (retain) NSRunLoop *workRunLoop; @end + +// rdar://8475819 @protocol some_protocol; void foo (int n) diff --git a/clang/test/Rewriter/rewrite-qualified-id.mm b/clang/test/Rewriter/rewrite-qualified-id.mm index 96bc31c90cc6..428b65563cc3 100644 --- a/clang/test/Rewriter/rewrite-qualified-id.mm +++ b/clang/test/Rewriter/rewrite-qualified-id.mm @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -x objective-c++ -Wno-return-type -fblocks -fms-extensions -rewrite-objc -fobjc-runtime=macosx-fragile-10.5 %s -o %t-rw.cpp // RUN: %clang_cc1 -fsyntax-only -Wno-address-of-temporary -D"SEL=void*" -D"__declspec(X)=" %t-rw.cpp +// radar 7680953 typedef void * id; diff --git a/clang/test/Rewriter/rewrite-rewritten-initializer.mm b/clang/test/Rewriter/rewrite-rewritten-initializer.mm index b24c00cc852b..25d16253607d 100644 --- a/clang/test/Rewriter/rewrite-rewritten-initializer.mm +++ b/clang/test/Rewriter/rewrite-rewritten-initializer.mm @@ -2,6 +2,7 @@ // RUN: %clang_cc1 -fsyntax-only -Wno-address-of-temporary -D"SEL=void*" -U__declspec -D"__declspec(X)=" %t-rw.cpp // RUN: %clang_cc1 -x objective-c++ -Wno-return-type -fblocks -fms-extensions -rewrite-objc %s -o %t-rw-modern.cpp // RUN: %clang_cc1 -fsyntax-only -Werror -Wno-address-of-temporary -D"SEL=void*" -U__declspec -D"__declspec(X)=" %t-rw-modern.cpp +// radar 7669784 typedef unsigned long size_t; typedef void * id; diff --git a/clang/test/Rewriter/rewrite-super-message.mm b/clang/test/Rewriter/rewrite-super-message.mm index c1d0888b5fff..def62de1136e 100644 --- a/clang/test/Rewriter/rewrite-super-message.mm +++ b/clang/test/Rewriter/rewrite-super-message.mm @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -x objective-c++ -Wno-return-type -fblocks -fms-extensions -rewrite-objc -fobjc-runtime=macosx-fragile-10.5 %s -o %t-rw.cpp // RUN: %clang_cc1 -fsyntax-only -Wno-address-of-temporary -DKEEP_ATTRIBUTES -D"id=struct objc_object *" -D"Class=struct objc_class *" -D"SEL=void*" -D"__declspec(X)=" -emit-llvm -o - %t-rw.cpp | FileCheck %t-rw.cpp +// radar 7738453 void *sel_registerName(const char *); diff --git a/clang/test/Rewriter/rewrite-trivial-constructor.mm b/clang/test/Rewriter/rewrite-trivial-constructor.mm index 7cbcb2ad5424..e343a383102a 100644 --- a/clang/test/Rewriter/rewrite-trivial-constructor.mm +++ b/clang/test/Rewriter/rewrite-trivial-constructor.mm @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -fms-extensions -rewrite-objc -fobjc-runtime=macosx-fragile-10.5 -x objective-c++ -fblocks -o - %s +// radar 7537770 typedef struct { int a; diff --git a/clang/test/Rewriter/rewrite-typeof.mm b/clang/test/Rewriter/rewrite-typeof.mm index c3dcf439ffb0..f6790ea6d47b 100644 --- a/clang/test/Rewriter/rewrite-typeof.mm +++ b/clang/test/Rewriter/rewrite-typeof.mm @@ -21,6 +21,7 @@ int main() { // CHECK-LP: ((void (^)(void))_Block_copy((const void *)(b))) +// radar 7628153 void f() { int a; __typeof__(a) aVal = a; diff --git a/clang/test/Rewriter/rewrite-unique-block-api.mm b/clang/test/Rewriter/rewrite-unique-block-api.mm index 5058fbd0fa9f..85ead11d2fab 100644 --- a/clang/test/Rewriter/rewrite-unique-block-api.mm +++ b/clang/test/Rewriter/rewrite-unique-block-api.mm @@ -2,6 +2,7 @@ // RUN: %clang_cc1 -fsyntax-only -Wno-address-of-temporary -D"SEL=void*" -D"__declspec(X)=" %t-rw.cpp // RUN: %clang_cc1 -x objective-c++ -fblocks -fms-extensions -rewrite-objc %s -o %t-modern-rw.cpp // RUN: %clang_cc1 -fsyntax-only -Wno-address-of-temporary -D"SEL=void*" -D"__declspec(X)=" %t-modern-rw.cpp +// radar 7630551 typedef unsigned long size_t; void f(void (^b)(char c)); diff --git a/clang/test/Rewriter/rewrite-user-defined-accessors.mm b/clang/test/Rewriter/rewrite-user-defined-accessors.mm index 74f092cbd421..4c35b5c4ef4e 100644 --- a/clang/test/Rewriter/rewrite-user-defined-accessors.mm +++ b/clang/test/Rewriter/rewrite-user-defined-accessors.mm @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -x objective-c++ -Wno-return-type -fblocks -fms-extensions -rewrite-objc -fobjc-runtime=macosx-fragile-10.5 %s -o %t-rw.cpp // RUN: %clang_cc1 -fsyntax-only -std=gnu++98 -fblocks -Wno-address-of-temporary -Did="void*" -D"SEL=void*" -D"__declspec(X)=" %t-rw.cpp +// rdar:// 8570020 @interface Foo { Foo *foo; diff --git a/clang/test/Rewriter/rewrite-vararg.m b/clang/test/Rewriter/rewrite-vararg.m index 58791bbb4761..52aa5f9ca5a9 100644 --- a/clang/test/Rewriter/rewrite-vararg.m +++ b/clang/test/Rewriter/rewrite-vararg.m @@ -1,6 +1,7 @@ // RUN: %clang_cc1 -x objective-c++ -Wno-return-type -fblocks -fms-extensions -rewrite-objc -fobjc-runtime=macosx-fragile-10.5 %s -o %t-rw.cpp // RUN: %clang_cc1 -fsyntax-only -std=gnu++98 -fblocks -Wno-address-of-temporary -D"id=void*" -D"SEL=void*" -D"__declspec(X)=" %t-rw.cpp +// rdar://9056351 void *sel_registerName(const char *); @interface NSObject @end diff --git a/clang/test/Rewriter/unnamed-bf-modern-write.mm b/clang/test/Rewriter/unnamed-bf-modern-write.mm index fa1e4a86898a..209cdd6035cd 100644 --- a/clang/test/Rewriter/unnamed-bf-modern-write.mm +++ b/clang/test/Rewriter/unnamed-bf-modern-write.mm @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -E %s -o %t.mm // RUN: %clang_cc1 -x objective-c++ -fblocks -fms-extensions -rewrite-objc %t.mm -o - | FileCheck %s +// rdar://13138459 @interface Foo { @private diff --git a/clang/test/Sema/address_spaces.c b/clang/test/Sema/address_spaces.c index 7dbeac711954..ff7a134e04eb 100644 --- a/clang/test/Sema/address_spaces.c +++ b/clang/test/Sema/address_spaces.c @@ -33,6 +33,8 @@ struct _st { int x, y; } s __attribute ((address_space(1))) = {1, 1}; + +// rdar://6774906 __attribute__((address_space(256))) void * * const base = 0; void * get_0(void) { return base[0]; // expected-error {{returning '__attribute__((address_space(256))) void *' from a function with result type 'void *' changes address space of pointer}} diff --git a/clang/test/Sema/anonymous-struct-union.c b/clang/test/Sema/anonymous-struct-union.c index ea4b66cc7dae..222aebf53a7d 100644 --- a/clang/test/Sema/anonymous-struct-union.c +++ b/clang/test/Sema/anonymous-struct-union.c @@ -75,8 +75,10 @@ void g(void) { f2 = 0.0; // expected-error{{use of undeclared identifier}} } +// struct s0 { union { int f0; }; }; +// typedef struct { }; // expected-warning{{typedef requires a name}} // PR3675 diff --git a/clang/test/Sema/arm-neon-types.c b/clang/test/Sema/arm-neon-types.c index 499cd271293b..7456341a63dc 100644 --- a/clang/test/Sema/arm-neon-types.c +++ b/clang/test/Sema/arm-neon-types.c @@ -5,7 +5,7 @@ #include -// Should not report incompatible vector types. +// Radar 8228022: Should not report incompatible vector types. int32x2_t test(int32x2_t x) { return vshr_n_s32(x, 31); } @@ -15,7 +15,7 @@ float32x2_t test2(uint32x2_t x) { return vcvt_n_f32_s32(x, 9); // expected-warning {{incompatible vector types}} } -// Check immediate range for vcvt_n intrinsics is 1 to 32. +// Check immediate range for vcvt_n intrinsics is 1 to 32. Radar 9558930. float32x2_t test3(uint32x2_t x) { // FIXME: The "incompatible result type" error is due to pr10112 and should be // removed when that is fixed. diff --git a/clang/test/Sema/arm64-neon-args.c b/clang/test/Sema/arm64-neon-args.c index a5bccb029fa3..6a5e19f88d80 100644 --- a/clang/test/Sema/arm64-neon-args.c +++ b/clang/test/Sema/arm64-neon-args.c @@ -5,10 +5,12 @@ #include +// rdar://13527900 void vcopy_reject(float32x4_t vOut0, float32x4_t vAlpha, int t) { vcopyq_laneq_f32(vOut0, 1, vAlpha, t); // expected-error {{argument to '__builtin_neon_vgetq_lane_f32' must be a constant integer}} } +// rdar://problem/15256199 float32x4_t test_vmlsq_lane(float32x4_t accum, float32x4_t lhs, float32x2_t rhs) { return vmlsq_lane_f32(accum, lhs, rhs, 1); } diff --git a/clang/test/Sema/array-bounds-ptr-arith.c b/clang/test/Sema/array-bounds-ptr-arith.c index d35c4864eb20..28d9a5ac7a82 100644 --- a/clang/test/Sema/array-bounds-ptr-arith.c +++ b/clang/test/Sema/array-bounds-ptr-arith.c @@ -26,8 +26,9 @@ void pr11594(struct S *s) { int *p = a - s->n; } -// This resulted in an assertion failure because of the typedef instead of an -// explicit constant array type. +// Test case reduced from . This resulted in +// an assertion failure because of the typedef instead of an explicit +// constant array type. struct RDar11387038 {}; typedef struct RDar11387038 RDar11387038Array[1]; struct RDar11387038_Table { diff --git a/clang/test/Sema/array-init.c b/clang/test/Sema/array-init.c index cfe0ddc33867..0e23a7d3d375 100644 --- a/clang/test/Sema/array-init.c +++ b/clang/test/Sema/array-init.c @@ -297,6 +297,7 @@ int a7[5] = (int[5]){ 1, nonconst_value() // expected-error{{initializer element is not a compile-time constant}} }; +// __attribute__((weak)) const unsigned int test10_bound = 10; char test10_global[test10_bound]; // expected-error {{variable length array declaration not allowed at file scope}} void test10(void) { diff --git a/clang/test/Sema/asm.c b/clang/test/Sema/asm.c index 630a5e85dd91..9f3fb3176b4e 100644 --- a/clang/test/Sema/asm.c +++ b/clang/test/Sema/asm.c @@ -1,5 +1,6 @@ // RUN: %clang_cc1 %s -Wno-private-extern -triple i386-pc-linux-gnu -verify -fsyntax-only + void f(void) { int i; @@ -39,12 +40,14 @@ void clobbers(void) { asm ("nop" : "=a" (a) : "b" (b) : "%rcx", "%rbx"); // expected-error {{asm-specifier for input or output variable conflicts with asm clobber list}} } +// rdar://6094010 void test3(void) { int x; asm(L"foo" : "=r"(x)); // expected-error {{wide string}} asm("foo" : L"=r"(x)); // expected-error {{wide string}} } +// void test4(const volatile void *addr) { asm ("nop" : : "r"(*addr)); /* expected-error {{invalid type 'const volatile void' in asm input for constraint 'r'}} @@ -57,6 +60,7 @@ void test4(const volatile void *addr) asm ("nop" : : "m"(f())); // expected-error {{invalid lvalue in asm input for constraint 'm'}} } +// void test5(void) { asm("nop" : : "X" (8)); } @@ -115,6 +119,7 @@ void test10(void){ // This is just an assert because of the boolean conversion. // Feel free to change the assembly to something sensible if it causes a problem. +// rdar://problem/9414925 void test11(void) { _Bool b; asm volatile ("movb %%gs:%P2,%b0" : "=q"(b) : "0"(0), "i"(5L)); @@ -130,6 +135,7 @@ void test13(void) { __asm__ volatile ("mov %%esp, %o" : "=r"(esp) : : ); // expected-error {{invalid % escape in inline assembly string}} } +// struct S; // expected-note 2 {{forward declaration of 'struct S'}} void test14(struct S *s) { __asm("": : "a"(*s)); // expected-error {{dereference of pointer to incomplete type 'struct S'}} diff --git a/clang/test/Sema/atomic-requires-library-error.c b/clang/test/Sema/atomic-requires-library-error.c index 5a90709debc4..24a9ea274e5c 100644 --- a/clang/test/Sema/atomic-requires-library-error.c +++ b/clang/test/Sema/atomic-requires-library-error.c @@ -1,4 +1,5 @@ // RUN: %clang_cc1 %s -triple=i686-apple-darwin9 -verify +// rdar://13973577 struct foo { int big[128]; diff --git a/clang/test/Sema/attr-aligned.c b/clang/test/Sema/attr-aligned.c index 130840d46650..039dff085b79 100644 --- a/clang/test/Sema/attr-aligned.c +++ b/clang/test/Sema/attr-aligned.c @@ -14,6 +14,7 @@ int y __attribute__((aligned(1 << 28))); short g0[3] __attribute__((aligned)); short g0_chk[__alignof__(g0) == 16 ? 1 : -1]; +// typedef char ueber_aligned_char __attribute__((aligned(8))); struct struct_with_ueber_char { @@ -33,6 +34,7 @@ char a4[__alignof__(underaligned_longlong) == 1 ?: -1] = {0}; typedef long long __attribute__((aligned(1))) underaligned_complex_longlong; char a5[__alignof__(underaligned_complex_longlong) == 1 ?: -1] = {0}; +// rdar://problem/8335865 int b __attribute__((aligned(2))); char b1[__alignof__(b) == 2 ?: -1] = {0}; diff --git a/clang/test/Sema/attr-availability-android.c b/clang/test/Sema/attr-availability-android.c index 4e0adc6c11f5..f0d0a4ddec44 100644 --- a/clang/test/Sema/attr-availability-android.c +++ b/clang/test/Sema/attr-availability-android.c @@ -23,6 +23,8 @@ void test(void) { f5(0); // expected-error{{'f5' is unavailable: not available on Android}} } +// rdar://10535640 + enum { foo __attribute__((availability(android,introduced=8.0,deprecated=9.0))) }; diff --git a/clang/test/Sema/attr-availability-macosx.c b/clang/test/Sema/attr-availability-macosx.c index 7b665df6e28e..42a6fafa6758 100644 --- a/clang/test/Sema/attr-availability-macosx.c +++ b/clang/test/Sema/attr-availability-macosx.c @@ -32,6 +32,8 @@ void uses_not_introduced_struct(struct not_yet_introduced_struct *); // \ __attribute__((availability(macosx,strict,introduced=10.6))) void uses_not_introduced_struct_same_availability(struct not_yet_introduced_struct *); +// rdar://10535640 + enum { foo __attribute__((availability(macosx,introduced=8.0,deprecated=9.0))) }; diff --git a/clang/test/Sema/attr-availability.c b/clang/test/Sema/attr-availability.c index a5cc602a8fa9..ba7051520c7b 100644 --- a/clang/test/Sema/attr-availability.c +++ b/clang/test/Sema/attr-availability.c @@ -8,6 +8,7 @@ void f2(void) __attribute__((availability(ios,introduced=2.1,deprecated=2.1))); void f3(void) __attribute__((availability(otheros,introduced=2.2))); // expected-warning{{unknown platform 'otheros' in availability macro}} +// rdar://10095131 extern void ATSFontGetName(const char *oName) __attribute__((availability(macosx,introduced=8.0,deprecated=9.0, message="use CTFontCopyFullName"))); // expected-note {{'ATSFontGetName' has been explicitly marked deprecated here}} @@ -53,6 +54,7 @@ void with_redeclaration(void) { enum PartialEnum p = kPartialEnumConstant; } +// rdar://10711037 __attribute__((availability(macos, unavailable))) // expected-warning {{attribute 'availability' is ignored}} enum { NSDataWritingFileProtectionWriteOnly = 0x30000000, @@ -72,6 +74,8 @@ void f7(int) __attribute__((availability(ios,introduced=2.0))); void f7(int) __attribute__((availability(ios,deprecated=3.0))); // expected-note {{previous attribute is here}} void f7(int) __attribute__((availability(ios,deprecated=4.0))); // expected-warning {{availability does not match previous declaration}} + +// #if !__has_feature(attribute_availability_with_message) # error "Missing __has_feature" #endif diff --git a/clang/test/Sema/attr-deprecated-message.c b/clang/test/Sema/attr-deprecated-message.c index 5a0d91af316e..4cdce0e54326 100644 --- a/clang/test/Sema/attr-deprecated-message.c +++ b/clang/test/Sema/attr-deprecated-message.c @@ -1,4 +1,5 @@ // RUN: %clang_cc1 %s -verify -fsyntax-only +// rdar: // 6734520 typedef int INT1 __attribute__((deprecated("Please avoid INT1"))); // expected-note 3 {{'INT1' has been explicitly marked deprecated here}} diff --git a/clang/test/Sema/attr-deprecated.c b/clang/test/Sema/attr-deprecated.c index a678e517846f..07fe5b8e1715 100644 --- a/clang/test/Sema/attr-deprecated.c +++ b/clang/test/Sema/attr-deprecated.c @@ -53,6 +53,7 @@ struct bar_dep *test3; // expected-warning {{'bar_dep' is deprecated}} // These should not warn because the actually declaration itself is deprecated. +// rdar://6756623 foo_dep *test4 __attribute__((deprecated)); struct bar_dep *test5 __attribute__((deprecated)); @@ -102,6 +103,7 @@ foo_dep test17, // expected-warning {{'foo_dep' is deprecated}} test18 __attribute__((deprecated)), test19; +// rdar://problem/8518751 enum __attribute__((deprecated)) Test20 { // expected-note 2 {{'Test20' has been explicitly marked deprecated here}} test20_a __attribute__((deprecated)), // expected-note {{'test20_a' has been explicitly marked deprecated here}} test20_b diff --git a/clang/test/Sema/attr-format.c b/clang/test/Sema/attr-format.c index 789113a6b9e3..d891828a77a4 100644 --- a/clang/test/Sema/attr-format.c +++ b/clang/test/Sema/attr-format.c @@ -29,6 +29,7 @@ struct _mystruct { typedef int (*f3_ptr)(char*,...) __attribute__((format(printf,1,0))); // no-error +// int rdar6623513(void *, const char*, const char*, ...) __attribute__ ((format (printf, 3, 0))); diff --git a/clang/test/Sema/attr-section.c b/clang/test/Sema/attr-section.c index 23c2124a7e43..3ea922c91947 100644 --- a/clang/test/Sema/attr-section.c +++ b/clang/test/Sema/attr-section.c @@ -3,6 +3,8 @@ int x __attribute__((section( 42))); // expected-error {{'section' attribute requires a string}} + +// rdar://4341926 int y __attribute__((section( "sadf"))); // expected-error {{mach-o section specifier requires a segment and section separated by a comma}} diff --git a/clang/test/Sema/attr-unavailable-message.c b/clang/test/Sema/attr-unavailable-message.c index d0a8d0ebb0fe..b4ae70e0a39c 100644 --- a/clang/test/Sema/attr-unavailable-message.c +++ b/clang/test/Sema/attr-unavailable-message.c @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -fsyntax-only -verify %s +// rdar: //6734520 void tooManyArgs(void) __attribute__((unavailable("a", "b"))); // expected-error {{'unavailable' attribute takes no more than 1 argument}} @@ -23,6 +24,7 @@ void test_foo(void) { char test2[__has_feature(attribute_unavailable_with_message) ? 1 : -1]; +// rdar://9623855 void unavail(void) __attribute__((__unavailable__)); void unavail(void) { // No complains inside an unavailable function. @@ -32,6 +34,7 @@ void unavail(void) { double (*fp4)(double) = dfoo; } +// rdar://10201690 enum foo { a = 1, b __attribute__((deprecated())) = 2, // expected-note {{'b' has been explicitly marked deprecated here}} diff --git a/clang/test/Sema/attr-visibility.c b/clang/test/Sema/attr-visibility.c index 4acca7a7f69a..381db6d5f08c 100644 --- a/clang/test/Sema/attr-visibility.c +++ b/clang/test/Sema/attr-visibility.c @@ -4,6 +4,7 @@ void test0(void) __attribute__((visibility("default"))); void test1(void) __attribute__((visibility("hidden"))); void test2(void) __attribute__((visibility("internal"))); +// rdar://problem/10753392 void test3(void) __attribute__((visibility("protected"))); // expected-warning {{target does not support 'protected' visibility; using 'default'}} struct __attribute__((visibility("hidden"))) test4; // expected-note {{previous attribute is here}} diff --git a/clang/test/Sema/attr-weak.c b/clang/test/Sema/attr-weak.c index b827d1539b99..6695fe1d3f66 100644 --- a/clang/test/Sema/attr-weak.c +++ b/clang/test/Sema/attr-weak.c @@ -16,6 +16,7 @@ struct __attribute__((weak_import)) s1 {}; // expected-warning {{'weak_import' a static int f(void) __attribute__((weak)); // expected-error {{weak declaration cannot have internal linkage}} static int x __attribute__((weak)); // expected-error {{weak declaration cannot have internal linkage}} +// rdar://9538608 int C; // expected-note {{previous declaration is here}} extern int C __attribute__((weak_import)); // expected-warning {{an already-declared variable is made a weak_import declaration}} diff --git a/clang/test/Sema/bitfield.c b/clang/test/Sema/bitfield.c index e2ce2fdeb2e3..468fe93485cc 100644 --- a/clang/test/Sema/bitfield.c +++ b/clang/test/Sema/bitfield.c @@ -5,11 +5,13 @@ enum e0; // expected-note{{forward declaration of 'enum e0'}} struct a { int a : -1; // expected-error{{bit-field 'a' has negative width}} + // rdar://6081627 int b : 33; // expected-error{{width of bit-field 'b' (33 bits) exceeds the width of its type (32 bits)}} int c : (1 + 0.25); // expected-error{{integer constant expression must have integer type}} int d : (int)(1 + 0.25); + // rdar://6138816 int e : 0; // expected-error {{bit-field 'e' has zero width}} float xx : 4; // expected-error {{bit-field 'xx' has non-integral type}} diff --git a/clang/test/Sema/block-args.c b/clang/test/Sema/block-args.c index 59f79a14a48f..1e000abf4b36 100644 --- a/clang/test/Sema/block-args.c +++ b/clang/test/Sema/block-args.c @@ -29,15 +29,18 @@ int main(int argc, char** argv) { }(argc); } +// radar 7528255 void f0(void) { ^(int, double d, char) {}(1, 1.34, 'a'); // expected-warning {{omitting the parameter name in a function definition is a C2x extension}} \ // expected-warning {{omitting the parameter name in a function definition is a C2x extension}} } +// rdar://problem/8962770 void test4(void) { int (^f)(void) = ^((x)) { }; // expected-error {{type specifier missing}} expected-error {{type-id cannot have a name}} } +// rdar://problem/9170609 void test5_helper(void (^)(int, int[*])); void test5(void) { test5_helper(^(int n, int array[n]) {}); diff --git a/clang/test/Sema/block-explicit-noreturn-type.c b/clang/test/Sema/block-explicit-noreturn-type.c index ab58d21739cd..9b38043420b6 100644 --- a/clang/test/Sema/block-explicit-noreturn-type.c +++ b/clang/test/Sema/block-explicit-noreturn-type.c @@ -1,4 +1,5 @@ // RUN: %clang_cc1 %s -fsyntax-only -verify -fblocks +// rdar://10466373 typedef short SHORT; diff --git a/clang/test/Sema/block-misc.c b/clang/test/Sema/block-misc.c index aea44d55a606..cce1e014b623 100644 --- a/clang/test/Sema/block-misc.c +++ b/clang/test/Sema/block-misc.c @@ -52,7 +52,7 @@ void test3(void) { enum {NSBIRLazilyAllocated = 0}; -int test4(int argc) { +int test4(int argc) { // rdar://6251437 ^{ switch (argc) { case NSBIRLazilyAllocated: // is an integer constant expression. @@ -65,17 +65,20 @@ int test4(int argc) { void bar(void*); +// rdar://6257721 - reference to static/global is byref by default. static int test5g; void test5() { bar(^{ test5g = 1; }); } +// rdar://6405429 - __func__ in a block refers to the containing function name. const char*test6(void) { return ^{ return __func__; } (); } +// radr://6732116 - block comparisons void (^test7a)(); int test7(void (^p)()) { return test7a == p; @@ -114,6 +117,7 @@ void test12() { test12f = ^test12f; // expected-error {{type name requires a specifier or qualifier}} expected-error {{expected expression}} } +// rdar://6808730 void *test13 = ^{ int X = 32; @@ -184,6 +188,7 @@ void test18(void) { blockA = ^{ }; // expected-error {{cannot assign to variable 'blockA' with const-qualified type 'void (^const)(void)}} } +// rdar://7072507 int test19(void) { goto L0; // expected-error {{cannot jump}} @@ -194,6 +199,7 @@ L0: return x; } +// radr://7438948 void test20(void) { int n = 7; int vla[n]; // expected-note {{declared here}} @@ -205,6 +211,7 @@ void test20(void) { }(); } +// radr://7438948 void test21(void) { int a[7]; // expected-note {{declared here}} __block int b[10]; // expected-note {{declared here}} @@ -215,6 +222,7 @@ void test21(void) { }(); } +// rdar ://8218839 const char * (^func)(void) = ^{ return __func__; }; const char * (^function)(void) = ^{ return __FUNCTION__; }; const char * (^pretty)(void) = ^{ return __PRETTY_FUNCTION__; }; diff --git a/clang/test/Sema/block-return.c b/clang/test/Sema/block-return.c index d3d70511b185..f66db13b9b9a 100644 --- a/clang/test/Sema/block-return.c +++ b/clang/test/Sema/block-return.c @@ -132,10 +132,12 @@ void foo7(void) int (^NN) (void) = ^{ return cint; }; } +// rdar://11069896 void (^blk)(void) = ^{ return (void)0; // expected-warning {{void block literal should not return void expression}} }; +// rdar://13463504 enum Test8 { T8_a, T8_b, T8_c }; void test8(void) { extern void test8_helper(int (^)(int)); diff --git a/clang/test/Sema/builtin-object-size.c b/clang/test/Sema/builtin-object-size.c index 20d4e2ab6da7..af21fe8e8f44 100644 --- a/clang/test/Sema/builtin-object-size.c +++ b/clang/test/Sema/builtin-object-size.c @@ -27,12 +27,13 @@ int f3(void) { } -// cannot call vsnprintf with va_list on x86_64 +// rdar://6252231 - cannot call vsnprintf with va_list on x86_64 void f4(const char *fmt, ...) { __builtin_va_list args; __builtin___vsnprintf_chk (0, 42, 0, 11, fmt, args); // expected-warning {{'vsnprintf' will always overflow; destination buffer has size 11, but size argument is 42}} } +// rdar://18334276 typedef __typeof__(sizeof(int)) size_t; void * memcset(void *restrict dst, int src, size_t n); void * memcpy(void *restrict dst, const void *restrict src, size_t n); @@ -50,6 +51,7 @@ void f5(void) memcpy1((char *)NULL + 0x10000, buf, 0x10); // expected-error {{argument value 4 is outside the valid range [0, 3]}} } +// rdar://18431336 void f6(void) { char b[5]; diff --git a/clang/test/Sema/builtin_objc_msgSend.c b/clang/test/Sema/builtin_objc_msgSend.c index d5a80f55eb82..419e92da44eb 100644 --- a/clang/test/Sema/builtin_objc_msgSend.c +++ b/clang/test/Sema/builtin_objc_msgSend.c @@ -1,5 +1,6 @@ // RUN: %clang_cc1 %s -fsyntax-only -verify // expected-no-diagnostics +// rdar://8632525 typedef struct objc_class *Class; typedef struct objc_object { diff --git a/clang/test/Sema/builtins.c b/clang/test/Sema/builtins.c index e016a3d58bb9..13b6df18f628 100644 --- a/clang/test/Sema/builtins.c +++ b/clang/test/Sema/builtins.c @@ -71,6 +71,7 @@ void test9_4(volatile int* ptr, int val) { __sync_fetch_and_nand(ptr, val); } +// rdar://7236819 void test10(void) __attribute__((noreturn)); void test10(void) { @@ -103,11 +104,13 @@ int test13(void) { __builtin_eh_return(0, 0); // no warning, eh_return never returns. } +// void test14(void) { int old; old = __sync_fetch_and_min((volatile int *)&old, 1); } +// void test15(const char *s) { __builtin_printf("string is %s\n", s); } @@ -213,6 +216,7 @@ void unavailable(void) { __builtin_operator_delete(0); // expected-error {{'__builtin_operator_delete' is only available in C++}} } +// rdar://18259539 size_t strlcpy(char * restrict dst, const char * restrict src, size_t size); size_t strlcat(char * restrict dst, const char * restrict src, size_t size); @@ -235,6 +239,7 @@ void Test19(void) // expected-warning {{'strlcat' will always overflow; destination buffer has size 20, but size argument is 40}} } +// rdar://11076881 char * Test20(char *p, const char *in, unsigned n) { static char buf[10]; @@ -338,6 +343,7 @@ void test22(void) { (void)__builtin_signbitl(1.0L); } +// rdar://43909200 #define memcpy(x,y,z) __builtin___memcpy_chk(x,y,z, __builtin_object_size(x,0)) #define my_memcpy(x,y,z) __builtin___memcpy_chk(x,y,z, __builtin_object_size(x,0)) diff --git a/clang/test/Sema/compare.c b/clang/test/Sema/compare.c index 17cf0351ef4f..311ec0b0ab93 100644 --- a/clang/test/Sema/compare.c +++ b/clang/test/Sema/compare.c @@ -304,7 +304,7 @@ int test6(unsigned i, unsigned power) { return x != 3 ? 1 << power : i; } -// enum >= (enum)0 comparison should not generate any warnings +// enum >= (enum)0 comparison should not generate any warnings enum rdar8414119_Vals { X, Y, Z }; #define ZERO 0 #define CHECK(x) (x >= X) diff --git a/clang/test/Sema/complex-int.c b/clang/test/Sema/complex-int.c index e5a9a947d037..93acb3188e3e 100644 --- a/clang/test/Sema/complex-int.c +++ b/clang/test/Sema/complex-int.c @@ -50,6 +50,7 @@ TestPairs(5); TestPairs(6); TestPairs(7); TestPairs(8); } +// rdar://6097730 void test3(_Complex int *x) { *x = ~*x; } diff --git a/clang/test/Sema/compound-literal.c b/clang/test/Sema/compound-literal.c index 38dab4784274..46fa41e55c72 100644 --- a/clang/test/Sema/compound-literal.c +++ b/clang/test/Sema/compound-literal.c @@ -37,7 +37,7 @@ void IncompleteFunc(unsigned x) { // PR6080 int array[(sizeof(int[3]) == sizeof( (int[]) {0,1,2} )) ? 1 : -1]; -// Constant restriction should not apply to compound literals in blocks +// rdar://28949016 - Constant restriction should not apply to compound literals in blocks int (^block)(int) = ^(int i) { int *array = (int[]) {i, i + 2, i + 4}; return array[i]; diff --git a/clang/test/Sema/const-eval-64.c b/clang/test/Sema/const-eval-64.c index d2eea7c9a677..f198b8bf5d14 100644 --- a/clang/test/Sema/const-eval-64.c +++ b/clang/test/Sema/const-eval-64.c @@ -2,5 +2,6 @@ #define EVAL_EXPR(testno, expr) int test##testno = sizeof(struct{char qq[expr];}); +// EVAL_EXPR(1, ((char*)-1LL) + 1 == 0 ? 1 : -1) // expected-warning {{folded}} EVAL_EXPR(2, ((char*)-1LL) + 1 < (char*) -1 ? 1 : -1) // expected-warning {{folded}} diff --git a/clang/test/Sema/const-eval.c b/clang/test/Sema/const-eval.c index 2e38d5e23c20..bbffc79752fd 100644 --- a/clang/test/Sema/const-eval.c +++ b/clang/test/Sema/const-eval.c @@ -58,7 +58,7 @@ EVAL_EXPR(28, (_Complex double)1 ? 1 : -1) EVAL_EXPR(29, (_Complex int)1 ? 1 : -1) -// PR4027 +// PR4027 + rdar://6808859 struct a { int x, y; }; static struct a V2 = (struct a)(struct a){ 1, 2}; static const struct a V1 = (struct a){ 1, 2}; @@ -85,6 +85,7 @@ EVAL_EXPR(40, __imag__(1.f) == 0 ? 1 : -1) // From gcc testsuite EVAL_EXPR(41, (int)(1+(_Complex unsigned)2)) +// rdar://8875946 void rdar8875946(void) { double _Complex P; float _Complex P2 = 3.3f + P; @@ -118,6 +119,7 @@ float varfloat; const float constfloat = 0; EVAL_EXPR(43, varfloat && constfloat) // expected-error {{not an integer constant expression}} +// EVAL_EXPR(45, ((char*)-1) + 1 == 0 ? 1 : -1) EVAL_EXPR(46, ((char*)-1) + 1 < (char*) -1 ? 1 : -1) EVAL_EXPR(47, &x < &x + 1 ? 1 : -1) @@ -127,6 +129,7 @@ EVAL_EXPR(49, &x < &x - 100 ? 1 : -1) // expected-error {{not an integer constan extern struct Test50S Test50; EVAL_EXPR(50, &Test50 < (struct Test50S*)((unsigned long)&Test50 + 10)) // expected-error {{not an integer constant expression}} +// EVAL_EXPR(51, 0 != (float)1e99) // PR21945 diff --git a/clang/test/Sema/constant-conversion.c b/clang/test/Sema/constant-conversion.c index ffc25b9cc497..eebfeb1e1de8 100644 --- a/clang/test/Sema/constant-conversion.c +++ b/clang/test/Sema/constant-conversion.c @@ -6,6 +6,7 @@ // This file tests -Wconstant-conversion, a subcategory of -Wconversion // which is on by default. +// rdar://problem/6792488 void test_6792488(void) { int x = 0x3ff0000000000000U; // expected-warning {{implicit conversion from 'unsigned long' to 'int' changes value from 4607182418800017408 to 0}} } diff --git a/clang/test/Sema/conversion-64-32.c b/clang/test/Sema/conversion-64-32.c index dc417edcbc21..3de20cb0fda3 100644 --- a/clang/test/Sema/conversion-64-32.c +++ b/clang/test/Sema/conversion-64-32.c @@ -4,6 +4,8 @@ int test0(long v) { return v; // expected-warning {{implicit conversion loses integer precision}} } + +// rdar://9546171 typedef int int4 __attribute__ ((vector_size(16))); typedef long long long2 __attribute__((__vector_size__(16))); diff --git a/clang/test/Sema/conversion.c b/clang/test/Sema/conversion.c index bac5289aa836..caff7c8e9d8f 100644 --- a/clang/test/Sema/conversion.c +++ b/clang/test/Sema/conversion.c @@ -348,12 +348,13 @@ unsigned char test19(unsigned long u64) { return x1 + x2 + x3; } +// void test_7631400(void) { // This should show up despite the caret being inside a macro substitution char s = LONG_MAX; // expected-warning {{implicit conversion from 'long' to 'char' changes value}} } -// assertion for compound operators with non-integral RHS +// : assertion for compound operators with non-integral RHS void f7676608(int); void test_7676608(void) { float q = 0.7f; @@ -361,6 +362,7 @@ void test_7676608(void) { f7676608(c *= q); // expected-warning {{conversion}} } +// void test_7904686(void) { const int i = -1; unsigned u1 = i; // expected-warning {{implicit conversion changes signedness}} @@ -370,7 +372,8 @@ void test_7904686(void) { u2 = -1; // expected-warning {{implicit conversion changes signedness}} } -// don't warn about conversions required by contexts in system headers +// : don't warn about conversions required by +// contexts in system headers void test_8232669(void) { unsigned bitset[20]; SETBIT(bitset, 0); @@ -382,6 +385,7 @@ void test_8232669(void) { USER_SETBIT(bitset, 0); // expected-warning 2 {{implicit conversion changes signedness}} } +// enum E8559831a { E8559831a_val }; enum E8559831b { E8559831b_val }; typedef enum { E8559831c_val } E8559831c; @@ -414,6 +418,7 @@ void test26(int si, long sl) { si = sl / si; // expected-warning {{implicit conversion loses integer precision: 'long' to 'int'}} } +// rdar://16502418 typedef unsigned short uint16_t; typedef unsigned int uint32_t; typedef __attribute__ ((ext_vector_type(16),__aligned__(32))) uint16_t ushort16; diff --git a/clang/test/Sema/crash-invalid-array.c b/clang/test/Sema/crash-invalid-array.c index 8e033ccd90b0..09731fa06f48 100644 --- a/clang/test/Sema/crash-invalid-array.c +++ b/clang/test/Sema/crash-invalid-array.c @@ -14,6 +14,7 @@ int main(void) } } +// rdar://13705391 void foo(int a[*][2]) {(void)a[0][1]; } // expected-error {{variable length array must be bound in function definition}} void foo1(int a[2][*]) {(void)a[0][1]; } // expected-error {{variable length array must be bound in function definition}} void foo2(int a[*][*]) {(void)a[0][1]; } // expected-error {{variable length array must be bound in function definition}} diff --git a/clang/test/Sema/decl-invalid.c b/clang/test/Sema/decl-invalid.c index 6b05292ad4fb..fca708c9bbe8 100644 --- a/clang/test/Sema/decl-invalid.c +++ b/clang/test/Sema/decl-invalid.c @@ -20,5 +20,8 @@ struct; // expected-error {{declaration of anonymous struct must be a definition typedef int I; I; // expected-warning {{declaration does not declare anything}} + + +// rdar://6880449 register int test1; // expected-error {{illegal storage class on file-scoped variable}} diff --git a/clang/test/Sema/enum.c b/clang/test/Sema/enum.c index f8e380bd62d1..ed9a2e932661 100644 --- a/clang/test/Sema/enum.c +++ b/clang/test/Sema/enum.c @@ -35,6 +35,8 @@ int test2(int i) union u0; // expected-note {{previous use is here}} enum u0 { U0A }; // expected-error {{use of 'u0' with tag type that does not match previous declaration}} + +// rdar://6095136 extern enum some_undefined_enum ve2; // expected-warning {{ISO C forbids forward references to 'enum' types}} void test4(void) { @@ -51,6 +53,7 @@ void test4(void) { // PR2416 enum someenum {}; // expected-error {{use of empty enum}} +// enum e0 { // expected-note {{previous definition is here}} E0 = sizeof(enum e0 { E1 }), // expected-error {{nested redefinition}} }; @@ -64,6 +67,7 @@ void foo(void) { enum xpto; // expected-warning{{ISO C forbids forward references to 'enum' types}} } +// typedef enum { X = 0 }; // expected-warning{{typedef requires a name}} @@ -103,6 +107,7 @@ void PR7911F(void) { char test5[__has_feature(enumerator_attributes) ? 1 : -1]; // PR8694 +// rdar://8707031 void PR8694(int* e) // expected-note {{passing argument to parameter 'e' here}} { } diff --git a/clang/test/Sema/expr-comma-c99.c b/clang/test/Sema/expr-comma-c99.c index a752c8f3ee56..934c81cfa0b0 100644 --- a/clang/test/Sema/expr-comma-c99.c +++ b/clang/test/Sema/expr-comma-c99.c @@ -1,4 +1,5 @@ // RUN: %clang_cc1 %s -fsyntax-only -verify -std=c99 -Wno-sizeof-array-decay +// rdar://6095180 struct s { char c[17]; }; extern struct s foo(void); diff --git a/clang/test/Sema/expr-comma.c b/clang/test/Sema/expr-comma.c index aafb88bf7b01..04e57dec3acc 100644 --- a/clang/test/Sema/expr-comma.c +++ b/clang/test/Sema/expr-comma.c @@ -1,4 +1,5 @@ // RUN: %clang_cc1 %s -fsyntax-only -verify -std=c89 -Wno-sizeof-array-decay +// rdar://6095180 struct s { char c[17]; }; extern struct s foo(void); diff --git a/clang/test/Sema/exprs.c b/clang/test/Sema/exprs.c index 3203d961dd0a..31c6d1e01491 100644 --- a/clang/test/Sema/exprs.c +++ b/clang/test/Sema/exprs.c @@ -43,11 +43,13 @@ _Complex double test2(void) { return 1.0if; // expected-warning {{imaginary constants are a GNU extension}} } +// rdar://6097308 void test3(void) { int x; (__extension__ x) = 10; } +// rdar://6162726 void test4(void) { static int var; var =+ 5; // expected-warning {{use of unary operator that may be intended as compound assignment (+=)}} @@ -63,6 +65,7 @@ void test4(void) { var=-FIVE; } +// rdar://6319320 void test5(int *X, float *P) { (float*)X = P; // expected-error {{assignment to cast is illegal, lvalue casts are not supported}} #define FOO ((float*) X) @@ -78,6 +81,8 @@ void test7(int *P, _Complex float Gamma) { P = (P-42) + Gamma*4; // expected-error {{invalid operands to binary expression ('int *' and '_Complex float')}} } + +// rdar://6095061 int test8(void) { int i; __builtin_choose_expr (0, 42, i) = 10; @@ -121,6 +126,7 @@ int test12b(const char *X) { return sizeof(X == "foo"); // no-warning } +// rdar://6719156 void test13( void (^P)(void)) { // expected-error {{blocks support disabled - compile with -fblocks}} P(); @@ -144,6 +150,7 @@ test15_t test15(void) { return (test15_t)0 + (test15_t)0; // expected-error {{invalid operands to binary expression ('test15_t' (aka 'unsigned long *') and 'test15_t')}} } +// rdar://7446395 void test16(float x) { x == ((void*) 0); } // expected-error {{invalid operands to binary expression}} // PR6004 @@ -188,6 +195,7 @@ void test19(void) { // expected-note {{consider using __builtin_trap}} *(int_AS256 *)0 = 0; // Ok. + // rdar://9269271 int x = *(int *)0; // expected-warning {{indirection of non-volatile null pointer}} \ // expected-note {{consider using __builtin_trap}} int x2 = *(volatile int *)0; // Ok. diff --git a/clang/test/Sema/ext_vector_casts.c b/clang/test/Sema/ext_vector_casts.c index 48440735d88e..06e085112aa1 100644 --- a/clang/test/Sema/ext_vector_casts.c +++ b/clang/test/Sema/ext_vector_casts.c @@ -80,6 +80,7 @@ stride4 RDar15091442_get_stride4(int4 x, PixelByteStride pixelByteStride) return stride; } +// rdar://16196902 typedef __attribute__((ext_vector_type(4))) float float32x4_t; typedef float C3DVector3 __attribute__((ext_vector_type(3))); @@ -90,6 +91,7 @@ C3DVector3 Func(const C3DVector3 a) { return (C3DVector3)vabsq_f32((float32x4_t)a); // expected-error {{invalid conversion between ext-vector type 'float32x4_t' (vector of 4 'float' values) and 'C3DVector3' (vector of 3 'float' values)}} } +// rdar://16350802 typedef double double2 __attribute__ ((ext_vector_type(2))); static void splats(int i, long l, __uint128_t t, float f, double d) { diff --git a/clang/test/Sema/extern-redecl.c b/clang/test/Sema/extern-redecl.c index 3a9720986137..f42e200a5f37 100644 --- a/clang/test/Sema/extern-redecl.c +++ b/clang/test/Sema/extern-redecl.c @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -fsyntax-only -verify -Wno-strict-prototypes %s +// rdar: // 8125274 static int a16[]; // expected-warning {{tentative array definition assumed to have one element}} void f16(void) { @@ -22,6 +23,7 @@ int PR10013(void) { static int test1_a[]; // expected-warning {{tentative array definition assumed to have one element}} extern int test1_a[]; +// rdar://13535367 void test2declarer(void) { extern int test2_array[100]; } extern int test2_array[]; int test2v = sizeof(test2_array); // expected-error {{invalid application of 'sizeof' to an incomplete type 'int[]'}} diff --git a/clang/test/Sema/format-strings.c b/clang/test/Sema/format-strings.c index 4e68908a5e41..56d3056d5575 100644 --- a/clang/test/Sema/format-strings.c +++ b/clang/test/Sema/format-strings.c @@ -58,15 +58,16 @@ void check_string_literal( FILE* fp, const char* s, char *buf, ... ) { const char *const fmt = "%d"; // FIXME -- defined here printf(fmt, 1, 2); // expected-warning{{data argument not used}} + // rdar://6079877 printf("abc" "%*d", 1, 1); // no-warning printf("abc\ def" "%*d", 1, 1); // no-warning - // Allow 'unsigned' (instead of 'int') to be used for both the field width - // and precision. This deviates from C99, but is reasonably safe and is also - // accepted by GCC. + // , allow 'unsigned' (instead of 'int') to be used for both + // the field width and precision. This deviates from C99, but is reasonably safe + // and is also accepted by GCC. printf("%*d", (unsigned) 1, 1); // no-warning } @@ -360,10 +361,12 @@ typedef struct __aslclient *aslclient; typedef struct __aslmsg *aslmsg; int asl_log(aslclient asl, aslmsg msg, int level, const char *format, ...) __attribute__((__format__ (__printf__, 4, 5))); void test_asl(aslclient asl) { + // Test case from . asl_log(asl, 0, 3, "Error: %m"); // no-warning asl_log(asl, 0, 3, "Error: %W"); // expected-warning{{invalid conversion specifier 'W'}} } +// typedef enum { A } int_t; void f0(int_t x) { printf("%d\n", x); } @@ -479,7 +482,7 @@ void pr7981(wint_t c, wchar_t c2) { #endif } -// -Wformat-security says NULL is not a string literal +// -Wformat-security says NULL is not a string literal void rdar8269537(void) { // This is likely to crash in most cases, but -Wformat-nonliteral technically // doesn't warn in this case. @@ -504,6 +507,7 @@ void pr8641(void) { void posix_extensions(void) { // Test %'d, "thousands grouping". + // printf("%'d\n", 123456789); // no-warning printf("%'i\n", 123456789); // no-warning printf("%'f\n", (float) 1.0); // no-warning @@ -669,6 +673,7 @@ void test_other_formats(void) { } // Do not warn about unused arguments coming from system headers. +// #include void test_unused_system_args(int x) { PRINT1("%d\n", x); // no-warning{{extra argument is system header is OK}} @@ -746,6 +751,7 @@ void test_qualifiers(volatile int *vip, const int *cip, #pragma GCC diagnostic ignored "-Wformat-nonliteral" #pragma GCC diagnostic warning "-Wformat-security" +// extern void test_format_security_extra_args(const char*, int, ...) __attribute__((__format__(__printf__, 1, 3))); void test_format_security_pos(char* string) { diff --git a/clang/test/Sema/function-redecl.c b/clang/test/Sema/function-redecl.c index 3aeef00733d1..7a679574638f 100644 --- a/clang/test/Sema/function-redecl.c +++ b/clang/test/Sema/function-redecl.c @@ -59,6 +59,7 @@ void test2(void) { } } +// int outer1(int); // expected-note{{previous declaration is here}} struct outer3 { }; int outer4(int); // expected-note{{previous declaration is here}} diff --git a/clang/test/Sema/function.c b/clang/test/Sema/function.c index 4435b6826307..1143fe8f50d5 100644 --- a/clang/test/Sema/function.c +++ b/clang/test/Sema/function.c @@ -40,11 +40,12 @@ int t14() { return; // expected-error {{non-void function 't14' should return a value}} } +// y(y) { return y; } // expected-error{{parameter 'y' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int}} \ // expected-error{{type specifier missing, defaults to 'int'}} -// PR3137 +// PR3137, extern int g0_3137(void); void f0_3137() { int g0_3137(void); @@ -71,6 +72,7 @@ __attribute__((__gnu_inline__)) // expected-warning {{'gnu_inline' attribute req gnu_inline2() {} +// rdar://6802350 inline foo_t invalid_type() { // expected-error {{unknown type name 'foo_t'}} } diff --git a/clang/test/Sema/i-c-e.c b/clang/test/Sema/i-c-e.c index a94b454595e2..31dad5836549 100644 --- a/clang/test/Sema/i-c-e.c +++ b/clang/test/Sema/i-c-e.c @@ -6,7 +6,7 @@ int a(void) {int p; *(1 ? &p : (void*)(0 && (a(),1))) = 10;} /* expected-error {{incomplete type 'void' is not assignable}} expected-warning {{ISO C does not allow indirection on operand of type 'void *'}} */ -// ?: with __builtin_constant_p as the operand is an i-c-e. +// rdar://6091492 - ?: with __builtin_constant_p as the operand is an i-c-e. int expr; char w[__builtin_constant_p(expr) ? expr : 1]; @@ -64,6 +64,8 @@ void func(int x) } } + +// rdar://4213768 int expr; char y[__builtin_constant_p(expr) ? -1 : 1]; char z[__builtin_constant_p(4) ? 1 : -1]; diff --git a/clang/test/Sema/implicit-int.c b/clang/test/Sema/implicit-int.c index 2a071c844d32..477cd6977375 100644 --- a/clang/test/Sema/implicit-int.c +++ b/clang/test/Sema/implicit-int.c @@ -13,6 +13,7 @@ y; /* expected-warning {{type specifier missing, defaults to 'int'}} \ ext-error {{type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int}} \ unsupported-error {{a type specifier is required for all declarations}} */ +/* rdar://6131634 */ void f((x)); /* expected-warning {{type specifier missing, defaults to 'int'}} \ ext-error {{type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int}} \ unsupported-error {{a type specifier is required for all declarations}} */ diff --git a/clang/test/Sema/init.c b/clang/test/Sema/init.c index b98f0de7d4d3..7aee651aba22 100644 --- a/clang/test/Sema/init.c +++ b/clang/test/Sema/init.c @@ -66,8 +66,10 @@ int pbool(void) { } +// rdar://5870981 union { float f; unsigned u; } u = { 1.0f }; +// rdar://6156694 int f3(int x) { return x; } typedef void (*vfunc)(void); void *bar = (vfunc) f3; @@ -92,6 +94,7 @@ struct s1 s2 = { // expected-error {{variable has incomplete type 'struct s1'}} // PR3382 char t[] = ("Hello"); +// typedef struct { } empty; typedef struct { @@ -101,6 +104,7 @@ typedef struct { st st1 = { .i2 = 1 }; +// struct { int a; int z[2]; @@ -153,7 +157,7 @@ int PR4386_b = ((void *) PR4386_foo) != 0; // expected-error{{initializer elemen int PR4386_c = ((void *) PR4386_zed) != 0; int PR4386_zed(void) __attribute((weak)); -// (derived from SPEC vortex benchmark) +// (derived from SPEC vortex benchmark) typedef char strty[10]; struct vortexstruct { strty s; }; struct vortexstruct vortexvar = { "asdf" }; diff --git a/clang/test/Sema/initialize-noreturn.c b/clang/test/Sema/initialize-noreturn.c index f8ea923268bc..8ccefeee8455 100644 --- a/clang/test/Sema/initialize-noreturn.c +++ b/clang/test/Sema/initialize-noreturn.c @@ -1,4 +1,5 @@ // RUN: %clang_cc1 %s -fsyntax-only -Wno-strict-prototypes -verify +// rdar://10095762 typedef void (*Fn_noret)(void) __attribute__((noreturn)); typedef void (*Fn_ret)(void); diff --git a/clang/test/Sema/inline-redef.c b/clang/test/Sema/inline-redef.c index 40368b4ac042..4a46e1193e1f 100644 --- a/clang/test/Sema/inline-redef.c +++ b/clang/test/Sema/inline-redef.c @@ -8,7 +8,7 @@ #endif // PR5253 -// (same extension in C99 mode) +// rdar://9559708 (same extension in C99 mode) // GNU Extension: check that we can redefine an extern inline function GNU_INLINE extern inline int f(int a) {return a;} int f(int b) {return b;} // expected-note{{previous definition is here}} diff --git a/clang/test/Sema/invalid-cast.cpp b/clang/test/Sema/invalid-cast.cpp index 5c77aaf4cf90..2183352000d6 100644 --- a/clang/test/Sema/invalid-cast.cpp +++ b/clang/test/Sema/invalid-cast.cpp @@ -1,6 +1,6 @@ // RUN: %clang_cc1 -verify -fsyntax-only %s // expected-no-diagnostics -// This previously triggered an assertion failure. +// - This previously triggered an assertion failure. template struct X { T array; diff --git a/clang/test/Sema/invalid-decl.c b/clang/test/Sema/invalid-decl.c index d634002ddb3c..4f2680074dcd 100644 --- a/clang/test/Sema/invalid-decl.c +++ b/clang/test/Sema/invalid-decl.c @@ -20,6 +20,7 @@ zend_module_entry openssl_module_entry = { sizeof(zend_module_entry) }; +// typedef int (FunctionType)(int *value); typedef struct { UndefinedType undef; // expected-error {{unknown type name 'UndefinedType'}} @@ -29,6 +30,7 @@ void f(StructType *buf) { buf->fun = 0; } +// rdar://11743706 static void bar(hid_t, char); // expected-error {{expected identifier}} static void bar(hid_t p, char); // expected-error {{unknown type name 'hid_t'}} diff --git a/clang/test/Sema/knr-def-call.c b/clang/test/Sema/knr-def-call.c index 9c5b4f8f78e3..172cb07c93c6 100644 --- a/clang/test/Sema/knr-def-call.c +++ b/clang/test/Sema/knr-def-call.c @@ -18,6 +18,7 @@ void f2(x) float x; { } // expected-warning{{promoted type 'double' of K&R funct typedef void (*f3)(void); f3 t3(int b) { return b? f0 : f1; } // okay +// void f4() { char *rindex(); } diff --git a/clang/test/Sema/many-logical-ops.c b/clang/test/Sema/many-logical-ops.c index 000d8f0dc3b4..ec3bbda4dd4c 100644 --- a/clang/test/Sema/many-logical-ops.c +++ b/clang/test/Sema/many-logical-ops.c @@ -1,6 +1,7 @@ // RUN: %clang_cc1 -fsyntax-only -Wconstant-conversion -verify %s // expected-no-diagnostics +// rdar://10913206&10941790 // Check that we don't get stack overflow trying to evaluate a huge number of // logical operators. diff --git a/clang/test/Sema/memset-invalid-1.c b/clang/test/Sema/memset-invalid-1.c index 025f7c0cf169..f4fba20f959f 100644 --- a/clang/test/Sema/memset-invalid-1.c +++ b/clang/test/Sema/memset-invalid-1.c @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -fsyntax-only %s -verify +// rdar://13081751 typedef __SIZE_TYPE__ size_t; void *memset(void*, int, size_t); diff --git a/clang/test/Sema/merge-decls.c b/clang/test/Sema/merge-decls.c index 652cd8fd2454..53944d57095e 100644 --- a/clang/test/Sema/merge-decls.c +++ b/clang/test/Sema/merge-decls.c @@ -30,6 +30,7 @@ Vi2 g0; // expected-error {{redefinition of 'g0'}} _Complex int g1; // expected-note {{previous definition is here}} _Complex float g1; // expected-error {{redefinition of 'g1'}} +// rdar://6096412 extern char i6096412[10]; extern char i6096412[]; void foo6096412(void) { diff --git a/clang/test/Sema/no-documentation-warn-tagdecl-specifier.c b/clang/test/Sema/no-documentation-warn-tagdecl-specifier.c index e85474bffff5..a0702ad7dfaf 100644 --- a/clang/test/Sema/no-documentation-warn-tagdecl-specifier.c +++ b/clang/test/Sema/no-documentation-warn-tagdecl-specifier.c @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -fsyntax-only -Wdocumentation -verify %s +// rdar://12390371 /** @return s Test*/ struct s* f(void); diff --git a/clang/test/Sema/no-format-y2k-turnsoff-format.c b/clang/test/Sema/no-format-y2k-turnsoff-format.c index 1f892d296320..a26a0ce95709 100644 --- a/clang/test/Sema/no-format-y2k-turnsoff-format.c +++ b/clang/test/Sema/no-format-y2k-turnsoff-format.c @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -verify -fsyntax-only -Wformat -Wno-format-y2k %s +// rdar://9504680 void foo(const char *, ...) __attribute__((__format__ (__printf__, 1, 2))); diff --git a/clang/test/Sema/non-null-warning.c b/clang/test/Sema/non-null-warning.c index 85cbed29960c..d8369a5fee21 100644 --- a/clang/test/Sema/non-null-warning.c +++ b/clang/test/Sema/non-null-warning.c @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -fsyntax-only -Wnonnull -Wnullability %s -verify +// rdar://19160762 #if __has_feature(nullability) #else diff --git a/clang/test/Sema/nonnull.c b/clang/test/Sema/nonnull.c index 0b30243f21d5..40eeb11e0bf8 100644 --- a/clang/test/Sema/nonnull.c +++ b/clang/test/Sema/nonnull.c @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -fsyntax-only -verify -Wno-strict-prototypes %s +// rdar://9584012 // // Verify All warnings are still issued with the option -fno-delete-null-pointer-checks // if nullptr is passed to function with nonnull attribute. @@ -87,6 +88,7 @@ void redecl_test(void *p) { redecl(0, p); // expected-warning{{null passed}} } +// rdar://18712242 #define NULL (void*)0 __attribute__((__nonnull__)) // expected-note 2{{declared 'nonnull' here}} int evil_nonnull_func(int* pointer, void * pv) diff --git a/clang/test/Sema/nowarn-documentation-property.m b/clang/test/Sema/nowarn-documentation-property.m index 233af21e8779..af2b0629120b 100644 --- a/clang/test/Sema/nowarn-documentation-property.m +++ b/clang/test/Sema/nowarn-documentation-property.m @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -fsyntax-only -fblocks -Wno-objc-root-class -Wdocumentation -verify %s // expected-no-diagnostics +// rdar://13189938 @interface NSPredicate /// The full predicate to be used for drawing objects from the store. diff --git a/clang/test/Sema/offsetof.c b/clang/test/Sema/offsetof.c index f9ef48ea0aeb..8fd9ad608e94 100644 --- a/clang/test/Sema/offsetof.c +++ b/clang/test/Sema/offsetof.c @@ -52,6 +52,7 @@ int a[__builtin_offsetof(struct sockaddr_un, sun_path[len+1])]; union x {struct {int x;};}; int x[__builtin_offsetof(union x, x)]; +// rdar://problem/7222956 struct incomplete; // expected-note 2 {{forward declaration of 'struct incomplete'}} int test1[__builtin_offsetof(struct incomplete, foo)]; // expected-error {{offsetof of incomplete type 'struct incomplete'}} diff --git a/clang/test/Sema/outof-range-constant-compare.c b/clang/test/Sema/outof-range-constant-compare.c index 72778fc0c7ee..0578b3d28253 100644 --- a/clang/test/Sema/outof-range-constant-compare.c +++ b/clang/test/Sema/outof-range-constant-compare.c @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -triple x86_64-apple-darwin -fsyntax-only -Wtautological-constant-out-of-range-compare -verify %s +// rdar://12202422 int value(void); diff --git a/clang/test/Sema/overloaded-func-transparent-union.c b/clang/test/Sema/overloaded-func-transparent-union.c index 14ea760944bd..acdc5898b026 100644 --- a/clang/test/Sema/overloaded-func-transparent-union.c +++ b/clang/test/Sema/overloaded-func-transparent-union.c @@ -1,5 +1,6 @@ // RUN: %clang_cc1 %s -fsyntax-only -verify // expected-no-diagnostics +// rdar:// 9129552 // PR9406 typedef struct { diff --git a/clang/test/Sema/pointer-subtract-compat.c b/clang/test/Sema/pointer-subtract-compat.c index 11e29db972bc..b801f81473b3 100644 --- a/clang/test/Sema/pointer-subtract-compat.c +++ b/clang/test/Sema/pointer-subtract-compat.c @@ -5,6 +5,7 @@ int a(char* a, rchar* b) { return a-b; } +// void f0(void (*fp)(void)) { int x = fp - fp; // expected-warning{{arithmetic on pointers to the function type 'void (void)' is a GNU extension}} } diff --git a/clang/test/Sema/pragma-ms_struct.c b/clang/test/Sema/pragma-ms_struct.c index b95af164c285..e10d49e6761c 100644 --- a/clang/test/Sema/pragma-ms_struct.c +++ b/clang/test/Sema/pragma-ms_struct.c @@ -38,6 +38,7 @@ enum C } __attribute__((ms_struct)) e1; // expected-warning {{'ms_struct' attribute only applies to}} +// rdar://10513599 #pragma ms_struct on typedef struct diff --git a/clang/test/Sema/pragma-pack-4.c b/clang/test/Sema/pragma-pack-4.c index 6b4c2feeb53a..6a09e14d88cf 100644 --- a/clang/test/Sema/pragma-pack-4.c +++ b/clang/test/Sema/pragma-pack-4.c @@ -2,6 +2,7 @@ // RUN: %clang_cc1 -triple x86_64-apple-darwin9 %s -fsyntax-only -verify // expected-no-diagnostics +// rdar://problem/7095436 #pragma pack(4) struct s0 { diff --git a/clang/test/Sema/pragma-pack-5.c b/clang/test/Sema/pragma-pack-5.c index 4e6eaed0ef8f..24bd4cd7d922 100644 --- a/clang/test/Sema/pragma-pack-5.c +++ b/clang/test/Sema/pragma-pack-5.c @@ -1,6 +1,6 @@ // RUN: %clang_cc1 -triple x86_64-apple-darwin9 %s -fsyntax-only -verify -ffreestanding // expected-no-diagnostics -// PR9560 +// and PR9560 // Check #pragma pack handling with bitfields. #include diff --git a/clang/test/Sema/pragma-unused.c b/clang/test/Sema/pragma-unused.c index 7cf1c93bcf7c..58c2858f6238 100644 --- a/clang/test/Sema/pragma-unused.c +++ b/clang/test/Sema/pragma-unused.c @@ -60,5 +60,6 @@ int f12(int x) { return y; } +// rdar://8793832 static int glob_var = 0; #pragma unused(glob_var) diff --git a/clang/test/Sema/predef.c b/clang/test/Sema/predef.c index a4f441c95f5d..97a6f82242b8 100644 --- a/clang/test/Sema/predef.c +++ b/clang/test/Sema/predef.c @@ -12,7 +12,7 @@ void a(void) { __func__[0] = 'a'; // expected-error {{variable is not assignable}} } -// GCC permits this. +// rdar://6097892 - GCC permits this. const char *b = __func__; // expected-warning {{predefined identifier is only valid}} const char *c = __FUNCTION__; // expected-warning {{predefined identifier is only valid}} const char *d = __PRETTY_FUNCTION__; // expected-warning {{predefined identifier is only valid}} diff --git a/clang/test/Sema/redefinition.c b/clang/test/Sema/redefinition.c index 0e9ad0ebfc8c..7e690e1a917d 100644 --- a/clang/test/Sema/redefinition.c +++ b/clang/test/Sema/redefinition.c @@ -3,10 +3,12 @@ int f(int a) { return 0; } // expected-note {{previous definition is here}} int f(int); int f(int a) { return 0; } // expected-error {{redefinition of 'f'}} +// int foo(x) { // expected-error {{parameter 'x' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int}} return 0; } int x = 1; +// extern inline int g(void) { return 0; } // expected-note{{previous definition}} int g(void) { return 0; } // expected-error{{redefinition of a 'extern inline' function 'g' is not supported in C99 mode}} diff --git a/clang/test/Sema/return-noreturn.c b/clang/test/Sema/return-noreturn.c index 8a78aa05d0b0..62735ca073ea 100644 --- a/clang/test/Sema/return-noreturn.c +++ b/clang/test/Sema/return-noreturn.c @@ -41,6 +41,7 @@ _Noreturn void test5(void) { test2_positive(); } +// rdar://16274746 void test6(void) { (void)^{ diff --git a/clang/test/Sema/scope-check.c b/clang/test/Sema/scope-check.c index d82017806353..cc088ab3424a 100644 --- a/clang/test/Sema/scope-check.c +++ b/clang/test/Sema/scope-check.c @@ -230,4 +230,5 @@ void test15(int n, void *pc) { } } +// rdar://9024687 int test16(int [sizeof &&z]); // expected-error {{use of address-of-label extension outside of a function body}} diff --git a/clang/test/Sema/self-comparison.c b/clang/test/Sema/self-comparison.c index 37012ea59a75..036d2603329b 100644 --- a/clang/test/Sema/self-comparison.c +++ b/clang/test/Sema/self-comparison.c @@ -76,7 +76,7 @@ int array_comparisons(void) { } // Don't issue a warning when either the left or right side of the comparison -// results from a macro expansion. +// results from a macro expansion. #define R8435950_A i #define R8435950_B i diff --git a/clang/test/Sema/statements.c b/clang/test/Sema/statements.c index d44ab5a65d5a..2a723421c47c 100644 --- a/clang/test/Sema/statements.c +++ b/clang/test/Sema/statements.c @@ -51,6 +51,7 @@ void test11(int bit) { } } +// rdar://3271964 enum Numbers { kOne, kTwo, kThree, kFour}; int test12(enum Numbers num) { switch (num == kOne) {// expected-warning {{switch condition has boolean value}} diff --git a/clang/test/Sema/stdcall-fastcall-x64.c b/clang/test/Sema/stdcall-fastcall-x64.c index 146cf1640a6e..c5309b22c6b5 100644 --- a/clang/test/Sema/stdcall-fastcall-x64.c +++ b/clang/test/Sema/stdcall-fastcall-x64.c @@ -9,6 +9,7 @@ void __attribute__((stdcall, fastcall)) foo3(void); // expected-warning{{'stdcal void __attribute__((stdcall)) foo4(); // expected-warning{{'stdcall' calling convention is not supported for this target}} void __attribute__((fastcall)) foo4(void); // expected-warning {{'fastcall' calling convention is not supported for this target}} +// rdar://8876096 void rdar8876096foo1(int i, int j) __attribute__((fastcall, cdecl)); // expected-warning{{'fastcall' calling convention is not supported for this target}} void rdar8876096foo2(int i, int j) __attribute__((fastcall, stdcall)); // expected-warning{{'stdcall' calling convention is not supported for this target}} expected-warning {{'fastcall' calling convention is not supported for this target}} void rdar8876096foo3(int i, int j) __attribute__((fastcall, regparm(2))); // expected-warning {{'fastcall' calling convention is not supported for this target}} diff --git a/clang/test/Sema/stdcall-fastcall.c b/clang/test/Sema/stdcall-fastcall.c index aae22c374592..1e3d8f7ab4a9 100644 --- a/clang/test/Sema/stdcall-fastcall.c +++ b/clang/test/Sema/stdcall-fastcall.c @@ -9,6 +9,7 @@ void __attribute__((stdcall, fastcall)) foo3(void); // expected-error{{fastcall void __attribute__((stdcall)) foo4(); // expected-note{{previous declaration is here}} expected-warning{{function with no prototype cannot use the stdcall calling convention}} void __attribute__((fastcall)) foo4(void); // expected-error{{function declared 'fastcall' here was previously declared 'stdcall'}} +// rdar://8876096 void rdar8876096foo1(int i, int j) __attribute__((fastcall, cdecl)); // expected-error {{not compatible}} void rdar8876096foo2(int i, int j) __attribute__((fastcall, stdcall)); // expected-error {{not compatible}} void rdar8876096foo3(int i, int j) __attribute__((fastcall, regparm(2))); // expected-error {{not compatible}} diff --git a/clang/test/Sema/struct-decl.c b/clang/test/Sema/struct-decl.c index cfff11a6c316..32674f3156ac 100644 --- a/clang/test/Sema/struct-decl.c +++ b/clang/test/Sema/struct-decl.c @@ -42,11 +42,12 @@ struct s0 { struct s0 f0(void) {} -// This previously triggered an assertion failure. +// - This previously triggered an assertion failure. struct x0 { unsigned int x1; }; +// rdar://problem/9150338 static struct test1 { // expected-warning {{'static' ignored on this declaration}} int x; }; diff --git a/clang/test/Sema/struct-packed-align.c b/clang/test/Sema/struct-packed-align.c index d6d0724da49f..2a60f368479a 100644 --- a/clang/test/Sema/struct-packed-align.c +++ b/clang/test/Sema/struct-packed-align.c @@ -86,6 +86,7 @@ extern int g1[sizeof(struct as3) == 16 ? 1 : -1]; extern int g2[__alignof(struct as3) == 8 ? 1 : -1]; +// rdar://5921025 struct packedtest { int ted_likes_cheese; void *args[] __attribute__((packed)); diff --git a/clang/test/Sema/switch-1.c b/clang/test/Sema/switch-1.c index 95e64748fb1f..163af4f72842 100644 --- a/clang/test/Sema/switch-1.c +++ b/clang/test/Sema/switch-1.c @@ -2,6 +2,8 @@ // RUN: %clang_cc1 -x c++ -fsyntax-only -verify -triple x86_64-apple-darwin10 %s // RUN: %clang_cc1 -x c++ -fsyntax-only -verify -triple x86_64-apple-darwin10 -std=c++98 %s // RUN: %clang_cc1 -x c++ -fsyntax-only -verify -triple x86_64-apple-darwin10 -std=c++11 %s +// rdar://11577384 +// rdar://13423975 int f(int i) { switch (i) { @@ -51,6 +53,7 @@ int f(int i) { // expected-warning {{left operand of comma operator has no effect}} } +// rdar://18405357 unsigned long long l = 65536 * 65536; // expected-warning {{overflow in expression; result is 0 with type 'int'}} unsigned long long l2 = 65536 * (unsigned)65536; unsigned long long l3 = 65536 * 65536ULL; diff --git a/clang/test/Sema/switch.c b/clang/test/Sema/switch.c index 69b34f96820d..604e418bf5d5 100644 --- a/clang/test/Sema/switch.c +++ b/clang/test/Sema/switch.c @@ -230,6 +230,7 @@ void test12(void) { } } +// typedef enum { val1, val2, @@ -246,6 +247,7 @@ int test13(my_type_t t) { return -1; } +// enum { EC0 = 0xFFFF0000, EC1 = 0xFFFF0001, @@ -313,6 +315,7 @@ int test18(void) { } } +// rdar://110822110 typedef enum { kOne = 1, } Ints; diff --git a/clang/test/Sema/tentative-decls.c b/clang/test/Sema/tentative-decls.c index 713e65f3d9b3..a1e033eb7811 100644 --- a/clang/test/Sema/tentative-decls.c +++ b/clang/test/Sema/tentative-decls.c @@ -32,6 +32,7 @@ int i2 = 3; // expected-error{{non-static declaration of 'i2' follows static dec static int i3 = 5; extern int i3; +// rdar://7703982 __private_extern__ int pExtern; // expected-warning {{use of __private_extern__ on a declaration may not produce external symbol private to the linkage unit and is deprecated}} \ // expected-note {{use __attribute__((visibility("hidden"))) attribute instead}} int pExtern = 0; @@ -58,6 +59,7 @@ void func2(void) extern double *p; } +// static int a0[]; static int b0; diff --git a/clang/test/Sema/type-spec-struct-union.c b/clang/test/Sema/type-spec-struct-union.c index ee4a5a402687..cfe115ea1ca4 100644 --- a/clang/test/Sema/type-spec-struct-union.c +++ b/clang/test/Sema/type-spec-struct-union.c @@ -46,6 +46,7 @@ void test_S6(void) { a.e = BAR; } +// typedef struct z_foo_s { struct bar_baz *baz; } z_foo; diff --git a/clang/test/Sema/typedef-redef.c b/clang/test/Sema/typedef-redef.c index 5fd3b4bd7d40..025f65cb35a5 100644 --- a/clang/test/Sema/typedef-redef.c +++ b/clang/test/Sema/typedef-redef.c @@ -5,6 +5,7 @@ extern x a; typedef int x; // expected-error {{typedef redefinition with different types}} extern x a; +// int y; // expected-note 2 {{previous definition is here}} float y; // expected-error{{redefinition of 'y' with a different type}} double y; // expected-error{{redefinition of 'y' with a different type}} diff --git a/clang/test/Sema/types.c b/clang/test/Sema/types.c index e0a6ba4f0691..1eee9b491665 100644 --- a/clang/test/Sema/types.c +++ b/clang/test/Sema/types.c @@ -5,6 +5,7 @@ // RUN: %clang_cc1 %s -fblocks -pedantic -pedantic -verify -triple=arm64_32-apple-ios7.0 // RUN: %clang_cc1 %s -fblocks -pedantic -verify -triple=powerpc64-ibm-aix-xcoff +// rdar://6097662 typedef int (*T)[2]; restrict T x; @@ -41,6 +42,7 @@ typedef int check_uint_128; // expected-error {{different types ('int' vs '__uin // Array type merging should convert array size to whatever matches the target // pointer size. +// rdar://6880874 extern int i[1LL]; int i[(short)1]; @@ -48,8 +50,11 @@ enum e { e_1 }; extern int j[sizeof(enum e)]; // expected-note {{previous declaration}} int j[42]; // expected-error {{redefinition of 'j' with a different type: 'int[42]' vs 'int[4]'}} +// rdar://6880104 _Decimal32 x; // expected-error {{GNU decimal type extension not supported}} + +// rdar://6880951 int __attribute__ ((vector_size (8), vector_size (8))) v; // expected-error {{invalid vector element type}} void test(int i) { @@ -80,6 +85,7 @@ enum { e_2 } x3 __attribute__((vector_size(64))); // expected-error {{invalid ve int x4 __attribute__((ext_vector_type(64))); // expected-error {{'ext_vector_type' attribute only applies to typedefs}} +// rdar://16492792 typedef __attribute__ ((ext_vector_type(32),__aligned__(32))) unsigned char uchar32; void convert(void) { diff --git a/clang/test/Sema/typo-correction.c b/clang/test/Sema/typo-correction.c index 4157207a9ac4..ceab0e2634c5 100644 --- a/clang/test/Sema/typo-correction.c +++ b/clang/test/Sema/typo-correction.c @@ -88,6 +88,7 @@ void overloadable_callexpr(int arg) { func_overloadable(ar); //expected-error{{use of undeclared identifier}} } +// rdar://problem/38642201 struct rdar38642201 { int fieldName; }; diff --git a/clang/test/Sema/unused-expr.c b/clang/test/Sema/unused-expr.c index 6723a33cbd4e..91923af37165 100644 --- a/clang/test/Sema/unused-expr.c +++ b/clang/test/Sema/unused-expr.c @@ -73,6 +73,7 @@ void t4(int a) { for (;;b < 1) {} // expected-warning{{relational comparison result unused}} } +// rdar://7186119 int t5f(void) __attribute__((warn_unused_result)); void t5(void) { t5f(); // expected-warning {{ignoring return value of function declared with 'warn_unused_result' attribute}} @@ -82,6 +83,7 @@ void t5(void) { int fn1(void) __attribute__ ((warn_unused_result)); int fn2() __attribute__ ((pure)); int fn3() __attribute__ ((__const)); +// rdar://6587766 int t6(void) { if (fn1() < 0 || fn2(2,1) < 0 || fn3(2) < 0) // no warnings return -1; @@ -104,6 +106,7 @@ void t8(void) { void t9(void) __attribute__((warn_unused_result)); // expected-warning {{attribute 'warn_unused_result' cannot be applied to functions without return value}} +// rdar://7410924 void *some_function(void); void t10(void) { (void*) some_function(); //expected-warning {{expression result unused; should this cast be to 'void'?}} diff --git a/clang/test/Sema/varargs-x86-64.c b/clang/test/Sema/varargs-x86-64.c index f3164400d847..12d4620ecaf7 100644 --- a/clang/test/Sema/varargs-x86-64.c +++ b/clang/test/Sema/varargs-x86-64.c @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -fsyntax-only -verify %s -triple x86_64-apple-darwin9 +// rdar://6726818 void f1(void) { const __builtin_va_list args2; (void)__builtin_va_arg(args2, int); // expected-error {{first argument to 'va_arg' is of type 'const __builtin_va_list' and not 'va_list'}} diff --git a/clang/test/Sema/varargs_unreachable.c b/clang/test/Sema/varargs_unreachable.c index 3381bd61c31c..866bd8f62687 100644 --- a/clang/test/Sema/varargs_unreachable.c +++ b/clang/test/Sema/varargs_unreachable.c @@ -1,8 +1,8 @@ // RUN: %clang_cc1 -fsyntax-only -verify %s -triple x86_64-apple-darwin9 // expected-no-diagnostics -// Do not warn about undefined behavior of parameter argument types in -// unreachable code in a macro. +// From . Do not warn about undefined behavior of parameter +// argument types in unreachable code in a macro. #define VA_ARG_RDAR12322000(Marker, TYPE) ((sizeof (TYPE) < sizeof (UINTN_RDAR12322000)) ? (TYPE)(__builtin_va_arg (Marker, UINTN_RDAR12322000)) : (TYPE)(__builtin_va_arg (Marker, TYPE))) // 64-bit system diff --git a/clang/test/Sema/variadic-incomplete-arg-type.c b/clang/test/Sema/variadic-incomplete-arg-type.c index e4ad544607b0..d62a37412a9e 100644 --- a/clang/test/Sema/variadic-incomplete-arg-type.c +++ b/clang/test/Sema/variadic-incomplete-arg-type.c @@ -1,4 +1,5 @@ // RUN: %clang_cc1 %s -fsyntax-only -verify +// rdar://10961370 typedef struct __CFError * CFErrorRef; // expected-note {{forward declaration of 'struct __CFError'}} diff --git a/clang/test/Sema/vector-cast.c b/clang/test/Sema/vector-cast.c index c4502d2adf2e..40d9f54c2ebd 100644 --- a/clang/test/Sema/vector-cast.c +++ b/clang/test/Sema/vector-cast.c @@ -67,6 +67,7 @@ void f4(void) { d = d + f2; // expected-error {{assigning to 'double' from incompatible type 'float2'}} } +// rdar://15931426 // Don't permit a lax conversion to and from a pointer type. typedef short short_sizeof_pointer __attribute__((vector_size(sizeof(void*)))); void f5(void) { diff --git a/clang/test/Sema/vector-init.c b/clang/test/Sema/vector-init.c index 81965a3768e9..554e97689263 100644 --- a/clang/test/Sema/vector-init.c +++ b/clang/test/Sema/vector-init.c @@ -33,6 +33,7 @@ __attribute__((vector_size(16))) float f2( typedef float __attribute__((ext_vector_type (3))) float3; int test2[sizeof(float3) == sizeof(float4) ? 1 : -1]; +// rdar://problem/8345836 typedef long long __attribute__((vector_size(16))) longlong2; typedef short __attribute__((vector_size(16))) short8; typedef short __attribute__((vector_size(8))) short4; diff --git a/clang/test/Sema/warn-bad-function-cast.c b/clang/test/Sema/warn-bad-function-cast.c index 0172c9b37c97..1b720747b5cd 100644 --- a/clang/test/Sema/warn-bad-function-cast.c +++ b/clang/test/Sema/warn-bad-function-cast.c @@ -1,4 +1,5 @@ // RUN: %clang_cc1 %s -fsyntax-only -Wno-unused-value -Wbad-function-cast -ffixed-point -triple x86_64-unknown-unknown -verify +// rdar://9103192 void vf(void); int if1(void); diff --git a/clang/test/Sema/warn-documentation-fixits.cpp b/clang/test/Sema/warn-documentation-fixits.cpp index 8c1b1eae021f..871ac00ba867 100644 --- a/clang/test/Sema/warn-documentation-fixits.cpp +++ b/clang/test/Sema/warn-documentation-fixits.cpp @@ -104,6 +104,7 @@ void test_deprecated_9(int a); void test_deprecated_10(int a); #endif +// rdar://12381408 // expected-warning@+2 {{unknown command tag name 'retur'; did you mean 'return'?}} /// \brief testing fixit /// \retur int in FooBar @@ -137,6 +138,6 @@ int PR18051(); // CHECK14: fix-it:"{{.*}}":{87:3-87:3}:"[[ATTRIBUTE]] " // CHECK: fix-it:"{{.*}}":{97:1-97:1}:"MY_ATTR_DEPRECATED " // CHECK14: fix-it:"{{.*}}":{104:1-104:1}:"ATTRIBUTE_DEPRECATED " -// CHECK: fix-it:"{{.*}}":{109:6-109:11}:"return" -// CHECK: fix-it:"{{.*}}":{113:6-113:11}:"foobar" -// CHECK: fix-it:"{{.*}}":{122:6-122:12}:"endcode" +// CHECK: fix-it:"{{.*}}":{110:6-110:11}:"return" +// CHECK: fix-it:"{{.*}}":{114:6-114:11}:"foobar" +// CHECK: fix-it:"{{.*}}":{123:6-123:12}:"endcode" diff --git a/clang/test/Sema/warn-documentation.cpp b/clang/test/Sema/warn-documentation.cpp index 4839bdff6179..284ae97b0f88 100644 --- a/clang/test/Sema/warn-documentation.cpp +++ b/clang/test/Sema/warn-documentation.cpp @@ -216,6 +216,7 @@ int test_retval_fine(); /// \param a Blah blah. int test_param1_backslash; +// rdar://13066276 // Check that the diagnostic uses the same command marker as the comment. // expected-warning@+1 {{'@param' command used in a comment that is not attached to a function declaration}} /// @param a Blah blah. @@ -399,6 +400,7 @@ typedef int (*test_not_function_like_typedef1)(int aaa); /// \param aaa Meow. typedef test_not_function_like_typedef1 test_not_function_like_typedef2; +// rdar://13066276 // Check that the diagnostic uses the same command marker as the comment. // expected-warning@+1 {{'@param' command used in a comment that is not attached to a function declaration}} /// @param aaa Meow. @@ -723,6 +725,7 @@ private: #endif }; +// rdar://12397511 // expected-note@+2 {{previous command '\headerfile' here}} // expected-warning@+2 {{duplicated command '\headerfile'}} /// \headerfile "" @@ -766,6 +769,7 @@ T test_returns_right_decl_5(T aaa); /// \returns Aaa int test_returns_wrong_decl_1_backslash; +// rdar://13066276 // Check that the diagnostic uses the same command marker as the comment. // expected-warning@+1 {{'@returns' command used in a comment that is not attached to a function or method declaration}} /// @returns Aaa @@ -821,6 +825,7 @@ enum test_returns_wrong_decl_8 { /// \returns Aaa namespace test_returns_wrong_decl_10 { }; +// rdar://13094352 // expected-warning@+1 {{'@function' command should be used in a comment attached to a function declaration}} /*! @function test_function */ @@ -1269,6 +1274,7 @@ int test_nocrash13(int x, int y); **/ int test_nocrash14(); +// rdar://12379114 // expected-warning@+2 {{'@union' command should not be used in a comment attached to a non-union declaration}} /*! @union U This is new @@ -1296,6 +1302,7 @@ class C1; */ class S3; +// rdar://14124702 //---------------------------------------------------------------------- /// @class Predicate Predicate.h "lldb/Host/Predicate.h" /// @brief A C++ wrapper class for providing threaded access to a value diff --git a/clang/test/Sema/warn-documentation.m b/clang/test/Sema/warn-documentation.m index 30c8bb754c2c..962a5f63fb75 100644 --- a/clang/test/Sema/warn-documentation.m +++ b/clang/test/Sema/warn-documentation.m @@ -98,6 +98,7 @@ int b; /// \returns aaa. typedef int (^test_param1)(int aaa, int ccc); +// rdar://13094352 // expected-warning@+2 {{'@method' command should be used in a comment attached to an Objective-C method declaration}} @interface I /*! @method Base64EncodeEx @@ -106,6 +107,7 @@ typedef id ID; - (unsigned) Base64EncodeEx : (ID)Arg; @end +// rdar://12379114 // expected-warning@+5 {{'@interface' command should not be used in a comment attached to a non-interface declaration}} // expected-warning@+5 {{'@classdesign' command should not be used in a comment attached to a non-container declaration}} // expected-warning@+5 {{'@coclass' command should not be used in a comment attached to a non-container declaration}} @@ -122,6 +124,7 @@ typedef id OBJ; } @end +// rdar://12379114 // expected-warning@+4 {{'@methodgroup' command should be used in a comment attached to an Objective-C method declaration}} // expected-warning@+6 {{'@method' command should be used in a comment attached to an Objective-C method declaratio}} @interface rdar12379114 @@ -175,6 +178,7 @@ struct S; /// \t bbb IS_DOXYGEN_END int FooBar(void); +// rdar://13836387 /** \brief Module handling the incoming notifications from the system. * * This includes: @@ -195,11 +199,12 @@ int FooBar(void); } @end +// rdar://13927330 /// @class Asset <- '@class' may be used in a comment attached to a an interface declaration @interface Asset : NSObject @end -// Check that this does not enter an infinite loop +// rdar://14024851 Check that this does not enter an infinite loop @interface rdar14024851 -(void)meth; // expected-note {{declared here}} @end @@ -212,6 +217,7 @@ int FooBar(void); -(void)meth {} @end +// rdar://14124644 @interface test_vararg1 /// @param[in] arg something /// @param[in] ... This is vararg diff --git a/clang/test/Sema/warn-duplicate-enum.c b/clang/test/Sema/warn-duplicate-enum.c index 4a605b3d7ddf..4d51d055f5e9 100644 --- a/clang/test/Sema/warn-duplicate-enum.c +++ b/clang/test/Sema/warn-duplicate-enum.c @@ -100,6 +100,7 @@ enum enum2 { VALUE // expected-error{{redefinition of enumerator 'VALUE'}} }; +// rdar://44774672 #ifdef CPP enum BigEnumerators : long { e1, diff --git a/clang/test/Sema/warn-missing-prototypes.c b/clang/test/Sema/warn-missing-prototypes.c index 170e80d7a9ef..37176c66de4b 100644 --- a/clang/test/Sema/warn-missing-prototypes.c +++ b/clang/test/Sema/warn-missing-prototypes.c @@ -43,6 +43,7 @@ int f2(); int f2(int x) { return x; } +// rdar://6759522 int main(void) { return 0; } void not_a_prototype_test(); // expected-note{{this declaration is not a prototype; add 'void' to make it a prototype for a zero-parameter function}} diff --git a/clang/test/Sema/warn-outof-range-assign-enum.c b/clang/test/Sema/warn-outof-range-assign-enum.c index 23c78497b37e..e7c6e2d7db06 100644 --- a/clang/test/Sema/warn-outof-range-assign-enum.c +++ b/clang/test/Sema/warn-outof-range-assign-enum.c @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -fsyntax-only -verify -Wassign-enum %s +// rdar://11824807 typedef enum CCTestEnum { diff --git a/clang/test/Sema/warn-shadow.c b/clang/test/Sema/warn-shadow.c index 5cc27560496d..212ca8803b6f 100644 --- a/clang/test/Sema/warn-shadow.c +++ b/clang/test/Sema/warn-shadow.c @@ -25,6 +25,7 @@ void foo(void) { int sin; // okay; 'sin' has not been declared, even though it's a builtin. } +// void (^test1)(int) = ^(int i) { // expected-warning {{declaration shadows a variable in the global scope}} \ // expected-note{{previous declaration is here}} { @@ -56,6 +57,7 @@ void test7(void *context, void (*callback)(void *context)) {} extern int bob; // expected-note {{previous declaration is here}} +// rdar://8883302 void rdar8883302(void) { extern int bob; // don't warn for shadowing. } diff --git a/clang/test/Sema/warn-strict-prototypes.c b/clang/test/Sema/warn-strict-prototypes.c index 234500c51758..21e6f8ed7868 100644 --- a/clang/test/Sema/warn-strict-prototypes.c +++ b/clang/test/Sema/warn-strict-prototypes.c @@ -72,6 +72,7 @@ void __attribute__((cdecl)) foo12(d) // expected-warning {{a function definition // No warnings for variadic functions. Overloadable attribute is required // to avoid err_ellipsis_first_param error. +// rdar://problem/33251668 void foo13(...) __attribute__((overloadable)); void foo13(...) __attribute__((overloadable)) {} diff --git a/clang/test/Sema/warn-tautological-compare.c b/clang/test/Sema/warn-tautological-compare.c index 66efab046278..dd41f0403639 100644 --- a/clang/test/Sema/warn-tautological-compare.c +++ b/clang/test/Sema/warn-tautological-compare.c @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -triple x86_64-apple-darwin -fsyntax-only -verify %s +// rdar://18716393 extern int a[] __attribute__((weak)); int b[] = {8,13,21}; @@ -76,6 +77,7 @@ void test3(void) { (!array && array[0])) {} // expected-warning {{address of array 'array' will always evaluate to 'true'}} } +// rdar://19256338 #define SAVE_READ(PTR) if( (PTR) && (&result) ) *result=*PTR; void _HTTPClientErrorHandler(int me) { diff --git a/clang/test/Sema/warn-unreachable.c b/clang/test/Sema/warn-unreachable.c index acbc09f49e79..9e3979690ab2 100644 --- a/clang/test/Sema/warn-unreachable.c +++ b/clang/test/Sema/warn-unreachable.c @@ -135,7 +135,8 @@ void PR9774(int *s) { s[i] = 0; } -// We should treat code guarded by 'x & 0' and 'x * 0' as unreachable. +// Test case for . We should treat code guarded +// by 'x & 0' and 'x * 0' as unreachable. int calledFun(void); void test_mul_and_zero(int x) { if (x & 0) calledFun(); // expected-warning {{will never be executed}} @@ -397,6 +398,8 @@ void test_with_paren_silencing(int x) { calledFun(); } +// rdar://24570531 + struct StructWithPointer { void *p; }; diff --git a/clang/test/Sema/warn-unused-function.c b/clang/test/Sema/warn-unused-function.c index 0a0133c21383..3da59e1abe09 100644 --- a/clang/test/Sema/warn-unused-function.c +++ b/clang/test/Sema/warn-unused-function.c @@ -46,12 +46,14 @@ static void f12(void); // PR7923 static void unused(void) { unused(); } // expected-warning{{not needed and will not be emitted}} +// rdar://8728293 static void cleanupMalloc(char * const * const allocation) { } void f13(void) { char * const __attribute__((cleanup(cleanupMalloc))) a; (void)a; } +// rdar://12233989 extern void a(void) __attribute__((unused)); extern void b(void) __attribute__((unused)); diff --git a/clang/test/Sema/warn-unused-value.c b/clang/test/Sema/warn-unused-value.c index 155a2fd4e2ab..9e353ef1d14c 100644 --- a/clang/test/Sema/warn-unused-value.c +++ b/clang/test/Sema/warn-unused-value.c @@ -85,6 +85,7 @@ struct s0 { int f0; }; void f0(int a); void f1(struct s0 *a) { + // rdar://8139785 f0((int)(a->f0 + 1, 10)); // expected-warning {{left operand of comma operator has no effect}} } diff --git a/clang/test/Sema/weak-import-on-enum.c b/clang/test/Sema/weak-import-on-enum.c index 358816d31a5c..ad437693a10e 100644 --- a/clang/test/Sema/weak-import-on-enum.c +++ b/clang/test/Sema/weak-import-on-enum.c @@ -1,6 +1,7 @@ // RUN: %clang_cc1 -fsyntax-only -verify -triple x86_64-apple-darwin %s // RUN: %clang_cc1 -triple i386-apple-darwin9 -fsyntax-only -verify %s // expected-no-diagnostics +// rdar://10277579 enum __attribute__((deprecated)) __attribute__((weak_import)) A { a0 diff --git a/clang/test/SemaCXX/2008-01-11-BadWarning.cpp b/clang/test/SemaCXX/2008-01-11-BadWarning.cpp index a4f83fadd15c..e27c0848ef37 100644 --- a/clang/test/SemaCXX/2008-01-11-BadWarning.cpp +++ b/clang/test/SemaCXX/2008-01-11-BadWarning.cpp @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -fsyntax-only -verify -Wall %s // expected-no-diagnostics +// rdar://5683899 void** f(void **Buckets, unsigned NumBuckets) { return Buckets + NumBuckets; } diff --git a/clang/test/SemaCXX/Inputs/override-system-header.h b/clang/test/SemaCXX/Inputs/override-system-header.h index 6af865e53bd4..9831ab7952b1 100644 --- a/clang/test/SemaCXX/Inputs/override-system-header.h +++ b/clang/test/SemaCXX/Inputs/override-system-header.h @@ -1,4 +1,5 @@ // override-system-header.h to test out 'override' warning. +// rdar://18295240 #define END_COM_MAP virtual unsigned AddRef(void) = 0; #define STDMETHOD(method) virtual void method diff --git a/clang/test/SemaCXX/abstract.cpp b/clang/test/SemaCXX/abstract.cpp index 730d7e390f1d..2215560a3417 100644 --- a/clang/test/SemaCXX/abstract.cpp +++ b/clang/test/SemaCXX/abstract.cpp @@ -96,6 +96,7 @@ class Abstract { virtual void f() = 0; }; +// class foo { public: virtual foo *getFoo() = 0; @@ -108,6 +109,7 @@ public: bar x; +// class A { public: virtual void release() = 0; @@ -198,6 +200,7 @@ namespace test1 { } } +// rdar://problem/8302168 namespace test2 { struct X1 { virtual void xfunc(void) = 0; // expected-note {{unimplemented pure virtual method}} diff --git a/clang/test/SemaCXX/alignof.cpp b/clang/test/SemaCXX/alignof.cpp index 2658d2a62228..64986d3103e1 100644 --- a/clang/test/SemaCXX/alignof.cpp +++ b/clang/test/SemaCXX/alignof.cpp @@ -1,5 +1,7 @@ // RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s +// rdar://13784901 + struct S0 { int x; static const int test0 = __alignof__(x); // expected-error {{invalid application of 'alignof' to a field of a class still being defined}} diff --git a/clang/test/SemaCXX/anonymous-union.cpp b/clang/test/SemaCXX/anonymous-union.cpp index 2897d022f681..0f1a972d0aa0 100644 --- a/clang/test/SemaCXX/anonymous-union.cpp +++ b/clang/test/SemaCXX/anonymous-union.cpp @@ -118,8 +118,10 @@ struct BadMembers { }; }; +// typedef union { }; // expected-warning{{typedef requires a name}} +// typedef struct objc_module *Foo ; typedef struct _s { @@ -129,6 +131,7 @@ typedef struct _s { }; } s, *ps; +// namespace test4 { class A { struct { // expected-warning{{anonymous structs are a GNU extension}} diff --git a/clang/test/SemaCXX/arrow-operator.cpp b/clang/test/SemaCXX/arrow-operator.cpp index 108ddc08d143..c6d2a99251be 100644 --- a/clang/test/SemaCXX/arrow-operator.cpp +++ b/clang/test/SemaCXX/arrow-operator.cpp @@ -24,6 +24,7 @@ void f(C &c, D& d, E& e) { e->f(); // expected-error{{incomplete definition of type}} } +// rdar://8875304 namespace rdar8875304 { class Point {}; class Line_Segment{ public: Line_Segment(const Point&){} }; diff --git a/clang/test/SemaCXX/attr-deprecated.cpp b/clang/test/SemaCXX/attr-deprecated.cpp index 0286cb0cfc09..5c427ad8fef1 100644 --- a/clang/test/SemaCXX/attr-deprecated.cpp +++ b/clang/test/SemaCXX/attr-deprecated.cpp @@ -197,6 +197,7 @@ namespace test5 { }; } +// rdar://problem/8518751 namespace test6 { enum __attribute__((deprecated)) A { // expected-note 2 {{'A' has been explicitly marked deprecated here}} a0 @@ -250,6 +251,7 @@ namespace test7 { } } +// rdar://problem/15044218 typedef struct TDS { } TDS __attribute__((deprecated)); // expected-note {{'TDS' has been explicitly marked deprecated here}} TDS tds; // expected-warning {{'TDS' is deprecated}} diff --git a/clang/test/SemaCXX/attr-unavailable.cpp b/clang/test/SemaCXX/attr-unavailable.cpp index 8950e2fcd8d1..e95c06cfc61a 100644 --- a/clang/test/SemaCXX/attr-unavailable.cpp +++ b/clang/test/SemaCXX/attr-unavailable.cpp @@ -20,6 +20,7 @@ void test_foo(short* sp) { } namespace radar9046492 { +// rdar://9046492 #define FOO __attribute__((unavailable("not available - replaced"))) void foo() FOO; // expected-note{{'foo' has been explicitly marked unavailable here}} @@ -39,6 +40,7 @@ void unavail(short* sp) { // Show that delayed processing of 'unavailable' is the same // delayed process for 'deprecated'. +// and enum DeprecatedEnum { DE_A, DE_B } __attribute__((deprecated)); // expected-note {{'DeprecatedEnum' has been explicitly marked deprecated here}} typedef enum DeprecatedEnum AnotherDeprecatedEnum; // expected-warning {{'DeprecatedEnum' is deprecated}} diff --git a/clang/test/SemaCXX/base-class-ambiguity-check.cpp b/clang/test/SemaCXX/base-class-ambiguity-check.cpp index 0699349dabc4..a7f5ee1d7710 100644 --- a/clang/test/SemaCXX/base-class-ambiguity-check.cpp +++ b/clang/test/SemaCXX/base-class-ambiguity-check.cpp @@ -3,7 +3,7 @@ template class Foo { struct Base : T {}; - // Test that this code no longer causes a crash in Sema. + // Test that this code no longer causes a crash in Sema. rdar://23291875 struct Derived : Base, T {}; }; diff --git a/clang/test/SemaCXX/blocks.cpp b/clang/test/SemaCXX/blocks.cpp index 997ac2b5721d..5d0aa2af7360 100644 --- a/clang/test/SemaCXX/blocks.cpp +++ b/clang/test/SemaCXX/blocks.cpp @@ -42,6 +42,7 @@ namespace test2 { } } +// rdar: // 8382559 namespace radar8382559 { void func(bool& outHasProperty); @@ -101,6 +102,8 @@ namespace test5 { } +// rdar://16356628 +// // Ensure that we can end function bodies while parsing an // expression that requires an explicitly-tracked cleanup object // (i.e. a block literal). diff --git a/clang/test/SemaCXX/builtin_objc_msgSend.cpp b/clang/test/SemaCXX/builtin_objc_msgSend.cpp index 8e91724b3815..082fb2868c63 100644 --- a/clang/test/SemaCXX/builtin_objc_msgSend.cpp +++ b/clang/test/SemaCXX/builtin_objc_msgSend.cpp @@ -1,5 +1,6 @@ // RUN: %clang_cc1 %s -fsyntax-only -verify // expected-no-diagnostics +// rdar://8686888 typedef struct objc_selector *SEL; typedef struct objc_object *id; diff --git a/clang/test/SemaCXX/builtins.cpp b/clang/test/SemaCXX/builtins.cpp index 415739755abc..82d1820bf9f3 100644 --- a/clang/test/SemaCXX/builtins.cpp +++ b/clang/test/SemaCXX/builtins.cpp @@ -13,6 +13,7 @@ void f() { void a() { __builtin_va_list x, y; ::__builtin_va_copy(x, y); } +// template int equal(const char *s1, const char *s2) { return Compare(s1, s2) == 0; diff --git a/clang/test/SemaCXX/c99-variable-length-array.cpp b/clang/test/SemaCXX/c99-variable-length-array.cpp index 7885af2b403e..726187ed0763 100644 --- a/clang/test/SemaCXX/c99-variable-length-array.cpp +++ b/clang/test/SemaCXX/c99-variable-length-array.cpp @@ -128,7 +128,7 @@ namespace PR8209 { } } -namespace rdar8733881 { +namespace rdar8733881 { // rdar://8733881 static const int k_cVal3 = (int)(1000*0.2f); int f() { diff --git a/clang/test/SemaCXX/constant-expression.cpp b/clang/test/SemaCXX/constant-expression.cpp index 65c93c99002e..02a9e14cd4fe 100644 --- a/clang/test/SemaCXX/constant-expression.cpp +++ b/clang/test/SemaCXX/constant-expression.cpp @@ -134,6 +134,7 @@ namespace test4 { typedef A Ai; // ok } +// rdar://16064952 namespace rdar16064952 { template < typename T > void fn1() { T b; diff --git a/clang/test/SemaCXX/constructor-initializer.cpp b/clang/test/SemaCXX/constructor-initializer.cpp index 96be8dda9773..bf95e7c64beb 100644 --- a/clang/test/SemaCXX/constructor-initializer.cpp +++ b/clang/test/SemaCXX/constructor-initializer.cpp @@ -236,7 +236,8 @@ namespace PR7402 { } } -// Don't crash. Lots of questionable recovery here; errors can change. +// : don't crash. +// Lots of questionable recovery here; errors can change. namespace test3 { class A : public std::exception {}; // expected-error {{undeclared identifier}} expected-error {{expected class name}} // expected-note@-1 {{candidate constructor (the implicit copy constructor) not viable}} diff --git a/clang/test/SemaCXX/constructor.cpp b/clang/test/SemaCXX/constructor.cpp index abd7dbe18a0e..d2133240cb14 100644 --- a/clang/test/SemaCXX/constructor.cpp +++ b/clang/test/SemaCXX/constructor.cpp @@ -43,6 +43,7 @@ struct Length { Length l() const { return *this; } }; +// struct mmst_reg{ char mmst_reg[10]; }; diff --git a/clang/test/SemaCXX/conversion.cpp b/clang/test/SemaCXX/conversion.cpp index 4d420efd23b8..67bfdf5532b5 100644 --- a/clang/test/SemaCXX/conversion.cpp +++ b/clang/test/SemaCXX/conversion.cpp @@ -13,6 +13,7 @@ typedef unsigned short uint16_t; typedef unsigned int uint32_t; typedef unsigned long uint64_t; +// namespace test0 { int32_t test1_positive(char *I, char *E) { return (E - I); // expected-warning {{implicit conversion loses integer precision}} diff --git a/clang/test/SemaCXX/copy-assignment.cpp b/clang/test/SemaCXX/copy-assignment.cpp index da548b7dea11..1dbd1037f5b5 100644 --- a/clang/test/SemaCXX/copy-assignment.cpp +++ b/clang/test/SemaCXX/copy-assignment.cpp @@ -110,7 +110,7 @@ void test() { i = a; // expected-error{{assigning to 'int' from incompatible type 'A'}} } -// Don't crash +// : Don't crash namespace test1 { template class A : public unknown::X { // expected-error {{undeclared identifier 'unknown'}} expected-error {{expected class name}} A(UndeclaredType n) : X(n) {} // expected-error {{unknown type name 'UndeclaredType'}} diff --git a/clang/test/SemaCXX/crash-lambda-12645424.cpp b/clang/test/SemaCXX/crash-lambda-12645424.cpp index f11a058b23bc..8317e7c0dbc6 100644 --- a/clang/test/SemaCXX/crash-lambda-12645424.cpp +++ b/clang/test/SemaCXX/crash-lambda-12645424.cpp @@ -1,6 +1,6 @@ // RUN: %clang_cc1 -fsyntax-only -std=c++11 %s -verify -// Crash due to a double-free +// rdar://12645424, crash due to a double-free template struct __add_lvalue_reference_helper {}; template struct add_lvalue_reference : __add_lvalue_reference_helper<_Tp> { diff --git a/clang/test/SemaCXX/crashes.cpp b/clang/test/SemaCXX/crashes.cpp index 41c30fffb80a..785679c21f1f 100644 --- a/clang/test/SemaCXX/crashes.cpp +++ b/clang/test/SemaCXX/crashes.cpp @@ -2,6 +2,7 @@ // RUN: %clang_cc1 -fsyntax-only -verify -std=c++98 %s // RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s +// template class allocator; template struct char_traits; template, @@ -28,6 +29,7 @@ template struct a : T { }; }; +// rdar://8605381 namespace rdar8605381 { struct X {}; diff --git a/clang/test/SemaCXX/cxx0x-deleted-default-ctor.cpp b/clang/test/SemaCXX/cxx0x-deleted-default-ctor.cpp index 7b5697bfab56..e816110d6dc2 100644 --- a/clang/test/SemaCXX/cxx0x-deleted-default-ctor.cpp +++ b/clang/test/SemaCXX/cxx0x-deleted-default-ctor.cpp @@ -123,6 +123,7 @@ struct late_delete { }; late_delete::late_delete() = default; // expected-error {{would delete it}} +// See also rdar://problem/8125400. namespace empty { static union {}; // expected-warning {{does not declare anything}} static union { union {}; }; // expected-warning {{does not declare anything}} diff --git a/clang/test/SemaCXX/cxx0x-initializer-constructor.cpp b/clang/test/SemaCXX/cxx0x-initializer-constructor.cpp index 4036908eef1c..1b3f1761e4f3 100644 --- a/clang/test/SemaCXX/cxx0x-initializer-constructor.cpp +++ b/clang/test/SemaCXX/cxx0x-initializer-constructor.cpp @@ -310,7 +310,7 @@ namespace init_list_default { B b {}; // calls default constructor } -// PR13470 +// PR13470, namespace PR13470 { struct W { explicit W(int); // expected-note {{here}} diff --git a/clang/test/SemaCXX/cxx11-call-to-deleted-constructor.cpp b/clang/test/SemaCXX/cxx11-call-to-deleted-constructor.cpp index d77cebdeba50..6e9572169ce1 100644 --- a/clang/test/SemaCXX/cxx11-call-to-deleted-constructor.cpp +++ b/clang/test/SemaCXX/cxx11-call-to-deleted-constructor.cpp @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s +// rdar://20281011 namespace std { template class initializer_list { }; diff --git a/clang/test/SemaCXX/cxx11-crashes.cpp b/clang/test/SemaCXX/cxx11-crashes.cpp index 11bc42315421..1bb8cd760e02 100644 --- a/clang/test/SemaCXX/cxx11-crashes.cpp +++ b/clang/test/SemaCXX/cxx11-crashes.cpp @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -std=c++11 -verify %s -Wno-deprecated-builtins +// rdar://12240916 stack overflow. namespace rdar12240916 { struct S2 { @@ -36,6 +37,7 @@ S4 foo2() { } +// rdar://12542261 stack overflow. namespace rdar12542261 { template diff --git a/clang/test/SemaCXX/cxx1z-init-statement-template.cpp b/clang/test/SemaCXX/cxx1z-init-statement-template.cpp index 09dc1d7d428b..cedd2c720d90 100644 --- a/clang/test/SemaCXX/cxx1z-init-statement-template.cpp +++ b/clang/test/SemaCXX/cxx1z-init-statement-template.cpp @@ -1,6 +1,7 @@ // RUN: %clang_cc1 -std=c++1z -verify -emit-llvm-only %s // expected-no-diagnostics +// rdar://problem/33888545 template class Buffer {}; class A { diff --git a/clang/test/SemaCXX/destructor.cpp b/clang/test/SemaCXX/destructor.cpp index beac50e449e9..971cea621e86 100644 --- a/clang/test/SemaCXX/destructor.cpp +++ b/clang/test/SemaCXX/destructor.cpp @@ -85,6 +85,7 @@ struct G { G::~G() { } +// struct H { ~H(void) { } }; diff --git a/clang/test/SemaCXX/enum-scoped.cpp b/clang/test/SemaCXX/enum-scoped.cpp index 2bfe72033675..1c6a6d721266 100644 --- a/clang/test/SemaCXX/enum-scoped.cpp +++ b/clang/test/SemaCXX/enum-scoped.cpp @@ -122,6 +122,7 @@ void PR9333() { if (e == scoped_enum::no) { } } +// namespace rdar9366066 { enum class X : unsigned { value }; diff --git a/clang/test/SemaCXX/enum.cpp b/clang/test/SemaCXX/enum.cpp index fc65fd16f8c3..1013d5dff116 100644 --- a/clang/test/SemaCXX/enum.cpp +++ b/clang/test/SemaCXX/enum.cpp @@ -15,6 +15,7 @@ void f() { float& fr = enumerator_type(Val2); } +// typedef enum Foo { A = 0, B = 1 diff --git a/clang/test/SemaCXX/expressions.cpp b/clang/test/SemaCXX/expressions.cpp index 75136083dfc6..641cfc8af7ce 100644 --- a/clang/test/SemaCXX/expressions.cpp +++ b/clang/test/SemaCXX/expressions.cpp @@ -11,6 +11,7 @@ void test() { } #if __cplusplus < 201703L +// rdar://8018252 void f0() { extern void f0_1(int*); register int x; diff --git a/clang/test/SemaCXX/friend-out-of-line.cpp b/clang/test/SemaCXX/friend-out-of-line.cpp index 881aed96c7ac..ab75a4f8ca44 100644 --- a/clang/test/SemaCXX/friend-out-of-line.cpp +++ b/clang/test/SemaCXX/friend-out-of-line.cpp @@ -1,6 +1,7 @@ // RUN: %clang_cc1 -fsyntax-only -verify %s // expected-no-diagnostics +// namespace N { class X; }; diff --git a/clang/test/SemaCXX/function-extern-c.cpp b/clang/test/SemaCXX/function-extern-c.cpp index 972c231267fd..993e3391fe21 100644 --- a/clang/test/SemaCXX/function-extern-c.cpp +++ b/clang/test/SemaCXX/function-extern-c.cpp @@ -62,6 +62,7 @@ namespace test3 { } } +// rdar://13364028 namespace rdar13364028 { class A { public: diff --git a/clang/test/SemaCXX/i-c-e-cxx.cpp b/clang/test/SemaCXX/i-c-e-cxx.cpp index 70a500ea89f1..da9be1229a54 100644 --- a/clang/test/SemaCXX/i-c-e-cxx.cpp +++ b/clang/test/SemaCXX/i-c-e-cxx.cpp @@ -53,6 +53,7 @@ void pr6373(const unsigned x = 0) { } +// rdar://9204520 namespace rdar9204520 { struct A { diff --git a/clang/test/SemaCXX/instantiate-blocks.cpp b/clang/test/SemaCXX/instantiate-blocks.cpp index 3e07c349f0a1..dbcef500b579 100644 --- a/clang/test/SemaCXX/instantiate-blocks.cpp +++ b/clang/test/SemaCXX/instantiate-blocks.cpp @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -fblocks -fsyntax-only -verify %s +// rdar: // 6182276 template void foo(T t, T1 r) { @@ -11,6 +12,7 @@ template void foo(T t, T1 r) return block_arg+arg; }; } +// rdar://10466373 template void noret(T t, T1 r) { (void) ^{ diff --git a/clang/test/SemaCXX/lambda-expressions.cpp b/clang/test/SemaCXX/lambda-expressions.cpp index 23745dc14154..b186583a7d82 100644 --- a/clang/test/SemaCXX/lambda-expressions.cpp +++ b/clang/test/SemaCXX/lambda-expressions.cpp @@ -515,6 +515,7 @@ int main() { A a; } +// rdar://22032373 namespace rdar22032373 { void foo() { auto blk = [](bool b) { diff --git a/clang/test/SemaCXX/linkage-spec.cpp b/clang/test/SemaCXX/linkage-spec.cpp index 4be4b3fc3e77..1598d0e35a05 100644 --- a/clang/test/SemaCXX/linkage-spec.cpp +++ b/clang/test/SemaCXX/linkage-spec.cpp @@ -23,6 +23,7 @@ extern "C" int foo; extern "C" const int bar; extern "C" int const bar; +// extern "C" struct bar d; extern struct bar e; @@ -81,6 +82,7 @@ extern "C" void pr7859_b(int) {} // expected-error {{conflicting}} extern "C" void pr7859_c(short) {} // expected-note {{previous definition}} extern "C" void pr7859_c(int) {} // expected-error {{conflicting}} +// extern "C" { struct s0 { private: diff --git a/clang/test/SemaCXX/linkage.cpp b/clang/test/SemaCXX/linkage.cpp index 74b991a398c9..871d64b4c2eb 100644 --- a/clang/test/SemaCXX/linkage.cpp +++ b/clang/test/SemaCXX/linkage.cpp @@ -107,7 +107,7 @@ namespace test5 { } // Test that we don't compute linkage too hastily before we're done -// processing a record decl. +// processing a record decl. rdar://15928125 namespace test6 { typedef struct { int foo() { diff --git a/clang/test/SemaCXX/lookup-member.cpp b/clang/test/SemaCXX/lookup-member.cpp index a10a0cd4f2e0..46ba74aeddd4 100644 --- a/clang/test/SemaCXX/lookup-member.cpp +++ b/clang/test/SemaCXX/lookup-member.cpp @@ -7,6 +7,7 @@ namespace A { using A::String; // expected-note {{using declaration}} class String; // expected-error {{conflicts with target of using declaration}} +// rdar://8603569 union value { char *String; }; diff --git a/clang/test/SemaCXX/member-init.cpp b/clang/test/SemaCXX/member-init.cpp index e98a66ca9cab..4dd3bd2ca94f 100644 --- a/clang/test/SemaCXX/member-init.cpp +++ b/clang/test/SemaCXX/member-init.cpp @@ -59,7 +59,7 @@ struct TypedefInit { typedef int A = 0; // expected-error {{illegal initializer}} }; -// PR10578 +// PR10578 / namespace PR10578 { template struct X { diff --git a/clang/test/SemaCXX/microsoft-super.cpp b/clang/test/SemaCXX/microsoft-super.cpp index 006d37356f69..bfa9d17dbc21 100644 --- a/clang/test/SemaCXX/microsoft-super.cpp +++ b/clang/test/SemaCXX/microsoft-super.cpp @@ -1,5 +1,7 @@ // RUN: %clang_cc1 -fms-extensions -verify %s +// rdar://22464808 + namespace test0 { class A { private: diff --git a/clang/test/SemaCXX/ms_struct.cpp b/clang/test/SemaCXX/ms_struct.cpp index e6f0a25b38ea..122819c3eead 100644 --- a/clang/test/SemaCXX/ms_struct.cpp +++ b/clang/test/SemaCXX/ms_struct.cpp @@ -26,6 +26,7 @@ struct B : public A { static_assert(__builtin_offsetof(B, d) == 12, "We can't allocate the bitfield into the padding under ms_struct"); +// rdar://16178895 struct C { #ifdef TEST_FOR_ERROR // expected-error@-2 {{ms_struct may not produce Microsoft-compatible layouts for classes with base classes or virtual functions}} diff --git a/clang/test/SemaCXX/neon-vector-types.cpp b/clang/test/SemaCXX/neon-vector-types.cpp index 25df3366f28b..aaf4af18e24b 100644 --- a/clang/test/SemaCXX/neon-vector-types.cpp +++ b/clang/test/SemaCXX/neon-vector-types.cpp @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -fsyntax-only -verify "-triple" "thumbv7-apple-ios3.0.0" -target-feature +neon %s +// rdar://9208404 typedef int MP4Err; typedef float Float32; diff --git a/clang/test/SemaCXX/nested-name-spec.cpp b/clang/test/SemaCXX/nested-name-spec.cpp index 161c5e7fdf67..081ee25e7cdb 100644 --- a/clang/test/SemaCXX/nested-name-spec.cpp +++ b/clang/test/SemaCXX/nested-name-spec.cpp @@ -306,6 +306,7 @@ int foobar = a + longer_b; // expected-error {{use of undeclared identifier 'a'; // expected-error {{use of undeclared identifier 'longer_b'; did you mean 'NS::longer_b'?}} } +// namespace N { struct X { }; namespace N { diff --git a/clang/test/SemaCXX/new-delete.cpp b/clang/test/SemaCXX/new-delete.cpp index 77c756e080e4..9923a9ed29d9 100644 --- a/clang/test/SemaCXX/new-delete.cpp +++ b/clang/test/SemaCXX/new-delete.cpp @@ -407,6 +407,7 @@ namespace rdar8018245 { } +// namespace Instantiate { template struct X { operator T*(); @@ -454,6 +455,7 @@ namespace DeleteParam { }; } +// // Test that the correct 'operator delete' is selected to pair with // the unexpected placement 'operator new'. namespace PairedDelete { diff --git a/clang/test/SemaCXX/no-exceptions.cpp b/clang/test/SemaCXX/no-exceptions.cpp index 097123d3fe52..f7395683c3f5 100644 --- a/clang/test/SemaCXX/no-exceptions.cpp +++ b/clang/test/SemaCXX/no-exceptions.cpp @@ -5,6 +5,7 @@ typedef __SIZE_TYPE__ size_t; namespace test0 { + // rdar://problem/7878149 class Foo { public: void* operator new(size_t x); diff --git a/clang/test/SemaCXX/no-warn-composite-pointer-type.cpp b/clang/test/SemaCXX/no-warn-composite-pointer-type.cpp index 295b8fb108e8..f33f60de9fdd 100644 --- a/clang/test/SemaCXX/no-warn-composite-pointer-type.cpp +++ b/clang/test/SemaCXX/no-warn-composite-pointer-type.cpp @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -fsyntax-only -Wno-compare-distinct-pointer-types -verify %s // expected-no-diagnostics +// rdar://12501960 void Foo(int **thing, const int **thingMax) { diff --git a/clang/test/SemaCXX/non-empty-class-size-zero.cpp b/clang/test/SemaCXX/non-empty-class-size-zero.cpp index 52f6e928d4c4..6b714dbe038f 100644 --- a/clang/test/SemaCXX/non-empty-class-size-zero.cpp +++ b/clang/test/SemaCXX/non-empty-class-size-zero.cpp @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fsyntax-only %s +// rdar://8945175 struct X { int array[0]; diff --git a/clang/test/SemaCXX/ns_returns_retained_block_return.cpp b/clang/test/SemaCXX/ns_returns_retained_block_return.cpp index ee556f9eb291..9d04536e0f1b 100644 --- a/clang/test/SemaCXX/ns_returns_retained_block_return.cpp +++ b/clang/test/SemaCXX/ns_returns_retained_block_return.cpp @@ -1,6 +1,7 @@ // RUN: %clang_cc1 -fblocks -fsyntax-only -verify %s // RUN: %clang_cc1 -fblocks -fobjc-arc -fsyntax-only -verify %s // expected-no-diagnostics +// rdar://17259812 typedef void (^BT) (); diff --git a/clang/test/SemaCXX/overload-call.cpp b/clang/test/SemaCXX/overload-call.cpp index c9f38a4c7ed0..a70b905bb80a 100644 --- a/clang/test/SemaCXX/overload-call.cpp +++ b/clang/test/SemaCXX/overload-call.cpp @@ -527,6 +527,7 @@ namespace NontrivialSubsequence { } } +// rdar://rdar8499524 namespace rdar8499524 { struct W {}; struct S { diff --git a/clang/test/SemaCXX/override-in-system-header.cpp b/clang/test/SemaCXX/override-in-system-header.cpp index 7d66f7ea9b7c..689585e0cf12 100644 --- a/clang/test/SemaCXX/override-in-system-header.cpp +++ b/clang/test/SemaCXX/override-in-system-header.cpp @@ -1,5 +1,7 @@ // RUN: %clang_cc1 -std=c++11 -isystem %S/Inputs %s -verify // expected-no-diagnostics +// rdar://18295240 + #include struct A diff --git a/clang/test/SemaCXX/pragma-visibility.cpp b/clang/test/SemaCXX/pragma-visibility.cpp index f00c140c3b9d..18c59c8c10ff 100644 --- a/clang/test/SemaCXX/pragma-visibility.cpp +++ b/clang/test/SemaCXX/pragma-visibility.cpp @@ -11,6 +11,7 @@ namespace test2 __attribute__((visibility("hidden"))) { #pragma GCC visibility pop // expected-error{{#pragma visibility pop with no matching #pragma visibility push}} +// struct A { #pragma GCC visibility push(protected) #pragma GCC visibility pop diff --git a/clang/test/SemaCXX/reinterpret-cast.cpp b/clang/test/SemaCXX/reinterpret-cast.cpp index 45332fd15b5d..63619b52b970 100644 --- a/clang/test/SemaCXX/reinterpret-cast.cpp +++ b/clang/test/SemaCXX/reinterpret-cast.cpp @@ -126,6 +126,7 @@ void (A::*a)(); void (B::*b)() = reinterpret_cast(a); } +// void const_arrays() { typedef char STRING[10]; const STRING *s; diff --git a/clang/test/SemaCXX/return.cpp b/clang/test/SemaCXX/return.cpp index 7f1af5bbee4f..ef45e61ef377 100644 --- a/clang/test/SemaCXX/return.cpp +++ b/clang/test/SemaCXX/return.cpp @@ -106,6 +106,7 @@ namespace return_has_expr { }; } +// rdar://15366494 // pr17759 namespace ctor_returns_void { void f() {} diff --git a/clang/test/SemaCXX/switch.cpp b/clang/test/SemaCXX/switch.cpp index c37a75bd3e8e..26a70dfb9d5b 100644 --- a/clang/test/SemaCXX/switch.cpp +++ b/clang/test/SemaCXX/switch.cpp @@ -58,7 +58,7 @@ namespace test3 { template void foo(); //expected-note {{in instantiation}} } -// PR9304 +// PR9304 and rdar://9045501 void click_check_header_sizes() { switch (0 == 8) { // expected-warning {{switch condition has boolean value}} case 0: ; @@ -101,6 +101,7 @@ namespace Conversion { template void f(S); // expected-note {{instantiation of}} } +// rdar://29230764 namespace OpaqueEnumWarnings { enum Opaque : int; diff --git a/clang/test/SemaCXX/tag-ambig.cpp b/clang/test/SemaCXX/tag-ambig.cpp index b8a0fa277b56..bbd17e7fe9b5 100644 --- a/clang/test/SemaCXX/tag-ambig.cpp +++ b/clang/test/SemaCXX/tag-ambig.cpp @@ -1,6 +1,7 @@ // RUN: %clang_cc1 -fsyntax-only -verify %s // expected-no-diagnostics +// typedef struct Point Point; namespace NameSpace { diff --git a/clang/test/SemaCXX/undefined-internal.cpp b/clang/test/SemaCXX/undefined-internal.cpp index 790c96c9fe45..960542c03a0d 100644 --- a/clang/test/SemaCXX/undefined-internal.cpp +++ b/clang/test/SemaCXX/undefined-internal.cpp @@ -72,6 +72,7 @@ namespace test4 { }; } +// rdar://problem/9014651 namespace test5 { namespace { struct A {}; diff --git a/clang/test/SemaCXX/uninitialized.cpp b/clang/test/SemaCXX/uninitialized.cpp index c83c2e795824..0c7b13a56ee8 100644 --- a/clang/test/SemaCXX/uninitialized.cpp +++ b/clang/test/SemaCXX/uninitialized.cpp @@ -181,7 +181,7 @@ struct S { S(bool (*)[5]) : x(foo(x)) {} // expected-warning {{field 'x' is uninitialized when used here}} // These don't actually require the value of x and so shouldn't warn. - S(char (*)[1]) : x(sizeof(x)) {} + S(char (*)[1]) : x(sizeof(x)) {} // rdar://8610363 S(char (*)[2]) : ptr(&ptr) {} S(char (*)[3]) : x(bar(&x)) {} S(char (*)[4]) : x(boo(x)) {} @@ -560,6 +560,7 @@ class U { struct C { char a[100], *e; } car = { .e = car.a }; +// namespace rdar10398199 { class FooBase { protected: ~FooBase() {} }; class Foo : public FooBase { diff --git a/clang/test/SemaCXX/unknown-anytype.cpp b/clang/test/SemaCXX/unknown-anytype.cpp index 3a5361e0b559..78a01ba2d358 100644 --- a/clang/test/SemaCXX/unknown-anytype.cpp +++ b/clang/test/SemaCXX/unknown-anytype.cpp @@ -35,6 +35,7 @@ namespace test3 { } } +// rdar://problem/9899447 namespace test4 { extern __unknown_anytype test0(...); extern __unknown_anytype test1(...); @@ -45,6 +46,7 @@ namespace test4 { } } +// rdar://problem/23959960 namespace test5 { template struct X; // expected-note{{template is declared here}} diff --git a/clang/test/SemaCXX/unused.cpp b/clang/test/SemaCXX/unused.cpp index 0af9e5b68b00..abaf611b0df8 100644 --- a/clang/test/SemaCXX/unused.cpp +++ b/clang/test/SemaCXX/unused.cpp @@ -44,6 +44,7 @@ namespace derefvolatile { } } +// namespace AnonObject { struct Foo { Foo(const char* const message); diff --git a/clang/test/SemaCXX/vararg-non-pod.cpp b/clang/test/SemaCXX/vararg-non-pod.cpp index a17eec0ab15f..a1bbe748d12d 100644 --- a/clang/test/SemaCXX/vararg-non-pod.cpp +++ b/clang/test/SemaCXX/vararg-non-pod.cpp @@ -156,7 +156,8 @@ void test_typeid(Base &base) { } -// Shouldn't warn, doesn't actually use __builtin_va_start is magic. +// rdar://7985267 - Shouldn't warn, doesn't actually use __builtin_va_start is +// magic. void t6(Foo somearg, ... ) { __builtin_va_list list; diff --git a/clang/test/SemaCXX/vector-casts.cpp b/clang/test/SemaCXX/vector-casts.cpp index 50d6f85cd323..a3d9de6fff84 100644 --- a/clang/test/SemaCXX/vector-casts.cpp +++ b/clang/test/SemaCXX/vector-casts.cpp @@ -66,6 +66,7 @@ struct testvec { } }; +// rdar://15931426 // Conversions for return values. __v4hi threeToFour(__v3hi v) { // expected-note {{not viable}} return v; // expected-error {{cannot initialize return object}} diff --git a/clang/test/SemaCXX/warn-large-by-value-copy.cpp b/clang/test/SemaCXX/warn-large-by-value-copy.cpp index 4370ffede1df..309fdc75dbd7 100644 --- a/clang/test/SemaCXX/warn-large-by-value-copy.cpp +++ b/clang/test/SemaCXX/warn-large-by-value-copy.cpp @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -verify -fsyntax-only -Wlarge-by-value-copy=100 %s +// rdar://8548050 namespace rdar8548050 { struct S100 { diff --git a/clang/test/SemaCXX/warn-missing-noreturn.cpp b/clang/test/SemaCXX/warn-missing-noreturn.cpp index 400b471600e0..618229af207e 100644 --- a/clang/test/SemaCXX/warn-missing-noreturn.cpp +++ b/clang/test/SemaCXX/warn-missing-noreturn.cpp @@ -38,7 +38,8 @@ namespace test1 { } -// This test case previously had a false "missing return" warning. +// - This test case previously had a false "missing return" +// warning. struct R7880658 { R7880658 &operator++(); bool operator==(const R7880658 &) const; @@ -82,7 +83,7 @@ namespace test3 { }; } -// Properly handle CFGs with destructors. +// - Properly handle CFGs with destructors. struct rdar8875247 { ~rdar8875247 (); }; diff --git a/clang/test/SemaCXX/warn-shadow.cpp b/clang/test/SemaCXX/warn-shadow.cpp index ca7f9624c08e..de0db219cb9b 100644 --- a/clang/test/SemaCXX/warn-shadow.cpp +++ b/clang/test/SemaCXX/warn-shadow.cpp @@ -100,12 +100,13 @@ struct path { }; -// TODO: this should warn +// TODO: this should warn, class B : A { int data; static int field; }; +// rdar://8900456 namespace rdar8900456 { struct Foo { static void Baz(); @@ -147,6 +148,7 @@ extern int bob; // expected-note 1 {{previous declaration is here}} typedef int bob1; // expected-note 2 {{previous declaration is here}} using bob2=int; // expected-note 2 {{previous declaration is here}} +// rdar://8883302 void rdar8883302() { extern int bob; // don't warn for shadowing. } diff --git a/clang/test/SemaCXX/warn-static-function-inheader.cpp b/clang/test/SemaCXX/warn-static-function-inheader.cpp index 034e65eb1cbb..9eccfca933c7 100644 --- a/clang/test/SemaCXX/warn-static-function-inheader.cpp +++ b/clang/test/SemaCXX/warn-static-function-inheader.cpp @@ -1,5 +1,6 @@ #include "warn-static-function-inheader.h" // RUN: %clang_cc1 -fsyntax-only -verify -Wall %s +// rdar://11202617 static void another(void) { // expected-warning {{function 'another' is not needed and will not be emitted}} } diff --git a/clang/test/SemaCXX/warn-weak-vtables.cpp b/clang/test/SemaCXX/warn-weak-vtables.cpp index e5207775f000..083209fa5e31 100644 --- a/clang/test/SemaCXX/warn-weak-vtables.cpp +++ b/clang/test/SemaCXX/warn-weak-vtables.cpp @@ -36,6 +36,7 @@ void uses_abc() { C c; } +// class Parent { public: Parent() {} diff --git a/clang/test/SemaCXX/wchar_t.cpp b/clang/test/SemaCXX/wchar_t.cpp index 7ea70b91ca06..cc7c6de7b37f 100644 --- a/clang/test/SemaCXX/wchar_t.cpp +++ b/clang/test/SemaCXX/wchar_t.cpp @@ -29,6 +29,7 @@ int t(void) { } +// rdar://8040728 wchar_t in[] = L"\x434" "\x434"; // No warning #ifndef SKIP_ERROR_TESTS diff --git a/clang/test/SemaCXX/writable-strings-deprecated.cpp b/clang/test/SemaCXX/writable-strings-deprecated.cpp index d083162ee6f5..8b95c7f6f28d 100644 --- a/clang/test/SemaCXX/writable-strings-deprecated.cpp +++ b/clang/test/SemaCXX/writable-strings-deprecated.cpp @@ -9,6 +9,7 @@ // RUN: %clang_cc1 -fsyntax-only -std=c++11 -verify %s -DWARNING // RUN: %clang_cc1 -fsyntax-only -std=c++11 -verify %s -Wno-deprecated -Wdeprecated-increment-bool -DWARNING // RUN: %clang_cc1 -fsyntax-only -std=c++11 -verify %s -pedantic-errors -DERROR +// rdar://8827606 char *fun(void) { diff --git a/clang/test/SemaCXX/zero-length-arrays.cpp b/clang/test/SemaCXX/zero-length-arrays.cpp index 0802ec702046..cca883adc4b5 100644 --- a/clang/test/SemaCXX/zero-length-arrays.cpp +++ b/clang/test/SemaCXX/zero-length-arrays.cpp @@ -2,6 +2,7 @@ // RUN: %clang_cc1 -fsyntax-only -verify -std=c++98 %s // RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s +// class Foo { ~Foo(); Foo(const Foo&); diff --git a/clang/test/SemaObjC/ClassPropertyNotObject.m b/clang/test/SemaObjC/ClassPropertyNotObject.m index c009f4b7cf98..67d76b85e7ab 100644 --- a/clang/test/SemaObjC/ClassPropertyNotObject.m +++ b/clang/test/SemaObjC/ClassPropertyNotObject.m @@ -1,6 +1,7 @@ // RUN: %clang_cc1 -fsyntax-only -verify -Wno-objc-root-class %s // RUN: %clang_cc1 -x objective-c++ -fsyntax-only -verify -Wno-objc-root-class %s // expected-no-diagnostics +// rdar://10565506 @protocol P @end diff --git a/clang/test/SemaObjC/ContClassPropertyLookup.m b/clang/test/SemaObjC/ContClassPropertyLookup.m index 2498f19ae6f5..bf4f6430bae0 100644 --- a/clang/test/SemaObjC/ContClassPropertyLookup.m +++ b/clang/test/SemaObjC/ContClassPropertyLookup.m @@ -18,6 +18,7 @@ @synthesize foo = _foo; @end +// rdar://10666594 @interface MPMediaItem @end diff --git a/clang/test/SemaObjC/NSString-type.m b/clang/test/SemaObjC/NSString-type.m index 4fa55beaaa67..3b4857ae0e9e 100644 --- a/clang/test/SemaObjC/NSString-type.m +++ b/clang/test/SemaObjC/NSString-type.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fblocks -fsyntax-only -verify %s +// rdar://10907410 void test(id pid, Class pclass) { void (^block)(void) = @"help"; // expected-error {{initializing 'void (^)(void)' with an expression of incompatible type 'NSString *'}} diff --git a/clang/test/SemaObjC/access-property-getter.m b/clang/test/SemaObjC/access-property-getter.m index 94a00f4914d1..779274431d5f 100644 --- a/clang/test/SemaObjC/access-property-getter.m +++ b/clang/test/SemaObjC/access-property-getter.m @@ -8,6 +8,7 @@ void accessMethodViaPropertySyntaxAndTriggerWarning(id object) { object.method; // expected-warning {{property access result unused - getters should not be used for side effects}} } +// rdar://19137815 #pragma clang diagnostic ignored "-Wunused-getter-return-value" void accessMethodViaPropertySyntaxWhenWarningIsIgnoredDoesNotTriggerWarning(id object) { diff --git a/clang/test/SemaObjC/arc-bridged-cast.m b/clang/test/SemaObjC/arc-bridged-cast.m index fdc34ddcd899..ad167e985b27 100644 --- a/clang/test/SemaObjC/arc-bridged-cast.m +++ b/clang/test/SemaObjC/arc-bridged-cast.m @@ -31,37 +31,39 @@ void to_cf(id obj) { CFTypeRef cf3 = (__bridge CFTypeRef)CreateSomething(); CFStringRef cf4 = (__bridge CFStringRef)CreateNSString(); + // rdar://problem/9629566 - temporary workaround CFTypeRef cf5 = (__bridge_retain CFTypeRef)CreateSomething(); // expected-error {{unknown cast annotation __bridge_retain; did you mean __bridge_retained?}} - // CHECK: fix-it:"{{.*}}":{34:20-34:35}:"__bridge_retained" + // CHECK: fix-it:"{{.*}}":{35:20-35:35}:"__bridge_retained" } CFTypeRef fixits(void) { id obj1 = (id)CFCreateSomething(); // expected-error{{cast of C pointer type 'CFTypeRef' (aka 'const void *') to Objective-C pointer type 'id' requires a bridged cast}} \ // expected-note{{use __bridge to convert directly (no change in ownership)}} expected-note{{use CFBridgingRelease call to transfer ownership of a +1 'CFTypeRef' (aka 'const void *') into ARC}} - // CHECK: fix-it:"{{.*}}":{39:17-39:17}:"CFBridgingRelease(" - // CHECK: fix-it:"{{.*}}":{39:36-39:36}:")" + // CHECK: fix-it:"{{.*}}":{40:17-40:17}:"CFBridgingRelease(" + // CHECK: fix-it:"{{.*}}":{40:36-40:36}:")" CFTypeRef cf1 = (CFTypeRef)CreateSomething(); // expected-error{{cast of Objective-C pointer type 'id' to C pointer type 'CFTypeRef' (aka 'const void *') requires a bridged cast}} \ // expected-note{{use __bridge to convert directly (no change in ownership)}} \ // expected-note{{use CFBridgingRetain call to make an ARC object available as a +1 'CFTypeRef' (aka 'const void *')}} - // CHECK: fix-it:"{{.*}}":{44:30-44:30}:"CFBridgingRetain(" - // CHECK: fix-it:"{{.*}}":{44:47-44:47}:")" + // CHECK: fix-it:"{{.*}}":{45:30-45:30}:"CFBridgingRetain(" + // CHECK: fix-it:"{{.*}}":{45:47-45:47}:")" return (obj1); // expected-error{{implicit conversion of Objective-C pointer type 'id' to C pointer type 'CFTypeRef' (aka 'const void *') requires a bridged cast}} \ // expected-note{{use __bridge to convert directly (no change in ownership)}} \ // expected-note{{use CFBridgingRetain call to make an ARC object available as a +1 'CFTypeRef' (aka 'const void *')}} - // CHECK: fix-it:"{{.*}}":{50:10-50:10}:"(__bridge CFTypeRef)" - // CHECK: fix-it:"{{.*}}":{50:10-50:10}:"CFBridgingRetain" + // CHECK: fix-it:"{{.*}}":{51:10-51:10}:"(__bridge CFTypeRef)" + // CHECK: fix-it:"{{.*}}":{51:10-51:10}:"CFBridgingRetain" } CFTypeRef fixitsWithSpace(id obj) { return(obj); // expected-error{{implicit conversion of Objective-C pointer type 'id' to C pointer type 'CFTypeRef' (aka 'const void *') requires a bridged cast}} \ // expected-note{{use __bridge to convert directly (no change in ownership)}} \ // expected-note{{use CFBridgingRetain call to make an ARC object available as a +1 'CFTypeRef' (aka 'const void *')}} - // CHECK: fix-it:"{{.*}}":{58:9-58:9}:"(__bridge CFTypeRef)" - // CHECK: fix-it:"{{.*}}":{58:9-58:9}:" CFBridgingRetain" + // CHECK: fix-it:"{{.*}}":{59:9-59:9}:"(__bridge CFTypeRef)" + // CHECK: fix-it:"{{.*}}":{59:9-59:9}:" CFBridgingRetain" } +// rdar://problem/20107345 typedef const struct __attribute__((objc_bridge(id))) __CFAnnotatedObject *CFAnnotatedObjectRef; CFAnnotatedObjectRef CFGetAnnotated(void); @@ -79,6 +81,7 @@ void testObjCBridgeId(void) { ref = (__bridge_retained CFAnnotatedObjectRef) CreateNSString(); } +// rdar://20113785 typedef const struct __attribute__((objc_bridge(UIFont))) __CTFont * CTFontRef; id testObjCBridgeUnknownTypeToId(CTFontRef font) { diff --git a/clang/test/SemaObjC/arc-cf.m b/clang/test/SemaObjC/arc-cf.m index 6cc2ed9a842c..199dce0ec6b6 100644 --- a/clang/test/SemaObjC/arc-cf.m +++ b/clang/test/SemaObjC/arc-cf.m @@ -46,6 +46,7 @@ void test2(void) { x = (id) CFCreateString3(); // expected-error {{requires a bridged cast}} expected-note {{CFBridgingRelease call to transfer}} } +// rdar://14569171 @interface NSString @end typedef signed int SInt32; #pragma clang arc_cf_code_audited begin diff --git a/clang/test/SemaObjC/arc-decls.m b/clang/test/SemaObjC/arc-decls.m index 2b4a9b0319de..e7366077d8fe 100644 --- a/clang/test/SemaObjC/arc-decls.m +++ b/clang/test/SemaObjC/arc-decls.m @@ -1,5 +1,7 @@ // RUN: %clang_cc1 -fsyntax-only -fblocks -fobjc-arc -verify -Wno-objc-root-class -Wno-strict-prototypes %s +// rdar://8843524 + struct A { id x[4]; id y; @@ -31,6 +33,7 @@ union u_trivial_c { }; @end +// rdar://10260525 struct r10260525 { id (^block1) (); id (^block2) (void); @@ -42,6 +45,8 @@ struct S { int i1; }; +// rdar://9046528 + @class NSError; __autoreleasing id X; // expected-error {{global variables cannot have __autoreleasing ownership}} @@ -58,6 +63,9 @@ void func(void) } +// rdar://9157348 +// rdar://15757510 + @interface J @property (retain) id newFoo; // expected-error {{property follows Cocoa naming convention for returning 'owned' objects}} expected-note{{explicitly declare getter '-newFoo' with '__attribute__((objc_method_family(none)))' to return an 'unowned' object}} @property (strong) id copyBar; // expected-error {{property follows Cocoa naming convention for returning 'owned' objects}} expected-note{{explicitly declare getter '-copyBar' with '__attribute__((objc_method_family(none)))' to return an 'unowned' object}} @@ -104,6 +112,7 @@ void func(void) @end +// rdar://10187884 @interface Super - (void)bar:(id)b; // expected-note {{parameter declared here}} - (void)bar1:(id) __attribute((ns_consumed)) b; @@ -120,6 +129,7 @@ void func(void) - (id)ns_non __attribute((ns_returns_not_retained)); // expected-error {{overriding method has mismatched ns_returns_not_retained attributes}} - (id)not_ret:(id) b __attribute((ns_returns_retained)); // expected-error {{overriding method has mismatched ns_returns_retained attributes}} - (id)both__returns_not_retained:(id) b __attribute((ns_returns_not_retained)); +// rdar://12173491 @property (copy, nonatomic) __attribute__((ns_returns_retained)) id (^fblock)(void); @end @@ -140,6 +150,7 @@ struct __attribute__((objc_ownership(none))) S2 {}; // expected-error {{'objc_ow @property __attribute__((objc_ownership(frob))) id i; // expected-warning {{'objc_ownership' attribute argument not supported: 'frob'}} @end +// rdar://15304886 @interface NSObject @end @interface ControllerClass : NSObject @end @@ -147,6 +158,7 @@ struct __attribute__((objc_ownership(none))) S2 {}; // expected-error {{'objc_ow @interface SomeClassOwnedByController @property (readonly) ControllerClass *controller; // expected-note {{property declared here}} +// rdar://15465916 @property (readonly, weak) ControllerClass *weak_controller; @end diff --git a/clang/test/SemaObjC/arc-dict-bridged-cast.m b/clang/test/SemaObjC/arc-dict-bridged-cast.m index ece776b63a73..957c3ec9b271 100644 --- a/clang/test/SemaObjC/arc-dict-bridged-cast.m +++ b/clang/test/SemaObjC/arc-dict-bridged-cast.m @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -triple x86_64-apple-darwin11 -fsyntax-only -fobjc-arc -verify %s // RUN: not %clang_cc1 -triple x86_64-apple-darwin11 -fsyntax-only -fobjc-arc -fdiagnostics-parseable-fixits %s 2>&1 | FileCheck %s +// rdar://11913153 typedef const struct __CFString * CFStringRef; typedef struct __CFString * CFMutableStringRef; @@ -34,5 +35,5 @@ NSMutableString *test(void) { } -// CHECK: fix-it:"{{.*}}":{31:25-31:25}:"CFBridgingRelease(" -// CHECK: fix-it:"{{.*}}":{31:63-31:63}:")" +// CHECK: fix-it:"{{.*}}":{32:25-32:25}:"CFBridgingRelease(" +// CHECK: fix-it:"{{.*}}":{32:63-32:63}:")" diff --git a/clang/test/SemaObjC/arc-invalid.m b/clang/test/SemaObjC/arc-invalid.m index 8a1ebc78e740..07b6480c1f9b 100644 --- a/clang/test/SemaObjC/arc-invalid.m +++ b/clang/test/SemaObjC/arc-invalid.m @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -fsyntax-only -fobjc-arc -fblocks -Wno-objc-root-class -verify %s +// rdar://problem/10982793 // [p foo] in ARC creates a cleanup. // The plus is invalid and causes the cleanup to go unbound. // Don't crash. @@ -16,6 +17,7 @@ void test1(void) { takeBlock(^{ (void) p; }); // expected-error {{cannot capture __autoreleasing variable in a block}} } +// rdar://17024681 @class WebFrame; @interface WebView // expected-note {{previous definition is here}} - (WebFrame *)mainFrame; diff --git a/clang/test/SemaObjC/arc-jump-block.m b/clang/test/SemaObjC/arc-jump-block.m index 64bf193c5836..418d296452b4 100644 --- a/clang/test/SemaObjC/arc-jump-block.m +++ b/clang/test/SemaObjC/arc-jump-block.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -triple x86_64-apple-darwin11 -fsyntax-only -fobjc-arc -fblocks -verify -Wno-objc-root-class %s +// rdar://9535237 typedef struct dispatch_queue_s *dispatch_queue_t; @@ -82,6 +83,7 @@ extern __attribute__((visibility("default"))) struct dispatch_queue_s _dispatch_ - (void)pageRight {} @end +// Test 2. rdar://problem/11150919 int test2(id obj, int state) { // expected-note {{jump enters lifetime of block}} FIXME: weird location switch (state) { case 0: diff --git a/clang/test/SemaObjC/arc-no-runtime.m b/clang/test/SemaObjC/arc-no-runtime.m index d0aa67c90d4d..cc540f6431bd 100644 --- a/clang/test/SemaObjC/arc-no-runtime.m +++ b/clang/test/SemaObjC/arc-no-runtime.m @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -fobjc-arc -verify -Wno-objc-root-class %s +// rdar://problem/9150784 void test(void) { __weak id x; // expected-error {{cannot create __weak reference because the current deployment target does not support weak references}} __weak void *v; // expected-warning {{'__weak' only applies to Objective-C object or block pointer types}} @@ -10,5 +11,6 @@ void test(void) { @end @implementation A +// rdar://9605088 @synthesize testObjectWeakProperty; // expected-error {{cannot synthesize weak property because the current deployment target does not support weak references}} @end diff --git a/clang/test/SemaObjC/arc-nsconsumed-errors.m b/clang/test/SemaObjC/arc-nsconsumed-errors.m index a249ebe2b180..fd0d388ca9c6 100644 --- a/clang/test/SemaObjC/arc-nsconsumed-errors.m +++ b/clang/test/SemaObjC/arc-nsconsumed-errors.m @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -fsyntax-only -fobjc-arc -verify -fblocks -triple x86_64-apple-darwin10.0.0 -DOBJCARC %s // RUN: %clang_cc1 -fsyntax-only -verify -fblocks -triple x86_64-apple-darwin10.0.0 %s +// rdar://10187884 #ifdef OBJCARC typedef void (^blk)(id arg1, __attribute((ns_consumed)) id arg2); diff --git a/clang/test/SemaObjC/arc-objc-lifetime.m b/clang/test/SemaObjC/arc-objc-lifetime.m index b91eb309d7f5..6d96cc84aaae 100644 --- a/clang/test/SemaObjC/arc-objc-lifetime.m +++ b/clang/test/SemaObjC/arc-objc-lifetime.m @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -triple x86_64-apple-darwin11 -fsyntax-only -fobjc-arc -fblocks -fobjc-runtime-has-weak -Wexplicit-ownership-type -verify -Wno-objc-root-class %s // RUN: %clang_cc1 -x objective-c++ -triple x86_64-apple-darwin11 -fsyntax-only -fobjc-arc -fblocks -fobjc-runtime-has-weak -Wexplicit-ownership-type -verify -Wno-objc-root-class %s +// rdar://10244607 typedef const struct __CFString * CFStringRef; @class NSString; @@ -32,6 +33,7 @@ typedef __autoreleasing NSString * AUTORELEASEPNSString; } @end +// rdar://problem/10711456 __strong I *__strong test1; // expected-error {{the type 'I *__strong' is already explicitly ownership-qualified}} __strong I *(__strong test2); // expected-error {{the type 'I *__strong' is already explicitly ownership-qualified}} __strong I *(__strong (test3)); // expected-error {{the type 'I *__strong' is already explicitly ownership-qualified}} @@ -39,6 +41,7 @@ __unsafe_unretained __typeof__(test3) test4; typedef __strong I *strong_I; __unsafe_unretained strong_I test5; +// rdar://10907090 typedef void (^T) (void); @interface NSObject @end @protocol P; @@ -54,6 +57,7 @@ typedef void (^T) (void); - (void) BLOCK : (T*) arg0 : (T)arg : (__strong T*) arg1 {} // expected-warning-re {{method parameter of type '__autoreleasing T *' (aka 'void (^__autoreleasing *)({{(void)?}})') with no explicit ownership}} @end +// rdar://12280826 @class NSMutableDictionary, NSError; @interface Radar12280826 - (void)createInferiorTransportAndSetEnvironment:(NSMutableDictionary*)environment error:(__autoreleasing NSError**)error; @@ -63,6 +67,7 @@ typedef void (^T) (void); - (void)createInferiorTransportAndSetEnvironment:(NSMutableDictionary*)environment error:(__autoreleasing NSError**)error {} @end +// typedef __strong id strong_id; typedef NSObject *NSObject_ptr; typedef __strong NSObject *strong_NSObject_ptr; @@ -81,6 +86,7 @@ strong_id f6(void); strong_NSObject_ptr f7(void); typedef __strong id (^block_ptr)(int); +// rdar://10127067 void test8_a(void) { __weak id *(^myBlock)(void); __weak id *var = myBlock(); diff --git a/clang/test/SemaObjC/arc-objcbridge-related-attribute.m b/clang/test/SemaObjC/arc-objcbridge-related-attribute.m index 7fd9f804a83e..59daef1ce64b 100644 --- a/clang/test/SemaObjC/arc-objcbridge-related-attribute.m +++ b/clang/test/SemaObjC/arc-objcbridge-related-attribute.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -fsyntax-only -x objective-c -fobjc-arc -verify -Wno-objc-root-class %s +// rdar://15499111 typedef struct __attribute__((objc_bridge_related(NSColor,colorWithCGColor:,CGColor))) CGColor *CGColorRef; // expected-note 5 {{declared here}} typedef struct __attribute__((objc_bridge_related(NSColor,,CGColor1))) CGColor1 *CGColorRef1; diff --git a/clang/test/SemaObjC/arc-peformselector.m b/clang/test/SemaObjC/arc-peformselector.m index 1e140e8a2f9b..ec385af58211 100644 --- a/clang/test/SemaObjC/arc-peformselector.m +++ b/clang/test/SemaObjC/arc-peformselector.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -triple x86_64-apple-darwin11 -fsyntax-only -fobjc-arc -verify %s +// rdar://9659270 @interface NSObject - (id)copy; // expected-note {{method 'copy' declared here}} diff --git a/clang/test/SemaObjC/arc-property-decl-attrs.m b/clang/test/SemaObjC/arc-property-decl-attrs.m index fc5a84d92a35..833998d4250a 100644 --- a/clang/test/SemaObjC/arc-property-decl-attrs.m +++ b/clang/test/SemaObjC/arc-property-decl-attrs.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -triple x86_64-apple-darwin11 -fobjc-runtime-has-weak -fsyntax-only -fobjc-arc -verify %s +// rdar://9340606 @interface Foo { @public @@ -65,6 +66,7 @@ @property(unsafe_unretained) __autoreleasing id z; // expected-error {{unsafe_unretained property 'z' may not also be declared __autoreleasing}} @end +// rdar://9396329 @interface Super @property (readonly, retain) id foo; @property (readonly, weak) id fee; @@ -77,6 +79,9 @@ @property (readwrite) id frr; @end +// rdar://20152386 +// rdar://20383235 + @interface NSObject @end #pragma clang assume_nonnull begin @@ -100,6 +105,7 @@ @property(nonatomic, weak, nonnull, readonly) id ROdelegate; // expected-error {{property attributes 'nonnull' and 'weak' are mutually exclusive}} @end +// rdar://problem/23931441 @protocol P @property(readonly, retain) id prop; @end @@ -116,6 +122,7 @@ __attribute__((objc_root_class)) @synthesize prop; @end +// rdar://31579994 // Verify that the all of the property declarations in inherited protocols are // compatible when synthesing a property from a protocol. @@ -246,6 +253,7 @@ __attribute__((objc_root_class)) @end +// rdar://39024725 // Allow strong readwrite property and a readonly one. @protocol StrongCollision diff --git a/clang/test/SemaObjC/arc-property-lifetime.m b/clang/test/SemaObjC/arc-property-lifetime.m index 0e7b69085b0d..b4b34036c7cd 100644 --- a/clang/test/SemaObjC/arc-property-lifetime.m +++ b/clang/test/SemaObjC/arc-property-lifetime.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -triple x86_64-apple-darwin11 -fobjc-runtime-has-weak -fsyntax-only -fobjc-arc -verify -Wno-objc-root-class %s +// rdar://9340606 @interface Foo { @public @@ -66,6 +67,7 @@ @property(copy) __autoreleasing id z; // expected-error {{strong property 'z' may not also be declared __autoreleasing}} @end +// rdar://9341593 @interface Gorf { id __unsafe_unretained x; id y; // expected-error {{existing instance variable 'y' for property 'y' with assign attribute must be __unsafe_unretained}} @@ -96,6 +98,7 @@ @synthesize z; @end +// rdar://9355230 @interface I { char _isAutosaving; } @@ -107,6 +110,7 @@ @synthesize isAutosaving = _isAutosaving; @end +// rdar://10239594 // Test for 'Class' properties being unretained. @interface MyClass { @private @@ -122,6 +126,7 @@ @synthesize controllerId = _controllerId; @end +// rdar://10630891 @interface UIView @end @class UIColor; @@ -144,6 +149,7 @@ } @end +// rdar://10694932 @interface Baz @property id prop; @property __strong id strong_prop; @@ -163,6 +169,7 @@ void foo(Baz *f) { f.implicit = [[Baz alloc] init]; } +// rdar://11253688 @interface Boom { const void * innerPointerIvar __attribute__((objc_returns_inner_pointer)); // expected-error {{'objc_returns_inner_pointer' attribute only applies to Objective-C methods and Objective-C properties}} @@ -181,6 +188,7 @@ void foo(Baz *f) { @implementation Foo2 @end +// rdar://13885083 @interface NSObject -(id)init; @end diff --git a/clang/test/SemaObjC/arc-property.m b/clang/test/SemaObjC/arc-property.m index 0bc0de42c73f..cf823ae2b22f 100644 --- a/clang/test/SemaObjC/arc-property.m +++ b/clang/test/SemaObjC/arc-property.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -triple x86_64-apple-darwin11 -fobjc-runtime-has-weak -fsyntax-only -fobjc-arc -fblocks -fobjc-exceptions -verify -Wno-objc-root-class %s +// rdar://9309489 @interface MyClass { id __weak myString; // expected-error {{existing instance variable 'myString' for strong property 'myString' may not be __weak}} @@ -27,6 +28,7 @@ @end +// rdar://9340692 @interface Foo { @public id __unsafe_unretained x; // expected-error {{existing instance variable 'x' for __weak property 'x' must be __weak}} @@ -44,6 +46,7 @@ @synthesize z; // suppressed @end +// rdar://problem/10904479 // Don't crash. @interface Test2 // Minor FIXME: kill the redundant error @@ -53,6 +56,7 @@ @synthesize test2; @end +// rdar://problem/11144407 @interface Test3 @property (strong) id exception; @end diff --git a/clang/test/SemaObjC/arc-readonly-property-ivar-1.m b/clang/test/SemaObjC/arc-readonly-property-ivar-1.m index c1bffc442e31..2b98f01e914f 100644 --- a/clang/test/SemaObjC/arc-readonly-property-ivar-1.m +++ b/clang/test/SemaObjC/arc-readonly-property-ivar-1.m @@ -1,6 +1,7 @@ // RUN: %clang_cc1 -triple x86_64-apple-darwin11 -fobjc-runtime-has-weak -fobjc-arc -fsyntax-only -verify -Wno-objc-root-class %s // RUN: %clang_cc1 -x objective-c++ -triple x86_64-apple-darwin11 -fobjc-runtime-has-weak -fobjc-arc -fsyntax-only -verify -Wno-objc-root-class %s // expected-no-diagnostics +// rdar:// 10558871 @interface PP @property (readonly) id ReadOnlyPropertyNoBackingIvar; diff --git a/clang/test/SemaObjC/arc-readonly-property-ivar.m b/clang/test/SemaObjC/arc-readonly-property-ivar.m index 95fbb2b74c5c..bcc1f4b45b23 100644 --- a/clang/test/SemaObjC/arc-readonly-property-ivar.m +++ b/clang/test/SemaObjC/arc-readonly-property-ivar.m @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -triple x86_64-apple-darwin11 -fobjc-runtime-has-weak -fobjc-arc -fsyntax-only -verify -Wno-objc-root-class %s // expected-no-diagnostics +// rdar:// 10558871 @interface PP @property (readonly) id ReadOnlyPropertyNoBackingIvar; diff --git a/clang/test/SemaObjC/arc-repeated-weak.mm b/clang/test/SemaObjC/arc-repeated-weak.mm index aaf8256d314e..d23af8c05059 100644 --- a/clang/test/SemaObjC/arc-repeated-weak.mm +++ b/clang/test/SemaObjC/arc-repeated-weak.mm @@ -423,6 +423,7 @@ void doubleLevelAccessIvar(Test *a, Test *b) { use(a.strongProp.weakProp); // no-warning } +// rdar://13942025 @interface X @end @@ -437,6 +438,7 @@ void doubleLevelAccessIvar(Test *a, Test *b) { } @end +// rdar://19053620 @interface NSNull + (NSNull *)null; @end diff --git a/clang/test/SemaObjC/arc-setter-property-match.m b/clang/test/SemaObjC/arc-setter-property-match.m index 497e017da92a..83a07e94f2b9 100644 --- a/clang/test/SemaObjC/arc-setter-property-match.m +++ b/clang/test/SemaObjC/arc-setter-property-match.m @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -triple x86_64-apple-darwin11 -fsyntax-only -fobjc-arc -fblocks -verify -Wno-objc-root-class %s // expected-no-diagnostics +// rdar://10156674 @class NSArray; diff --git a/clang/test/SemaObjC/arc-type-conversion.m b/clang/test/SemaObjC/arc-type-conversion.m index 349ab9f0fd9b..f06a137cc209 100644 --- a/clang/test/SemaObjC/arc-type-conversion.m +++ b/clang/test/SemaObjC/arc-type-conversion.m @@ -91,6 +91,7 @@ void ownership_transfer_in_cast(void *vp, Block *pblk) { (void)(Block*)lv; // expected-error {{cast of an Objective-C pointer to '__strong Block *'}} } +// void conversion_in_conditional(id a, void* b) { id c = 1 ? a : b; // expected-error {{operands to conditional of types 'id' and 'void *' are incompatible in ARC mode}} id d = 1 ? b : a; // expected-error {{operands to conditional of types 'void *' and 'id' are incompatible in ARC mode}} diff --git a/clang/test/SemaObjC/arc-unavailable-for-weakref.m b/clang/test/SemaObjC/arc-unavailable-for-weakref.m index f005d526ad75..3b4c79d200a1 100644 --- a/clang/test/SemaObjC/arc-unavailable-for-weakref.m +++ b/clang/test/SemaObjC/arc-unavailable-for-weakref.m @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -triple x86_64-apple-darwin11 -fobjc-runtime-has-weak -fsyntax-only -fobjc-arc -verify -Wno-objc-root-class %s // RUN: %clang_cc1 -triple x86_64-apple-darwin11 -fobjc-runtime-has-weak -fsyntax-only -fobjc-weak -verify -Wno-objc-root-class %s +// rdar://9693477 __attribute__((objc_arc_weak_reference_unavailable)) @interface NSOptOut1072 // expected-note {{class is declared here}} @@ -19,6 +20,7 @@ int main(void) { // expected-error {{explicit ownership qualifier on cast result has no effect}} } +// rdar://9732636 __attribute__((objc_arc_weak_reference_unavailable)) @interface NOWEAK + (id) new; @@ -47,6 +49,7 @@ NOWEAK * Test2(void) { // expected-error {{explicit ownership qualifier on cast result has no effect}} } +// rdar://10535245 __attribute__((objc_arc_weak_reference_unavailable)) @interface NSFont @end @@ -61,6 +64,7 @@ __attribute__((objc_arc_weak_reference_unavailable)) @synthesize font = _font; @end +// rdar://13676793 @protocol MyProtocol @property (weak) NSFont *font; // expected-error {{synthesizing __weak instance variable of type 'NSFont *', which does not support weak references}} @end diff --git a/clang/test/SemaObjC/arc-unavailable-system-function.m b/clang/test/SemaObjC/arc-unavailable-system-function.m index 1599688c169b..d3ada73ec752 100644 --- a/clang/test/SemaObjC/arc-unavailable-system-function.m +++ b/clang/test/SemaObjC/arc-unavailable-system-function.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -fsyntax-only -triple x86_64-apple-darwin11 -fobjc-arc -verify %s +// rdar://10186625 # 1 "" # 1 "/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h" 1 3 diff --git a/clang/test/SemaObjC/arc-unbridged-cast.m b/clang/test/SemaObjC/arc-unbridged-cast.m index 06dacf6b13e7..3c0e3f288540 100644 --- a/clang/test/SemaObjC/arc-unbridged-cast.m +++ b/clang/test/SemaObjC/arc-unbridged-cast.m @@ -15,6 +15,7 @@ id CFBridgingRelease(CFTypeRef); extern Object *object; +// rdar://9744349 id test0(void) { id p1 = (id)[object property]; id p2 = (__bridge_transfer id)[object property]; @@ -22,6 +23,7 @@ id test0(void) { return (id) object.property; } +// rdar://10140692 CFStringRef unauditedString(void); CFStringRef plusOneString(void) __attribute__((cf_returns_retained)); @@ -80,6 +82,7 @@ void test1(int cond) { x = (id) (cond ? kUserConst : [object newString]); // expected-error{{requires a bridged cast}} expected-note{{use __bridge to}} expected-note{{use CFBridgingRelease call to}} } +// rdar://problem/10246264 @interface CFTaker - (void) takeOrdinary: (CFStringRef) arg; - (void) takeVariadic: (int) n, ...; diff --git a/clang/test/SemaObjC/arc-unsafe-assigns.m b/clang/test/SemaObjC/arc-unsafe-assigns.m index 8989fac7c248..1805b852fb18 100644 --- a/clang/test/SemaObjC/arc-unsafe-assigns.m +++ b/clang/test/SemaObjC/arc-unsafe-assigns.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -triple x86_64-apple-darwin11 -fsyntax-only -fobjc-arc -verify -Wno-objc-root-class %s +// rdar://9495837 @interface Foo { __unsafe_unretained id unsafe_ivar; diff --git a/clang/test/SemaObjC/arc.m b/clang/test/SemaObjC/arc.m index 7cc4d824ab52..05353d2506d8 100644 --- a/clang/test/SemaObjC/arc.m +++ b/clang/test/SemaObjC/arc.m @@ -55,6 +55,8 @@ void test1(A *a) { } @end +// rdar://8843638 + @interface I - (id)retain; // expected-note {{method 'retain' declared here}} - (id)autorelease; // expected-note {{method 'autorelease' declared here}} @@ -80,6 +82,8 @@ void test1(A *a) { // expected-warning {{category is implementing a method which will also be implemented by its primary class}} @end +// rdar://8861761 + @interface B + (id)alloc; - (id)initWithInt: (int) i; @@ -96,6 +100,7 @@ void rdar8861761(void) { [[B alloc] myInit]; // expected-warning {{expression result unused}} } +// rdar://8925835 @interface rdar8925835 - (void)foo:(void (^)(unsigned captureCount, I * const capturedStrings[captureCount]))block; @end @@ -119,6 +124,7 @@ void test5(void) { test5_helper3(&x); // expected-error {{passing '__strong id *' to parameter of type '__weak id *' changes retain/release properties of pointer}} } +// rdar://problem/8937869 void test6(unsigned cond) { switch (cond) { case 0: @@ -280,6 +286,7 @@ void test10(id collection) { } } +// rdar://problem/9078626 #define nil ((void*) 0) void test11(id op, void *vp) { _Bool b; @@ -321,6 +328,7 @@ void test12(id collection) { } @end +// @interface Test13_B - (id) consumesSelf __attribute__((ns_consumes_self)); @end @@ -330,6 +338,7 @@ void test12(id collection) { } @end +// rdar://problem/9172151 @class Test14A, Test14B; void test14(void) { extern void test14_consume(id *); @@ -435,6 +444,7 @@ void test19(void) { // expected-note{{use CFBridgingRelease call to transfer ownership of a +1 'struct Test19 *' into ARC}} } +// rdar://problem/8951453 static __thread id test20_implicit; // expected-error {{thread-local variable has non-trivial ownership: type is '__strong id'}} static __thread __strong id test20_strong; // expected-error {{thread-local variable has non-trivial ownership: type is '__strong id'}} static __thread __weak id test20_weak; // expected-error {{thread-local variable has non-trivial ownership: type is '__weak id'}} @@ -448,6 +458,7 @@ void test20(void) { static __thread __unsafe_unretained id test20_unsafe; } +// rdar://9310049 _Bool fn(id obj) { return (_Bool)obj; } @@ -461,9 +472,11 @@ void test21(void) { (void)(__autoreleasing const id *)sip; // okay } +// rdar://problem/9340462 void test22(id x[]) { // expected-error {{must explicitly describe intended ownership of an object array parameter}} } +// rdar://problem/9400219 void test23(void) { void *ptr; ptr = @"foo"; @@ -476,6 +489,7 @@ id test24(void) { return test24_helper(), (void*) 0; } +// rdar://9400841 @interface Base @property (assign) id content; @end @@ -490,6 +504,7 @@ id test24(void) { } @end +// void test25(Class *classes) { Class *other_classes; test25(other_classes); @@ -515,6 +530,7 @@ void test26(id y) { } @end +// rdar://9525555 @interface Test27 { __weak id _myProp1; id myProp2; @@ -541,6 +557,7 @@ void test26(id y) { -(id)custom_ro { return 0; } @end +// rdar://9569264 @interface Test28 @property (nonatomic, assign) __strong id a; // expected-error {{unsafe_unretained property 'a' may not also be declared __strong}} @end @@ -554,6 +571,7 @@ void test26(id y) { @synthesize b; @end +// rdar://9573962 typedef struct Bark Bark; @interface Test29 @property Bark* P; @@ -567,6 +585,7 @@ typedef struct Bark Bark; } @end +// rdar://9495837 @interface Test30 + (id) new; - (void)Meth; @@ -584,6 +603,7 @@ typedef struct Bark Bark; } @end +// rdar://9411838 @protocol PTest31 @end int Test31(void) { @@ -598,6 +618,7 @@ int Test31(void) { return cls->isa ? i : j; // expected-error {{member reference base type 'Class' is not a structure or union}} } +// rdar://9612030 @interface ITest32 { @public id ivar; @@ -611,6 +632,7 @@ id Test32(__weak ITest32 *x) { : (*x).ivar; // expected-error {{dereferencing a __weak pointer is not allowed}} } +// rdar://9619861 extern int printf(const char*, ...); typedef long intptr_t; @@ -619,6 +641,7 @@ int Test33(id someid) { return (int)someid; } +// rdar://9636091 @interface I34 @property (nonatomic, retain) id newName __attribute__((ns_returns_not_retained)) ; @@ -646,6 +669,7 @@ void test35(void) { test36_helper(&x); test36_helper(xp); // expected-error {{passing address of non-local object to __autoreleasing parameter for write-back}} + // rdar://problem/9665710 __block id y; test36_helper(&y); ^{ test36_helper(&y); }(); @@ -654,6 +678,7 @@ void test35(void) { } void test36(int first, ...) { + // __builtin_va_list arglist; __builtin_va_start(arglist, first); id obj = __builtin_va_arg(arglist, id); @@ -669,6 +694,7 @@ void test37(Test37 *c) { (void)sizeof(id*); // no error. } +// rdar://problem/9887979 @interface Test38 @property int value; @end @@ -681,11 +707,13 @@ void test38(void) { } } +// rdar://10186536 @class NSColor; void _NSCalc(NSColor* color, NSColor* bezelColors[]) __attribute__((unavailable("not available in automatic reference counting mode"))); void _NSCalcBeze(NSColor* color, NSColor* bezelColors[]); // expected-error {{must explicitly describe intended ownership of an object array parameter}} +// rdar://9970739 @interface RestaurantTableViewCell - (void) restaurantLocation; @end @@ -701,6 +729,7 @@ void _NSCalcBeze(NSColor* color, NSColor* bezelColors[]); // expected-error {{mu } @end +// rdar://11814185 @interface Radar11814185 @property (nonatomic, weak) Radar11814185* picker1; + alloc; @@ -721,8 +750,8 @@ void _NSCalcBeze(NSColor* color, NSColor* bezelColors[]); // expected-error {{mu - init { return 0; } @end -// Warn on cases of initializing a weak variable with an Objective-C object -// literal. +// . Warn on cases of initializing a weak variable +// with an Objective-C object literal. void rdar12569201(id key, id value) { // Declarations. __weak id x = @"foo"; // no-warning @@ -746,6 +775,7 @@ void rdar12569201(id key, id value) { - (void)method:(id[])objects; // expected-error{{must explicitly describe intended ownership of an object array parameter}} @end +// rdar://13752880 @interface NSMutableArray : NSArray @end typedef __strong NSMutableArray * PSNS; @@ -756,6 +786,7 @@ void test(NSArray *x) { PSNS y2 = x; // expected-warning {{incompatible pointer types initializing 'NSMutableArray *' with an expression of type 'NSArray *'}} } +// rdar://15123684 @class NSString; void foo(NSArray *array) { @@ -765,6 +796,7 @@ void foo(NSArray *array) { } } +// rdar://16627903 extern void abort(void); #define TKAssertEqual(a, b) do{\ __typeof(a) a_res = (a);\ diff --git a/clang/test/SemaObjC/assign-rvalue-message.m b/clang/test/SemaObjC/assign-rvalue-message.m index 033339eb2def..c2cc1c8274ed 100644 --- a/clang/test/SemaObjC/assign-rvalue-message.m +++ b/clang/test/SemaObjC/assign-rvalue-message.m @@ -1,6 +1,7 @@ // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fsyntax-only -verify -Wno-objc-root-class %s // RUN: %clang_cc1 -std=c++98 -x objective-c++ -triple x86_64-apple-darwin10 -fsyntax-only -verify -Wno-objc-root-class %s // RUN: %clang_cc1 -std=c++11 -x objective-c++ -triple x86_64-apple-darwin10 -fsyntax-only -verify -Wno-objc-root-class %s +// rdar://9005189 @interface Foo @end diff --git a/clang/test/SemaObjC/attr-availability-1.m b/clang/test/SemaObjC/attr-availability-1.m index 79bcf28d250c..cd7968fc7294 100644 --- a/clang/test/SemaObjC/attr-availability-1.m +++ b/clang/test/SemaObjC/attr-availability-1.m @@ -1,6 +1,7 @@ // RUN: %clang_cc1 -triple x86_64-apple-darwin9.0.0 -fsyntax-only -verify %s // RUN: %clang_cc1 -x objective-c++ -std=c++11 -triple x86_64-apple-darwin9.0.0 -fsyntax-only -verify %s // RUN: %clang_cc1 -x objective-c++ -std=c++03 -triple x86_64-apple-darwin9.0.0 -fsyntax-only -verify %s +// rdar://18490958 #if !__has_feature(attribute_availability_with_version_underscores) # error "missing feature" @@ -21,6 +22,7 @@ - (void)overridden6 __attribute__((availability(macosx,introduced=10_3))); // expected-note{{overridden method is here}} @end +// rdar://11475360 @interface B : A - (void)method; // NOTE: we expect 'method' to *not* inherit availability. - (void)overridden __attribute__((availability(macosx,introduced=10_4))); // expected-warning{{overriding method introduced after overridden method on macOS (10.4 vs. 10.3)}} @@ -38,7 +40,8 @@ void f(A *a, B *b) { [b proto_method]; // expected-warning{{'proto_method' is deprecated: first deprecated in macOS 10.2}} } -// Warn about using a deprecated method when that method is re-implemented in a +// Test case for . Warn about +// using a deprecated method when that method is re-implemented in a // subclass where the redeclared method is not deprecated. @interface C - (void) method __attribute__((availability(macosx,introduced=10_1,deprecated=10_2))); // expected-note {{'method' has been explicitly marked deprecated here}} @@ -64,6 +67,7 @@ void f(A *a, B *b) { } @end +// rdar://18059669 @class NSMutableArray; @interface NSDictionary @@ -96,6 +100,7 @@ id NSNibOwner, topNibObjects; - (void)Meth2 __attribute__((availability(macosx,introduced=10_3.1))); // expected-warning {{use same version number separators '_' or '.'}} @end +// rdar://18804883 @protocol P18804883 - (void)proto_method __attribute__((availability(macosx,introduced=10_1,deprecated=NA))); // means nothing (not deprecated) @end diff --git a/clang/test/SemaObjC/attr-availability.m b/clang/test/SemaObjC/attr-availability.m index 68e4f70702cc..a4917e6b78af 100644 --- a/clang/test/SemaObjC/attr-availability.m +++ b/clang/test/SemaObjC/attr-availability.m @@ -26,6 +26,7 @@ - (void)unavailableMethod __attribute__((unavailable)); @end +// rdar://11475360 @interface B : A - (void)method; // NOTE: we expect 'method' to *not* inherit availability. - (void)partialMethod; // Likewise. @@ -74,7 +75,8 @@ void f_after_redecl(A *a, B *b) { [b partial_proto_method]; // no warning } -// Warn about using a deprecated method when that method is re-implemented in a +// Test case for . Warn about +// using a deprecated method when that method is re-implemented in a // subclass where the redeclared method is not deprecated. @interface C - (void) method __attribute__((availability(macosx,introduced=10.1,deprecated=10.2))); // expected-note {{'method' has been explicitly marked deprecated here}} @@ -100,6 +102,7 @@ void f_after_redecl(A *a, B *b) { } @end +// rdar://18059669 @class NSMutableArray; @interface NSDictionary @@ -208,7 +211,7 @@ void partialinter2(PartialI2* p) { // Test that both the use of the 'typedef' and the enum constant -// produces an error. +// produces an error. rdar://problem/20903588 #define UNAVAILABLE __attribute__((unavailable("not available"))) typedef enum MyEnum : int MyEnum; diff --git a/clang/test/SemaObjC/attr-deprecated.m b/clang/test/SemaObjC/attr-deprecated.m index 4b946712c002..1a965ab922c0 100644 --- a/clang/test/SemaObjC/attr-deprecated.m +++ b/clang/test/SemaObjC/attr-deprecated.m @@ -151,6 +151,7 @@ typedef struct { @property footype d __attribute((deprecated)); @end +// rdar://13569424 @interface NewI +(void)cmeth; @end @@ -168,6 +169,7 @@ typedef NewI DeprI __attribute__((deprecated("blah"))); // expected-note 4 {{'De } @end +// and : // - Using deprecated class name inside class should not warn about deprecation. // - Implementations of deprecated classes should not result in deprecation warnings. __attribute__((deprecated)) @@ -205,6 +207,7 @@ __attribute__((deprecated)) @end +// rdar://16068470 @interface TestBase @property (nonatomic, strong) id object __attribute__((deprecated("deprecated"))); // expected-note {{'object' has been explicitly marked deprecated here}} \ expected-note {{property 'object' is declared deprecated here}} \ @@ -239,6 +242,7 @@ expected-note {{property declared here}} @end +// rdar://18848183 @interface NSString - (const char *)cString __attribute__((availability(macosx,introduced=10.0 ,deprecated=10.4,message="" ))); // expected-note {{'cString' has been explicitly marked deprecated here}} @end @@ -248,6 +252,7 @@ const char * func(void) { return [PID cString]; // expected-warning {{'cString' is deprecated: first deprecated in macOS 10.4}} } +// rdar://18960378 @interface NSObject + (instancetype)alloc; - (instancetype)init; diff --git a/clang/test/SemaObjC/attr-designated-init.m b/clang/test/SemaObjC/attr-designated-init.m index 343203fe82e3..7d1e7008e8e0 100644 --- a/clang/test/SemaObjC/attr-designated-init.m +++ b/clang/test/SemaObjC/attr-designated-init.m @@ -240,6 +240,7 @@ __attribute__((objc_root_class)) } @end +// rdar://16261494 @class GEOPDAnalyticMetadata; // expected-note {{forward declaration of class here}} @implementation GEOPDAnalyticMetadata (PlaceCardExtras) // expected-error {{cannot find interface declaration for 'GEOPDAnalyticMetadata'}} @@ -249,6 +250,7 @@ __attribute__((objc_root_class)) } @end +// rdar://16305460 __attribute__((objc_root_class)) @interface MyObject - (instancetype)initWithStuff:(id)stuff __attribute__((objc_designated_initializer)); @@ -262,6 +264,7 @@ __attribute__((objc_root_class)) } @end +// rdar://16323233 __attribute__((objc_root_class)) @interface B4 -(id)initB4 NS_DESIGNATED_INITIALIZER; // expected-note 4 {{method marked as designated initializer of the class here}} diff --git a/clang/test/SemaObjC/attr-ns_returns_retained.m b/clang/test/SemaObjC/attr-ns_returns_retained.m index 37e1416d5e8d..6084289b1f83 100644 --- a/clang/test/SemaObjC/attr-ns_returns_retained.m +++ b/clang/test/SemaObjC/attr-ns_returns_retained.m @@ -1,6 +1,8 @@ // RUN: %clang_cc1 -fsyntax-only -fblocks -verify %s // RUN: %clang_cc1 -fsyntax-only -fobjc-arc -fblocks -verify %s +// rdar://20130079 + #if __has_feature(objc_arc) __attribute__((ns_returns_retained)) id (^invalidBlockRedecl)(void); // expected-note {{previous definition is here}} id (^invalidBlockRedecl)(void); //expected-error {{redefinition of 'invalidBlockRedecl' with a different type: 'id (^__strong)(void)' vs 'id ((^__strong))(void) __attribute__((ns_returns_retained))'}} diff --git a/clang/test/SemaObjC/attr-objc-gc.m b/clang/test/SemaObjC/attr-objc-gc.m index f26edfc93096..e9dcbd993cb3 100644 --- a/clang/test/SemaObjC/attr-objc-gc.m +++ b/clang/test/SemaObjC/attr-objc-gc.m @@ -22,6 +22,7 @@ static id [[clang::objc_gc(weak)]] j; [[clang::objc_gc(weak)]] static id k; // expected-warning {{applying attribute 'objc_gc' to a declaration is deprecated; apply it to the type instead}} static id l [[clang::objc_gc(weak)]]; // expected-warning {{applying attribute 'objc_gc' to a declaration is deprecated; apply it to the type instead}} +// rdar://problem/9126213 void test2(id __attribute((objc_gc(strong))) *strong, id __attribute((objc_gc(weak))) *weak) { void *opaque; diff --git a/clang/test/SemaObjC/bad-property-synthesis-crash.m b/clang/test/SemaObjC/bad-property-synthesis-crash.m index a5945c2fe636..94c680489d91 100644 --- a/clang/test/SemaObjC/bad-property-synthesis-crash.m +++ b/clang/test/SemaObjC/bad-property-synthesis-crash.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -fsyntax-only -verify -Wno-objc-root-class %s +// rdar://10177744 @interface Foo @property (nonatomic, retain) NSString* what; // expected-error {{unknown type name 'NSString'}} \ diff --git a/clang/test/SemaObjC/block-attr.m b/clang/test/SemaObjC/block-attr.m index d08ea67375fd..80092fc31c1a 100644 --- a/clang/test/SemaObjC/block-attr.m +++ b/clang/test/SemaObjC/block-attr.m @@ -6,6 +6,7 @@ @property void(^someBlock)(void); // expected-warning {{'copy' attribute must be specified for the block property}} @property(copy) void(^OK)(void); +// rdar://8820813 @property (readonly) void (^block)(void); // readonly property is OK @end diff --git a/clang/test/SemaObjC/block-id-as-block-argtype.m b/clang/test/SemaObjC/block-id-as-block-argtype.m index 11be5a33b577..e3a97fb900c4 100644 --- a/clang/test/SemaObjC/block-id-as-block-argtype.m +++ b/clang/test/SemaObjC/block-id-as-block-argtype.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 %s -fsyntax-only -verify -fblocks +// rdar://10734265 @class NSObject; typedef void (^block1_t)(int arg); diff --git a/clang/test/SemaObjC/block-on-method-param.m b/clang/test/SemaObjC/block-on-method-param.m index 2ef44abc5d85..d5cbc8a822d4 100644 --- a/clang/test/SemaObjC/block-on-method-param.m +++ b/clang/test/SemaObjC/block-on-method-param.m @@ -1,6 +1,7 @@ // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fsyntax-only -verify -fblocks -Wno-objc-root-class %s // RUN: %clang_cc1 -x objective-c++ -triple x86_64-apple-darwin10 -fsyntax-only -verify -fblocks -Wno-objc-root-class %s +// rdar://10681443 @interface I - (void) compileSandboxProfileAndReturnError:(__attribute__((__blocks__(byref))) id)errorp; // expected-error {{__block attribute not allowed, only allowed on local variables}} @end diff --git a/clang/test/SemaObjC/block-return.m b/clang/test/SemaObjC/block-return.m index aab5c28fd655..1c2d9f6d0e86 100644 --- a/clang/test/SemaObjC/block-return.m +++ b/clang/test/SemaObjC/block-return.m @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fsyntax-only -verify -fblocks -fobjc-gc-only %s // expected-no-diagnostics +// rdar://8979379 @interface NSString - (__attribute__((objc_gc(strong))) const char *)UTF8String; diff --git a/clang/test/SemaObjC/block-type-safety.m b/clang/test/SemaObjC/block-type-safety.m index 8509e6f35852..a587dd10db5f 100644 --- a/clang/test/SemaObjC/block-type-safety.m +++ b/clang/test/SemaObjC/block-type-safety.m @@ -107,6 +107,7 @@ void test3(void) { f4(^(NSArray* a) { }); // expected-error {{incompatible block pointer types passing 'void (^)(NSArray *)' to parameter of type 'void (^)(id

)'}} } +// rdar : //8302845 @protocol Foo @end @interface Baz @end @@ -123,6 +124,8 @@ int test4 (void) { return 0; } +// rdar:// 9118343 + @protocol NSCopying @end @interface NSAllArray @@ -142,6 +145,7 @@ int test5(void) { // A parameter is used inside a block, so error on changing a parameter type // to a more specific than an argument type it will be called with. + // rdar://problem/52788423 void (^blockWithParam)(NSAllArray *); void (^genericBlockWithParam)(id); genericBlockWithParam = blockWithParam; // expected-error {{incompatible block pointer types assigning to 'void (^)(id)' from 'void (^)(NSAllArray *)'}} @@ -168,6 +172,7 @@ int test5(void) { } #endif +// rdar://10798770 typedef int NSInteger; typedef enum : NSInteger {NSOrderedAscending = -1L, NSOrderedSame, NSOrderedDescending} NSComparisonResult; @@ -185,6 +190,7 @@ void f(void) { }]; } +// rdar://16739120 @protocol P1 @end @protocol P2 @end @@ -226,6 +232,7 @@ void Test3(void) { NSObject *NSO6 = aBlock; // Ok } +// rdar://problem/19420731 typedef NSObject NSObject_P1; typedef NSObject_P1 NSObject_P1_P2; diff --git a/clang/test/SemaObjC/blocks.m b/clang/test/SemaObjC/blocks.m index f8c012951203..4a13d1f06465 100644 --- a/clang/test/SemaObjC/blocks.m +++ b/clang/test/SemaObjC/blocks.m @@ -128,6 +128,7 @@ void testCStyleEnumInference(bool arg) { return value; // expected-error {{return type 'enum CStyleEnum' must match previous return type 'int'}} }; + // rdar://13200889 extern void check_enum(void); a = ^{ return (arg ? (CSE_Value) : (check_enum(), (!arg ? CSE_Value2 : getCSE()))); diff --git a/clang/test/SemaObjC/boxing-illegal.m b/clang/test/SemaObjC/boxing-illegal.m index 410494c6d527..87e9e5e86e50 100644 --- a/clang/test/SemaObjC/boxing-illegal.m +++ b/clang/test/SemaObjC/boxing-illegal.m @@ -70,6 +70,7 @@ void testStringLiteral(void) { s = @("\pabc"); // expected-error {{illegal type 'unsigned char *' used in a boxed expression}} } +// rdar://13333205 @class NSMutableDictionary; @interface NSMutableArray diff --git a/clang/test/SemaObjC/builtin_objc_assign_ivar.m b/clang/test/SemaObjC/builtin_objc_assign_ivar.m index 1c8ba8f22dc7..6c28178de0ec 100644 --- a/clang/test/SemaObjC/builtin_objc_assign_ivar.m +++ b/clang/test/SemaObjC/builtin_objc_assign_ivar.m @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -x objective-c %s -fsyntax-only -verify // expected-no-diagnostics +// rdar://9362887 typedef __typeof__(((int*)0)-((int*)0)) ptrdiff_t; extern id objc_assign_ivar(id value, id dest, ptrdiff_t offset); diff --git a/clang/test/SemaObjC/builtin_objc_lib_functions.m b/clang/test/SemaObjC/builtin_objc_lib_functions.m index a98abdf6039c..211c47246460 100644 --- a/clang/test/SemaObjC/builtin_objc_lib_functions.m +++ b/clang/test/SemaObjC/builtin_objc_lib_functions.m @@ -1,7 +1,9 @@ // RUN: %clang_cc1 -x objective-c %s -fsyntax-only -verify +// rdar://8592641 Class f0(void) { return objc_getClass("a"); } // expected-error {{call to undeclared library function 'objc_getClass' with type 'id (const char *)'}} \ // expected-note {{include the header or explicitly provide a declaration for 'objc_getClass'}} +// rdar://8735023 Class f1(void) { return objc_getMetaClass("a"); } // expected-error {{call to undeclared library function 'objc_getMetaClass' with type 'id (const char *)'}} \ // expected-note {{include the header or explicitly provide a declaration for 'objc_getMetaClass'}} diff --git a/clang/test/SemaObjC/builtin_objc_msgSend.m b/clang/test/SemaObjC/builtin_objc_msgSend.m index d98564c04a15..ffa16e70bf85 100644 --- a/clang/test/SemaObjC/builtin_objc_msgSend.m +++ b/clang/test/SemaObjC/builtin_objc_msgSend.m @@ -1,7 +1,9 @@ // RUN: %clang_cc1 %s -fsyntax-only -verify // expected-no-diagnostics +// rdar://8632525 extern id objc_msgSend(id self, SEL op, ...); +// rdar://12489098 struct objc_super { id receiver; Class super_class; diff --git a/clang/test/SemaObjC/category-1.m b/clang/test/SemaObjC/category-1.m index 4fe46dd22fd8..89ac550578c5 100644 --- a/clang/test/SemaObjC/category-1.m +++ b/clang/test/SemaObjC/category-1.m @@ -60,6 +60,8 @@ @implementation XCRemoteComputerManager(x) // expected-error {{reimplementation of category 'x' for class 'XCRemoteComputerManager'}} @end +// + @protocol MultipleCat_P -(void) im0; // expected-note {{method 'im0' declared here}} @end @@ -73,11 +75,12 @@ @implementation MultipleCat_I // expected-warning {{method 'im0' in protocol 'MultipleCat_P' not implemented}} @end -// Handle nameless categories with no name that refer to an undefined class. +// - Handle nameless categories with no name that refer +// to an undefined class @interface RDar7680391 () @end // expected-error{{cannot find interface declaration}} -// Handle @synthesize being used in conjunction with explicitly declared -// accessor. +// - Handle @synthesize being used in conjunction +// with explicitly declared accessor. @interface RDar8891119 { id _name; } @@ -92,10 +95,12 @@ @synthesize name = _name; @end +// rdar://10968158 @class I; // expected-note {{forward declaration}} @implementation I(cat) // expected-error{{cannot find interface declaration}} @end +// @interface Unrelated - foo; @end diff --git a/clang/test/SemaObjC/check-objcbridge-related-attribute-lookup.m b/clang/test/SemaObjC/check-objcbridge-related-attribute-lookup.m index 89486f033642..39b66bc8e88f 100644 --- a/clang/test/SemaObjC/check-objcbridge-related-attribute-lookup.m +++ b/clang/test/SemaObjC/check-objcbridge-related-attribute-lookup.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -fsyntax-only -x objective-c -verify -Wno-objc-root-class %s +// rdar://15499111 typedef struct __attribute__((objc_bridge_related(NSColor,colorXWithCGColor:,CXGColor))) CGColor *CGColorRef; // expected-note 2 {{declared here}} diff --git a/clang/test/SemaObjC/class-bitfield.m b/clang/test/SemaObjC/class-bitfield.m index e427c6179214..0e88c44ae0ff 100644 --- a/clang/test/SemaObjC/class-bitfield.m +++ b/clang/test/SemaObjC/class-bitfield.m @@ -4,11 +4,13 @@ { int a : -1; // expected-error{{bit-field 'a' has negative width}} + // rdar://6081627 int b : 33; // expected-error{{width of bit-field 'b' (33 bits) exceeds the width of its type (32 bits)}} int c : (1 + 0.25); // expected-error{{integer constant expression must have integer type}} int d : (int)(1 + 0.25); + // rdar://6138816 int e : 0; // expected-error {{bit-field 'e' has zero width}} } @end diff --git a/clang/test/SemaObjC/class-extension-after-implementation.m b/clang/test/SemaObjC/class-extension-after-implementation.m index ee3f0c1f5853..ccfd3ef0e39f 100644 --- a/clang/test/SemaObjC/class-extension-after-implementation.m +++ b/clang/test/SemaObjC/class-extension-after-implementation.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -fsyntax-only -verify -Wno-objc-root-class %s +// rdar://7822210 @interface A @end diff --git a/clang/test/SemaObjC/class-extension-dup-methods.m b/clang/test/SemaObjC/class-extension-dup-methods.m index 2399b24fccca..446d2be0378e 100644 --- a/clang/test/SemaObjC/class-extension-dup-methods.m +++ b/clang/test/SemaObjC/class-extension-dup-methods.m @@ -14,6 +14,7 @@ - (int) OK; @end +// rdar://16312105 @class NSObject; __attribute__((objc_root_class)) @interface AppDelegate diff --git a/clang/test/SemaObjC/class-message-protocol-lookup.m b/clang/test/SemaObjC/class-message-protocol-lookup.m index c6bc24b3133a..a939707d5276 100644 --- a/clang/test/SemaObjC/class-message-protocol-lookup.m +++ b/clang/test/SemaObjC/class-message-protocol-lookup.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -fsyntax-only -verify -Wno-objc-root-class %s +// rdar://9224670 @interface RandomObject { @private @@ -32,6 +33,8 @@ int main (void) return 0; } +// rdar://22812517 + @protocol NSObject - (int)respondsToSelector:(SEL)aSelector; diff --git a/clang/test/SemaObjC/class-property-access.m b/clang/test/SemaObjC/class-property-access.m index dee85cb08851..73f9d308d5f0 100644 --- a/clang/test/SemaObjC/class-property-access.m +++ b/clang/test/SemaObjC/class-property-access.m @@ -11,6 +11,7 @@ int main (void) return Test.one.two; } +// rdar://16650575 __attribute__((objc_root_class)) @interface RootClass { Class isa; diff --git a/clang/test/SemaObjC/class-proto-1.m b/clang/test/SemaObjC/class-proto-1.m index 2658f2f1930b..51a899341e31 100644 --- a/clang/test/SemaObjC/class-proto-1.m +++ b/clang/test/SemaObjC/class-proto-1.m @@ -36,6 +36,7 @@ @interface I4 : U2 @end +// rdar://16111182 @interface NSObject @end @protocol UndefinedParentProtocol; // expected-note {{protocol 'UndefinedParentProtocol' has no definition}} diff --git a/clang/test/SemaObjC/class-protocol-method-match.m b/clang/test/SemaObjC/class-protocol-method-match.m index e3096d3045a3..7c936e653fba 100644 --- a/clang/test/SemaObjC/class-protocol-method-match.m +++ b/clang/test/SemaObjC/class-protocol-method-match.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -Woverriding-method-mismatch -fsyntax-only -verify -Wno-objc-root-class %s +// rdar://9352731 @protocol Bar @required diff --git a/clang/test/SemaObjC/class-unavail-warning.m b/clang/test/SemaObjC/class-unavail-warning.m index fda82289ad2a..fa99269daf5a 100644 --- a/clang/test/SemaObjC/class-unavail-warning.m +++ b/clang/test/SemaObjC/class-unavail-warning.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -fsyntax-only -fblocks -triple x86_64-apple-darwin10 -verify %s +// rdar://9092208 __attribute__((unavailable("not available"))) @interface MyClass { // expected-note 7 {{'MyClass' has been explicitly marked unavailable here}} @@ -40,6 +41,7 @@ int main(void) { return 0; } +// rdar://16681279 @interface NSObject @end __attribute__((visibility("default"))) __attribute__((availability(macosx,unavailable))) diff --git a/clang/test/SemaObjC/compare-qualified-class.m b/clang/test/SemaObjC/compare-qualified-class.m index 0f4f7add531a..e9df28209f00 100644 --- a/clang/test/SemaObjC/compare-qualified-class.m +++ b/clang/test/SemaObjC/compare-qualified-class.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -fsyntax-only -verify %s +// rdar://8191774 @protocol SomeProtocol @end @@ -27,6 +28,7 @@ int main (void) { classA == classD; // expected-warning {{comparison of distinct pointer types ('Class' and 'Class')}} } +// rdar://18491222 @protocol NSObject @end @interface NSObject @end diff --git a/clang/test/SemaObjC/comptypes-10.m b/clang/test/SemaObjC/comptypes-10.m index ed941dbe985d..5f16a6e654f1 100644 --- a/clang/test/SemaObjC/comptypes-10.m +++ b/clang/test/SemaObjC/comptypes-10.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -fsyntax-only -verify -Wno-objc-root-class %s +//rdar: //8591619 // pr8453 @protocol NSCopying @end @@ -32,6 +33,7 @@ void test(id bar) NSObject *Init = bar; // expected-warning {{initializing 'NSObject *' with an expression of incompatible type 'id'}} } +// rdar://8843851 @interface NSObject (CAT) + (struct S*)Meth : (struct S*)arg; @end diff --git a/clang/test/SemaObjC/comptypes-legal.m b/clang/test/SemaObjC/comptypes-legal.m index 09c3a7261bd5..f89aba294b86 100644 --- a/clang/test/SemaObjC/comptypes-legal.m +++ b/clang/test/SemaObjC/comptypes-legal.m @@ -36,6 +36,7 @@ void foo(void) [Derived registerFunc: ExternFunc]; // expected-error{{incompatible function pointer types sending 'NSObject *(NSObject *, NSObject *)' to parameter of type 'FuncSignature *' (aka 'id (*)(NSObject *, Derived *)')}} } +// rdar://10751015 @protocol NSCopying @end @interface I - (void) Meth : (id )aKey; // expected-note {{passing argument to parameter 'aKey' here}} diff --git a/clang/test/SemaObjC/conditional-expr-4.m b/clang/test/SemaObjC/conditional-expr-4.m index c0c38aa98054..56bcfc2de6fd 100644 --- a/clang/test/SemaObjC/conditional-expr-4.m +++ b/clang/test/SemaObjC/conditional-expr-4.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -fsyntax-only -verify %s +// #define nil ((void*) 0) diff --git a/clang/test/SemaObjC/conditional-expr-7.m b/clang/test/SemaObjC/conditional-expr-7.m index baf81f91247c..5b4a8632b27f 100644 --- a/clang/test/SemaObjC/conditional-expr-7.m +++ b/clang/test/SemaObjC/conditional-expr-7.m @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -fsyntax-only -verify %s // expected-no-diagnostics +// radar 7682116 @interface Super @end diff --git a/clang/test/SemaObjC/conditional-expr-8.m b/clang/test/SemaObjC/conditional-expr-8.m index bf945c6029ab..35f4e75314bd 100644 --- a/clang/test/SemaObjC/conditional-expr-8.m +++ b/clang/test/SemaObjC/conditional-expr-8.m @@ -1,6 +1,7 @@ // RUN: %clang_cc1 -fsyntax-only -verify %s // expected-no-diagnostics +// rdar://9296866 @interface NSResponder @end @@ -23,6 +24,7 @@ } @end +// rdar://problem/19572837 @protocol NSObject @end diff --git a/clang/test/SemaObjC/conflict-atomic-property.m b/clang/test/SemaObjC/conflict-atomic-property.m index e707b7dcca6e..033980c38c73 100644 --- a/clang/test/SemaObjC/conflict-atomic-property.m +++ b/clang/test/SemaObjC/conflict-atomic-property.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -fsyntax-only -verify %s +// rdar://10260017 @interface Foo @property (nonatomic, assign, atomic) float dummy; // expected-error {{property attributes 'atomic' and 'nonatomic' are mutually exclusive}} diff --git a/clang/test/SemaObjC/conflict-nonfragile-abi2.m b/clang/test/SemaObjC/conflict-nonfragile-abi2.m index f8ab07eb0b1f..d0d6be84a65e 100644 --- a/clang/test/SemaObjC/conflict-nonfragile-abi2.m +++ b/clang/test/SemaObjC/conflict-nonfragile-abi2.m @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -verify -fsyntax-only -Wno-objc-root-class %s // expected-no-diagnostics +// rdar://8225011 int glob; @@ -12,10 +13,12 @@ int glob; @property int r; @end +// rdar://9027673 // Warning on future name lookup rule is removed. @implementation I - (int) Meth { return glob; } // no warning @synthesize glob; +// rdar://8248681 - (int) Meth1: (int) p { extern int le; int l = 1; diff --git a/clang/test/SemaObjC/continuation-class-err.m b/clang/test/SemaObjC/continuation-class-err.m index b5d31bb1c1df..8378c3f9f8bf 100644 --- a/clang/test/SemaObjC/continuation-class-err.m +++ b/clang/test/SemaObjC/continuation-class-err.m @@ -40,6 +40,7 @@ @synthesize fee = _fee; @end +// rdar://10752081 @interface MyOtherClass() // expected-error {{cannot find interface declaration for 'MyOtherClass'}} { id array; diff --git a/clang/test/SemaObjC/continuation-class-property.m b/clang/test/SemaObjC/continuation-class-property.m index b24583fce27d..83aa796309f5 100644 --- a/clang/test/SemaObjC/continuation-class-property.m +++ b/clang/test/SemaObjC/continuation-class-property.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -fsyntax-only -verify %s +// radar 7509234 @protocol Foo @property (readonly, copy) id foos; @@ -22,6 +23,7 @@ @end +// rdar://10142679 @class NSString; typedef struct { @@ -40,6 +42,7 @@ typedef struct { @property (readwrite, strong) NSRect bar; // expected-error {{type of property 'NSRect' in class extension does not match property type in primary class}} @end +// rdar://10655530 struct S; struct S1; @interface STAdKitContext @@ -59,6 +62,7 @@ struct S1; @property (nonatomic, readwrite, assign) struct S2 *httpRequest4; @end +// rdar://15859862 @protocol ADCameraJSO_Bindings @property (nonatomic, readonly) NSString *currentPictureURI; @end diff --git a/clang/test/SemaObjC/crash-on-objc-bool-literal.m b/clang/test/SemaObjC/crash-on-objc-bool-literal.m index 4850514cb6da..47e1ce284bb8 100644 --- a/clang/test/SemaObjC/crash-on-objc-bool-literal.m +++ b/clang/test/SemaObjC/crash-on-objc-bool-literal.m @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -fsyntax-only -verify %s // RUN: %clang_cc1 -x objective-c++ -fsyntax-only -verify %s +// rdar://12456743 typedef signed char BOOL; diff --git a/clang/test/SemaObjC/dealloc.m b/clang/test/SemaObjC/dealloc.m index bbf154c6c401..c1bd0b5ed463 100644 --- a/clang/test/SemaObjC/dealloc.m +++ b/clang/test/SemaObjC/dealloc.m @@ -1,9 +1,10 @@ // RUN: %clang_cc1 -triple x86_64-apple-darwin11 -fsyntax-only -fobjc-arc -fblocks -Wdealloc-in-category -verify %s // RUN: not %clang_cc1 -triple x86_64-apple-darwin11 -fsyntax-only -fobjc-arc -fblocks -Wdealloc-in-category -fdiagnostics-parseable-fixits %s 2>&1 | FileCheck %s +// rdar://11987838 @protocol NSObject - dealloc; // expected-error {{return type must be correctly specified as 'void' under ARC, instead of 'id'}} -// CHECK: fix-it:"{{.*}}":{5:3-5:3}:"(void)" +// CHECK: fix-it:"{{.*}}":{6:3-6:3}:"(void)" @end @protocol Foo @end @@ -17,11 +18,12 @@ @implementation Baz - (id) dealloc { // expected-error {{return type must be correctly specified as 'void' under ARC, instead of 'id'}} -// CHECK: fix-it:"{{.*}}":{19:5-19:7}:"void" +// CHECK: fix-it:"{{.*}}":{20:5-20:7}:"void" } @end +// rdar://15397430 @interface Base - (void)dealloc; @end @@ -38,6 +40,7 @@ } @end +// rdar://15919775 @interface NSObject @end @interface NSError:NSObject @end diff --git a/clang/test/SemaObjC/debugger-cast-result-to-id.m b/clang/test/SemaObjC/debugger-cast-result-to-id.m index 4be8039c9f97..c3c072a0042b 100644 --- a/clang/test/SemaObjC/debugger-cast-result-to-id.m +++ b/clang/test/SemaObjC/debugger-cast-result-to-id.m @@ -10,6 +10,7 @@ void test_unknown_anytype_receiver(void) { id y = test1(); } +// rdar://10988847 @class NSString; // expected-note {{forward declaration of class here}} void rdar10988847(void) { diff --git a/clang/test/SemaObjC/debugger-support.m b/clang/test/SemaObjC/debugger-support.m index 392a8a9b2489..c005147d394b 100644 --- a/clang/test/SemaObjC/debugger-support.m +++ b/clang/test/SemaObjC/debugger-support.m @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fdebugger-support %s -emit-llvm -o - | FileCheck %s +// rdar://problem/9416370 void test0(id x) { struct A { int w, x, y, z; }; struct A result = (struct A) [x makeStruct]; diff --git a/clang/test/SemaObjC/default-synthesize-1.m b/clang/test/SemaObjC/default-synthesize-1.m index 76cd1554e72c..573434b3b324 100644 --- a/clang/test/SemaObjC/default-synthesize-1.m +++ b/clang/test/SemaObjC/default-synthesize-1.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -fsyntax-only -Wobjc-missing-property-synthesis -verify -Wno-objc-root-class -triple=x86_64-apple-macos10.10 %s +// rdar://11295716 @interface NSObject - (void) release; @@ -85,6 +86,7 @@ } @end +// rdar://8349319 // No default synthesis if implementation has getter (readonly) and setter(readwrite) methods. @interface DSATextSearchResult @property(assign,readonly) float relevance; @@ -123,6 +125,7 @@ @synthesize x; // expected-error {{cannot synthesize property 'x' with incomplete type 'enum A'}} @end +// rdar://17774815 @interface ZXParsedResult @property (nonatomic, copy, readonly) NSString *description; // expected-note {{property declared here}} @end diff --git a/clang/test/SemaObjC/default-synthesize-2.m b/clang/test/SemaObjC/default-synthesize-2.m index ec67baf4dd00..1980b91dbe98 100644 --- a/clang/test/SemaObjC/default-synthesize-2.m +++ b/clang/test/SemaObjC/default-synthesize-2.m @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -x objective-c -fsyntax-only -verify -Wno-objc-root-class %s // RUN: %clang_cc1 -x objective-c++ -fsyntax-only -verify -Wno-objc-root-class %s +// rdar://8843851 @interface StopAccessingIvarsDirectlyExample @property(strong) id name, rank, serialNumber; @@ -45,6 +46,7 @@ @property (readwrite, assign) id uid; // expected-note {{property declared here}} @end +// rdar://11671080 @implementation Test3 // expected-warning {{autosynthesized property 'uid' will use synthesized instance variable '_uid', not existing instance variable 'uid'}} // Oops, forgot to write @synthesize! will be default synthesized - (void) myMethod { @@ -113,6 +115,7 @@ int* _object; } @end +// rdar://11671080 @interface Test8 { id _y; diff --git a/clang/test/SemaObjC/default-synthesize-3.m b/clang/test/SemaObjC/default-synthesize-3.m index 5d253d2d8a8a..9a05408aa060 100644 --- a/clang/test/SemaObjC/default-synthesize-3.m +++ b/clang/test/SemaObjC/default-synthesize-3.m @@ -40,6 +40,7 @@ __attribute ((objc_requires_property_definitions)) // expected-error {{'objc_req __attribute ((objc_requires_property_definitions)) // expected-error {{'objc_requires_property_definitions' attribute only applies to Objective-C interfaces}} @protocol P @end +// rdar://13388503 @interface NSObject @end @protocol Foo @property (readonly) char isFoo; // expected-note {{property declared here}} @@ -111,6 +112,7 @@ __attribute ((objc_requires_property_definitions)) // expected-error {{'objc_req @implementation S // expected-note 3 {{detected while default synthesizing properties in class implementation}} @end +// rdar://14085456 // No warning must be issued in this test. @interface ParentObject @end @@ -127,6 +129,7 @@ __attribute ((objc_requires_property_definitions)) // expected-error {{'objc_req @synthesize six; @end +// rdar://14094682 // no warning in this test @interface ISAChallenge : NSObject { } @@ -155,6 +158,7 @@ __attribute ((objc_requires_property_definitions(1))) // expected-error {{'objc_ @interface I1 @end +// rdar://15051465 @protocol SubFooling @property(nonatomic, readonly) id hoho; // expected-note 2 {{property declared here}} @end @@ -177,6 +181,7 @@ typedef NSObject FooObject; @implementation Fail // expected-warning {{auto property synthesis will not synthesize property 'muahahaha' declared in protocol 'Fooing'}} expected-warning {{auto property synthesis will not synthesize property 'hoho' declared in protocol 'SubFooling'}} @end // expected-note 2 {{add a '@synthesize' directive}} +// rdar://16089191 @class NSURL; @interface Root diff --git a/clang/test/SemaObjC/default-synthesize.m b/clang/test/SemaObjC/default-synthesize.m index cbc037cbc271..61ce9317c519 100644 --- a/clang/test/SemaObjC/default-synthesize.m +++ b/clang/test/SemaObjC/default-synthesize.m @@ -102,6 +102,7 @@ @implementation SubClass @end +// rdar://7920807 @interface C @end @interface C (Category) @property int p; // expected-note 2 {{property declared here}} @@ -124,6 +125,7 @@ #endif @end +// rdar://10567333 @protocol MyProtocol @property (nonatomic, strong) NSString *requiredString; // expected-note {{property declared here}} @@ -137,6 +139,7 @@ @implementation MyClass // expected-warning {{auto property synthesis will not synthesize property 'requiredString' declared in protocol 'MyProtocol'}} @end // expected-note {{add a '@synthesize' directive}} +// rdar://18152478 @protocol NSObject @end @protocol TMSourceManagerDelegate @end @@ -158,6 +161,7 @@ @implementation TimeZoneManager @end +// rdar://18179833 @protocol BaseProt @property (assign) id prot; @end diff --git a/clang/test/SemaObjC/delay-parsing-cfunctions.m b/clang/test/SemaObjC/delay-parsing-cfunctions.m index df091139f3b7..1cfa664956cd 100644 --- a/clang/test/SemaObjC/delay-parsing-cfunctions.m +++ b/clang/test/SemaObjC/delay-parsing-cfunctions.m @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -fsyntax-only -Werror -verify -Wno-objc-root-class -Wno-strict-prototypes %s // expected-no-diagnostics +// rdar://10387088 @interface MyClass - (void)someMethod; diff --git a/clang/test/SemaObjC/deprecate_function_containers.m b/clang/test/SemaObjC/deprecate_function_containers.m index e8dd495e8c92..f8aa10b703bf 100644 --- a/clang/test/SemaObjC/deprecate_function_containers.m +++ b/clang/test/SemaObjC/deprecate_function_containers.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -fsyntax-only -fblocks -verify -Wno-objc-root-class %s +// rdar://10414277 @protocol P void p_foo(void) {} // expected-warning {{function definition inside an Objective-C container is deprecated}} @@ -23,6 +24,7 @@ inline void v_imp_foo(void) {} void cat_imp_foo(void) {} @end +// rdar://16859666 @interface PrototypeState @property (strong, readwrite) id moin1; // expected-note {{property declared here}} diff --git a/clang/test/SemaObjC/deprecated-objc-introspection.m b/clang/test/SemaObjC/deprecated-objc-introspection.m index 4d296a61bba7..e80a330e320d 100644 --- a/clang/test/SemaObjC/deprecated-objc-introspection.m +++ b/clang/test/SemaObjC/deprecated-objc-introspection.m @@ -25,6 +25,7 @@ static void func(void) { id x; + // rdar://8290002 [(*x).isa self]; // expected-warning {{direct access to Objective-C's isa is deprecated in favor of object_getClass()}} [x->isa self]; // expected-warning {{direct access to Objective-C's isa is deprecated in favor of object_getClass()}} @@ -40,6 +41,7 @@ static void func(void) { expected-warning{{receiver type 'struct objc_class *' is not 'id' or interface pointer, consider casting it to 'id'}} } +// rdar://11702488 // If an ivar is (1) the first ivar in a root class and (2) named `isa`, // then it should get the same warnings that id->isa gets. diff --git a/clang/test/SemaObjC/direct-synthesized-ivar-access.m b/clang/test/SemaObjC/direct-synthesized-ivar-access.m index 5b7203f98a03..7ec333723b66 100644 --- a/clang/test/SemaObjC/direct-synthesized-ivar-access.m +++ b/clang/test/SemaObjC/direct-synthesized-ivar-access.m @@ -1,5 +1,7 @@ // RUN: %clang_cc1 -fsyntax-only -verify -Wno-objc-root-class %s // expected-no-diagnostics +// rdar://8673791 +// rdar://9943851 @interface I { } diff --git a/clang/test/SemaObjC/dist-object-modifiers.m b/clang/test/SemaObjC/dist-object-modifiers.m index ddfe7e13f0bc..aa7e3405c57b 100644 --- a/clang/test/SemaObjC/dist-object-modifiers.m +++ b/clang/test/SemaObjC/dist-object-modifiers.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -fsyntax-only -verify -Wno-objc-root-class %s +// rdar://7076235 @protocol P - (bycopy id)serverPID; // expected-note {{previous declaration is here}} diff --git a/clang/test/SemaObjC/duplicate-property-class-extension.m b/clang/test/SemaObjC/duplicate-property-class-extension.m index efeef20fa973..696768d470bc 100644 --- a/clang/test/SemaObjC/duplicate-property-class-extension.m +++ b/clang/test/SemaObjC/duplicate-property-class-extension.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -fsyntax-only -verify %s +// rdar://7629420 @interface Foo @property (readonly) char foo; diff --git a/clang/test/SemaObjC/encode-typeof-test.m b/clang/test/SemaObjC/encode-typeof-test.m index 7edfa66ec8f9..d63164dc9804 100644 --- a/clang/test/SemaObjC/encode-typeof-test.m +++ b/clang/test/SemaObjC/encode-typeof-test.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -fsyntax-only -verify -Wno-objc-root-class %s +// rdar://16655340 @protocol X, Y, Z; @class Foo; @@ -24,6 +25,7 @@ int main(void) typeof(@encode(typeof(i))) e = @encode(typeof(Intf)); // expected-warning {{initializer-string for char array is too long}} } +// rdar://9255564 typedef short short8 __attribute__((ext_vector_type(8))); struct foo { diff --git a/clang/test/SemaObjC/enum-fixed-type.m b/clang/test/SemaObjC/enum-fixed-type.m index 13dc677a623b..987eb85f33d3 100644 --- a/clang/test/SemaObjC/enum-fixed-type.m +++ b/clang/test/SemaObjC/enum-fixed-type.m @@ -33,17 +33,20 @@ void test(void) { Enumeration e = value; } +// typedef enum : long { Foo } IntegerEnum; int arr[(sizeof(__typeof__(Foo)) == sizeof(__typeof__(IntegerEnum)))? 1 : -1]; int arr1[(sizeof(__typeof__(Foo)) == sizeof(__typeof__(long)))? 1 : -1]; int arr2[(sizeof(__typeof__(IntegerEnum)) == sizeof(__typeof__(long)))? 1 : -1]; +// typedef enum : long long { Bar = -1 } LongLongEnum; int arr3[(long long)Bar == (long long)-1 ? 1 : -1]; typedef enum : Integer { BaseElem } BaseEnum; typedef enum : BaseEnum { DerivedElem } DerivedEnum; // expected-error {{non-integral type 'BaseEnum' is an invalid underlying type}} +// enum MyEnum : _Bool { MyThing = 0 }; diff --git a/clang/test/SemaObjC/err-ivar-access-in-class-method.m b/clang/test/SemaObjC/err-ivar-access-in-class-method.m index 3ada25c9b790..2a5e0dca7704 100644 --- a/clang/test/SemaObjC/err-ivar-access-in-class-method.m +++ b/clang/test/SemaObjC/err-ivar-access-in-class-method.m @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -x objective-c -fsyntax-only -verify -Wno-objc-root-class %s // RUN: %clang_cc1 -x objective-c++ -fsyntax-only -verify -Wno-objc-root-class %s +// rdar://10593227 @class UIWindow; diff --git a/clang/test/SemaObjC/error-implicit-property.m b/clang/test/SemaObjC/error-implicit-property.m index 4c7f60d1c0b4..7e795c718829 100644 --- a/clang/test/SemaObjC/error-implicit-property.m +++ b/clang/test/SemaObjC/error-implicit-property.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -Wno-objc-root-class -verify %s +// rdar://11273060 @interface I - (void) setP : (int)arg; diff --git a/clang/test/SemaObjC/error-missing-getter.m b/clang/test/SemaObjC/error-missing-getter.m index 406e267aba63..13dc8e5bb13f 100644 --- a/clang/test/SemaObjC/error-missing-getter.m +++ b/clang/test/SemaObjC/error-missing-getter.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -fsyntax-only -verify %s +// rdar://8155806 @interface Subclass { @@ -16,6 +17,8 @@ int func (int arg, Subclass *x) { return x.setterOnly + 1; // expected-error {{no getter method for read from property}} } +// + @interface TestClass + (void) setSetterOnly : (int) arg; @end diff --git a/clang/test/SemaObjC/error-outof-scope-property-use.m b/clang/test/SemaObjC/error-outof-scope-property-use.m index 413161c2ef2d..3072347ab5e9 100644 --- a/clang/test/SemaObjC/error-outof-scope-property-use.m +++ b/clang/test/SemaObjC/error-outof-scope-property-use.m @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -fsyntax-only -verify -Wno-objc-root-class %s // RUN: %clang_cc1 -x objective-c++ -fsyntax-only -verify -Wno-objc-root-class %s +// rdar://13178483 @class NSMutableDictionary; // expected-note {{receiver is instance of class declared here}} diff --git a/clang/test/SemaObjC/exprs.m b/clang/test/SemaObjC/exprs.m index dcf46d3cdbfb..10ae20d62e91 100644 --- a/clang/test/SemaObjC/exprs.m +++ b/clang/test/SemaObjC/exprs.m @@ -1,9 +1,12 @@ // RUN: %clang_cc1 %s -fsyntax-only -fblocks -verify -Wno-unreachable-code +// rdar://6597252 Class test1(Class X) { return 1 ? X : X; } + +// rdar://6079877 void test2(void) { id str = @"foo" "bar\0" // no-warning @@ -20,6 +23,9 @@ void test2(void) { #define MAX(A,B) ({ __typeof__(A) __a = (A); __typeof__(B) __b = (B); __a < __b ? __b : __a; }) void (^foo)(int, int) = ^(int x, int y) { int z = MAX(x, y); }; + + +// rdar://8445858 @class Object; static Object *g; void test3(Object *o) { diff --git a/clang/test/SemaObjC/foreach.m b/clang/test/SemaObjC/foreach.m index ff6c546e3217..e90f28aa1a12 100644 --- a/clang/test/SemaObjC/foreach.m +++ b/clang/test/SemaObjC/foreach.m @@ -11,11 +11,13 @@ void f(NSArray *a) { /* This should be ok, 'thisKey' should be scoped to the loop in question, * and no diagnostics even in pedantic mode should happen. + * rdar://6814674 */ for (id thisKey in keys); /* expected-warning {{unused variable 'thisKey'}} */ for (id thisKey in keys); /* expected-warning {{unused variable 'thisKey'}} */ } +/* // rdar://9072298 */ @protocol NSObject @end @interface NSObject { @@ -44,6 +46,7 @@ int main (void) return 0; } +/* rdar://problem/11068137 */ @interface Test2 @property (assign) id prop; @end diff --git a/clang/test/SemaObjC/format-cstrings-warning.m b/clang/test/SemaObjC/format-cstrings-warning.m index 13965092df78..421c23b575ad 100644 --- a/clang/test/SemaObjC/format-cstrings-warning.m +++ b/clang/test/SemaObjC/format-cstrings-warning.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -Wcstring-format-directive -verify -fsyntax-only %s +// rdar://18182443 typedef __builtin_va_list __darwin_va_list; typedef __builtin_va_list va_list; diff --git a/clang/test/SemaObjC/format-ostrace-warning.m b/clang/test/SemaObjC/format-ostrace-warning.m index de2ef5ecb57c..0177c85ecbc9 100644 --- a/clang/test/SemaObjC/format-ostrace-warning.m +++ b/clang/test/SemaObjC/format-ostrace-warning.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -Wcstring-format-directive -verify -fsyntax-only %s +// rdar://19904147 typedef __builtin_va_list __darwin_va_list; typedef __builtin_va_list va_list; diff --git a/clang/test/SemaObjC/format-strings-objc.m b/clang/test/SemaObjC/format-strings-objc.m index 40c1d31b1fd4..8eb350fc194d 100644 --- a/clang/test/SemaObjC/format-strings-objc.m +++ b/clang/test/SemaObjC/format-strings-objc.m @@ -78,7 +78,7 @@ void NSLog3(const char *fmt, ...) { va_end(ap); } -// Catch use of long long with int arguments. +// - Catch use of long long with int arguments. void rdar_7068334(void) { long long test = 500; printf("%i ",test); // expected-warning{{format specifies type 'int' but the argument has type 'long long'}} @@ -86,6 +86,7 @@ void rdar_7068334(void) { CFStringCreateWithFormat(CFSTR("%i"),test); // expected-warning{{format specifies type 'int' but the argument has type 'long long'}} } +// void rdar_7697748(void) { NSLog(@"%@!"); // expected-warning{{more '%' conversions than data arguments}} } @@ -97,7 +98,7 @@ void test_p_conversion_with_objc_pointer(id x, id y) { printf("%p", y); // no-warning } -// PR 10274 - CFString and NSString formats are ignored +// , PR 10274 - CFString and NSString formats are ignored extern void MyNSLog(NSString *format, ...) __attribute__((format(__NSString__, 1, 2))); extern void MyCFStringCreateWithFormat(CFStringRef format, ...) __attribute__((format(__CFString__, 1, 2))); @@ -193,7 +194,7 @@ void test_percent_C(void) { NSLog(@"%C", wchar_data); // expected-warning{{format specifies type 'unichar' (aka 'unsigned short') but the argument has type 'wchar_t'}} } -// Test that %@ works with toll-free bridging +// Test that %@ works with toll-free bridging (). void test_toll_free_bridging(CFStringRef x, id y) { NSLog(@"%@", x); // no-warning CFStringCreateWithFormat(CFSTR("%@"), x); // no-warning @@ -240,6 +241,7 @@ void test_nonBuiltinCFStrings(void) { // Don't crash on an invalid argument expression. +// @interface NSDictionary : NSObject - (id)objectForKeyedSubscript:(id)key; @end @@ -255,6 +257,7 @@ void testInvalidFormatArgument(NSDictionary *dict) { } +// void testByValueObjectInFormat(Foo *obj) { printf("%d %d %d", 1L, *obj, 1L); // expected-error {{cannot pass object with interface type 'Foo' by value to variadic function; expected type from format string was 'int'}} expected-warning 2 {{format specifies type 'int' but the argument has type 'long'}} printf("%!", *obj); // expected-error {{cannot pass object with interface type 'Foo' by value through variadic function}} expected-warning {{invalid conversion specifier}} @@ -263,6 +266,7 @@ void testByValueObjectInFormat(Foo *obj) { [Bar log2:@"%d", *obj]; // expected-error {{cannot pass object with interface type 'Foo' by value to variadic method; expected type from format string was 'int'}} } +// void testTypeOf(NSInteger dW, NSInteger dH) { NSLog(@"dW %d dH %d",({ __typeof__(dW) __a = (dW); __a < 0 ? -__a : __a; }),({ __typeof__(dH) __a = (dH); __a < 0 ? -__a : __a; })); // expected-warning 2 {{values of type 'NSInteger' should not be used as format arguments; add an explicit cast to 'long' instead}} } @@ -285,6 +289,7 @@ void testObjCModifierFlags(void) { NSLog(@"%2$[tt]@ %1$[tt]s", @"Foo", @"Bar"); // expected-warning {{object format flags cannot be used with 's' conversion specifier}} } +// rdar://23622446 @interface RD23622446_Tester: NSObject + (void)stringWithFormat:(const char *)format, ... __attribute__((format(__printf__, 1, 2))); diff --git a/clang/test/SemaObjC/format-strings-oslog.m b/clang/test/SemaObjC/format-strings-oslog.m index 20fec93b653b..e8b1d64f07c1 100644 --- a/clang/test/SemaObjC/format-strings-oslog.m +++ b/clang/test/SemaObjC/format-strings-oslog.m @@ -25,9 +25,11 @@ void test_os_log_format(const char *pc, int i, void *p, void *buf) { printf("%{private}s", pc); // expected-warning {{using 'private' format specifier annotation outside of os_log()/os_trace()}} __builtin_os_log_format(buf, "%{private}s", pc); + // __builtin_os_log_format_buffer_size("no-args"); __builtin_os_log_format(buf, "%s", "hi"); + // wchar_t wc = 'a'; __builtin_os_log_format(buf, "%C", wc); printf("%C", wc); diff --git a/clang/test/SemaObjC/forward-class-1.m b/clang/test/SemaObjC/forward-class-1.m index 90983c6aaa86..85c6c875014b 100644 --- a/clang/test/SemaObjC/forward-class-1.m +++ b/clang/test/SemaObjC/forward-class-1.m @@ -45,6 +45,7 @@ typedef NSObject XCElement; // expected-note {{previous definition @end +// rdar://9653341 @class B; // expected-note {{forward declaration of class here}} @interface A : B {} // expected-error {{attempting to use the forward class 'B' as superclass of 'A'}} @end diff --git a/clang/test/SemaObjC/forward-class-redeclare.m b/clang/test/SemaObjC/forward-class-redeclare.m index 50e9c4f9313a..80dc33536280 100644 --- a/clang/test/SemaObjC/forward-class-redeclare.m +++ b/clang/test/SemaObjC/forward-class-redeclare.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -fsyntax-only -verify %s +// rdar://10733000 @interface NSObject @end diff --git a/clang/test/SemaObjC/forward-protocol-incomplete-impl-warn.m b/clang/test/SemaObjC/forward-protocol-incomplete-impl-warn.m index b1628b3596fb..583bb4dd891d 100644 --- a/clang/test/SemaObjC/forward-protocol-incomplete-impl-warn.m +++ b/clang/test/SemaObjC/forward-protocol-incomplete-impl-warn.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -fsyntax-only -verify %s +// rdar://12958878 @interface NSObject @end diff --git a/clang/test/SemaObjC/generic-selection.m b/clang/test/SemaObjC/generic-selection.m index fa367dcf9a04..70c77dc45de9 100644 --- a/clang/test/SemaObjC/generic-selection.m +++ b/clang/test/SemaObjC/generic-selection.m @@ -11,6 +11,7 @@ __attribute__((objc_root_class)) @property (strong) id x; @end +// rdar://13193560 void test0(A *a) { int kind = _Generic(a.x, id : 0, int : 1, float : 2); } diff --git a/clang/test/SemaObjC/iboutlet.m b/clang/test/SemaObjC/iboutlet.m index 9868ac59088e..e7d8494c9935 100644 --- a/clang/test/SemaObjC/iboutlet.m +++ b/clang/test/SemaObjC/iboutlet.m @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -fsyntax-only -fobjc-arc -Wno-objc-root-class -Warc-repeated-use-of-weak -fobjc-runtime-has-weak -verify %s // RUN: %clang_cc1 -x objective-c++ -fsyntax-only -fobjc-arc -Wno-objc-root-class -Warc-repeated-use-of-weak -fobjc-runtime-has-weak -verify %s +// rdar://11448209 #define READONLY readonly @@ -17,6 +18,8 @@ IBInspectable @property (readonly) IBOutlet NSView *myView1; // expected-warning @implementation I @end + +// rdar://13123861 @class UILabel; @interface NSObject @end @@ -36,6 +39,7 @@ IBInspectable @property (readonly) IBOutlet NSView *myView1; // expected-warning @synthesize synthReadOnlyReadWrite=_synthReadOnlyReadWrite; @end +// rdar://15885642 @interface WeakOutlet @property int Number; @property IBOutlet __weak WeakOutlet* WeakProp; diff --git a/clang/test/SemaObjC/iboutletcollection-attr.m b/clang/test/SemaObjC/iboutletcollection-attr.m index 7d05f22ee060..f088ca32b6ad 100644 --- a/clang/test/SemaObjC/iboutletcollection-attr.m +++ b/clang/test/SemaObjC/iboutletcollection-attr.m @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -fsyntax-only -verify %s // RUN: %clang_cc1 -x objective-c++ -fsyntax-only -verify %s +// rdar://8308053 @class NSObject; @@ -30,6 +31,7 @@ typedef void *PV; @property __attribute__((iboutletcollection(BAD))) int prop3; // expected-warning {{property with 'iboutletcollection' attribute must be an object type (invalid 'int')}} @end +// rdar://10296078 @interface ParentRDar10296078 @end @class NSArray; @protocol RDar10296078_Protocol; @@ -40,6 +42,7 @@ typedef void *PV; __attribute__((iboutletcollection(RDar10296078_OtherClass))) NSArray *stuff; @end +// rdar://14212998 @class UILabel; @class NSArray; @interface OCTViewController diff --git a/clang/test/SemaObjC/id.m b/clang/test/SemaObjC/id.m index e599758dcafe..a09f49a68279 100644 --- a/clang/test/SemaObjC/id.m +++ b/clang/test/SemaObjC/id.m @@ -8,7 +8,7 @@ id R; void foo(void) { // Test assignment compatibility of Class and id. No warning should be // produced. - // Class and id are compatible. + // rdar://6770142 - Class and id are compatible. S = T; // expected-warning {{incompatible pointer types assigning to 'id' from 'Class'}} T = S; // expected-warning {{incompatible pointer types assigning to 'Class' from 'id'}} R = T; T = R; @@ -16,6 +16,7 @@ void foo(void) { } // Test attempt to redefine 'id' in an incompatible fashion. +// rdar://11356439 typedef int id; // expected-error {{typedef redefinition with different types ('int' vs 'id')}} id b; diff --git a/clang/test/SemaObjC/idiomatic-parentheses.m b/clang/test/SemaObjC/idiomatic-parentheses.m index bed3f0ad4056..c6281f0987de 100644 --- a/clang/test/SemaObjC/idiomatic-parentheses.m +++ b/clang/test/SemaObjC/idiomatic-parentheses.m @@ -1,6 +1,7 @@ // RUN: %clang_cc1 -fsyntax-only -verify -Wparentheses -Wno-objc-root-class %s // Don't warn about some common ObjC idioms unless we have -Widiomatic-parentheses on. +// @interface Object { @@ -25,6 +26,7 @@ - (id) initWithInt: (int) i { if (self = [self initWithInt: i]) { } + // rdar://11066598 if (self.uid = 100) { // expected-warning {{using the result of an assignment as a condition without parentheses}} \ // expected-note {{place parentheses around the assignment to silence this warning}} \ // expected-note {{use '==' to turn this assignment into an equality comparison}} diff --git a/clang/test/SemaObjC/ignore-qualifier-on-qualified-id.m b/clang/test/SemaObjC/ignore-qualifier-on-qualified-id.m index 12cad98455c9..1ed28c819172 100644 --- a/clang/test/SemaObjC/ignore-qualifier-on-qualified-id.m +++ b/clang/test/SemaObjC/ignore-qualifier-on-qualified-id.m @@ -1,6 +1,7 @@ // RUN: %clang_cc1 -fsyntax-only -verify %s // RUN: %clang_cc1 -x objective-c++ -fsyntax-only -verify %s // expected-no-diagnostics +// rdar://10667659 @protocol NSCopying @end diff --git a/clang/test/SemaObjC/illegal-nonarc-bridged-cast.m b/clang/test/SemaObjC/illegal-nonarc-bridged-cast.m index 8284a2a92413..3650f45d90be 100644 --- a/clang/test/SemaObjC/illegal-nonarc-bridged-cast.m +++ b/clang/test/SemaObjC/illegal-nonarc-bridged-cast.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -triple x86_64-apple-darwin11 -fsyntax-only -fblocks -Wcast-qual -verify %s +// rdar://10597832 typedef const void *CFTypeRef; typedef const struct __CFString *CFStringRef; diff --git a/clang/test/SemaObjC/incomplete-implementation.m b/clang/test/SemaObjC/incomplete-implementation.m index cd5bddc96b87..910cda5f07d1 100644 --- a/clang/test/SemaObjC/incomplete-implementation.m +++ b/clang/test/SemaObjC/incomplete-implementation.m @@ -13,6 +13,7 @@ - Meth {return 0;} // expected-warning {{category is implementing a method which will also be implemented by its primary class}} @end +// rdar://40634455 @interface MyClass -(void)mymeth __attribute__((availability(macos, introduced=100))); // expected-note{{here}} @end @@ -34,6 +35,7 @@ @interface Q @end +// rdar://10336158 @implementation Q __attribute__((visibility("default"))) @@ -44,6 +46,7 @@ __attribute__((visibility("default"))) @end +// rdar://15580969 typedef char BOOL; @protocol NSObject diff --git a/clang/test/SemaObjC/instancetype.m b/clang/test/SemaObjC/instancetype.m index 2fe2f5cd8c0b..3e383eff8ab6 100644 --- a/clang/test/SemaObjC/instancetype.m +++ b/clang/test/SemaObjC/instancetype.m @@ -188,6 +188,7 @@ void test_instancetype_inherited(void) { @end +// rdar://12493140 @protocol P4 - (instancetype) foo; // expected-note {{current method is explicitly declared 'instancetype' and is expected to return an instance of its class type}} @end diff --git a/clang/test/SemaObjC/interface-1.m b/clang/test/SemaObjC/interface-1.m index ba7728d74776..164327096fe4 100644 --- a/clang/test/SemaObjC/interface-1.m +++ b/clang/test/SemaObjC/interface-1.m @@ -1,25 +1,33 @@ // RUN: %clang_cc1 -triple i386-apple-darwin9 -fobjc-runtime=macosx-fragile-10.5 %s -fsyntax-only -verify +// rdar://5957506 @interface NSWhatever : NSObject // expected-error {{cannot find interface declaration for 'NSObject'}} // expected-error {{no type or protocol named 'NSCopying'}} @end + +// rdar://6095245 @interface A { int x } // expected-error {{expected ';' at end of declaration list}} @end + +// rdar://4304469 @interface INT1 @end void test2(void) { + // rdar://6827200 INT1 b[3]; // expected-error {{array of interface 'INT1' is invalid (probably should be an array of pointers)}} INT1 *c = &b[0]; ++c; } + +// rdar://6611778 @interface FOO // expected-note {{previous definition is here}} - (void)method; @end diff --git a/clang/test/SemaObjC/interface-scope-2.m b/clang/test/SemaObjC/interface-scope-2.m index 9972a587a074..ffd740f7fc44 100644 --- a/clang/test/SemaObjC/interface-scope-2.m +++ b/clang/test/SemaObjC/interface-scope-2.m @@ -2,6 +2,7 @@ // expected-no-diagnostics // FIXME: must also compile as Objective-C++ +// typedef struct objc_selector *SEL; typedef signed char BOOL; typedef unsigned int NSUInteger; @@ -73,6 +74,7 @@ static NSMapTable *_defaultMenuForClass = 0; } @end +// @interface WizKing_MIKeep { struct __LoreStuffNode *_historyStuff; } @@ -86,6 +88,7 @@ typedef struct __LoreStuffNode {} LoreStuffNode; } @end +// typedef long unsigned int __darwin_size_t; typedef __darwin_size_t size_t; void *memset(void *, int, size_t); diff --git a/clang/test/SemaObjC/invalid-code.m b/clang/test/SemaObjC/invalid-code.m index 1dae6bfea010..dc15d4ac2d42 100644 --- a/clang/test/SemaObjC/invalid-code.m +++ b/clang/test/SemaObjC/invalid-code.m @@ -1,10 +1,12 @@ // RUN: %clang_cc1 -fsyntax-only -verify -fobjc-exceptions -Wno-objc-root-class %s +// rdar://6124613 void test1(void) { void *xyzzy = 0; void *p = @xyzzy; // expected-error {{unexpected '@' in program}} } +// // This previously triggered a crash because the class has not been defined. @implementation RDar7495713 (rdar_7495713_cat) // expected-error{{cannot find interface declaration for 'RDar7495713'}} - (id) rdar_7495713 { @@ -12,11 +14,13 @@ void test1(void) { } @end +// // This previously triggered a crash because a ';' was expected after the @throw statement. void foo(void) { @throw (id)0 // expected-error{{expected ';' after @throw}} } +// @class NSView; @implementation IBFillView(IBFillViewIntegration) // expected-error {{cannot find interface declaration for 'IBFillView'}} - (NSView *)ibDesignableContentView { diff --git a/clang/test/SemaObjC/ivar-in-class-extension-error.m b/clang/test/SemaObjC/ivar-in-class-extension-error.m index 98014e12f70a..c90e4780688d 100644 --- a/clang/test/SemaObjC/ivar-in-class-extension-error.m +++ b/clang/test/SemaObjC/ivar-in-class-extension-error.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -fobjc-runtime=macosx-fragile-10.5 -fsyntax-only -verify %s +// rdar://6812436 @interface A @end diff --git a/clang/test/SemaObjC/ivar-lookup.m b/clang/test/SemaObjC/ivar-lookup.m index 898ffac99692..57f432c717a1 100644 --- a/clang/test/SemaObjC/ivar-lookup.m +++ b/clang/test/SemaObjC/ivar-lookup.m @@ -48,6 +48,7 @@ extern struct foo x; } @end +// rdar://10309454 @interface Radar10309454 { int IVAR; // expected-note 4 {{previous definition is here}} @@ -81,6 +82,7 @@ extern struct foo x; @end // PR5984 +// rdar://14037151 @interface Radar14037151 { int myStatus; } @@ -109,6 +111,7 @@ extern struct foo x; } @end +// rdar://14278560 @class NSString, NSData, NSNumber; @interface NSObject diff --git a/clang/test/SemaObjC/message.m b/clang/test/SemaObjC/message.m index 20568ac20128..e5f0f7b73e01 100644 --- a/clang/test/SemaObjC/message.m +++ b/clang/test/SemaObjC/message.m @@ -98,6 +98,7 @@ void foo4(void) { [X rect]; // expected-warning {{receiver type 'struct objc_object *' is not 'id' or interface pointer, consider casting it to 'id'}} } +// rdar://13207886 void foo5(id p) { p [(id)(p) bar]; // expected-error {{missing '['}} \ @@ -110,6 +111,7 @@ void foo5(id p) { -(void)unavail_meth __attribute__((unavailable)); // expected-note {{marked unavailable here}} @end +// rdar://13620447 void foo6(I1 *p) { [p bar]; // expected-warning {{instance method '-bar' not found}} diff --git a/clang/test/SemaObjC/method-attributes.m b/clang/test/SemaObjC/method-attributes.m index 4497e9710a10..14e192637855 100644 --- a/clang/test/SemaObjC/method-attributes.m +++ b/clang/test/SemaObjC/method-attributes.m @@ -35,6 +35,9 @@ - (void) dep __attribute__((deprecated)) { } // OK private methodn @end + +// rdar://10529259 + @interface Foo - (void)doSomething1:(id)sender; - (void)doSomething2:(id)sender; @@ -54,6 +57,7 @@ - (IBAction)doSomething3:(id)sender {} @end +// rdar://11593375 @interface NSObject @end @interface Test : NSObject @@ -86,6 +90,7 @@ __attribute__((cdecl)) // expected-warning {{'cdecl' attribute only applies to @interface Complain @end +// rdar://15450637 @interface rdar15450637 : NSObject @property int p __attribute__((section("__TEXT,foo"))); diff --git a/clang/test/SemaObjC/method-bad-param.m b/clang/test/SemaObjC/method-bad-param.m index 5b567822f1d9..6193136bf3e7 100644 --- a/clang/test/SemaObjC/method-bad-param.m +++ b/clang/test/SemaObjC/method-bad-param.m @@ -29,11 +29,13 @@ void func_with_bad_call(bar* b, foo* f) { void somefunc(foo x) {} // expected-error {{interface type 'foo' cannot be passed by value; did you forget * in 'foo'}} foo somefunc2(void) {} // expected-error {{interface type 'foo' cannot be returned by value; did you forget * in 'foo'}} +// rdar://6780761 void f0(foo *a0) { extern void g0(int x, ...); g0(1, *(foo*)a0); // expected-error {{cannot pass object with interface type 'foo' by value through variadic function}} } +// rdar://8421082 enum bogus; // expected-note {{forward declaration of 'enum bogus'}} @interface fee { diff --git a/clang/test/SemaObjC/method-conflict-1.m b/clang/test/SemaObjC/method-conflict-1.m index 070701bb5d46..03178fcada3e 100644 --- a/clang/test/SemaObjC/method-conflict-1.m +++ b/clang/test/SemaObjC/method-conflict-1.m @@ -3,6 +3,8 @@ // This test case tests the default behavior. +// rdar://7933061 + @interface NSObject @end @interface NSArray : NSObject @end @@ -51,7 +53,7 @@ - (void) test2:(A*) object {} @end -// wants id -> A* to be an exception +// rdar://problem/8597621 wants id -> A* to be an exception @interface Test2 {} - (void) test1:(id) object; // broken-note {{previous definition is here}} - (void) test2:(A*) object; @@ -77,6 +79,6 @@ - (A*) test2; @end @implementation Test4 -- (A*) test1 { return 0; } +- (A*) test1 { return 0; } // id -> A* is rdar://problem/8596987 - (id) test2 { return 0; } @end diff --git a/clang/test/SemaObjC/method-conflict-2.m b/clang/test/SemaObjC/method-conflict-2.m index 7edd2d82ecef..65f0d5534e07 100644 --- a/clang/test/SemaObjC/method-conflict-2.m +++ b/clang/test/SemaObjC/method-conflict-2.m @@ -40,10 +40,11 @@ - (A*) test2; @end @implementation Test4 -- (A*) test1 { return 0; } +- (A*) test1 { return 0; } // id -> A* is rdar://problem/8596987 - (id) test2 { return 0; } @end +// rdar://12522752 typedef int int32_t; typedef long long int64_t; @@ -64,6 +65,7 @@ typedef long long int64_t; } @end +// rdar://14650159 // Tests that property inherited indirectly from a nested protocol // is seen by the method implementation type matching logic before // method in super class is seen. This fixes the warning coming diff --git a/clang/test/SemaObjC/method-conflict.m b/clang/test/SemaObjC/method-conflict.m index 3ecf224612c8..2da629e566a8 100644 --- a/clang/test/SemaObjC/method-conflict.m +++ b/clang/test/SemaObjC/method-conflict.m @@ -54,6 +54,7 @@ typedef NSUInteger XDSourceLanguage; } @end +// rdar: // 8006060 @interface Bar - (void)foo:(id)format, ...; // expected-note {{previous declaration is here}} - (void)foo1:(id)format; // expected-note {{previous declaration is here}} diff --git a/clang/test/SemaObjC/method-in-class-extension-impl.m b/clang/test/SemaObjC/method-in-class-extension-impl.m index 92527fecd4c4..d74ae8f154fd 100644 --- a/clang/test/SemaObjC/method-in-class-extension-impl.m +++ b/clang/test/SemaObjC/method-in-class-extension-impl.m @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -fsyntax-only -verify %s // expected-no-diagnostics +// rdar://8530080 @protocol ViewDelegate @end diff --git a/clang/test/SemaObjC/method-lookup-3.m b/clang/test/SemaObjC/method-lookup-3.m index 8857c3cbd84f..ff2c4898a411 100644 --- a/clang/test/SemaObjC/method-lookup-3.m +++ b/clang/test/SemaObjC/method-lookup-3.m @@ -72,6 +72,7 @@ void test4(id x) { (void) [x test4]; //expected-warning {{multiple methods named 'test4' found}} } +// rdar://19265296 #pragma clang diagnostic ignored "-Wobjc-multiple-method-names" @interface NSObject + (id)alloc; diff --git a/clang/test/SemaObjC/method-lookup-5.m b/clang/test/SemaObjC/method-lookup-5.m index 40d3ea42dff4..05cac5fbb12c 100644 --- a/clang/test/SemaObjC/method-lookup-5.m +++ b/clang/test/SemaObjC/method-lookup-5.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -fsyntax-only -verify %s +// rdar://8592156 typedef struct objc_class *Class; @interface A diff --git a/clang/test/SemaObjC/method-prototype-scope.m b/clang/test/SemaObjC/method-prototype-scope.m index e1080cbfeadd..c581500d02c8 100644 --- a/clang/test/SemaObjC/method-prototype-scope.m +++ b/clang/test/SemaObjC/method-prototype-scope.m @@ -1,5 +1,7 @@ // RUN: %clang_cc1 -fsyntax-only -Wduplicate-method-arg -verify -Wno-objc-root-class %s +// rdar://8877730 + int object; @class NSString, NSArray; diff --git a/clang/test/SemaObjC/method-redecls-invalid-interface.m b/clang/test/SemaObjC/method-redecls-invalid-interface.m index 38ab34a5cee7..235d6fe5e9d7 100644 --- a/clang/test/SemaObjC/method-redecls-invalid-interface.m +++ b/clang/test/SemaObjC/method-redecls-invalid-interface.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -fsyntax-only -verify -Wdocumentation -Wno-objc-root-class %s +// rdar://29220965 @interface InvalidInterface { // expected-note {{previous definition is here}} int *_property; diff --git a/clang/test/SemaObjC/method-sentinel-attr.m b/clang/test/SemaObjC/method-sentinel-attr.m index 285f24c89026..12e0e4c80d6f 100644 --- a/clang/test/SemaObjC/method-sentinel-attr.m +++ b/clang/test/SemaObjC/method-sentinel-attr.m @@ -16,6 +16,7 @@ - (void) foo11 : (int)x, ... __attribute__ ((__sentinel__(1,1,3))); // expected-error {{'__sentinel__' attribute takes no more than 2 arguments}} - (void) foo12 : (int)x, ... ATTR; // expected-note {{method has been explicitly marked sentinel here}} +// rdar://7975788 - (id) foo13 : (id)firstObj, ... __attribute__((sentinel(0,1))); - (id) foo14 : (id)firstObj : (Class)secondObj, ... __attribute__((sentinel(0,1))); - (id) foo15 : (id*)firstObj, ... __attribute__((sentinel(0,1))); @@ -39,6 +40,7 @@ int main (void) [p foo12:1]; // expected-warning {{not enough variable arguments in 'foo12:' declaration to fit a sentinel}} + // rdar://7975788 [ p foo13 : NULL]; [ p foo14 : 0 : NULL]; [ p foo16 : NULL]; diff --git a/clang/test/SemaObjC/method-typecheck-1.m b/clang/test/SemaObjC/method-typecheck-1.m index 63eb6e83024e..2d4e868cdf82 100644 --- a/clang/test/SemaObjC/method-typecheck-1.m +++ b/clang/test/SemaObjC/method-typecheck-1.m @@ -35,6 +35,7 @@ + (int) cCat: (int) x { return 0; } // expected-warning {{conflicting return type in implementation of 'cCat:': 'void' vs 'int'}} @end +// rdar://12519216 // test that when implementation implements method in a category, types match. @interface testObject {} @end diff --git a/clang/test/SemaObjC/method-undef-category-warn-1.m b/clang/test/SemaObjC/method-undef-category-warn-1.m index 214acbdd2bf0..c951db2ca1a3 100644 --- a/clang/test/SemaObjC/method-undef-category-warn-1.m +++ b/clang/test/SemaObjC/method-undef-category-warn-1.m @@ -29,6 +29,7 @@ @implementation MyClass1(CAT1) @end +// rdar://10823023 @class NSString; @protocol NSObject @@ -51,6 +52,7 @@ @implementation NSObject (FooConformance) @end +// rdar://11186449 // Don't warn when a category does not implemented a method imported // by its protocol because another category has its declaration and // that category will implement it. diff --git a/clang/test/SemaObjC/method-undefined-warn-1.m b/clang/test/SemaObjC/method-undefined-warn-1.m index a2422a542fa5..e22140d446c3 100644 --- a/clang/test/SemaObjC/method-undefined-warn-1.m +++ b/clang/test/SemaObjC/method-undefined-warn-1.m @@ -44,6 +44,8 @@ - (void) cls_meth1 : (int) arg2{} @end + +// rdar://8850818 @interface Root @end @interface Foo : Root @end diff --git a/clang/test/SemaObjC/mismatched-undefined-method.m b/clang/test/SemaObjC/mismatched-undefined-method.m index cf0915dde39b..c41d142a4085 100644 --- a/clang/test/SemaObjC/mismatched-undefined-method.m +++ b/clang/test/SemaObjC/mismatched-undefined-method.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -fsyntax-only -Wno-deprecated-declarations -verify %s +// rdar://11460990 typedef unsigned int CGDirectDisplayID; diff --git a/clang/test/SemaObjC/missing-method-return-type.m b/clang/test/SemaObjC/missing-method-return-type.m index e105ac18c8c9..fc6ff7b1fe80 100644 --- a/clang/test/SemaObjC/missing-method-return-type.m +++ b/clang/test/SemaObjC/missing-method-return-type.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -Wmissing-method-return-type -fsyntax-only -verify -Wno-objc-root-class %s +// rdar://9615045 @interface I - initWithFoo:(id)foo; // expected-warning {{method has no return type specified; defaults to 'id'}} diff --git a/clang/test/SemaObjC/multiple-property-deprecated-decl.m b/clang/test/SemaObjC/multiple-property-deprecated-decl.m index 7e8ff5644620..d7dbd458a419 100644 --- a/clang/test/SemaObjC/multiple-property-deprecated-decl.m +++ b/clang/test/SemaObjC/multiple-property-deprecated-decl.m @@ -1,6 +1,7 @@ // RUN: %clang_cc1 -fsyntax-only -triple x86_64-apple-macosx10.11 -verify -Wno-objc-root-class %s // RUN: %clang_cc1 -x objective-c++ -fsyntax-only -triple x86_64-apple-macosx10.11 -verify -Wno-objc-root-class %s // expected-no-diagnostics +// rdar://20408445 @protocol NSFileManagerDelegate @end diff --git a/clang/test/SemaObjC/narrow-property-type-in-cont-class.m b/clang/test/SemaObjC/narrow-property-type-in-cont-class.m index 7ec22cfec9e3..0f73b1e8f02f 100644 --- a/clang/test/SemaObjC/narrow-property-type-in-cont-class.m +++ b/clang/test/SemaObjC/narrow-property-type-in-cont-class.m @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -x objective-c -fsyntax-only -verify %s // RUN: %clang_cc1 -x objective-c++ -fsyntax-only -verify %s +// rdar://10790488 @interface NSArray @end diff --git a/clang/test/SemaObjC/nested-typedef-decl.m b/clang/test/SemaObjC/nested-typedef-decl.m index 2092afd99c43..7051ac689cc0 100644 --- a/clang/test/SemaObjC/nested-typedef-decl.m +++ b/clang/test/SemaObjC/nested-typedef-decl.m @@ -1,6 +1,7 @@ // RUN: %clang_cc1 -x objective-c -fsyntax-only -verify -Wno-objc-root-class %s // RUN: %clang_cc1 -x objective-c++ -fsyntax-only -verify -Wno-objc-root-class %s // expected-no-diagnostics +// rdar://10041908 @interface Bar { struct _A *_hardlinkList; diff --git a/clang/test/SemaObjC/no-ivar-access-control.m b/clang/test/SemaObjC/no-ivar-access-control.m index 434db4a9ce3b..9bbff24be990 100644 --- a/clang/test/SemaObjC/no-ivar-access-control.m +++ b/clang/test/SemaObjC/no-ivar-access-control.m @@ -1,6 +1,7 @@ // RUN: %clang_cc1 -fsyntax-only -fdebugger-support -verify -Wno-objc-root-class %s // RUN: %clang_cc1 -x objective-c++ -fdebugger-support -fsyntax-only -verify -Wno-objc-root-class %s // expected-no-diagnostics +// rdar://10997647 @interface I { diff --git a/clang/test/SemaObjC/no-ivar-in-interface-block.m b/clang/test/SemaObjC/no-ivar-in-interface-block.m index 7e114969c100..af4797f1b64e 100644 --- a/clang/test/SemaObjC/no-ivar-in-interface-block.m +++ b/clang/test/SemaObjC/no-ivar-in-interface-block.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -fsyntax-only -verify -Wno-objc-root-class -Wobjc-interface-ivars %s +// rdar://10763173 @interface I { diff --git a/clang/test/SemaObjC/no-protocol-option-tests.m b/clang/test/SemaObjC/no-protocol-option-tests.m index e36c6966cb66..605cf9f1bfa8 100644 --- a/clang/test/SemaObjC/no-protocol-option-tests.m +++ b/clang/test/SemaObjC/no-protocol-option-tests.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -fsyntax-only -Wno-protocol -verify -Wno-objc-root-class %s +// rdar: // 7056600 @protocol P - PMeth; diff --git a/clang/test/SemaObjC/no-warn-qual-mismatch.m b/clang/test/SemaObjC/no-warn-qual-mismatch.m index d7961049c94d..9638da46c18f 100644 --- a/clang/test/SemaObjC/no-warn-qual-mismatch.m +++ b/clang/test/SemaObjC/no-warn-qual-mismatch.m @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -fsyntax-only -verify -Wno-objc-root-class %s // expected-no-diagnostics +// radar 7211563 @interface X diff --git a/clang/test/SemaObjC/no-warning-unavail-unimp.m b/clang/test/SemaObjC/no-warning-unavail-unimp.m index a099bdd67976..037bf24ce92d 100644 --- a/clang/test/SemaObjC/no-warning-unavail-unimp.m +++ b/clang/test/SemaObjC/no-warning-unavail-unimp.m @@ -1,5 +1,7 @@ // RUN: %clang_cc1 -triple x86_64-apple-darwin9 -fsyntax-only -verify -Wno-objc-root-class %s // expected-no-diagnostics +// rdar://9651605 +// rdar://12958191 @interface Foo @property (getter=getVal) int val __attribute__((unavailable)); diff --git a/clang/test/SemaObjC/nonnull.h b/clang/test/SemaObjC/nonnull.h index eb17845e508f..f5a038f5adf5 100644 --- a/clang/test/SemaObjC/nonnull.h +++ b/clang/test/SemaObjC/nonnull.h @@ -1 +1,2 @@ +// rdar: //6857843 #define NONNULL_ATTR __attribute__((nonnull)) diff --git a/clang/test/SemaObjC/nonnull.m b/clang/test/SemaObjC/nonnull.m index f5548afa57e9..218aad85e673 100644 --- a/clang/test/SemaObjC/nonnull.m +++ b/clang/test/SemaObjC/nonnull.m @@ -47,6 +47,7 @@ foo (int i1, int i2, int i3, void (^cp1)(), void (^cp2)(), void (^cp3)()) void func5(int) NONNULL_ATTR; // no warning +// rdar://6857843 struct dispatch_object_s { int x; }; @@ -64,6 +65,7 @@ void func6(dispatch_object_t _head) { // expected-note {{conflicting prototype i _dispatch_queue_push_list(_head._do); // no warning } +// rdar://9287695 #define NULL (void*)0 @interface NSObject diff --git a/clang/test/SemaObjC/nowarn-superclass-method-mismatch.m b/clang/test/SemaObjC/nowarn-superclass-method-mismatch.m index fa978b8c6eae..d522e899eb0b 100644 --- a/clang/test/SemaObjC/nowarn-superclass-method-mismatch.m +++ b/clang/test/SemaObjC/nowarn-superclass-method-mismatch.m @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -fsyntax-only -fobjc-arc -fobjc-runtime-has-weak -Wsuper-class-method-mismatch -verify %s // expected-no-diagnostics +// rdar://11793793 @class NSString; diff --git a/clang/test/SemaObjC/ns-consumed-error-not-warning.m b/clang/test/SemaObjC/ns-consumed-error-not-warning.m index 88d307ddca43..f44cc8f0f60b 100644 --- a/clang/test/SemaObjC/ns-consumed-error-not-warning.m +++ b/clang/test/SemaObjC/ns-consumed-error-not-warning.m @@ -1,5 +1,6 @@ // RUN: rm -rf %t // RUN: %clang_cc1 -fsyntax-only -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -I %S/Inputs -fobjc-arc -verify -fblocks -triple x86_64-apple-darwin10.0.0 -DOBJCARC %s +// rdar://36265651 @interface A -(void) m:(id)p; // expected-note {{parameter declared here}} diff --git a/clang/test/SemaObjC/ns_returns_retained_block_return.m b/clang/test/SemaObjC/ns_returns_retained_block_return.m index 4f116abaa84f..d3c9b7b2198e 100644 --- a/clang/test/SemaObjC/ns_returns_retained_block_return.m +++ b/clang/test/SemaObjC/ns_returns_retained_block_return.m @@ -3,6 +3,7 @@ // RUN: %clang_cc1 -fblocks -fobjc-arc -fsyntax-only -verify -Wno-objc-root-class %s // RUN: %clang_cc1 -x objective-c++ -fblocks -fobjc-arc -fsyntax-only -verify -Wno-objc-root-class %s // expected-no-diagnostics +// rdar://17259812 typedef void (^BT) (void); diff --git a/clang/test/SemaObjC/nsobject-attribute.m b/clang/test/SemaObjC/nsobject-attribute.m index f775a32d1f80..b013c9d265e7 100644 --- a/clang/test/SemaObjC/nsobject-attribute.m +++ b/clang/test/SemaObjC/nsobject-attribute.m @@ -16,9 +16,12 @@ typedef void * CFTypeRef; } @property(copy) CGColorRef x; +// rdar://problem/7809460 typedef struct CGColor * __attribute__((NSObject)) CGColorRefNoNSObject; // no-warning @property (nonatomic, retain) CGColorRefNoNSObject color; +// rdar://problem/12197822 @property (strong) __attribute__((NSObject)) CFTypeRef myObj; // no-warning +//rdar://problem/27747154 @property (strong, nullable) CGColorRefNoNSObject color2; // no-warning @end @@ -44,16 +47,19 @@ int main(int argc, char *argv[]) { return 0; } +// rdar://10453342 @interface I { __attribute__((NSObject)) void * color; // expected-warning {{'NSObject' attribute may be put on a typedef only; attribute is ignored}} } + // @property (nonatomic, retain) __attribute__((NSObject)) CGColorRefNoNSObject color; // // no-warning @end void test_10453342(void) { char* __attribute__((NSObject)) string2 = 0; // expected-warning {{'NSObject' attribute may be put on a typedef only; attribute is ignored}} } +// rdar://11569860 @interface A { int i; } @property(retain) __attribute__((NSObject)) int i; // expected-error {{'NSObject' attribute is for pointer types only}} \ // expected-error {{property with 'retain (or strong)' attribute must be of object type}} diff --git a/clang/test/SemaObjC/nullability.m b/clang/test/SemaObjC/nullability.m index 0ab97a2cfbb2..8ceda21c083a 100644 --- a/clang/test/SemaObjC/nullability.m +++ b/clang/test/SemaObjC/nullability.m @@ -218,6 +218,7 @@ void test_null_resettable(NSResettable *r, int *ip) { } @end +// rdar://problem/19814852 @interface MultiProp @property (nullable, copy) id a, b, c; @property (nullable, copy) MultiProp *d, *(^e)(int); diff --git a/clang/test/SemaObjC/nullable-weak-property.m b/clang/test/SemaObjC/nullable-weak-property.m index 0c7b21356e55..7de7edf1eee6 100644 --- a/clang/test/SemaObjC/nullable-weak-property.m +++ b/clang/test/SemaObjC/nullable-weak-property.m @@ -1,5 +1,7 @@ // RUN: %clang_cc1 -fobjc-arc -fobjc-runtime-has-weak -Wnullable-to-nonnull-conversion %s -verify + +// rdar://19985330 @interface NSObject @end @class NSFoo; diff --git a/clang/test/SemaObjC/objc-array-literal.m b/clang/test/SemaObjC/objc-array-literal.m index fc02a70bf187..9c9f6961ad93 100644 --- a/clang/test/SemaObjC/objc-array-literal.m +++ b/clang/test/SemaObjC/objc-array-literal.m @@ -1,5 +1,7 @@ // RUN: %clang_cc1 -fsyntax-only -verify %s +// rdar://10111397 // RUN: %clang_cc1 -fsyntax-only -triple i386-apple-macosx10.9.0 -fobjc-runtime=macosx-fragile-10.9.0 -fobjc-subscripting-legacy-runtime -verify %s +// rdar://15363492 #if __LP64__ || (TARGET_OS_EMBEDDED && !TARGET_OS_IPHONE) || TARGET_OS_WIN32 || NS_BUILD_32_LIKE_64 typedef unsigned long NSUInteger; @@ -52,6 +54,7 @@ int main(void) { NSArray *array2 = @[blah]; // expected-error{{collection element of type 'const char *' is not an Objective-C object}} } +// rdar://14303083 id Test14303083(void) { id obj = @[ @"A", (@"B" @"C")]; return @[ @"A", @"B" @"C"]; // expected-warning {{concatenated NSString literal for an NSArray expression - possibly missing a comma}} diff --git a/clang/test/SemaObjC/objc-asm-attribute-neg-test.m b/clang/test/SemaObjC/objc-asm-attribute-neg-test.m index 698bcaa2c8ad..9941189357ba 100644 --- a/clang/test/SemaObjC/objc-asm-attribute-neg-test.m +++ b/clang/test/SemaObjC/objc-asm-attribute-neg-test.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -fsyntax-only -verify -Wno-objc-root-class %s +// rdar://16462586 __attribute__((objc_runtime_name)) // expected-error {{'objc_runtime_name' attribute takes one argument}} @interface BInterface diff --git a/clang/test/SemaObjC/objc-buffered-methods.m b/clang/test/SemaObjC/objc-buffered-methods.m index 6471ff22ef31..bd4162c68204 100644 --- a/clang/test/SemaObjC/objc-buffered-methods.m +++ b/clang/test/SemaObjC/objc-buffered-methods.m @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -fsyntax-only -verify -Wno-objc-root-class %s // expected-no-diagnostics +// rdar://8843851 int* global; diff --git a/clang/test/SemaObjC/objc-cf-audited-warning.m b/clang/test/SemaObjC/objc-cf-audited-warning.m index 78eda584fc33..7a5fd8e153ec 100644 --- a/clang/test/SemaObjC/objc-cf-audited-warning.m +++ b/clang/test/SemaObjC/objc-cf-audited-warning.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -fobjc-arc -verify %s +// rdar://18222007 #if __has_feature(arc_cf_code_audited) #define CF_IMPLICIT_BRIDGING_ENABLED _Pragma("clang arc_cf_code_audited begin") diff --git a/clang/test/SemaObjC/objc-container-subscripting-3.m b/clang/test/SemaObjC/objc-container-subscripting-3.m index 3d2a132cba80..35b2b90d323c 100644 --- a/clang/test/SemaObjC/objc-container-subscripting-3.m +++ b/clang/test/SemaObjC/objc-container-subscripting-3.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -fsyntax-only -verify %s +// rdar://10904488 @interface Test - (int)objectAtIndexedSubscript:(int)index; // expected-note {{method 'objectAtIndexedSubscript:' declared here}} diff --git a/clang/test/SemaObjC/objc-container-subscripting-attr.m b/clang/test/SemaObjC/objc-container-subscripting-attr.m index da421cf67983..17110c47576e 100644 --- a/clang/test/SemaObjC/objc-container-subscripting-attr.m +++ b/clang/test/SemaObjC/objc-container-subscripting-attr.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -fsyntax-only -verify -Wno-objc-root-class %s +// rdar://16842487 // pr19682 @interface Subscriptable diff --git a/clang/test/SemaObjC/objc-dictionary-literal.m b/clang/test/SemaObjC/objc-dictionary-literal.m index 142765f5e260..92edb059cab2 100644 --- a/clang/test/SemaObjC/objc-dictionary-literal.m +++ b/clang/test/SemaObjC/objc-dictionary-literal.m @@ -1,5 +1,7 @@ // RUN: %clang_cc1 -fsyntax-only -verify %s +// rdar://11062080 // RUN: %clang_cc1 -fsyntax-only -triple i386-apple-macosx10.9.0 -fobjc-runtime=macosx-fragile-10.9.0 -fobjc-subscripting-legacy-runtime -verify %s +// rdar://15363492 #define nil ((void *)0) @@ -47,6 +49,7 @@ int main(void) { dict["name"] = @666; // expected-error {{indexing expression is invalid because subscript type 'char *' is not an Objective-C pointer}} + // rdar://18254621 [@{@"foo" : @"bar"} objectForKeyedSubscript:nil]; (void)@{@"foo" : @"bar"}[nil]; [@{@"foo" : @"bar"} objectForKeyedSubscript:pvoid]; diff --git a/clang/test/SemaObjC/objc-independent-class-attribute.m b/clang/test/SemaObjC/objc-independent-class-attribute.m index 58dd07d6351c..e9f58b0e73aa 100644 --- a/clang/test/SemaObjC/objc-independent-class-attribute.m +++ b/clang/test/SemaObjC/objc-independent-class-attribute.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -fsyntax-only -verify -Wno-objc-root-class %s +// rdar://20255473 @interface NSObject @end diff --git a/clang/test/SemaObjC/objc-literal-nsnumber.m b/clang/test/SemaObjC/objc-literal-nsnumber.m index aa7dc955fb5f..c4523643f32b 100644 --- a/clang/test/SemaObjC/objc-literal-nsnumber.m +++ b/clang/test/SemaObjC/objc-literal-nsnumber.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -fsyntax-only -fblocks -triple x86_64-apple-darwin10 -verify %s +// rdar://10111397 #if __LP64__ typedef unsigned long NSUInteger; @@ -46,6 +47,7 @@ void checkNSNumberFDDiagnostic(void) { + (NSNumber *)numberWithUnsignedInteger:(NSUInteger)value ; @end +// rdar://16417427 int big = 1391126400; int thousand = 1000; int main(void) { @@ -111,6 +113,7 @@ NSDictionary * warn(void) { return dictionary3; } +// rdar:// 11231426 typedef float BOOL; BOOL radar11231426(void) { diff --git a/clang/test/SemaObjC/objc-mixed-bridge-attribute.m b/clang/test/SemaObjC/objc-mixed-bridge-attribute.m index 4b2b42976579..83fb4d3cc497 100644 --- a/clang/test/SemaObjC/objc-mixed-bridge-attribute.m +++ b/clang/test/SemaObjC/objc-mixed-bridge-attribute.m @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -fsyntax-only -verify -Wno-objc-root-class %s // expected-no-diagnostics +// rdar://17238954 typedef const struct __attribute__((objc_bridge(NSAttributedString))) __CFAttributedString *CFAttributedStringRef; diff --git a/clang/test/SemaObjC/objc-qualified-property-lookup.m b/clang/test/SemaObjC/objc-qualified-property-lookup.m index fac582700cc7..b5cadbd6037f 100644 --- a/clang/test/SemaObjC/objc-qualified-property-lookup.m +++ b/clang/test/SemaObjC/objc-qualified-property-lookup.m @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -fsyntax-only -verify -Wno-objc-root-class %s // expected-no-diagnostics +// rdar://9078584 @interface NSObject @end diff --git a/clang/test/SemaObjC/objcbridge-attribute-arc.m b/clang/test/SemaObjC/objcbridge-attribute-arc.m index de9953db42a5..f7473cc0f32a 100644 --- a/clang/test/SemaObjC/objcbridge-attribute-arc.m +++ b/clang/test/SemaObjC/objcbridge-attribute-arc.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -fsyntax-only -x objective-c -fobjc-arc -verify -Wno-objc-root-class %s +// rdar://15454846 typedef struct __attribute__ ((objc_bridge(NSError))) __CFErrorRef * CFErrorRef; // expected-note 5 {{declared here}} @@ -224,6 +225,7 @@ void Test9(CFErrorRef2 cf, NSError *ns, NSString *str, Class c, CFUColor2Ref cf2 (void)(__bridge CFErrorRef)c; // expected-warning {{'__unsafe_unretained Class' cannot bridge to 'CFErrorRef' (aka 'struct __CFErrorRef *')}} } +// rdar://19157264 #if __has_feature(objc_bridge_id) typedef struct __attribute__((objc_bridge(id))) __CFFoo *CFFooRef; #endif diff --git a/clang/test/SemaObjC/objcbridge-attribute.m b/clang/test/SemaObjC/objcbridge-attribute.m index 2f527c61d309..de6fbe9f9caa 100644 --- a/clang/test/SemaObjC/objcbridge-attribute.m +++ b/clang/test/SemaObjC/objcbridge-attribute.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -fsyntax-only -verify -Wno-objc-root-class %s +// rdar://15454846 typedef struct __attribute__ ((objc_bridge(NSError))) __CFErrorRef * CFErrorRef; // expected-note 3 {{declared here}} @@ -141,6 +142,7 @@ void Test9(void) { NSNumber *w2 = (NSNumber*) bar(); // expected-error {{CF object of type 'CFDictionaryRef' (aka 'struct __CFDictionary *') is bridged to 'NSDictionary', which is not an Objective-C class}} } +// rdar://18311183 @interface NSObject @end @interface NSFont : NSObject @end diff --git a/clang/test/SemaObjC/objcbridge-related-attribute.m b/clang/test/SemaObjC/objcbridge-related-attribute.m index e56678436bf3..06c2e87c5b1f 100644 --- a/clang/test/SemaObjC/objcbridge-related-attribute.m +++ b/clang/test/SemaObjC/objcbridge-related-attribute.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -fsyntax-only -x objective-c -verify -Wno-objc-root-class %s +// rdar://15499111 typedef struct __attribute__((objc_bridge_related(NSColor,colorWithCGColor:,CGColor))) CGColor *CGColorRef; // expected-note 5 {{declared here}} typedef struct __attribute__((objc_bridge_related(NSColor,,CGColor1))) CGColor1 *CGColorRef1; diff --git a/clang/test/SemaObjC/objcbridgemutable-attribute.m b/clang/test/SemaObjC/objcbridgemutable-attribute.m index 1826f3b9690e..524e6868fa70 100644 --- a/clang/test/SemaObjC/objcbridgemutable-attribute.m +++ b/clang/test/SemaObjC/objcbridgemutable-attribute.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -fsyntax-only -verify -Wno-objc-root-class %s +// rdar://15498044 typedef struct __attribute__((objc_bridge_mutable(NSMutableDictionary))) __CFDictionary * CFMutableDictionaryRef; // expected-note {{declared here}} diff --git a/clang/test/SemaObjC/opaque-is-access-warn.m b/clang/test/SemaObjC/opaque-is-access-warn.m index 0445494c5e82..e5fdef640c37 100644 --- a/clang/test/SemaObjC/opaque-is-access-warn.m +++ b/clang/test/SemaObjC/opaque-is-access-warn.m @@ -2,6 +2,7 @@ // RUN: %clang -target x86_64-apple-darwin -arch arm64 -mios-version-min=7 -fsyntax-only %s -Xclang -verify // RUN: %clang -target x86_64-apple-darwin -mios-simulator-version-min=7 -fsyntax-only -Wdeprecated-objc-isa-usage %s -Xclang -verify // RUN: %clang -target x86_64-apple-darwin -arch armv7k -mwatchos-version-min=2 -fsyntax-only -Wdeprecated-objc-isa-usage %s -Xclang -verify +// rdar://10709102 // RUN: %clang -target x86_64-apple-darwin -arch x86_64 -fsyntax-only -Wdeprecated-objc-isa-usage %s -Xclang -verify typedef struct objc_object { diff --git a/clang/test/SemaObjC/opaque-is-access.m b/clang/test/SemaObjC/opaque-is-access.m index d7272d5f60af..ebb42ebbbb40 100644 --- a/clang/test/SemaObjC/opaque-is-access.m +++ b/clang/test/SemaObjC/opaque-is-access.m @@ -1,5 +1,6 @@ // RUN: %clang -target x86_64-apple-darwin -arch arm64 -mios-version-min=7 -fsyntax-only %s -Xclang -verify // RUN: %clang -target x86_64-apple-darwin -arch x86_64 -mios-simulator-version-min=7 -fsyntax-only %s -Xclang -verify +// rdar://10709102 typedef struct objc_object { struct objc_class *isa; diff --git a/clang/test/SemaObjC/override-nullability.m b/clang/test/SemaObjC/override-nullability.m index 07c38c5c4222..8e29f9152750 100644 --- a/clang/test/SemaObjC/override-nullability.m +++ b/clang/test/SemaObjC/override-nullability.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -fobjc-arc -fobjc-runtime-has-weak -Wnonnull %s -verify +//rdar://19211059 @interface NSObject @end diff --git a/clang/test/SemaObjC/overriding-property-in-class-extension.m b/clang/test/SemaObjC/overriding-property-in-class-extension.m index eb2825d15805..77efd556928c 100644 --- a/clang/test/SemaObjC/overriding-property-in-class-extension.m +++ b/clang/test/SemaObjC/overriding-property-in-class-extension.m @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -fsyntax-only -verify -Weverything %s // expected-no-diagnostics +// rdar://12103434 @class NSString; diff --git a/clang/test/SemaObjC/ovl-check.m b/clang/test/SemaObjC/ovl-check.m index 842d2a1ac1ec..b777c29178d5 100644 --- a/clang/test/SemaObjC/ovl-check.m +++ b/clang/test/SemaObjC/ovl-check.m @@ -17,7 +17,7 @@ typedef const __attribute__((objc_bridge(id))) void * CFTypeRef; - (void) test2:(Iface1 *)arg; @end -// PR26085 +// PR26085, rdar://problem/24111333 void testTakesIface1(id x, Iface1 *arg) { // This should resolve silently to `TakesIface1`. [x test:arg]; diff --git a/clang/test/SemaObjC/parameterized_classes_arc.m b/clang/test/SemaObjC/parameterized_classes_arc.m index 623de5be3b4c..608a521f4724 100644 --- a/clang/test/SemaObjC/parameterized_classes_arc.m +++ b/clang/test/SemaObjC/parameterized_classes_arc.m @@ -1,5 +1,7 @@ // RUN: %clang_cc1 -fblocks -fobjc-arc -fobjc-runtime-has-weak %s -verify +// rdar://21612439 + __attribute__((objc_root_class)) @interface NSObject @end diff --git a/clang/test/SemaObjC/parameterized_classes_subst.m b/clang/test/SemaObjC/parameterized_classes_subst.m index 98dd88c3bc98..b6d884760d29 100644 --- a/clang/test/SemaObjC/parameterized_classes_subst.m +++ b/clang/test/SemaObjC/parameterized_classes_subst.m @@ -435,6 +435,7 @@ void test_ternary_operator(NSArray *stringArray, // -------------------------------------------------------------------------- typedef NSArray ArrayOfNSObjectWarning; // expected-warning{{parameterized class 'NSArray' already conforms to the protocols listed; did you forget a '*'?}} +// rdar://25060179 @interface MyMutableDictionary : NSObject - (void)setObject:(ObjectType)obj forKeyedSubscript:(KeyType )key; // expected-note{{passing argument to parameter 'obj' here}} \ // expected-note{{passing argument to parameter 'key' here}} @@ -470,7 +471,7 @@ void bar(MyMutableDictionary *stringsByString, // -------------------------------------------------------------------------- // Use a type parameter as a type argument. // -------------------------------------------------------------------------- -// Type bounds in a category/extension are omitted. +// Type bounds in a category/extension are omitted. rdar://problem/54329242 @interface ParameterizedContainer> - (ParameterizedContainer *)inInterface; @end diff --git a/clang/test/SemaObjC/pedantic-dynamic-test.m b/clang/test/SemaObjC/pedantic-dynamic-test.m index 34cbb7241dcc..1fc5ef66b88a 100644 --- a/clang/test/SemaObjC/pedantic-dynamic-test.m +++ b/clang/test/SemaObjC/pedantic-dynamic-test.m @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -fsyntax-only -verify -pedantic -Wno-objc-root-class %s // expected-no-diagnostics +// rdar: // 7860960 @interface I { diff --git a/clang/test/SemaObjC/pragma-pack.m b/clang/test/SemaObjC/pragma-pack.m index 836255251a63..6869bca90d0a 100644 --- a/clang/test/SemaObjC/pragma-pack.m +++ b/clang/test/SemaObjC/pragma-pack.m @@ -1,7 +1,7 @@ // RUN: %clang_cc1 -triple i686-apple-darwin9 -fsyntax-only -verify -Wno-objc-root-class %s // expected-no-diagnostics -// Make sure pragma pack works inside ObjC methods. +// Make sure pragma pack works inside ObjC methods. @interface X @end @implementation X diff --git a/clang/test/SemaObjC/property-10.m b/clang/test/SemaObjC/property-10.m index 6886a31e44ed..f35e93661e4f 100644 --- a/clang/test/SemaObjC/property-10.m +++ b/clang/test/SemaObjC/property-10.m @@ -38,6 +38,7 @@ @property(nonatomic,weak) int (*PROP2)(void); // expected-error {{property with 'weak' attribute must be of object type}} @end +// rdar://10357768 @interface rdar10357768 { int n1; diff --git a/clang/test/SemaObjC/property-12.m b/clang/test/SemaObjC/property-12.m index 7a3ed8dbfb1a..5fc311aa90ad 100644 --- a/clang/test/SemaObjC/property-12.m +++ b/clang/test/SemaObjC/property-12.m @@ -28,6 +28,8 @@ @property(copy,retain) id X; // expected-error {{property attributes 'copy' and 'retain' are mutually exclusive}} @end + +// rdar://11656982 @interface I0 @end @implementation I0 @synthesize X; diff --git a/clang/test/SemaObjC/property-3.m b/clang/test/SemaObjC/property-3.m index a513c668b440..8f2aa2d1ad7b 100644 --- a/clang/test/SemaObjC/property-3.m +++ b/clang/test/SemaObjC/property-3.m @@ -13,6 +13,7 @@ @property (readwrite, copy) I* d2; @end +// rdar://13156292 typedef signed char BOOL; @protocol EKProtocolCalendar diff --git a/clang/test/SemaObjC/property-9-impl-method.m b/clang/test/SemaObjC/property-9-impl-method.m index 46699608e7af..d6220f66fa9a 100644 --- a/clang/test/SemaObjC/property-9-impl-method.m +++ b/clang/test/SemaObjC/property-9-impl-method.m @@ -1,5 +1,6 @@ // RUN: %clang_cc1 %s -fsyntax-only -verify // expected-no-diagnostics +// rdar://5967199 typedef signed char BOOL; @class NSInvocation, NSMethodSignature, NSCoder, NSString, NSEnumerator; diff --git a/clang/test/SemaObjC/property-9.m b/clang/test/SemaObjC/property-9.m index ed7e89cf5fcc..623143d54967 100644 --- a/clang/test/SemaObjC/property-9.m +++ b/clang/test/SemaObjC/property-9.m @@ -48,7 +48,7 @@ typedef signed char BOOL; @property (readonly) int : 4; // expected-error {{property requires fields to be named}} -// test parser recovery +// test parser recovery: rdar://6254579 @property ( // expected-note {{to match this '('}} readonly getter=isAwesome) // expected-error {{expected ')'}} @@ -84,6 +84,7 @@ typedef signed char BOOL; } @end +// radar 7427072 @interface MyStyleIntf { int _myStyle; @@ -94,6 +95,7 @@ typedef signed char BOOL; - (float)setMyStyle:(int)style; @end +// rdar://8774513 @class MDAInstance; // expected-note {{forward declaration of class here}} @interface MDATestDocument @@ -104,6 +106,7 @@ id f0(MDATestDocument *d) { return d.instance.path; // expected-error {{property 'path' cannot be found in forward class object 'MDAInstance'}} } +// rdar://20469452 @interface UIView @end @interface FRFakeBannerView : UIView diff --git a/clang/test/SemaObjC/property-ambiguous-synthesis.m b/clang/test/SemaObjC/property-ambiguous-synthesis.m index 854572e56a28..5c652fa472e7 100644 --- a/clang/test/SemaObjC/property-ambiguous-synthesis.m +++ b/clang/test/SemaObjC/property-ambiguous-synthesis.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -fsyntax-only -verify -Wno-objc-root-class %s +// rdar://13075400 @protocol FooAsID @property (assign) id foo; // expected-note 2 {{it could also be property of type 'id' declared here}} \\ diff --git a/clang/test/SemaObjC/property-category-4.m b/clang/test/SemaObjC/property-category-4.m index 86fd598d3f9b..ccf5e9b2a86f 100644 --- a/clang/test/SemaObjC/property-category-4.m +++ b/clang/test/SemaObjC/property-category-4.m @@ -16,6 +16,8 @@ @dynamic d_selectedObjects; // expected-error {{property declared in category 'CAT' cannot be implemented in class implementation}} @end + +// rdar://13713098 // Test1 @interface NSArray - (int)count; diff --git a/clang/test/SemaObjC/property-category-impl.m b/clang/test/SemaObjC/property-category-impl.m index b914862cd922..135b0057618f 100644 --- a/clang/test/SemaObjC/property-category-impl.m +++ b/clang/test/SemaObjC/property-category-impl.m @@ -31,6 +31,7 @@ @implementation MyClass (public) @end +// rdar://12568064 // No warn of unimplemented property of protocols in category, // when those properties will be implemented in category's primary // class or one of its super classes. diff --git a/clang/test/SemaObjC/property-choose-expr.m b/clang/test/SemaObjC/property-choose-expr.m index 55290d0110c0..71265e5f8c20 100644 --- a/clang/test/SemaObjC/property-choose-expr.m +++ b/clang/test/SemaObjC/property-choose-expr.m @@ -5,6 +5,7 @@ -(int)count; @end +// char* f(NSArray *array) { return _Generic(__builtin_choose_expr(__builtin_types_compatible_p(__typeof__(array.count), void), 0.f, array.count), unsigned int:"uint", diff --git a/clang/test/SemaObjC/property-deprecated-warning.m b/clang/test/SemaObjC/property-deprecated-warning.m index a42901414807..45e098baa891 100644 --- a/clang/test/SemaObjC/property-deprecated-warning.m +++ b/clang/test/SemaObjC/property-deprecated-warning.m @@ -1,6 +1,7 @@ // RUN: %clang_cc1 -fsyntax-only -triple thumbv6-apple-ios3.0 -verify -Wno-objc-root-class %s // RUN: %clang_cc1 -D WARN_PARTIAL -Wpartial-availability -fsyntax-only -triple thumbv6-apple-ios3.0 -verify -Wno-objc-root-class %s // RUN: %clang_cc1 -x objective-c++ -fsyntax-only -triple thumbv6-apple-ios3.0 -verify -Wno-objc-root-class %s +// rdar://12324295 typedef signed char BOOL; @@ -143,6 +144,7 @@ id useDeprecatedProperty(ProtocolInCategory *obj, id

obj2, int flag) { return [obj2 partialPtarget]; } +// rdar://15951801 @interface Foo { int _x; diff --git a/clang/test/SemaObjC/property-dot-receiver.m b/clang/test/SemaObjC/property-dot-receiver.m index 642b651be220..4a5f1959dc0e 100644 --- a/clang/test/SemaObjC/property-dot-receiver.m +++ b/clang/test/SemaObjC/property-dot-receiver.m @@ -1,6 +1,7 @@ // RUN: %clang_cc1 -fsyntax-only -verify -Wno-objc-root-class %s // RUN: %clang_cc1 -x objective-c++ -fsyntax-only -verify -Wno-objc-root-class %s // expected-no-diagnostics +// rdar://8962253 @interface Singleton { } diff --git a/clang/test/SemaObjC/property-impl-misuse.m b/clang/test/SemaObjC/property-impl-misuse.m index 01afd0a1e9a3..c49916e10d90 100644 --- a/clang/test/SemaObjC/property-impl-misuse.m +++ b/clang/test/SemaObjC/property-impl-misuse.m @@ -15,6 +15,7 @@ @synthesize Z=Y; // expected-error {{synthesized properties 'Z' and 'Y' both claim instance variable 'Y'}} @end +// rdar://8703553 @interface IDEPathCell { @private @@ -34,6 +35,7 @@ } @end +// rdar://11054153 @interface rdar11054153 @property int P; // expected-error {{type of property 'P' ('int') does not match type of accessor 'P' ('void')}} - (void)P; // expected-note {{declared here}} diff --git a/clang/test/SemaObjC/property-implement-readonly-with-custom-setter.m b/clang/test/SemaObjC/property-implement-readonly-with-custom-setter.m index 1fc111b11d23..7ac138076751 100644 --- a/clang/test/SemaObjC/property-implement-readonly-with-custom-setter.m +++ b/clang/test/SemaObjC/property-implement-readonly-with-custom-setter.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -fsyntax-only -verify -Wno-objc-root-class %s +// rdar://34192541 @class NSString; diff --git a/clang/test/SemaObjC/property-in-class-extension-1.m b/clang/test/SemaObjC/property-in-class-extension-1.m index 19d27b331389..6215f70abc10 100644 --- a/clang/test/SemaObjC/property-in-class-extension-1.m +++ b/clang/test/SemaObjC/property-in-class-extension-1.m @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -fsyntax-only -triple x86_64-apple-darwin11 -fobjc-runtime-has-weak -fobjc-weak -verify -Wproperty-attribute-mismatch %s // RUN: %clang_cc1 -x objective-c++ -triple x86_64-apple-darwin11 -fobjc-runtime-has-weak -fobjc-weak -fsyntax-only -verify -Wproperty-attribute-mismatch %s +// rdar://12103400 @class NSString; @@ -46,6 +47,7 @@ @property (assign) NSString* readonlyProp; @end +// rdar://12214070 @interface radar12214070 @property (nonatomic, atomic, readonly) float propertyName; // expected-error {{property attributes 'atomic' and 'nonatomic' are mutually exclusive}} diff --git a/clang/test/SemaObjC/property-in-class-extension.m b/clang/test/SemaObjC/property-in-class-extension.m index ff601b55e008..eefc0df40cc4 100644 --- a/clang/test/SemaObjC/property-in-class-extension.m +++ b/clang/test/SemaObjC/property-in-class-extension.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -fsyntax-only -verify -Wno-objc-root-class %s +// rdar://7766184 @interface Foo @end @@ -11,6 +12,7 @@ void FUNC (void) { foo.bar = 0; // expected-error {{assignment to readonly property}} } +// rdar://8747333 @class NSObject; @interface rdar8747333 { diff --git a/clang/test/SemaObjC/property-inherited.m b/clang/test/SemaObjC/property-inherited.m index c96b0ee7b172..cd223ddd1ff3 100644 --- a/clang/test/SemaObjC/property-inherited.m +++ b/clang/test/SemaObjC/property-inherited.m @@ -1,8 +1,8 @@ // RUN: %clang_cc1 %s -fsyntax-only -verify // RUN: %clang_cc1 -x objective-c++ %s -fsyntax-only -verify -// Inherited overridden protocol declared objects don't work -// Case for c++ +// rdar://6497242 Inherited overridden protocol declared objects don't work +// rdar://9740328 Case for c++ @protocol NSObject @end @interface NSObject @end @@ -45,6 +45,7 @@ @property(assign) NSData *p_data; // expected-warning{{property type 'NSData *' is incompatible with type 'NSMutableData *' inherited from 'Base'}} @end +// rdar://15967517 @protocol P1 @property (nonatomic) void* selected; @end diff --git a/clang/test/SemaObjC/property-lookup-in-id.m b/clang/test/SemaObjC/property-lookup-in-id.m index 7c676eb2f1c5..38aa32c50607 100644 --- a/clang/test/SemaObjC/property-lookup-in-id.m +++ b/clang/test/SemaObjC/property-lookup-in-id.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -fsyntax-only -verify -Wno-objc-root-class %s +// rdar://9106929 typedef struct objc_class *Class; diff --git a/clang/test/SemaObjC/property-missing.m b/clang/test/SemaObjC/property-missing.m index 18b9e491e4a1..3ebf0a81159c 100644 --- a/clang/test/SemaObjC/property-missing.m +++ b/clang/test/SemaObjC/property-missing.m @@ -20,6 +20,7 @@ void f3(id o) o.foo; // expected-error{{property 'foo' not found on object of type 'id'}} } +// rdar://8851803 @class SomeOtherClass; // expected-note {{forward declaration of class here}} @interface MyClass { diff --git a/clang/test/SemaObjC/property-not-lvalue.m b/clang/test/SemaObjC/property-not-lvalue.m index 2bd5ff6153f5..029a0723ad2c 100644 --- a/clang/test/SemaObjC/property-not-lvalue.m +++ b/clang/test/SemaObjC/property-not-lvalue.m @@ -22,6 +22,8 @@ void foo(void) { f.size.inner.dim = 200; // expected-error {{expression is not assignable}} } +// radar 7628953 + @interface Gorf { } - (NSSize)size; diff --git a/clang/test/SemaObjC/property-ns-returns-not-retained-attr.m b/clang/test/SemaObjC/property-ns-returns-not-retained-attr.m index fa0e8e6a9213..96ef3eddecb1 100644 --- a/clang/test/SemaObjC/property-ns-returns-not-retained-attr.m +++ b/clang/test/SemaObjC/property-ns-returns-not-retained-attr.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -triple x86_64-apple-darwin11 -fsyntax-only -verify -Wno-objc-root-class %s +// rdar://9636091 @interface I @property (nonatomic, retain) id newName __attribute__((ns_returns_not_retained)) ; diff --git a/clang/test/SemaObjC/property-ownership-attr.m b/clang/test/SemaObjC/property-ownership-attr.m index 2dba8f2ce12b..f83c560acb3f 100644 --- a/clang/test/SemaObjC/property-ownership-attr.m +++ b/clang/test/SemaObjC/property-ownership-attr.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -fsyntax-only -verify %s +// rdar://15014468 @protocol P @property(readonly) id z; diff --git a/clang/test/SemaObjC/property-user-setter.m b/clang/test/SemaObjC/property-user-setter.m index 6b0447fa7c19..7674c2b3a2cd 100644 --- a/clang/test/SemaObjC/property-user-setter.m +++ b/clang/test/SemaObjC/property-user-setter.m @@ -103,6 +103,7 @@ int main (void) { return 0; } +// rdar://11363363 @interface rdar11363363 { id R; @@ -125,6 +126,7 @@ int main (void) { - (id) Meth { self.P = 0; // expected-warning {{property 'P' not found on object of type 'rdar11363363 *'; did you mean to access property p?}} self.q = 0; // expected-warning {{property 'q' not found on object of type 'rdar11363363 *'; did you mean to access property Q?}} +// rdar://11528439 self.t = 0; // expected-error {{synthesized properties 't' and 'T' both claim setter 'setT:'}} self.T = 0; // expected-error {{synthesized properties 'T' and 't' both claim setter 'setT:'}} self.Pxyz = 0; // expected-error {{synthesized properties 'Pxyz' and 'pxyz' both claim setter 'setPxyz:'}} @@ -135,6 +137,7 @@ int main (void) { } @end +// rdar://11499742 @class BridgeFormatter; @interface FMXBridgeFormatter diff --git a/clang/test/SemaObjC/property.m b/clang/test/SemaObjC/property.m index a20736aadced..64123f261df5 100644 --- a/clang/test/SemaObjC/property.m +++ b/clang/test/SemaObjC/property.m @@ -62,8 +62,10 @@ typedef id BYObjectIdentifier; @property int treeController; // expected-error {{property has a previous declaration}} @end +// rdar://10127639 @synthesize window; // expected-error {{missing context for property implementation declaration}} +// rdar://10408414 Class test6_getClass(void); @interface Test6 @end diff --git a/clang/test/SemaObjC/protocol-archane.m b/clang/test/SemaObjC/protocol-archane.m index ffb04fff6d04..0b1d0bffa9b7 100644 --- a/clang/test/SemaObjC/protocol-archane.m +++ b/clang/test/SemaObjC/protocol-archane.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -fsyntax-only -verify -Wno-pointer-to-int-cast -Wno-objc-root-class -Wno-strict-prototypes %s +// rdar://5986251 @protocol SomeProtocol - (void) bar; @@ -32,6 +33,7 @@ typedef struct objc_class *Class; Class UnfortunateGCCExtension; +// rdar://10238337 @protocol Broken @end @interface Crash @end @implementation Crash diff --git a/clang/test/SemaObjC/protocol-expr-neg-1.m b/clang/test/SemaObjC/protocol-expr-neg-1.m index 9786aab6ebc0..d5767eb27ba9 100644 --- a/clang/test/SemaObjC/protocol-expr-neg-1.m +++ b/clang/test/SemaObjC/protocol-expr-neg-1.m @@ -17,6 +17,7 @@ int main(void) Protocol *p1p = @protocol(cl); // expected-error {{cannot find protocol declaration for 'cl'}} } +// rdar://17768630 @protocol SuperProtocol; // expected-note {{'SuperProtocol' declared here}} @protocol TestProtocol; // expected-note {{'TestProtocol' declared here}} diff --git a/clang/test/SemaObjC/protocol-implementing-class-methods.m b/clang/test/SemaObjC/protocol-implementing-class-methods.m index 58d84ff893dd..503eef11ca68 100644 --- a/clang/test/SemaObjC/protocol-implementing-class-methods.m +++ b/clang/test/SemaObjC/protocol-implementing-class-methods.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -fsyntax-only -verify %s +// rdar://7020493 @protocol P1 @optional @@ -26,6 +27,7 @@ - (void) CEMeth {}; // expected-warning {{category is implementing a method which will also be implemented by its primary class}} @end +// rdar://10014946 typedef char BOOL; @interface I { diff --git a/clang/test/SemaObjC/protocol-warn.m b/clang/test/SemaObjC/protocol-warn.m index 2b900a4382d3..ca875b06b202 100644 --- a/clang/test/SemaObjC/protocol-warn.m +++ b/clang/test/SemaObjC/protocol-warn.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -fsyntax-only -verify %s +// radar 7638810 @protocol NSObject @end diff --git a/clang/test/SemaObjC/protocols.m b/clang/test/SemaObjC/protocols.m index 77c10fa21b77..ebb9b634b4b6 100644 --- a/clang/test/SemaObjC/protocols.m +++ b/clang/test/SemaObjC/protocols.m @@ -44,6 +44,8 @@ @protocol PROTO4 @end + +// rdar://6771034 @protocol XX; @protocol YY // Use of declaration of XX here should not cause a warning. - zz; diff --git a/clang/test/SemaObjC/provisional-ivar-lookup.m b/clang/test/SemaObjC/provisional-ivar-lookup.m index ed11341cdfc8..a6276b816d76 100644 --- a/clang/test/SemaObjC/provisional-ivar-lookup.m +++ b/clang/test/SemaObjC/provisional-ivar-lookup.m @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -fsyntax-only -verify -Wno-objc-root-class %s +// rdar:// 8565343 @interface Foo { @private int _foo; diff --git a/clang/test/SemaObjC/qualified-protocol-method-conflicts.m b/clang/test/SemaObjC/qualified-protocol-method-conflicts.m index c47d9c958c8b..d1d5612ef0ed 100644 --- a/clang/test/SemaObjC/qualified-protocol-method-conflicts.m +++ b/clang/test/SemaObjC/qualified-protocol-method-conflicts.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -Woverriding-method-mismatch -fsyntax-only -verify -Wno-objc-root-class %s +// rdar://6191214 @protocol Xint -(void) setX: (int) arg0; // expected-note {{previous declaration is here}} diff --git a/clang/test/SemaObjC/rdar6248119.m b/clang/test/SemaObjC/rdar6248119.m index a6f74e175af4..afde67b6028d 100644 --- a/clang/test/SemaObjC/rdar6248119.m +++ b/clang/test/SemaObjC/rdar6248119.m @@ -1,5 +1,7 @@ // RUN: %clang_cc1 -fsyntax-only %s -verify -fobjc-exceptions // expected-no-diagnostics +// Test case for: +// @finally doesn't introduce a new scope void f0(void) { int i; diff --git a/clang/test/SemaObjC/rdr-6211479-array-property.m b/clang/test/SemaObjC/rdr-6211479-array-property.m index 873adb5dc8dc..f81bc6ca8cd8 100644 --- a/clang/test/SemaObjC/rdr-6211479-array-property.m +++ b/clang/test/SemaObjC/rdr-6211479-array-property.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -fsyntax-only -verify %s +// typedef int T[2]; diff --git a/clang/test/SemaObjC/receiver-forward-class.m b/clang/test/SemaObjC/receiver-forward-class.m index 4e37511bc341..cefb5d782f99 100644 --- a/clang/test/SemaObjC/receiver-forward-class.m +++ b/clang/test/SemaObjC/receiver-forward-class.m @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -fsyntax-only -Wreceiver-forward-class -verify %s // RUN: %clang_cc1 -x objective-c++ -fsyntax-only -Wreceiver-forward-class -verify %s +// rdar://10686120 @class A; // expected-note {{forward declaration of class here}} diff --git a/clang/test/SemaObjC/related-result-type-inference.m b/clang/test/SemaObjC/related-result-type-inference.m index 1eb7b17b6742..6b7e9c40990a 100644 --- a/clang/test/SemaObjC/related-result-type-inference.m +++ b/clang/test/SemaObjC/related-result-type-inference.m @@ -148,6 +148,7 @@ void test_inference(void) { + (NSString *)newString { return @"blah"; } @end +// @interface G - (id)_ABC_init __attribute__((objc_method_family(init))); // expected-note {{method '_ABC_init' declared here}} @end @@ -178,10 +179,14 @@ void test_inference(void) { } @end +// + @interface WeirdNSString : NSString - (id)initWithCString:(const char*)string, void *blah; @end + +// rdar://14121570 @protocol PMFilterManager @end diff --git a/clang/test/SemaObjC/resolve-method-in-global-pool.m b/clang/test/SemaObjC/resolve-method-in-global-pool.m index e563ee9331f5..f74d6e2e2207 100644 --- a/clang/test/SemaObjC/resolve-method-in-global-pool.m +++ b/clang/test/SemaObjC/resolve-method-in-global-pool.m @@ -2,6 +2,8 @@ // RUN: %clang_cc1 -x objective-c++ -triple x86_64-apple-darwin10 -fsyntax-only -verify -fblocks -Wno-objc-root-class %s // expected-no-diagnostics +// rdar://16808765 + @interface NSObject + (void)clsMethod:(int*)arg; @end @@ -39,6 +41,7 @@ void func( Class c, float g ) { [c clsMethod: &g]; } +// rdar://18095772 @protocol NSKeyedArchiverDelegate @end @interface NSKeyedArchiver diff --git a/clang/test/SemaObjC/return.m b/clang/test/SemaObjC/return.m index 828a6a2f28a0..a4e69597765c 100644 --- a/clang/test/SemaObjC/return.m +++ b/clang/test/SemaObjC/return.m @@ -21,7 +21,8 @@ void test3(int a) { // expected-warning {{function 'test3' could be declared wi } } -// This code always returns, we should not issue a noreturn warning. +// - This code always returns, we should not +// issue a noreturn warning. @class NSException; @class NSString; NSString *rdar_4289832(void) { // no-warning diff --git a/clang/test/SemaObjC/scope-check.m b/clang/test/SemaObjC/scope-check.m index c6f88f26164a..563dca05db79 100644 --- a/clang/test/SemaObjC/scope-check.m +++ b/clang/test/SemaObjC/scope-check.m @@ -45,6 +45,7 @@ L3: ; L8: ; } + // rdar://6810106 id X; goto L9; // expected-error{{cannot jump}} goto L10; // ok @@ -62,6 +63,7 @@ void test2(int a) { return; } +// rdar://6803963 void test3(void) { @try { goto blargh; diff --git a/clang/test/SemaObjC/selector-1.m b/clang/test/SemaObjC/selector-1.m index 9de1b7bfd82c..e9d5f064ab3d 100644 --- a/clang/test/SemaObjC/selector-1.m +++ b/clang/test/SemaObjC/selector-1.m @@ -14,6 +14,7 @@ SEL func(void) return @selector(compare:); // expected-warning {{several methods with selector 'compare:' of mismatched types are found for the @selector expression}} } +// rdar://16458579 void Test16458579(void) { SEL s = @selector((retain)); SEL s1 = @selector((meth1:)); @@ -38,6 +39,7 @@ int main(void) { SEL s9 = @selector(:enum:bool:); } +// rdar://15794055 @interface NSObject @end @class NSNumber; diff --git a/clang/test/SemaObjC/selector-2.m b/clang/test/SemaObjC/selector-2.m index 23a0c801821b..0bd99faf76a8 100644 --- a/clang/test/SemaObjC/selector-2.m +++ b/clang/test/SemaObjC/selector-2.m @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -fsyntax-only -Wselector -verify %s // expected-no-diagnostics +// rdar://8851684 @interface I - length; @end diff --git a/clang/test/SemaObjC/selector-3.m b/clang/test/SemaObjC/selector-3.m index 02bbf616ac1f..34dd72451713 100644 --- a/clang/test/SemaObjC/selector-3.m +++ b/clang/test/SemaObjC/selector-3.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -fsyntax-only -Wselector -verify -Wno-objc-root-class %s +// rdar://8851684 @interface Foo - (void) foo; @@ -27,6 +28,7 @@ SEL func(void) return @selector(length); // expected-warning {{no method with selector 'length' is implemented in this translation unit}} } +// rdar://9545564 @class MSPauseManager; @protocol MSPauseManagerDelegate @@ -50,6 +52,7 @@ SEL func(void) } @end +// rdar://12938616 @class NSXPCConnection; @interface NSObject @@ -79,6 +82,7 @@ extern SEL MySelector(SEL s); } @end +// rdar://14007194 @interface UxTechTest : NSObject - (int) invalidate : (id)Arg; + (int) C_invalidate : (int)arg; @@ -107,6 +111,7 @@ extern SEL MySelector(SEL s); - (int) invalidate : (id)arg; @end +// rdar://16428638 @interface I16428638 - (int) compare: (I16428638 *) arg1; // commenting out this line avoids the warning @end @@ -130,6 +135,7 @@ void test16428638(void) { (void)s; } +// rdar://16607480 @class NSString; @interface SELCanary : NSObject @property (readonly, nonatomic) NSString *name; diff --git a/clang/test/SemaObjC/selector-4.m b/clang/test/SemaObjC/selector-4.m index 3a574a1ed2df..63691280403b 100644 --- a/clang/test/SemaObjC/selector-4.m +++ b/clang/test/SemaObjC/selector-4.m @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -Wselector -x objective-c %s -include %s -verify // expected-no-diagnostics +// rdar://16600230 #ifndef INCLUDED #define INCLUDED diff --git a/clang/test/SemaObjC/self-assign.m b/clang/test/SemaObjC/self-assign.m index d2bd3f4c8197..e0f5f43f3319 100644 --- a/clang/test/SemaObjC/self-assign.m +++ b/clang/test/SemaObjC/self-assign.m @@ -5,6 +5,7 @@ @implementation A - (id):(int)x :(int)y { int z; + // if (self = [self :x :y]) {} // expected-warning{{using the result of an assignment as a condition without parentheses}} \ // expected-note{{use '==' to turn this assignment into an equality comparison}} \ // expected-note{{place parentheses around the assignment to silence this warning}} diff --git a/clang/test/SemaObjC/self-declared-in-block.m b/clang/test/SemaObjC/self-declared-in-block.m index 0847698a5592..36a9ef571d5a 100644 --- a/clang/test/SemaObjC/self-declared-in-block.m +++ b/clang/test/SemaObjC/self-declared-in-block.m @@ -1,6 +1,7 @@ // RUN: %clang_cc1 -fsyntax-only -triple x86_64-apple-darwin10 -fblocks -verify -Wno-objc-root-class %s // RUN: %clang_cc1 -x objective-c++ -fsyntax-only -triple x86_64-apple-darwin10 -fblocks -verify -Wno-objc-root-class %s // expected-no-diagnostics +// rdar://9154582 @interface Blocky @end @@ -17,6 +18,8 @@ @end + +// rdar://9284603 @interface ShadowSelf { int _anIvar; diff --git a/clang/test/SemaObjC/self-in-function.m b/clang/test/SemaObjC/self-in-function.m index fd497025edb1..a14ad909dde3 100644 --- a/clang/test/SemaObjC/self-in-function.m +++ b/clang/test/SemaObjC/self-in-function.m @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -fsyntax-only -fblocks -verify %s // expected-no-diagnostics +// rdar://9181463 typedef struct objc_class *Class; diff --git a/clang/test/SemaObjC/setter-dotsyntax.m b/clang/test/SemaObjC/setter-dotsyntax.m index 32f51f965cbf..7e205ca75618 100644 --- a/clang/test/SemaObjC/setter-dotsyntax.m +++ b/clang/test/SemaObjC/setter-dotsyntax.m @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -fsyntax-only -verify %s // expected-no-diagnostics +// rdar://8528170 @interface NSObject @end diff --git a/clang/test/SemaObjC/severe-syntax-error.m b/clang/test/SemaObjC/severe-syntax-error.m index f8218d06db9b..8c59151c2bdd 100644 --- a/clang/test/SemaObjC/severe-syntax-error.m +++ b/clang/test/SemaObjC/severe-syntax-error.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -fsyntax-only -verify -Wno-objc-root-class %s +// rdar://10633434 @interface testClass @end diff --git a/clang/test/SemaObjC/sign-conversion.m b/clang/test/SemaObjC/sign-conversion.m index 81b08390b10c..a340c15696bd 100644 --- a/clang/test/SemaObjC/sign-conversion.m +++ b/clang/test/SemaObjC/sign-conversion.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -fsyntax-only -verify -Wsign-conversion %s +// rdar://13855394 typedef unsigned int NSUInteger; @@ -26,6 +27,7 @@ void foo(void) { x.uint = sint; // expected-warning {{implicit conversion changes signedness: 'int' to 'NSUInteger'}} } +// rdar://13855682 void Test1(void) { signed int si = -1; NSArray *array; diff --git a/clang/test/SemaObjC/sizeof-interface.m b/clang/test/SemaObjC/sizeof-interface.m index a9ef7cb32cb0..8325b1629577 100644 --- a/clang/test/SemaObjC/sizeof-interface.m +++ b/clang/test/SemaObjC/sizeof-interface.m @@ -2,8 +2,10 @@ @class I0; // expected-note 2{{forward declaration of class here}} +// rdar://6811884 int g0 = sizeof(I0); // expected-error{{invalid application of 'sizeof' to an incomplete type 'I0'}} +// rdar://6821047 void *g3(I0 *P) { P = P+5; // expected-error {{arithmetic on a pointer to an incomplete type 'I0'}} @@ -47,6 +49,7 @@ typedef struct { @defs(I1); } I1_defs; // expected-error {{use of @defs is not s // create is tied to whether we have seen synthesized properties. Ugh. // int g3[ sizeof(I1) == 0 ? 1 : -1]; +// rdar://6821047 int bar(I0 *P) { P = P+5; // expected-error {{arithmetic on pointer to interface 'I0', which is not a constant size for this architecture and platform}} P = 5+P; // expected-error {{arithmetic on pointer to interface 'I0', which is not a constant size for this architecture and platform}} diff --git a/clang/test/SemaObjC/special-dep-unavail-warning.m b/clang/test/SemaObjC/special-dep-unavail-warning.m index 40940d1796b0..fdf907eee429 100644 --- a/clang/test/SemaObjC/special-dep-unavail-warning.m +++ b/clang/test/SemaObjC/special-dep-unavail-warning.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -fsyntax-only -verify %s +// rdar://8769853 @interface B - (void) depInA; @@ -42,6 +43,7 @@ void test(C *c) { } +// rdar://10268422 __attribute ((deprecated)) // expected-note {{'DEPRECATED' has been explicitly marked deprecated here}} @interface DEPRECATED +(id)new; diff --git a/clang/test/SemaObjC/stand-alone-implementation.m b/clang/test/SemaObjC/stand-alone-implementation.m index 8ab4f5a66114..6fa9b4bec5a2 100644 --- a/clang/test/SemaObjC/stand-alone-implementation.m +++ b/clang/test/SemaObjC/stand-alone-implementation.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -fsyntax-only -verify -Wno-objc-root-class %s +// radar 7547942 // Allow injection of ivars into implementation's implicit class. @implementation INTFSTANDALONE // expected-warning {{cannot find interface declaration for 'INTFSTANDALONE'}} diff --git a/clang/test/SemaObjC/subclassing-restricted-attr.m b/clang/test/SemaObjC/subclassing-restricted-attr.m index 9ada8c2ad692..d0db5e452f04 100644 --- a/clang/test/SemaObjC/subclassing-restricted-attr.m +++ b/clang/test/SemaObjC/subclassing-restricted-attr.m @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -fsyntax-only -verify -Wno-objc-root-class %s // RUN: %clang_cc1 -x objective-c++ -fsyntax-only -verify -Wno-objc-root-class %s +// rdar://16560476 __attribute__((objc_subclassing_restricted)) @interface Leaf // okay @@ -21,6 +22,7 @@ __attribute__((objc_subclassing_restricted)) @interface Sub2Class : PlainRoot // okay @end +// rdar://28753587 __attribute__((objc_subclassing_restricted)) @interface SuperImplClass // expected-note {{class is declared here}} @end diff --git a/clang/test/SemaObjC/super-class-protocol-conformance.m b/clang/test/SemaObjC/super-class-protocol-conformance.m index 9d6df802484d..1e2d56fe1d98 100644 --- a/clang/test/SemaObjC/super-class-protocol-conformance.m +++ b/clang/test/SemaObjC/super-class-protocol-conformance.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -fsyntax-only -verify -disable-objc-default-synthesize-properties %s +// rdar://7884086 @interface NSObject @end @@ -44,6 +45,8 @@ @interface SubClass5 : SubClass4 @end @implementation SubClass5 @end // expected-warning {{property 'myNewString' requires method 'myNewString' to be defined}} + +// Radar 8035776 @protocol SuperProtocol @end diff --git a/clang/test/SemaObjC/super-dealloc-attribute.m b/clang/test/SemaObjC/super-dealloc-attribute.m index 7e3864e2b0dd..37429cde0543 100644 --- a/clang/test/SemaObjC/super-dealloc-attribute.m +++ b/clang/test/SemaObjC/super-dealloc-attribute.m @@ -2,6 +2,7 @@ // RUN: %clang_cc1 -x objective-c++ -fsyntax-only -verify -Wno-objc-root-class %s // RUN: %clang_cc1 -fsyntax-only -fobjc-arc -verify -Wno-objc-root-class %s // RUN: %clang_cc1 -x objective-c++ -fobjc-arc -fsyntax-only -verify -Wno-objc-root-class %s +// rdar://6386358 #if __has_attribute(objc_requires_super) #define NS_REQUIRES_SUPER __attribute((objc_requires_super)) @@ -85,6 +86,8 @@ @end +// rdar://14251387 + @interface UIViewController @end @interface ViewController : UIViewController @@ -106,6 +109,7 @@ } @end +// rdar://15385981 @interface Barn - (void)openDoor __attribute__((objc_requires_super)); @end diff --git a/clang/test/SemaObjC/super-property-notation.m b/clang/test/SemaObjC/super-property-notation.m index 0a7b1166aa22..17a7e8116c90 100644 --- a/clang/test/SemaObjC/super-property-notation.m +++ b/clang/test/SemaObjC/super-property-notation.m @@ -28,6 +28,7 @@ void f0(void) { int l2 = [A classGetter2]; } +// rdar://13349296 __attribute__((objc_root_class)) @interface ClassBase @property (nonatomic, retain) ClassBase * foo; // expected-note {{property declared here}} @end diff --git a/clang/test/SemaObjC/super.m b/clang/test/SemaObjC/super.m index a86dc6376e5d..84a70388103a 100644 --- a/clang/test/SemaObjC/super.m +++ b/clang/test/SemaObjC/super.m @@ -24,6 +24,7 @@ void takevoidptr(void*); [super iMethod]; // expected-warning{{'A' may not respond to 'iMethod'}} // Use of super in a block is ok and does codegen to the right thing. + // rdar://7852959 takevoidptr(^{ [super instanceMethod]; }); @@ -36,7 +37,7 @@ void takevoidptr(void*); id Y[] = { [ super.superClassMethod iMethod], super.superClassMethod, - (id)super.superClassMethod // not a cast of super + (id)super.superClassMethod // not a cast of super: rdar://7853261 }; return 0; } @@ -56,6 +57,7 @@ void f1(id puper) { // expected-note {{'puper' declared here}} [super m]; // expected-error{{use of undeclared identifier 'super'}} } +// radar 7400691 typedef Foo super; typedef Foo FooTD; diff --git a/clang/test/SemaObjC/synth-provisional-ivars-1.m b/clang/test/SemaObjC/synth-provisional-ivars-1.m index 4407660efa94..3dddaa613ef1 100644 --- a/clang/test/SemaObjC/synth-provisional-ivars-1.m +++ b/clang/test/SemaObjC/synth-provisional-ivars-1.m @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -fsyntax-only -verify -Wno-objc-root-class %s // expected-no-diagnostics +// rdar://8913053 typedef unsigned char BOOL; diff --git a/clang/test/SemaObjC/synthesized-ivar.m b/clang/test/SemaObjC/synthesized-ivar.m index 4952bd878d15..d25175f40c75 100644 --- a/clang/test/SemaObjC/synthesized-ivar.m +++ b/clang/test/SemaObjC/synthesized-ivar.m @@ -12,8 +12,11 @@ } @end +// rdar://7823675 int f0(I *a) { return a->IP; } // expected-error {{instance variable 'IP' is private}} +// rdar://8769582 + @interface I1 { int protected_ivar; } @@ -53,5 +56,6 @@ int f0(I *a) { return a->IP; } // expected-error {{instance variable 'IP' is pri @end @implementation A +// rdar://9605088 @synthesize testObjectWeakProperty; // expected-error {{cannot synthesize weak property because the current deployment target does not support weak references}} @end diff --git a/clang/test/SemaObjC/tentative-property-decl.m b/clang/test/SemaObjC/tentative-property-decl.m index 356d34cf539c..a9649b644c31 100644 --- a/clang/test/SemaObjC/tentative-property-decl.m +++ b/clang/test/SemaObjC/tentative-property-decl.m @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -fsyntax-only -Weverything -verify %s // expected-no-diagnostics +// rdar://11656982 /** A property may not be both 'readonly' and having a memory management attribute (copy/retain/etc.). But, property declaration in primary class and protcols are tentative as they may be overridden into a 'readwrite' property in class diff --git a/clang/test/SemaObjC/typo-correction-subscript.m b/clang/test/SemaObjC/typo-correction-subscript.m index 340f3cfe2743..bfcd894316ac 100644 --- a/clang/test/SemaObjC/typo-correction-subscript.m +++ b/clang/test/SemaObjC/typo-correction-subscript.m @@ -5,6 +5,7 @@ @interface Test @end @implementation Test +// rdar://problem/47403222 - (void)rdar47403222:(Dictionary *)opts { [self undeclaredMethod:undeclaredArg]; // expected-error@-1{{no visible @interface for 'Test' declares the selector 'undeclaredMethod:'}} diff --git a/clang/test/SemaObjC/typo-correction.m b/clang/test/SemaObjC/typo-correction.m index 5635f5f56fcf..47e0ab0960af 100644 --- a/clang/test/SemaObjC/typo-correction.m +++ b/clang/test/SemaObjC/typo-correction.m @@ -51,6 +51,7 @@ __attribute__ (( __objc_root_class__ )) } @end +// rdar://problem/33102722 // Typo correction for a property when it has as correction candidates // synthesized ivar and a class name, both at the same edit distance. @class TypoCandidate; diff --git a/clang/test/SemaObjC/undef-arg-super-method-call.m b/clang/test/SemaObjC/undef-arg-super-method-call.m index 11fd97f2c00d..6a27acb6304a 100644 --- a/clang/test/SemaObjC/undef-arg-super-method-call.m +++ b/clang/test/SemaObjC/undef-arg-super-method-call.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -fsyntax-only -verify %s +// rdar://20350364 @interface NSObject @end diff --git a/clang/test/SemaObjC/unguarded-availability.m b/clang/test/SemaObjC/unguarded-availability.m index d0e23eabcb59..ad94eb71a29f 100644 --- a/clang/test/SemaObjC/unguarded-availability.m +++ b/clang/test/SemaObjC/unguarded-availability.m @@ -307,6 +307,7 @@ void with_local_struct(void) { } } +// rdar://33156429: // Avoid the warning on protocol requirements. AVAILABLE_10_12 diff --git a/clang/test/SemaObjC/unimplemented-protocol-prop.m b/clang/test/SemaObjC/unimplemented-protocol-prop.m index 735d5ae9096c..270d879a7c68 100644 --- a/clang/test/SemaObjC/unimplemented-protocol-prop.m +++ b/clang/test/SemaObjC/unimplemented-protocol-prop.m @@ -20,6 +20,7 @@ // expected-warning {{property 'MyProperty' requires method 'MyProperty' to be defined}} \ // expected-warning {{property 'MyProperty' requires method 'setMyProperty:' to be defined}} +// rdar://10120691 // property is implemented in super class. No warning @protocol PROTOCOL1 diff --git a/clang/test/SemaObjC/unqualified-to-qualified-class-warn.m b/clang/test/SemaObjC/unqualified-to-qualified-class-warn.m index cc56fcc9d20b..7dda02d989fc 100644 --- a/clang/test/SemaObjC/unqualified-to-qualified-class-warn.m +++ b/clang/test/SemaObjC/unqualified-to-qualified-class-warn.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -fsyntax-only -verify %s +// rdar://9091389 @protocol Fooable - (void)foo; @@ -29,6 +30,7 @@ int main (void) { return 0; } +// rdar://9267196 @interface NSObject @end @protocol MyProtocol diff --git a/clang/test/SemaObjC/unsafe-perform-selector.m b/clang/test/SemaObjC/unsafe-perform-selector.m index ce1009e22013..661ff363603f 100644 --- a/clang/test/SemaObjC/unsafe-perform-selector.m +++ b/clang/test/SemaObjC/unsafe-perform-selector.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -triple x86_64-apple-darwin11 -fsyntax-only -fobjc-arc -verify %s +// rdar://12056271 @class Thread; diff --git a/clang/test/SemaObjC/unused-backing-ivar-warning.m b/clang/test/SemaObjC/unused-backing-ivar-warning.m index 75bea2c73643..52067c73d981 100644 --- a/clang/test/SemaObjC/unused-backing-ivar-warning.m +++ b/clang/test/SemaObjC/unused-backing-ivar-warning.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -fsyntax-only -Wunused-property-ivar -verify -Wno-objc-root-class %s +// rdar://14989999 @interface NSObject @end @@ -49,6 +50,7 @@ } @end +// rdar://15473432 typedef char BOOL; @interface CalDAVServerVersion { BOOL _supportsTimeRangeFilterWithoutEndDate; @@ -73,6 +75,7 @@ typedef char BOOL; } @end +// rdar://15630719 @interface CDBModifyRecordsOperation : NSObject @property (nonatomic, assign) BOOL atomic; @end @@ -88,6 +91,7 @@ typedef char BOOL; } @end +// rdar://15728901 @interface GATTOperation : NSObject { long operation; } @@ -101,6 +105,7 @@ typedef char BOOL; } @end +// rdar://15727327 @interface Radar15727327 : NSObject @property (assign, readonly) long p; @property (assign) long q; // expected-note 2 {{property declared here}} @@ -143,6 +148,7 @@ typedef char BOOL; } @end +// rdar://15873425 @protocol MyProtocol @property (nonatomic, readonly) int myProperty; @end @@ -165,6 +171,7 @@ typedef char BOOL; } @end +// rdar://15890251 @class NSURL; @protocol MCCIDURLProtocolDataProvider diff --git a/clang/test/SemaObjC/unused.m b/clang/test/SemaObjC/unused.m index def52ce6a81c..16f1e4041012 100644 --- a/clang/test/SemaObjC/unused.m +++ b/clang/test/SemaObjC/unused.m @@ -56,8 +56,10 @@ void test2(void) { } @end +// rdar://10777111 static NSString *x = @"hi"; // expected-warning {{unused variable 'x'}} +// rdar://12233989 @interface TestTransitiveUnused - (void) a __attribute__((unused)); - (void) b __attribute__((unused)); @@ -102,6 +104,7 @@ void test5(id

p) [p property]; // No warning. property name used in direct method call. } +// rdar://19773512 @interface Model @property (nonatomic, retain, setter=setOrCreateGroup:, getter=getOrCreateGroup) id group; @end diff --git a/clang/test/SemaObjC/warn-called-once.m b/clang/test/SemaObjC/warn-called-once.m index dbe8dc1cf1ae..27030dd94a82 100644 --- a/clang/test/SemaObjC/warn-called-once.m +++ b/clang/test/SemaObjC/warn-called-once.m @@ -1194,6 +1194,7 @@ void suppression_3(int cond, void (^callback)(void) CALLED_ONCE) { escape(handler); } +// rdar://74441906 typedef void (^DeferredBlock)(void); static inline void DefferedCallback(DeferredBlock *inBlock) { (*inBlock)(); } #define _DEFERCONCAT(a, b) a##b diff --git a/clang/test/SemaObjC/warn-cast-of-sel-expr.m b/clang/test/SemaObjC/warn-cast-of-sel-expr.m index a6d967f580e5..a8fa32efeede 100644 --- a/clang/test/SemaObjC/warn-cast-of-sel-expr.m +++ b/clang/test/SemaObjC/warn-cast-of-sel-expr.m @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -fsyntax-only -verify -Wno-unused-value %s // RUN: %clang_cc1 -x objective-c++ -fsyntax-only -verify -Wcast-of-sel-type -Wno-unused-value %s +// rdar://12107381 SEL s; @@ -18,5 +19,6 @@ int main(void) { (const void *const)s; // ok +// rdar://12859590 (SEL)sel_registerName("foo"); // ok } diff --git a/clang/test/SemaObjC/warn-category-method-deprecated.m b/clang/test/SemaObjC/warn-category-method-deprecated.m index 30c11d6dd34f..349a27a795c2 100644 --- a/clang/test/SemaObjC/warn-category-method-deprecated.m +++ b/clang/test/SemaObjC/warn-category-method-deprecated.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -fsyntax-only -Wno-objc-root-class -verify %s +// rdar://18013929 @protocol P - (void)meth; diff --git a/clang/test/SemaObjC/warn-deprecated-implementations.m b/clang/test/SemaObjC/warn-deprecated-implementations.m index 92c83617f4ea..440b2886f01d 100644 --- a/clang/test/SemaObjC/warn-deprecated-implementations.m +++ b/clang/test/SemaObjC/warn-deprecated-implementations.m @@ -1,4 +1,6 @@ // RUN: %clang_cc1 -triple=x86_64-apple-macos10.10 -fsyntax-only -Wdeprecated-implementations -verify -Wno-objc-root-class %s +// rdar://8973810 +// rdar://12717705 @protocol P - (void) D __attribute__((deprecated)); // expected-note {{method 'D' declared here}} diff --git a/clang/test/SemaObjC/warn-direct-ivar-access.m b/clang/test/SemaObjC/warn-direct-ivar-access.m index 93be031baa9a..f9530721dac6 100644 --- a/clang/test/SemaObjC/warn-direct-ivar-access.m +++ b/clang/test/SemaObjC/warn-direct-ivar-access.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -fsyntax-only -fobjc-arc -fobjc-runtime-has-weak -Wdirect-ivar-access -verify -Wno-objc-root-class %s +// rdar://6505197 __attribute__((objc_root_class)) @interface MyObject { @public @@ -53,6 +54,7 @@ id Test32(__weak ITest32 *x) { : (*x).ivar; // expected-error {{dereferencing a __weak pointer is not allowed}} } +// rdar://13142820 @protocol PROTOCOL @property (copy, nonatomic) id property_in_protocol; @end diff --git a/clang/test/SemaObjC/warn-explicit-call-initialize.m b/clang/test/SemaObjC/warn-explicit-call-initialize.m index db3c0c5869ec..99fdf530afd8 100644 --- a/clang/test/SemaObjC/warn-explicit-call-initialize.m +++ b/clang/test/SemaObjC/warn-explicit-call-initialize.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -fsyntax-only -triple x86_64-apple-darwin10 -verify %s +// rdar://16628028 @interface NSObject + (void)initialize; // expected-note 2 {{method 'initialize' declared here}} diff --git a/clang/test/SemaObjC/warn-forward-class-attr-deprecated.m b/clang/test/SemaObjC/warn-forward-class-attr-deprecated.m index e9de89790209..cb118c3caf4b 100644 --- a/clang/test/SemaObjC/warn-forward-class-attr-deprecated.m +++ b/clang/test/SemaObjC/warn-forward-class-attr-deprecated.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -fsyntax-only -verify -Wno-objc-root-class %s +// rdar://10290322 @class ABGroupImportFilesScope; // expected-note {{forward declaration of class here}} diff --git a/clang/test/SemaObjC/warn-implicit-atomic-property.m b/clang/test/SemaObjC/warn-implicit-atomic-property.m index a5d587cf2a2b..7d5934f481b3 100644 --- a/clang/test/SemaObjC/warn-implicit-atomic-property.m +++ b/clang/test/SemaObjC/warn-implicit-atomic-property.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -fsyntax-only -Wimplicit-atomic-properties -verify -Wno-objc-root-class %s +// rdar://8774580 @interface Super @property (nonatomic, readwrite) int P; // OK diff --git a/clang/test/SemaObjC/warn-incompatible-builtin-types.m b/clang/test/SemaObjC/warn-incompatible-builtin-types.m index f69ca09b3567..6326ab88f27a 100644 --- a/clang/test/SemaObjC/warn-incompatible-builtin-types.m +++ b/clang/test/SemaObjC/warn-incompatible-builtin-types.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -fsyntax-only -verify %s +// rdar://7634850 @interface Foo - (void)foo:(Class)class; // expected-note{{passing argument to parameter 'class' here}} diff --git a/clang/test/SemaObjC/warn-protocol-method-deprecated.m b/clang/test/SemaObjC/warn-protocol-method-deprecated.m index 64e38b433dcf..70dd394845ce 100644 --- a/clang/test/SemaObjC/warn-protocol-method-deprecated.m +++ b/clang/test/SemaObjC/warn-protocol-method-deprecated.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -fsyntax-only -Wno-objc-root-class -verify %s +// rdar://11618852 @protocol TestProtocol - (void)newProtocolMethod; diff --git a/clang/test/SemaObjC/warn-retain-block-property.m b/clang/test/SemaObjC/warn-retain-block-property.m index 1424c4fed424..981e1bd5a7da 100644 --- a/clang/test/SemaObjC/warn-retain-block-property.m +++ b/clang/test/SemaObjC/warn-retain-block-property.m @@ -1,5 +1,8 @@ // RUN: not %clang_cc1 -fsyntax-only -fblocks -fobjc-arc -Wno-objc-root-class %s 2>&1 | FileCheck --check-prefix=CHECK-ARC %s +// rdar://9829425 + // RUN: not %clang_cc1 -fsyntax-only -fblocks -Wno-objc-root-class %s 2>&1 | FileCheck %s +// rdar://11761511 extern void doSomething(void); @@ -28,33 +31,33 @@ int main(void) { t.aBlockS = ^{ doSomething(); }; } -// CHECK-ARC: 11:1: warning: retain'ed block property does not copy the block - use copy attribute instead +// CHECK-ARC: 14:1: warning: retain'ed block property does not copy the block - use copy attribute instead // CHECK-ARC: @property (retain) void (^aBlock)(void); // CHECK-ARC: ^ -// CHECK-ARC: 12:1: error: property attributes 'retain' and 'weak' are mutually exclusive +// CHECK-ARC: 15:1: error: property attributes 'retain' and 'weak' are mutually exclusive // CHECK-ARC: @property (weak, retain) void (^aBlockW)(void); // CHECK-ARC: ^ -// CHECK-ARC: 15:1: error: property attributes 'copy' and 'retain' are mutually exclusive +// CHECK-ARC: 18:1: error: property attributes 'copy' and 'retain' are mutually exclusive // CHECK-ARC: @property (copy, retain) void (^aBlockC)(void); // CHECK-ARC: ^ -// CHECK-ARC: 16:1: error: property attributes 'assign' and 'retain' are mutually exclusive +// CHECK-ARC: 19:1: error: property attributes 'assign' and 'retain' are mutually exclusive // CHECK-ARC: @property (assign, retain) void (^aBlockA)(void); // CHECK-ARC: ^ -// CHECK-ARC: 27:13: warning: assigning block literal to a weak property; object will be released after assignment +// CHECK-ARC: 30:13: warning: assigning block literal to a weak property; object will be released after assignment // CHECK-ARC: t.aBlockW = ^{ doSomething(); }; // CHECK-ARC: ^ ~~~~~~~~~~~~~~~~~~~ // CHECK-ARC: 2 warnings and 3 errors generated. -// CHECK: 11:1: warning: retain'ed block property does not copy the block - use copy attribute instead +// CHECK: 14:1: warning: retain'ed block property does not copy the block - use copy attribute instead // CHECK: @property (retain) void (^aBlock)(void); // CHECK: ^ -// CHECK: 12:1: error: property attributes 'retain' and 'weak' are mutually exclusive +// CHECK: 15:1: error: property attributes 'retain' and 'weak' are mutually exclusive // CHECK: @property (weak, retain) void (^aBlockW)(void); // CHECK: ^ -// CHECK: 15:1: error: property attributes 'copy' and 'retain' are mutually exclusive +// CHECK: 18:1: error: property attributes 'copy' and 'retain' are mutually exclusive // CHECK: @property (copy, retain) void (^aBlockC)(void); // CHECK: ^ -// CHECK: 16:1: error: property attributes 'assign' and 'retain' are mutually exclusive +// CHECK: 19:1: error: property attributes 'assign' and 'retain' are mutually exclusive // CHECK: @property (assign, retain) void (^aBlockA)(void); // CHECK: ^ // CHECK: 1 warning and 3 errors generated. diff --git a/clang/test/SemaObjC/warn-retain-cycle.m b/clang/test/SemaObjC/warn-retain-cycle.m index 174e7deba089..88cf2c26b62b 100644 --- a/clang/test/SemaObjC/warn-retain-cycle.m +++ b/clang/test/SemaObjC/warn-retain-cycle.m @@ -27,6 +27,7 @@ void test0(Test0 *x) { [weakx setBlock: ^{ [x actNow]; }]; weakx.block = ^{ [x actNow]; }; + // rdar://11702054 x.block = ^{ (void)x.actNow; }; // expected-warning {{capturing 'x' strongly in this block is likely to lead to a retain cycle}} \ // expected-note {{block will be retained by the captured object}} } @@ -183,6 +184,7 @@ void testCopying(Test0 *obj) { })]; } +// rdar://16944538 void func(int someCondition) { __block void(^myBlock)(void) = ^{ diff --git a/clang/test/SemaObjC/warn-strict-selector-match.m b/clang/test/SemaObjC/warn-strict-selector-match.m index db67abc9935e..85f1868371df 100644 --- a/clang/test/SemaObjC/warn-strict-selector-match.m +++ b/clang/test/SemaObjC/warn-strict-selector-match.m @@ -72,6 +72,7 @@ void foo1(void) { [(Class)0 port]; // OK - gcc issues warning but there is only one Class method so no ambiguity to warn } +// rdar://19265430 @interface NSObject - (id)class; - (id) alloc; diff --git a/clang/test/SemaObjC/warning-missing-selector-name.m b/clang/test/SemaObjC/warning-missing-selector-name.m index 68d5170b2f69..a335e0266a17 100644 --- a/clang/test/SemaObjC/warning-missing-selector-name.m +++ b/clang/test/SemaObjC/warning-missing-selector-name.m @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -fsyntax-only -verify -Wno-objc-root-class %s // RUN: %clang_cc1 -x objective-c++ -fsyntax-only -verify -Wno-objc-root-class -Wmissing-selector-name %s +// rdar://12263549 @interface Super @end @interface INTF : Super diff --git a/clang/test/SemaObjC/weak-attr-ivar.m b/clang/test/SemaObjC/weak-attr-ivar.m index cbddd0ff2167..e3d96da13bb7 100644 --- a/clang/test/SemaObjC/weak-attr-ivar.m +++ b/clang/test/SemaObjC/weak-attr-ivar.m @@ -72,6 +72,7 @@ typedef enum { Foo_HUH_NONE } FooHUHCode; } @end +// rdar://problem/9123040 @interface Test1 { @public id ivar __attribute__((objc_gc(weak))); diff --git a/clang/test/SemaObjC/weak-property.m b/clang/test/SemaObjC/weak-property.m index 429e3994a62e..d306a924e9b4 100644 --- a/clang/test/SemaObjC/weak-property.m +++ b/clang/test/SemaObjC/weak-property.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -fsyntax-only -fobjc-runtime-has-weak -fobjc-arc -verify -Wno-objc-root-class %s +// rdar://8899430 @interface WeakPropertyTest { Class isa; diff --git a/clang/test/SemaObjC/x86-method-vector-values.m b/clang/test/SemaObjC/x86-method-vector-values.m index eb468bd9d97f..23d07b1b41fa 100644 --- a/clang/test/SemaObjC/x86-method-vector-values.m +++ b/clang/test/SemaObjC/x86-method-vector-values.m @@ -11,6 +11,8 @@ // RUN: %clang_cc1 -verify -DALLOW -DOTHER -triple=x86_64-apple-macosx10.10 -Wno-objc-root-class %s +// rdar://21662309 + typedef __attribute__((__ext_vector_type__(3))) float float3; typedef float __m128 __attribute__((__vector_size__(16))); diff --git a/clang/test/SemaObjCXX/Inputs/nullability-consistency-system/nullability-consistency-system.h b/clang/test/SemaObjCXX/Inputs/nullability-consistency-system/nullability-consistency-system.h index 584fe3e53518..43e29e086ab0 100644 --- a/clang/test/SemaObjCXX/Inputs/nullability-consistency-system/nullability-consistency-system.h +++ b/clang/test/SemaObjCXX/Inputs/nullability-consistency-system/nullability-consistency-system.h @@ -1,4 +1,4 @@ -// Simply marking this as "#pragma clang system_header" didn't tickle the bug +// Simply marking this as "#pragma clang system_header" didn't tickle the bug, rdar://problem/21134250. void system1(int *ptr); #if WARN_IN_SYSTEM_HEADERS diff --git a/clang/test/SemaObjCXX/NSString-type.mm b/clang/test/SemaObjCXX/NSString-type.mm index 74f712be5193..10338667b78b 100644 --- a/clang/test/SemaObjCXX/NSString-type.mm +++ b/clang/test/SemaObjCXX/NSString-type.mm @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -x objective-c++ -triple x86_64-apple-darwin10 -fblocks -fsyntax-only -verify %s +// rdar://10907410 void test(id pid, Class pclass) { void (^block)(void) = @"help"; // expected-error {{cannot initialize a variable of type 'void (^)()' with an rvalue of type 'NSString *'}} diff --git a/clang/test/SemaObjCXX/abstract-class-type-ivar.mm b/clang/test/SemaObjCXX/abstract-class-type-ivar.mm index d75077bb2971..aaf4eb83735c 100644 --- a/clang/test/SemaObjCXX/abstract-class-type-ivar.mm +++ b/clang/test/SemaObjCXX/abstract-class-type-ivar.mm @@ -1,4 +1,6 @@ // RUN: %clang_cc1 -fsyntax-only -verify -Wno-objc-root-class %s +// rdar://12095239 +// rdar://14261999 class CppAbstractBase { public: diff --git a/clang/test/SemaObjCXX/arc-0x.mm b/clang/test/SemaObjCXX/arc-0x.mm index 1edc61245439..743fabf667a1 100644 --- a/clang/test/SemaObjCXX/arc-0x.mm +++ b/clang/test/SemaObjCXX/arc-0x.mm @@ -11,7 +11,7 @@ void move_it(__strong id &&from) { - init; @end -// don't warn about this +// : don't warn about this extern "C" A* MakeA(); // Ensure that deduction works with lifetime qualifiers. @@ -34,6 +34,7 @@ void deduction(id obj) { } } +// rdar://problem/11068137 void test1a() { __autoreleasing id p; // expected-note 2 {{'p' declared here}} (void) [&p] {}; @@ -54,6 +55,8 @@ void test1c() { (void) ^{ (void) v; }; // expected-error {{cannot capture __autoreleasing variable in a block}} } + +// // warn when initializing an 'auto' variable with an 'id' initializer expression void testAutoId(id obj) { @@ -77,6 +80,7 @@ void testAutoIdTemplate(id obj) { autoTemplateFunction(obj, obj, [Array new]); // no-warning } +// rdar://12229679 @interface NSObject @end typedef __builtin_va_list va_list; @interface MyClass : NSObject diff --git a/clang/test/SemaObjCXX/arc-bool-conversion.mm b/clang/test/SemaObjCXX/arc-bool-conversion.mm index a3862bebfa3a..12a3be3022bb 100644 --- a/clang/test/SemaObjCXX/arc-bool-conversion.mm +++ b/clang/test/SemaObjCXX/arc-bool-conversion.mm @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -fsyntax-only -fobjc-arc -verify -fblocks -triple x86_64-apple-darwin10.0.0 %s // expected-no-diagnostics +// rdar://9310049 bool fn(id obj) { return (bool)obj; diff --git a/clang/test/SemaObjCXX/arc-bridged-cast.mm b/clang/test/SemaObjCXX/arc-bridged-cast.mm index 581eadae96bd..b5d57740eec0 100644 --- a/clang/test/SemaObjCXX/arc-bridged-cast.mm +++ b/clang/test/SemaObjCXX/arc-bridged-cast.mm @@ -35,6 +35,7 @@ void to_cf(id obj) { template void to_cf(id); +// rdar://problem/20107345 typedef const struct __attribute__((objc_bridge(id))) __CFAnnotatedObject *CFAnnotatedObjectRef; CFAnnotatedObjectRef CFGetAnnotated(); diff --git a/clang/test/SemaObjCXX/arc-nsconsumed-errors.mm b/clang/test/SemaObjCXX/arc-nsconsumed-errors.mm index a5daeeffc70a..7baf38358199 100644 --- a/clang/test/SemaObjCXX/arc-nsconsumed-errors.mm +++ b/clang/test/SemaObjCXX/arc-nsconsumed-errors.mm @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -fsyntax-only -fobjc-arc -verify -fblocks -triple x86_64-apple-darwin10.0.0 %s +// rdar://10187884 typedef void (^blk)(id, __attribute((ns_consumed)) id); typedef void (^blk1)(__attribute((ns_consumed))id, __attribute((ns_consumed)) id); diff --git a/clang/test/SemaObjCXX/arc-objc-lifetime.mm b/clang/test/SemaObjCXX/arc-objc-lifetime.mm index 2e0baaa44994..1e4df741422a 100644 --- a/clang/test/SemaObjCXX/arc-objc-lifetime.mm +++ b/clang/test/SemaObjCXX/arc-objc-lifetime.mm @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -x objective-c++ -triple x86_64-apple-darwin11 -fsyntax-only -fobjc-arc -fblocks -Wexplicit-ownership-type -verify -Wno-objc-root-class %s +// rdar://10244607 typedef const struct __CFString * CFStringRef; @class NSString; @@ -31,6 +32,7 @@ typedef __autoreleasing NSString * AUTORELEASEPNSString; } @end +// rdar://problem/10711456 __strong I *__strong test1; // expected-error {{the type 'I *__strong' is already explicitly ownership-qualified}} __strong I *(__strong test2); // expected-error {{the type 'I *__strong' is already explicitly ownership-qualified}} __strong I *(__strong (test3)); // expected-error {{the type 'I *__strong' is already explicitly ownership-qualified}} @@ -38,6 +40,7 @@ __unsafe_unretained __typeof__(test3) test4; typedef __strong I *strong_I; __unsafe_unretained strong_I test5; +// rdar://10907090 typedef void (^T) (); @interface NSObject @end @protocol P; @@ -53,6 +56,7 @@ typedef void (^T) (); - (void) BLOCK : (T&) arg0 : (T)arg : (__strong T*) arg1 {} // expected-warning {{method parameter of type '__autoreleasing T &' (aka 'void (^__autoreleasing &)()') with no explicit ownership}} @end +// rdar://12280826 @class NSMutableDictionary, NSError; @interface Radar12280826 - (void)createInferiorTransportAndSetEnvironment:(NSMutableDictionary*)environment error:(__autoreleasing NSError*&)error; diff --git a/clang/test/SemaObjCXX/arc-overloading.mm b/clang/test/SemaObjCXX/arc-overloading.mm index 8ee01ad46c67..910b5c7be978 100644 --- a/clang/test/SemaObjCXX/arc-overloading.mm +++ b/clang/test/SemaObjCXX/arc-overloading.mm @@ -204,6 +204,7 @@ void test_f11() { float &fr2a = f11(weak_id); // expected-error {{no match}} } +// rdar://9790531 void f9790531(void *inClientData); // expected-note {{candidate function not viable: cannot implicitly convert argument of type 'MixerEQGraphTestDelegate *const __strong' to 'void *' for 1st argument under ARC}} void f9790531_1(struct S*inClientData); // expected-note {{candidate function not viable}} void f9790531_2(char * inClientData); // expected-note {{candidate function not viable}} diff --git a/clang/test/SemaObjCXX/arc-type-conversion.mm b/clang/test/SemaObjCXX/arc-type-conversion.mm index 64cfd02ec18c..e8580cf685b4 100644 --- a/clang/test/SemaObjCXX/arc-type-conversion.mm +++ b/clang/test/SemaObjCXX/arc-type-conversion.mm @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -fobjc-runtime-has-weak -fsyntax-only -fobjc-arc -verify -fblocks %s +// rdar://8843600 void * cvt(id arg) // expected-note{{candidate function not viable: cannot convert argument of incomplete type 'void *' to '__strong id'}} { @@ -19,6 +20,7 @@ void * cvt(id arg) // expected-note{{candidate function not viable: cannot conve return arg; // expected-error{{cannot initialize return object of type 'void *' with an lvalue of type '__strong id'}} } +// rdar://8898937 namespace rdar8898937 { typedef void (^dispatch_block_t)(void); diff --git a/clang/test/SemaObjCXX/arc-unavailable-for-weakref.mm b/clang/test/SemaObjCXX/arc-unavailable-for-weakref.mm index 94d151f93d02..6528748df393 100644 --- a/clang/test/SemaObjCXX/arc-unavailable-for-weakref.mm +++ b/clang/test/SemaObjCXX/arc-unavailable-for-weakref.mm @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -x objective-c++ -triple x86_64-apple-darwin11 -fobjc-runtime-has-weak -fsyntax-only -fobjc-arc -verify %s // RUN: %clang_cc1 -x objective-c++ -triple x86_64-apple-darwin11 -fobjc-runtime-has-weak -fsyntax-only -fobjc-weak -verify %s +// rdar://9693477 __attribute__((objc_arc_weak_reference_unavailable)) @interface NSOptOut1072 // expected-note {{class is declared here}} @@ -19,6 +20,7 @@ int main() { // expected-error {{explicit ownership qualifier on cast result has no effect}} } +// rdar://9732636 __attribute__((objc_arc_weak_reference_unavailable)) @interface NOWEAK + (id) new; diff --git a/clang/test/SemaObjCXX/arc-unbridged-cast.mm b/clang/test/SemaObjCXX/arc-unbridged-cast.mm index 6bdba94868ab..3f7f76da5be2 100644 --- a/clang/test/SemaObjCXX/arc-unbridged-cast.mm +++ b/clang/test/SemaObjCXX/arc-unbridged-cast.mm @@ -15,6 +15,7 @@ extern "C" id CFBridgingRelease(CFTypeRef); extern Object *object; +// rdar://9744349 id test0(void) { id p1 = (id)[object property]; id p2 = (__bridge_transfer id)[object property]; @@ -22,6 +23,7 @@ id test0(void) { return (id) object.property; } +// rdar://10140692 CFStringRef unauditedString(void); CFStringRef plusOneString(void) __attribute__((cf_returns_retained)); @@ -73,6 +75,7 @@ void test1(int cond) { x = (id) (cond ? (CFStringRef) @"help" : [object newString]); // a bit questionable } +// rdar://problem/10246264 @interface CFTaker - (void) takeOrdinary: (CFStringRef) arg; - (void) takeVariadic: (int) n, ...; @@ -106,6 +109,7 @@ void testTakerFunctions(id string) { takeCFConsumedAudited((CFStringRef) string); // expected-error {{cast of Objective-C pointer type 'id' to C pointer type 'CFStringRef'}} expected-note {{use __bridge to}} expected-note {{use CFBridgingRetain call to}} } +// rdar://12788838 id obj; void rdar12788838() { diff --git a/clang/test/SemaObjCXX/argument-dependent-lookup.mm b/clang/test/SemaObjCXX/argument-dependent-lookup.mm index dfb304a949cf..244c3f7d0193 100644 --- a/clang/test/SemaObjCXX/argument-dependent-lookup.mm +++ b/clang/test/SemaObjCXX/argument-dependent-lookup.mm @@ -1,8 +1,9 @@ // RUN: %clang_cc1 -fsyntax-only -verify %s // expected-no-diagnostics -// For the purposes of Argument-Dependent Lookup, Objective-C classes are -// considered to be in the global namespace. +// : For the purposes of Argument-Dependent +// Lookup, Objective-C classes are considered to be in the global +// namespace. @interface NSFoo @end diff --git a/clang/test/SemaObjCXX/blocks.mm b/clang/test/SemaObjCXX/blocks.mm index 0ae91ab985ac..644a269feeae 100644 --- a/clang/test/SemaObjCXX/blocks.mm +++ b/clang/test/SemaObjCXX/blocks.mm @@ -25,6 +25,7 @@ void foo5(id (^x)(int)) { if (x) { } } +// @interface Foo { @private void (^_block)(void); @@ -50,7 +51,8 @@ void foo6(void *block) { BOOL (^bb)(id obj, int idx, BOOL *stop) = (BOOL (^)(id, int, BOOL *))block; } -// Require that the types of block parameters are complete. +// : Require that the types of block +// parameters are complete. namespace N1 { template class ptr; // expected-note{{template is declared here}} @@ -109,6 +111,8 @@ namespace N3 { } } +// rdar://8979379 + @interface A @end diff --git a/clang/test/SemaObjCXX/capturing-flexible-array-in-block.mm b/clang/test/SemaObjCXX/capturing-flexible-array-in-block.mm index d7775688487f..086abc988916 100644 --- a/clang/test/SemaObjCXX/capturing-flexible-array-in-block.mm +++ b/clang/test/SemaObjCXX/capturing-flexible-array-in-block.mm @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -fsyntax-only -fblocks -verify -std=c++11 %s +// rdar://12655829 void f() { struct { int x; int y[]; } a; // expected-note 3 {{'a' declared here}} diff --git a/clang/test/SemaObjCXX/conversion-to-objc-pointer-2.mm b/clang/test/SemaObjCXX/conversion-to-objc-pointer-2.mm index 1f968449508a..063ce3275913 100644 --- a/clang/test/SemaObjCXX/conversion-to-objc-pointer-2.mm +++ b/clang/test/SemaObjCXX/conversion-to-objc-pointer-2.mm @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -fsyntax-only -verify %s // expected-no-diagnostics +// rdar: // 7963410 @protocol NSObject @end @interface NSObject diff --git a/clang/test/SemaObjCXX/conversion-to-objc-pointer.mm b/clang/test/SemaObjCXX/conversion-to-objc-pointer.mm index 256f850b7a10..41bb4ff37a0a 100644 --- a/clang/test/SemaObjCXX/conversion-to-objc-pointer.mm +++ b/clang/test/SemaObjCXX/conversion-to-objc-pointer.mm @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -fsyntax-only -verify %s // expected-no-diagnostics +// rdar: // 7963410 template class TNSAutoRef diff --git a/clang/test/SemaObjCXX/crash.mm b/clang/test/SemaObjCXX/crash.mm index 89a62961f7e0..cf55b5733a7b 100644 --- a/clang/test/SemaObjCXX/crash.mm +++ b/clang/test/SemaObjCXX/crash.mm @@ -2,6 +2,7 @@ // RUN: %clang_cc1 -fsyntax-only -std=c++98 %s -verify // RUN: %clang_cc1 -fsyntax-only -std=c++11 %s -verify +// namespace std { template class pair; } @@ -25,6 +26,8 @@ template void f(Ts); // expected-error {{unexpanded}} #endif @end +// rdar://20560175 + struct OuterType { typedef int InnerType; }; diff --git a/clang/test/SemaObjCXX/cstyle-block-pointer-cast.mm b/clang/test/SemaObjCXX/cstyle-block-pointer-cast.mm index a9b16c6521e4..0f982bae62a7 100644 --- a/clang/test/SemaObjCXX/cstyle-block-pointer-cast.mm +++ b/clang/test/SemaObjCXX/cstyle-block-pointer-cast.mm @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -fsyntax-only -verify -fblocks -Wno-objc-root-class %s +// radar 7562285 typedef int (^blocktype)(int a, int b); diff --git a/clang/test/SemaObjCXX/cxx1y-lambda.mm b/clang/test/SemaObjCXX/cxx1y-lambda.mm index 589e66db51ac..25445cc68c5e 100644 --- a/clang/test/SemaObjCXX/cxx1y-lambda.mm +++ b/clang/test/SemaObjCXX/cxx1y-lambda.mm @@ -5,6 +5,7 @@ __attribute__((objc_root_class)) @interface NSString @end +// rdar://problem/22344904 void testResultTypeDeduction(int i) { auto x = [i] { switch (i) { diff --git a/clang/test/SemaObjCXX/cxxoperator-selector.mm b/clang/test/SemaObjCXX/cxxoperator-selector.mm index 8134b82ebacb..f1aecab23a9d 100644 --- a/clang/test/SemaObjCXX/cxxoperator-selector.mm +++ b/clang/test/SemaObjCXX/cxxoperator-selector.mm @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -fsyntax-only -verify -Wno-objc-root-class %s +// rdar:// 8328250 @class NSDate; diff --git a/clang/test/SemaObjCXX/debugger-cast-result-to-id.mm b/clang/test/SemaObjCXX/debugger-cast-result-to-id.mm index b3de43573023..815ae3833d72 100644 --- a/clang/test/SemaObjCXX/debugger-cast-result-to-id.mm +++ b/clang/test/SemaObjCXX/debugger-cast-result-to-id.mm @@ -14,6 +14,7 @@ extern __unknown_anytype test1d(); @interface A @end +// rdar://problem/9416370 namespace rdar9416370 { void test(id x) { if ([x foo]) {} // expected-error {{no known method '-foo'; cast the message send to the method's return type}} @@ -21,6 +22,7 @@ namespace rdar9416370 { } } +// rdar://10988847 @class NSString; // expected-note {{forward declaration of class here}} namespace rdar10988847 { void test() { @@ -28,6 +30,7 @@ namespace rdar10988847 { } } +// rdar://13338107 namespace rdar13338107 { void test() { id x1 = test0a; diff --git a/clang/test/SemaObjCXX/delay-parsing-cfunctions.mm b/clang/test/SemaObjCXX/delay-parsing-cfunctions.mm index a2dc89e62d0b..4035d00b8a45 100644 --- a/clang/test/SemaObjCXX/delay-parsing-cfunctions.mm +++ b/clang/test/SemaObjCXX/delay-parsing-cfunctions.mm @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -x objective-c++ -std=c++11 -fsyntax-only -Werror -verify -Wno-objc-root-class %s // expected-no-diagnostics +// rdar://10387088 struct X { X(); diff --git a/clang/test/SemaObjCXX/delay-parsing-cplusfuncs.mm b/clang/test/SemaObjCXX/delay-parsing-cplusfuncs.mm index bdac8225261a..d0d7922252e6 100644 --- a/clang/test/SemaObjCXX/delay-parsing-cplusfuncs.mm +++ b/clang/test/SemaObjCXX/delay-parsing-cplusfuncs.mm @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -x objective-c++ -fsyntax-only -Werror -verify -Wno-objc-root-class %s // expected-no-diagnostics +// rdar://10387088 @interface MyClass - (void)someMethod; diff --git a/clang/test/SemaObjCXX/delay-parsing-func-tryblock.mm b/clang/test/SemaObjCXX/delay-parsing-func-tryblock.mm index 21f129ffd149..f6b849b95583 100644 --- a/clang/test/SemaObjCXX/delay-parsing-func-tryblock.mm +++ b/clang/test/SemaObjCXX/delay-parsing-func-tryblock.mm @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -x objective-c++ -fcxx-exceptions -fsyntax-only -Werror -verify -Wno-objc-root-class %s +// rdar://10387088 @interface MyClass - (void)someMethod; diff --git a/clang/test/SemaObjCXX/expr-objcxx.mm b/clang/test/SemaObjCXX/expr-objcxx.mm index 7fd4ca8b272b..8ea4dabe16dd 100644 --- a/clang/test/SemaObjCXX/expr-objcxx.mm +++ b/clang/test/SemaObjCXX/expr-objcxx.mm @@ -1,4 +1,5 @@ // RUN: %clang_cc1 %s -verify -pedantic -fsyntax-only // expected-no-diagnostics +// rdar://8366474 void *P = @selector(foo::bar::); diff --git a/clang/test/SemaObjCXX/foreach-block.mm b/clang/test/SemaObjCXX/foreach-block.mm index 1feb210e1bcb..91bd0c83b31b 100644 --- a/clang/test/SemaObjCXX/foreach-block.mm +++ b/clang/test/SemaObjCXX/foreach-block.mm @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -fsyntax-only -verify -fblocks %s +// rdar://8295106 int main() { id array; diff --git a/clang/test/SemaObjCXX/foreach.mm b/clang/test/SemaObjCXX/foreach.mm index 03c8395911f4..e39815d3e9cd 100644 --- a/clang/test/SemaObjCXX/foreach.mm +++ b/clang/test/SemaObjCXX/foreach.mm @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -fsyntax-only -fblocks -verify -std=c++11 %s +// rdar://9293227 @class NSArray; @@ -29,6 +30,7 @@ void ft(Collection col) { template void ft(NSArray *); +/* // rdar://9072298 */ @protocol NSObject @end @interface NSObject { @@ -63,6 +65,7 @@ int main () return 0; } +/* rdar://problem/11068137 */ @interface Test2 @property (assign) id prop; @end diff --git a/clang/test/SemaObjCXX/fragile-abi-object-assign.m b/clang/test/SemaObjCXX/fragile-abi-object-assign.m index 17967b15ee4f..b3504e96346f 100644 --- a/clang/test/SemaObjCXX/fragile-abi-object-assign.m +++ b/clang/test/SemaObjCXX/fragile-abi-object-assign.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -x objective-c++ -triple x86_64-apple-darwin11 -fsyntax-only -fobjc-runtime=macosx-fragile-10.5 -verify -Wno-objc-root-class %s +// rdar://10731065 @interface MyView {} @end diff --git a/clang/test/SemaObjCXX/instancetype.mm b/clang/test/SemaObjCXX/instancetype.mm index 5e479f5f2745..b80eb8fb8737 100644 --- a/clang/test/SemaObjCXX/instancetype.mm +++ b/clang/test/SemaObjCXX/instancetype.mm @@ -188,6 +188,7 @@ void test_instancetype_inherited() { @end +// rdar://12493140 @protocol P4 - (instancetype) foo; // expected-note {{current method is explicitly declared 'instancetype' and is expected to return an instance of its class type}} @end diff --git a/clang/test/SemaObjCXX/ivar-construct.mm b/clang/test/SemaObjCXX/ivar-construct.mm index 5b67b9ea9edb..1498275b0b98 100644 --- a/clang/test/SemaObjCXX/ivar-construct.mm +++ b/clang/test/SemaObjCXX/ivar-construct.mm @@ -28,6 +28,7 @@ struct Z; // expected-note{{forward declaration}} @implementation B @end +// template struct Incomplete; // expected-note{{declared here}} @interface C { diff --git a/clang/test/SemaObjCXX/linkage-spec.mm b/clang/test/SemaObjCXX/linkage-spec.mm index a6bc30213081..25b57a9a5c68 100644 --- a/clang/test/SemaObjCXX/linkage-spec.mm +++ b/clang/test/SemaObjCXX/linkage-spec.mm @@ -4,6 +4,7 @@ extern "C" { @class Protocol; } +// extern "C" { @class I; } @@ -11,6 +12,7 @@ extern "C" { @interface I @end +// rdar://10015110 @protocol VKAnnotation; extern "C" { diff --git a/clang/test/SemaObjCXX/literals.mm b/clang/test/SemaObjCXX/literals.mm index 9190cff3bda5..b62ed05f1592 100644 --- a/clang/test/SemaObjCXX/literals.mm +++ b/clang/test/SemaObjCXX/literals.mm @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -fsyntax-only -verify -std=c++0x -fblocks %s +// rdar://11231426 typedef signed char BOOL; void y(BOOL (^foo)()); diff --git a/clang/test/SemaObjCXX/message.mm b/clang/test/SemaObjCXX/message.mm index ec82d63ea908..87421f94677f 100644 --- a/clang/test/SemaObjCXX/message.mm +++ b/clang/test/SemaObjCXX/message.mm @@ -106,6 +106,7 @@ void test_I5(I5 *i5, String s) { [i5 method:s other:"world"]; // expected-error{{non-const lvalue reference to type 'String' cannot bind to a value of unrelated type 'const char[6]'}} } +// @interface A struct X { }; @@ -125,6 +126,7 @@ void foo(void) callbackData:ptr]; } +// template struct X1; // expected-note{{template is declared here}} @interface B diff --git a/clang/test/SemaObjCXX/missing-lhs-gun-extension.mm b/clang/test/SemaObjCXX/missing-lhs-gun-extension.mm index eef24ca9dd45..0b5c998bd755 100644 --- a/clang/test/SemaObjCXX/missing-lhs-gun-extension.mm +++ b/clang/test/SemaObjCXX/missing-lhs-gun-extension.mm @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s // expected-no-diagnostics +// rdar://13749180 @interface NSDictionary - (id)objectForKeyedSubscript:(id)key; diff --git a/clang/test/SemaObjCXX/namespace-lookup.mm b/clang/test/SemaObjCXX/namespace-lookup.mm index 69a174c9a42c..c5521c14353d 100644 --- a/clang/test/SemaObjCXX/namespace-lookup.mm +++ b/clang/test/SemaObjCXX/namespace-lookup.mm @@ -1,6 +1,7 @@ // RUN: %clang_cc1 -fsyntax-only -verify %s // expected-no-diagnostics +// @interface A @end diff --git a/clang/test/SemaObjCXX/objcbridge-attribute-arc.mm b/clang/test/SemaObjCXX/objcbridge-attribute-arc.mm index 0a86ee9f329f..ccede2afd48c 100644 --- a/clang/test/SemaObjCXX/objcbridge-attribute-arc.mm +++ b/clang/test/SemaObjCXX/objcbridge-attribute-arc.mm @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -fsyntax-only -x objective-c++ -fobjc-arc -verify -Wno-objc-root-class %s +// rdar://15454846 typedef struct __attribute__ ((objc_bridge(NSError))) __CFErrorRef * CFErrorRef; // expected-note 5 {{declared here}} diff --git a/clang/test/SemaObjCXX/objcbridge-attribute.mm b/clang/test/SemaObjCXX/objcbridge-attribute.mm index 907163b7115b..83a3438b7421 100644 --- a/clang/test/SemaObjCXX/objcbridge-attribute.mm +++ b/clang/test/SemaObjCXX/objcbridge-attribute.mm @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -fsyntax-only -x objective-c++ -fobjc-arc -verify -Wno-objc-root-class %s +// rdar://15454846 typedef struct __attribute__ ((objc_bridge(NSError))) __CFErrorRef * CFErrorRef; // expected-note 5 {{declared here}} diff --git a/clang/test/SemaObjCXX/objcbridge-related-attribute.mm b/clang/test/SemaObjCXX/objcbridge-related-attribute.mm index 66755f3d413f..51fd03eb5368 100644 --- a/clang/test/SemaObjCXX/objcbridge-related-attribute.mm +++ b/clang/test/SemaObjCXX/objcbridge-related-attribute.mm @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -fsyntax-only -x objective-c++ -verify -Wno-objc-root-class %s +// rdar://15499111 typedef struct __attribute__((objc_bridge_related(NSColor,colorWithCGColor:,CGColor))) CGColor *CGColorRef; // expected-note 6 {{declared here}} @interface NSColor // expected-note 6 {{declared here}} diff --git a/clang/test/SemaObjCXX/objcbridge-static-cast.mm b/clang/test/SemaObjCXX/objcbridge-static-cast.mm index 6cb913792a6e..03e614574091 100644 --- a/clang/test/SemaObjCXX/objcbridge-static-cast.mm +++ b/clang/test/SemaObjCXX/objcbridge-static-cast.mm @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -fsyntax-only -x objective-c++ -fobjc-arc -verify -Wno-objc-root-class %s +// rdar://16756639 typedef struct __attribute__ ((objc_bridge(NSError))) __CFErrorRef * CFErrorRef; // expected-note 3 {{declared here}} diff --git a/clang/test/SemaObjCXX/overload.mm b/clang/test/SemaObjCXX/overload.mm index 75423b431ae5..d6485b3ac28c 100644 --- a/clang/test/SemaObjCXX/overload.mm +++ b/clang/test/SemaObjCXX/overload.mm @@ -109,6 +109,7 @@ namespace test5 { } } +// rdar://problem/8592139 namespace test6 { void foo(id); void foo(A*) __attribute__((unavailable)); // expected-note {{marked unavailable here}} diff --git a/clang/test/SemaObjCXX/parameterized_classes_arc.mm b/clang/test/SemaObjCXX/parameterized_classes_arc.mm index 3a2a9f35882d..c7560e72b720 100644 --- a/clang/test/SemaObjCXX/parameterized_classes_arc.mm +++ b/clang/test/SemaObjCXX/parameterized_classes_arc.mm @@ -1,5 +1,7 @@ // RUN: %clang_cc1 -fblocks -fobjc-arc -fobjc-runtime-has-weak %s -verify +// rdar://21612439 + __attribute__((objc_root_class)) @interface NSObject @end diff --git a/clang/test/SemaObjCXX/propert-dot-error.mm b/clang/test/SemaObjCXX/propert-dot-error.mm index 31ee43a3c27d..02e7dddb8c5d 100644 --- a/clang/test/SemaObjCXX/propert-dot-error.mm +++ b/clang/test/SemaObjCXX/propert-dot-error.mm @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -fsyntax-only -verify -Wno-objc-root-class %s +// rdar: // 8379892 struct X { X(); @@ -44,6 +45,7 @@ void g(B *b) { @implementation C - (void)method:(B *)b { + // b.operator+ = 17; // expected-error{{'operator+' is not a valid property name (accessing an object of type 'B *')}} b->operator+ = 17; // expected-error{{'B' does not have a member named 'operator+'}} } diff --git a/clang/test/SemaObjCXX/properties.mm b/clang/test/SemaObjCXX/properties.mm index 1c4e1470beef..7bb4fab3d3fd 100644 --- a/clang/test/SemaObjCXX/properties.mm +++ b/clang/test/SemaObjCXX/properties.mm @@ -22,6 +22,7 @@ struct X { } @end +// rdar://problem/10444030 @interface Test2 - (void) setY: (int) y; - (int) z; @@ -31,6 +32,7 @@ void test2(Test2 *a) { auto z = a.z; } +// rdar://problem/10672108 @interface Test3 - (int) length; @end @@ -39,6 +41,7 @@ void test3(Test3 *t) { char *heaparray = new char[t.length]; } +// namespace std { template void count(); } @@ -83,6 +86,7 @@ void test6_template(T *t6) { template void test6_template(Test6*); +// rdar://problem/10965735 struct Test7PointerMaker { operator char *() const; }; @@ -125,6 +129,7 @@ extern void* VoidType; extern decltype(TestNonTrivialObj.p1 = NonTrivial1())* VoidType; extern decltype(TestNonTrivialObj.p2 = NonTrivial2())* VoidType; +// rdar://13332183 namespace test9 { struct CString { const char *_data; @@ -160,6 +165,7 @@ namespace test10 { } } +// @interface PropertyOfItself @property (readonly, nonatomic) PropertyOfItself x; // expected-error {{interface type cannot be statically allocated}} @end @@ -167,6 +173,7 @@ namespace test10 { @synthesize x; @end +// rdar://14654207 struct CGSize { double width; double height; diff --git a/clang/test/SemaObjCXX/property-reference.mm b/clang/test/SemaObjCXX/property-reference.mm index 61bfd764f2f4..cfac9f30dbd4 100644 --- a/clang/test/SemaObjCXX/property-reference.mm +++ b/clang/test/SemaObjCXX/property-reference.mm @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -x objective-c++ -triple x86_64-apple-darwin10 -fsyntax-only -verify -Wno-objc-root-class %s +// rdar://9070460 class TCPPObject { @@ -43,6 +44,7 @@ typedef const TCPPObject& CREF_TCPPObject; @end +// @interface NSObject + alloc; - init; @@ -56,6 +58,8 @@ template void f() { template void f(); +// rdar://13602832 +// // Make sure that the default-argument checker looks through // pseudo-object expressions correctly. The default argument // needs to force l2r to test this effectively because the checker diff --git a/clang/test/SemaObjCXX/property-synthesis-error.mm b/clang/test/SemaObjCXX/property-synthesis-error.mm index 0982c81284a8..dcd40eb66f69 100644 --- a/clang/test/SemaObjCXX/property-synthesis-error.mm +++ b/clang/test/SemaObjCXX/property-synthesis-error.mm @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -fsyntax-only -verify -Wno-objc-root-class %s +// rdar: //8550657 @interface NSArray @end @@ -30,6 +31,7 @@ int main(void) return 0; } +// rdar://6137845 class TCPPObject { public: diff --git a/clang/test/SemaObjCXX/property-type-mismatch.mm b/clang/test/SemaObjCXX/property-type-mismatch.mm index c493d9941124..6ab07b8f3b80 100644 --- a/clang/test/SemaObjCXX/property-type-mismatch.mm +++ b/clang/test/SemaObjCXX/property-type-mismatch.mm @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -fsyntax-only -verify %s // expected-no-diagnostics +// rdar://9740328 @protocol P1; diff --git a/clang/test/SemaObjCXX/pseudo-destructor.mm b/clang/test/SemaObjCXX/pseudo-destructor.mm index 2f23ec037a43..06570c16b674 100644 --- a/clang/test/SemaObjCXX/pseudo-destructor.mm +++ b/clang/test/SemaObjCXX/pseudo-destructor.mm @@ -18,5 +18,6 @@ template void destroyReference(T &t) { template void destroyPointer(Root **); template void destroyReference(Root *&); +// rdar://18522255 template void destroyPointer(Forward **); template void destroyReference(Forward *&); diff --git a/clang/test/SemaObjCXX/references.mm b/clang/test/SemaObjCXX/references.mm index fc5f712fba8f..fa552076fb92 100644 --- a/clang/test/SemaObjCXX/references.mm +++ b/clang/test/SemaObjCXX/references.mm @@ -64,6 +64,7 @@ void f6(baz* x) { (void)((foo&)ToBar()); } +// rdar://13794269 @interface B : Root @end @implementation B { unsigned bf : 4; // expected-note {{declared here}} diff --git a/clang/test/SemaObjCXX/typo-correction.mm b/clang/test/SemaObjCXX/typo-correction.mm index 38624e9cd350..3f8a082a84a2 100644 --- a/clang/test/SemaObjCXX/typo-correction.mm +++ b/clang/test/SemaObjCXX/typo-correction.mm @@ -22,6 +22,8 @@ public: } @end +// rdar://30310772 + @interface InvalidNameInIvarAndPropertyBase { @public @@ -35,6 +37,7 @@ void invalidNameInIvarAndPropertyBase() { float b = ((InvalidNameInIvarAndPropertyBase*)node)._b; // expected-error {{use of undeclared identifier 'node'}} } +// rdar://problem/33102722 // Typo correction for a property when it has as correction candidates // synthesized ivar and a class name, both at the same edit distance. @class TypoCandidate; @@ -53,6 +56,7 @@ void invalidNameInIvarAndPropertyBase() { } @end +// rdar://35172419 // The scope of 'do-while' ends before typo-correction takes place. struct Mat2 { int rows; }; diff --git a/clang/test/SemaObjCXX/unknown-anytype.mm b/clang/test/SemaObjCXX/unknown-anytype.mm index 88a830a6ed60..e89dee1e2c7a 100644 --- a/clang/test/SemaObjCXX/unknown-anytype.mm +++ b/clang/test/SemaObjCXX/unknown-anytype.mm @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -fdebugger-support -funknown-anytype -fsyntax-only -verify %s +// rdar://problem/9416370 namespace test0 { void test(id x) { if ([x foo]) {} // expected-error {{no known method '-foo'; cast the message send to the method's return type}} @@ -7,6 +8,7 @@ namespace test0 { } } +// rdar://problem/12565338 @interface Test1 - (void) test_a: (__unknown_anytype)foo; - (void) test_b: (__unknown_anytype)foo; diff --git a/clang/test/SemaObjCXX/void_to_obj.mm b/clang/test/SemaObjCXX/void_to_obj.mm index d2c44927e32d..97151fd7fa49 100644 --- a/clang/test/SemaObjCXX/void_to_obj.mm +++ b/clang/test/SemaObjCXX/void_to_obj.mm @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -fsyntax-only -verify -Wno-objc-root-class %s +// @class XX; void func() { @@ -9,6 +10,7 @@ void func() { obj = vv; // expected-error{{assigning to 'XX *' from incompatible type 'void *'}} } +// @interface I { void* delegate; diff --git a/clang/test/SemaObjCXX/warn-implicit-self-in-block.mm b/clang/test/SemaObjCXX/warn-implicit-self-in-block.mm index 28c8ec3f3b02..7cc811b6b056 100644 --- a/clang/test/SemaObjCXX/warn-implicit-self-in-block.mm +++ b/clang/test/SemaObjCXX/warn-implicit-self-in-block.mm @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -x objective-c++ -std=c++11 -fobjc-arc -fblocks -Wimplicit-retain-self -verify %s +// rdar://11194874 typedef void (^BlockTy)(); diff --git a/clang/test/SemaTemplate/class-template-id.cpp b/clang/test/SemaTemplate/class-template-id.cpp index eade4f629042..0752800d0408 100644 --- a/clang/test/SemaTemplate/class-template-id.cpp +++ b/clang/test/SemaTemplate/class-template-id.cpp @@ -50,5 +50,6 @@ template struct Foo { }; // precxx17-note {{template is declared her void f(void) { Foo bar; } // precxx17-error {{use of class template 'Foo' requires template arguments}} \ cxx17-error {{no viable constructor or deduction guide for deduction of template arguments of 'Foo'}} +// rdar://problem/8254267 template class Party; template <> class Party { friend struct Party<>; }; // expected-error {{use of undeclared identifier 'T'}} diff --git a/clang/test/SemaTemplate/constructor-template.cpp b/clang/test/SemaTemplate/constructor-template.cpp index a89dc60cfa34..f9cd6c78a43e 100644 --- a/clang/test/SemaTemplate/constructor-template.cpp +++ b/clang/test/SemaTemplate/constructor-template.cpp @@ -135,6 +135,8 @@ namespace PR8182 { // Don't blow out the stack trying to call an illegal constructor // instantiation. We intentionally allow implicit instantiations to // exist, so make sure they're unusable. +// +// rdar://19199836 namespace self_by_value { template struct A { A() {} diff --git a/clang/test/SemaTemplate/deduction.cpp b/clang/test/SemaTemplate/deduction.cpp index 2556fe86e1b4..54bb9d6cfb15 100644 --- a/clang/test/SemaTemplate/deduction.cpp +++ b/clang/test/SemaTemplate/deduction.cpp @@ -137,6 +137,7 @@ namespace test2 { } } +// rdar://problem/8537391 namespace test3 { struct Foo { template static inline void foo(); diff --git a/clang/test/SemaTemplate/default-arguments-cxx0x.cpp b/clang/test/SemaTemplate/default-arguments-cxx0x.cpp index 4972c57a7192..1aa456553599 100644 --- a/clang/test/SemaTemplate/default-arguments-cxx0x.cpp +++ b/clang/test/SemaTemplate/default-arguments-cxx0x.cpp @@ -61,6 +61,7 @@ namespace PR16975 { baz data{0}; } +// rdar://23810407 // An IRGen failure due to a symbol collision due to a default argument // being instantiated twice. Credit goes to Richard Smith for this // reduction to a -fsyntax-only failure. @@ -79,6 +80,7 @@ namespace rdar23810407 { } } +// rdar://problem/24480205 namespace PR13986 { constexpr unsigned Dynamic = 0; template class A { template void m_fn1(); }; @@ -88,6 +90,7 @@ namespace PR13986 { }; } +// rdar://problem/34167492 // Template B is instantiated during checking if defaulted A copy constructor // is constexpr. For this we check if S copy constructor is constexpr. And // for this we check S constructor template with default argument that mentions diff --git a/clang/test/SemaTemplate/instantiate-attr.cpp b/clang/test/SemaTemplate/instantiate-attr.cpp index 6c26711a2f17..1e94614f371d 100644 --- a/clang/test/SemaTemplate/instantiate-attr.cpp +++ b/clang/test/SemaTemplate/instantiate-attr.cpp @@ -12,6 +12,7 @@ struct A { int a[sizeof(A) == 16 ? 1 : -1]; int a2[sizeof(A::B) == 16 ? 1 : -1]; +// rdar://problem/8243419 namespace test1 { template struct A { int a; diff --git a/clang/test/SemaTemplate/instantiate-declref.cpp b/clang/test/SemaTemplate/instantiate-declref.cpp index 2e4583a1573d..7d4a2ff6a3ff 100644 --- a/clang/test/SemaTemplate/instantiate-declref.cpp +++ b/clang/test/SemaTemplate/instantiate-declref.cpp @@ -96,6 +96,7 @@ namespace test0 { void g() { X<2>(); } } +// namespace test1 { template void f(T const &t) { union { char c; T t_; }; diff --git a/clang/test/SemaTemplate/instantiate-local-class.cpp b/clang/test/SemaTemplate/instantiate-local-class.cpp index f9553e334c70..430516aaac5b 100644 --- a/clang/test/SemaTemplate/instantiate-local-class.cpp +++ b/clang/test/SemaTemplate/instantiate-local-class.cpp @@ -453,8 +453,8 @@ namespace PR21332 { template void f7(); } -// Ensure that we correctly perform implicit conversions when instantiating the -// default arguments of local functions. +// rdar://23721638: Ensure that we correctly perform implicit +// conversions when instantiating the default arguments of local functions. namespace rdar23721638 { struct A { A(const char *) = delete; // expected-note 2 {{explicitly marked deleted here}} diff --git a/clang/test/SemaTemplate/partial-spec-instantiate.cpp b/clang/test/SemaTemplate/partial-spec-instantiate.cpp index 0b84df69562e..c457c03baba0 100644 --- a/clang/test/SemaTemplate/partial-spec-instantiate.cpp +++ b/clang/test/SemaTemplate/partial-spec-instantiate.cpp @@ -41,6 +41,7 @@ namespace WonkyAccess { } } +// namespace rdar9169404 { template struct X { }; template struct X { @@ -53,6 +54,7 @@ namespace rdar9169404 { #endif } +// rdar://problem/39524996 namespace rdar39524996 { template struct enable_if_not_same diff --git a/clang/test/SemaTemplate/pragma-ms_struct.cpp b/clang/test/SemaTemplate/pragma-ms_struct.cpp index a2821c601495..fe0b494b9a57 100644 --- a/clang/test/SemaTemplate/pragma-ms_struct.cpp +++ b/clang/test/SemaTemplate/pragma-ms_struct.cpp @@ -3,6 +3,7 @@ #pragma ms_struct on +// template struct foo { long long a; int b; diff --git a/clang/test/SemaTemplate/rdar9173693.cpp b/clang/test/SemaTemplate/rdar9173693.cpp index 1e69be4d195f..76919e265fd3 100644 --- a/clang/test/SemaTemplate/rdar9173693.cpp +++ b/clang/test/SemaTemplate/rdar9173693.cpp @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -fsyntax-only -verify %s +// template< bool C > struct assert { }; template< bool > struct assert_arg_pred_impl { }; // expected-note 2 {{declared here}} template< typename Pred > assert assert_not_arg( void (*)(Pred), typename assert_arg_pred::type ); diff --git a/clang/test/SemaTemplate/temp_arg_nontype.cpp b/clang/test/SemaTemplate/temp_arg_nontype.cpp index e091de669fab..55bc57430937 100644 --- a/clang/test/SemaTemplate/temp_arg_nontype.cpp +++ b/clang/test/SemaTemplate/temp_arg_nontype.cpp @@ -213,6 +213,7 @@ namespace PR6964 { { }; } +// rdar://problem/8302138 namespace test8 { template struct A { int* p; -- GitLab