diff --git a/clang/lib/Analysis/CFG.cpp b/clang/lib/Analysis/CFG.cpp index 3f2367fafc88f716d98a1b80e1b38f4440778360..ecbf05d61bacd2f64b963241f2d779a90596321b 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 bc7974f2c3d3faac12c734fed7c7f9dfa8649e37..8c997b645f155cac81af2257c53340f688e5e62a 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 c3c1394d75e29deda6bf72bf22763f19ce2a2b86..32f4f411347a85be7d5fea531105b3885ca1ee62 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 1a9cfc21ba71dbef27a1072ae63072ba20016c1b..7dbe9d6c9ea0add9e59de8a245bff58ce86f1003 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 1b791a7ab0b0a2d38e894bd092c1d05302306d51..e2e36abcd178a42afa17dd3949f39a67d5f3ec98 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 dd8bc0192697a490b5552b30625e1d0ba00b5e07..7e5dc3a71cbbad85f8ae221e6f59fa3321fea0ae 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 d63dc036f19b7dfd8e5867eb985cb804bfd3c4a1..18d575041ba74c77ef7ad0111eec3e5f1a9b63ba 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 688d3839cf1309426f27a16505f067ef360b724e..379163e12787f1c7fb07be8f305bb59d4980a760 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 3d8a0575235c993a430631d3061a8e0cae2b7965..195940e5e643390b1a1fd4649734539459ea6e5a 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 3d102a88838346d370c0ab480f4ca2b8b56a9c34..8072531ef6fded1c2c08d36a4ce668b95054389c 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 1c33de5b65b2566e34900f978d03acb00b298bd7..26ead5f6a0907d918569449c662edd920b1844a2 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 07a737c1b7757ec1faeed6b6ac525fc6b8894490..a8db819d90b87026f1880d56514748fc72b1e85e 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 a2105b32fc755bb7731994194df5a089e247441d..b563d196ee6524932564e8ad63b0877b6030ed71 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 97723e89ed369f83b6a2fc972a4f128fffb88f3d..2c9ea9ca3324d2e074c3883a9ed8d1ee62c43f1d 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 b60b07ac9c1109ab15d26ba916fc1178e3afcc65..595ff23a7259da4e24cb72ab4bb0f840dca75bd8 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 c2fda3b52cbc98f9f5c71f8457c841472eea0377..c20646b68f24fe09ee20d58c9c02ac3601f99810 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 5bc456c6301c08e2c03b44a57ea9de5487844f3a..0c69a7ffaad603edb728cb1c0840adb50c998388 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 be4939495152335c48ef269fe76a1ecae9172b49..3e440d660c19a820350417343a31fbdc4865f841 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 391c636906d53e246a999371edfd0cae46858172..b8f562f8a42dd6202c5c5436bd09c083e44564f6 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 ede11d05c4c24ecfad677d0e8400574a8901c117..6b394e3b33ea349c72a35c98c51925e73e8b1f3b 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 d4832f14be6a32d636ba3b2f184355b6581c7e7f..33727329fe5ebfb1fe38d198136b76e900dab3bd 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 00b5e09c8e084c4bd731a7636cf4f91764a48790..78ab3ec71596cd4de680c36df13a65d014c7f729 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 c829a7aacb50d0313ac7453d96c11ba5a5078510..3378ff1e487f931c0fe4ad0ee66a2d4ba6b179de 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 07ee68dda33bd74085a7935a5a94b844343d7629..c4b6f42b1bd5a370b36a675120444d0193cd55ed 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 a60b35900bf3844c1d4b823cf41b735d11db0a98..59fdb88d51a386a5e32e478d011d14084f55afe7 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 0aa66756b761c7fc4ca469a65300e9cc17499cd6..7ae898cf9cba58a4fed5d53cd8364e489b684599 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 e0972875e11b810f8628beaaaaa3554376135c7f..d2ee4090b28c16b66aa9e6eabad3e8fb253b0c1d 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 902e765bead3a383405d2653995d31a552dba3c6..5bc390be58e1b217bedb65e6ca824b5605287b63 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 d4c0870e8cdc3a07fc540967cdfddaf8b81c8c2a..01078277673613c837564bfbf48e15865dac96d7 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 55a116c8ca5da49f3b792c8249dc3a4d92e39366..57b20415f969632394adad301be7ff9e2e4c986e 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 512deb12583a991ea6ce729c44f4e2306c52c822..8e9e3a0c21ca53e5589e1744d53c2f8bef43d407 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 853d16dc789420b34abafbfb12aec4a18b0f1db1..bff7d80b94145c012b1d7a674978c6e39e589ed4 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 c89c91eedce35fdac093348c705deb4f7c5e376c..8048e06748aa2383a2ea062142c2a4ebb72c06bb 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 37ba74f3346fb4678792fe4a2865934965516d5f..d499221a74cd049d95a0460aaa1023eb06684c0f 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 3a212ac894c4a3ba51d41aa783b3be935a4eb154..a5a45e37929c98867166a9758d6a9c824b70d10e 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 ec75b5140e18dfd6aa544d8491a71e9f616efa9d..00426dcbdc33f84a6a61fb279a6c135dd3750dc6 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 5153b0e658f6ac1fd020e9c0683803110ccfaefc..43d86a821d7c210b0a4e5ca425dbda574a0f05f7 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 f2b722e66d96992b34a61517c47a04665e928fcb..1ea41093850db4a71e26b9f7772fecc9ed3f9b35 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 610f027cee5c15dc660349414b82d641e70dd599..58f8ce2e07152f6d7582e97bd762af5c87d18a2c 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 e9bb4ac12e6d48149c9d3034b2897e49ddcfb86e..f4c8f5112a62dae08fe55d1c3b0413980bdd4591 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 987532544bc64bb136b15392e2bf7baef89de662..0322ab81d6afbaa53280574c440ef3567de5746b 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 473b49589222dacdd87b9d224a3641e998fd7e50..2e1fa51d04b80aa466780e63c2757974b9239a85 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 a6942e20795fd06eb36f260f64e1b0812663135c..30277ac57d49c9db15a21b012d8e089563dfa834 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 60945d8e42a251fbd4f9f513179f1608e305ed0c..91af2bd0a231fb3becea85bcfb33d2a1dc7a4b2b 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 a7b6c8346140152a3fef8d666d2aa49b3f172fea..c20aebc89c5c02103d681596babf2ab28ef851e1 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 31b6286b4465e4d7b362b275b83df03ca4ffe2a7..62cd52b7aa82271e412539247a72aab5fab7855b 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 4f9183532935e3cfe23fe22c78de26e14d7cf9ed..1ee17de4b5fa99a952c6d8cbd8df2be06d50c516 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 8ae58503b9c7ece6234664da7b121aa858172294..15af3f37f9474a821bb449e5090224f087426b39 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 32244329c434aa2dda0426ab32a6179f0099bbfc..b7ffbf5b5fee24b284fbea682081c6e9ac523729 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 fc20fad656e8ccceed8162c8f983e22ed5cc4aa4..5e82138666376c9b8175508b4ed1076cfb7885bd 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 09a62dc1a2aa55298a0744ead6d344f66940ab3d..67f0ffc9a41842e5eafb4ceb22beddfda7f985fb 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 917fc503369f7a50cba54e8ba2fc36f18ac94287..0a00c2a0d8ecc130350c369465612f8a2d13ccf4 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 b0f15eba0a0c152c85276b580035311527811690..b7c07d4ef6861388bbd02f275b035370f64ffdd5 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 7a5c4d282e123d0f79d13e30ef1c0f8bc05304fa..c132e6a3171396179d4f97324608cc04546d529a 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 3e18d058bfa49960f7aef4f6c0bb3d1eb915cbd5..cb6c288b67821b43da8fdbc528b25f254af807e3 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 fbdc6918cad50528e867131b2a38846ba8e5ceec..657be62c94e615c3da871aed17e1b4967466f9db 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 1e17cb7d68f9ce877ec21705b8d2e8e046ba1992..d2c8af5310127e9c1a815547748dff69b52735f0 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 04dff2b5c2a55013195042c1e4bf2962098f2793..b90ef571136c41dbf7470f322ce313e18e7a46df 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 ef6505e19cf803fab4b57015306f91e44e9ce47d..c107e107054490fd339ec68c302833030ecef12b 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 0b268146fb99784141e234c3f2e01e10cc19f580..95ac67cb94493cf9535065eccc2f3883bbdcc0b4 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 00b19b1eb1a1516312e63b01f55dc6d5b5c8a48c..170569eb29a0967e4d3a4af7d4d4860737d7e8ed 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 ff58e06fe6ea090280bffa014804cf8b42b98943..7c3d6b99a22800c0a069484e65674e06c170c6ef 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 aee73ba81f3891be725ee601392ab9dab966472b..9a4689257c82ee0816c49aaccbe7035b3b70a0e0 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 e87e6010a04415cf49911bf8c8287019df9e2cd4..6bddbef58f1db3e1610aef56c22e657ebd631358 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 039a5d2e8a5968a383fbd3197d60f2c09f677f2d..21fa29d6ece21b6d5da06e8e7b8e97d2e57d20a7 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 8cbfbb722260f2549efa5c78a8fbabdbd97ed9ae..c501cb58c63ae6c694cc62c09fe4935984af4850 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 09cb94af0d172fa88b5f974ef38a7ec505fc6737..b14ffffbfc231273ec48ee29682677e43d8ec8ad 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 92d5992196d556b4ce3d51d5400541ebe69f1ef6..2416813cd246ebf46f63b92d342e2538739c964e 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 cdc32ebf2a0ce337ba743e92296616b0d3c72b06..34b84bfd0f405b681ce4c609d771e1035dfc5955 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 003100fc08107c5deac266e1b37bc239082fd7c4..0784be67ca68c353b76113d577dd9fe1b2dc370f 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 ae7a4626288e68b0346362a9febf9ed8924432c1..da1f1c31693489e96380effb6c52c154d8d6cc89 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 6a3ba5b5f25501237cc0d5e3d2771351d6d02cf4..9c03c0b3a05af2fed1c8504ebc517996d38fd000 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 e00b652ddb24e5f8a555d9aff05ce13b6b9ce5be..ade11e6c12064cfe89d93a6e6ce7bd1098f5c956 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 ccc57473407b87796a381a1ec959504bf85992ee..9b76b55f549e38d0df94f629e455e9b630169d0d 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 8b5665159185bab5df441389dfc17c0698689819..e7c44750eb5125c78eaada04d258626784f4c386 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 37395616ee928148030e4ab8a9b96a9109c3a5d1..38f46b73e703ce5ea5f297addc491836e865c0cf 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 d91eb24670b8002b9a30e48f079972617d5e830f..be7449cf563436c76af1cded0dd6050dba273873 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 958ad5ea40ea58586542b82b8407e0a300e6f630..238a4d597326fbddfcf31cd751a9bc7c5022112e 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 668b5ffd7001a6320de1bc3ca9a41a883dfa8077..6b68392523da863c254d88c9bca11b9f209d4f6e 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 90c9b5ccb3ff1fb7b3951c89ac55c14d923eaae2..e9e56315eb2686ecd52d56bd22074bed3697cf93 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 e74e4e7be3580b536a01202c2bf3a8aefebe182d..ed3f2d09857c238eca014296ab7525afe878c0b6 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 08d588fa04e85be6b7edd3b12163c7f3474e9507..3a8be8eceb2e7a7509501851a66087fbd27b78b2 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 43c2edb4be29e36c5c3022f193d76f7c50aa10b0..3648750bb0da8de017c23392acf680d23e97bf8b 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 2ed210f318262e2422e043ae76a97ed8903ff8c4..5489d507478fea2738f2b6afbfba231cf06b8864 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 1d6515c2405a23be97ba2bcd51b02e567f9d8509..b2379e96d9db0cbf1400228aa92a856958fe5220 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 5e42eab1c1b2b40382ea63e62ed48063c64e58b1..79ec30fe198a43754f2e094e03b4ce586b62093e 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 2ae5752f440237456c6ea95a5e9630de45e21f72..db98280538e70bf5c421d5e0e1e962ac0d7d0201 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 c3a8d4d72c81a57264a02adc5c9cfc797044f24c..e8c762317a75b17e69f90be4af8226b77a90f959 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 96123243a833a01dc207d631cd5c09c10c985d62..543fa8ad40cb2332d0ecb09d55cf22319b668f29 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 f26245db841c1e1b549cfe9a597dbf319e284126..b12af2fadd66aa45a43d49b66199c9ecc45e37d2 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 ecfb9c0075160002fcf4bca97f342c1c8a465cd7..cad92e47e6980445bd1d75fb09a1518942254f18 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 b893aec2a7d5423d456ff4a30db03a800d48a95d..61a3db74ba9075190e13298a87583da93903544d 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 ce2c383742cb4de4256134b978f9bc3c61d6df81..695a0d06e03ccf20a392bfa73e2232582c905a9b 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 2418c9a5383d19136529e872ed79c5766a6be65e..d6c0b54470a534209deb540f618052ee3ab907be 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 a4063db9388cfc03295287a650d71606481c5688..6dc7947d6776a66c5cd01b5239e21642d766efe0 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 be83d5b27032ac933596059164caa1912cefce42..733d35059d20a7e4d700ae0a976b53c8a8056f4c 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 4b143ea1ebf87697b5d4acce08a8b068d1ddddff..5b4f35055f510e088028965253ffeb45e68879ad 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 26e1cc58350cab87a78bf732f43bfc9147706d40..04689d0eee5725f4eaff23e56c4a7e551c529317 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 bd856be2b8d69035f6ee896d43ca1be410efecf3..91e41e1f00650f20bd8313d769800d2f793fc5f0 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 061c19fe7e04451ef41e670bf47abaad82714bbb..e7c30a764f72dccf81edcb296fd1cead77abb4de 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 a37743ce48a69a62bfa863341a97a40ab68d4d81..3b573ac2805344379e6664a3545095b27e51f2dd 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 4855b93716222562c69e41ff29262c7a604d77e2..c45e9e60e820f665043bf6c96a5756964d866307 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 3ac84213b9e97dba05abbcaa4b2a29f35781a2b3..225c98a20a6215b259e0e9e8964bcc9e4a8304f4 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 b88605487bac1ab2e45783a46c7f94ccbb8a4594..6e65c757f564e81f5d96447c633f85f39d7f0cd1 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 9d18f0ef69b92701d9e50bbd6eacd856fbca4842..775c7ffb567c76cf104869476628c9e1862f9966 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 32e7e80fc42768477bb080be65e9e8e4836c1715..90e36d527af7c51f1d3176d206eb4af178fef734 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 a908518f02ea2e49065b1ce15fe4c82aae91e640..ca17ba50ac299081653ccdbe90189c7a0794d7a2 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 3c9e3c70334df11d58beb9122edb4cf82e662c15..6fba972989816a056494782c1fdd162e31a24d2f 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 c8ad6f17d5e620f537f9c5e02e59cbed4503eae3..acf230f2be92d8861164f1a07d02b274d1da3ee1 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 71f11bdf9e073676bf80badfce3c8bc54ff74f0f..0deead19a0fb3a233e6dbaf891f5d259927021a3 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 8c72387c6c21b3de6d36a19c89b94426e68df925..6992c4e87d2b82bcd56a8bc3eb04d455a5c8f2e5 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 fef5b7aa88726ea5dfae7c68c817596b16a8c465..d92ea8ab4e4c1b2092fa1b23e4e29482b248c671 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 510aaa208982f18f252095975d747f4f20c37556..f9b95f0851ef39bb5d03e01af7c3227f9aa84031 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 78e83c0ab4566c6bb2ba89a54bfbe1d100dbb4bc..4d4acc3460e469305d1970fcd9cac598dea70575 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 7ed9a58b133d238998324adf23c42a09cc3eb79a..11372dd48a10a66a8abd4b0868798be359ce0a16 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 6879cbf63bac8b16baf1b57b0cca61a4084795b5..2bcbe269e1229b384f8fcc5c96e36302ced2c907 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 d9252412d87b468a7bc3cd2c110c36c9e4d33c6a..b646ba776a9cf3ebffb165dd852ae50dcadacde4 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 f2561a77c1befc01e137c4ad91f104cc15eea8d3..199397254aba0cf0b9d1a7ef5b534183946b0597 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 f163c397346bc9d6915b0011dffa8f3589a6243e..7d12cedeacf050070081b4d90fe4cbc134519af7 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 537d676738bef898b4da84c19d35d06744685c85..48c47f74ac6c6a6fcb5c5f8552baa11520185b44 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 fec101ff27204dce5586af73e9a5b5140e971420..ea059cef7c8031fe7039bf0f9a467d9ffe9a7f18 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 a292d0de97a39f149b8673e0b6b96832d689e663..c4f9d63b7c66581fc46f1f296b5f913444aab6d4 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 b568b60cbd3f856752425a45985b545f0209eb44..818407102cfde54c102433d428a51c004baaf801 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 a5e191418c3398dbf63aa51190933124e48e5787..be0d96549a3c61cf1b48654af271f99e99484c0b 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 70f3aaf6abfc7237ce447574f703ba20dadce8a0..9fd952b6b68fa463c711a15d775970316e3c821e 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 ae57387a6e1f5feb618d8281576008c897b3353f..dbfc107da5cc8e8ff14bb6fb10eee61303cd804c 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 8c1ddac31af772059e4667a2e3cafaf8a969ffdc..b9b1a9ee5e6f015fbcce4ec969448776a9a011a8 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 065f988b7d09c032dda6c425f5ee8b6b3bd3c08e..be103ec8e347664b97feb9b8a9683d20649d6f1a 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 1c60bb7056c42a664c700e7c8949618cdf1e2429..65f121ea8a695d515a0e54dd0c4450c899a33cd5 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 07e5bb01b5fc22cba1b858e320faf4b4ec2d51c8..72bbeb963db2f3847dda9bbe0deebad09f3853e2 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 37b72fe433b6a7e456b855d24811b05fee314301..88d77da709b13b0f3731c98205aabc69f4a3a189 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 645403284b8b0d6231df79692fb19d91680ffcab..9d7f1f0b8b6cdc430caffd3fd34571a2950b06c4 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 8753bf193db7b157af0f03f763ff314c872dde4b..dcd507d819536129b34588de8194d7ae582d93df 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 69d1156acf7eb24ce668a15583f0c298ba5ee934..ae385c4121dee38e0a3d8266f3ef125c9637981a 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 6da292b6b7009a04dbcafcdcdf65a7db4018e944..61f2edad90b01ef42b4edfbc850d5d7830de1e9e 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 4d96b04205c034fd8d690f6331b24903e6f5b917..feacc64299f2d553e09f1859e827e44a28bf42e2 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 f89ec74742b806bdac0a7be7d368f943badd3a37..fcf74778e8075e17e25e21bf0a7e59123bb511b1 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 b2c4283b5e6feb152c818cfc5e07eec2fae0f088..fe31bfa9e778b0f3cb5c5c09840d6ef2e6fe5fd2 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 b70297a389897909f33d1d151da07ca9f5a78c8f..218d5f8c10eeef2a9d1800b433ad1db1dc20ac6c 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 9bdda53f666b78f462f33c4dcb21969d04fec917..763db65063fcec6847e552f93c43719735736af4 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 17e4d3abd976783cbee610a13fb5ea0ec433b970..d21e18abe6d65a1e37081b5e574d886f20a43d27 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 588e47558dded5bec6b40fd854bb2d357e384b84..944a271e6cbad7cd742e35c31232424ed9f0acce 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 4c93ee2c305d6d4440751a509a4baadd522fbf8c..a580700661e4bf05eeca149566000965b01dbe3a 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 8eb6d6cc43df10076de8fb94c4bf185ac0a268b3..f12655fc0611cccd5c8fbbaf8a7701285538b65b 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 f79f6b9a8b1406d712b110ce7778a6477147554b..be175517155b2e6891039847378b414f4631ede5 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 caa71ced0a8aed151bb0f20b8bc478e4c598f217..8bc48795c690c5083e365607163944049714071a 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 8618b255cbcd5edaae0f90e6006f9e642ad26eac..28169c3bc7f9057c827335d2ea1f0c5671c64108 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 1383a421efbc2608fb56037ab7d126d9f389e970..4c742dff0a2b875a1f71c9ae3e3efc5ff10b21e0 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 10102cc2c4db10e09e2bddba9076badd450701bd..741b8b17510376ce9d370ba45531fc314994bf06 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 4834eea85f6734b9525d60ce5864d5afa33b6710..d48b32f155278e309dc030be6d5efa7424a7eeba 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 d2a30a3b6e66f187ca445482d0516a9910d10429..ab01f72d80f2dc9a5218606d1f79b3d722ec5691 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 9143bedab906160ddc792c1e489c308adc5548d2..242ec41ae1727f7d5c7a2acb6bd45d927bb534de 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 755ede86c1382695f30e76bf76712b3833fe0df6..b80e5d310357088e027edab11df7b492881757e8 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 96a606fa591e74d1bf5536674165478180bad8f0..f02d09e8150998ae1ef51534580da3d516532e12 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 3e0b30c7a17d8092140f75bac3dcbf1cc181a99c..7ca607d883f599f576cecfedd31b8851e0fb782f 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 e895a7da1c4b7aec9b0082043e740235183bbbc0..096cf28155d1deedd44f41adc497bb3cd2eb61d4 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 c3393dbea6b922c1f13b60b530587f824a53535c..15e81552d1f4a95731d64d0fae859c01ed1dfb2b 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 5f2a285307a72749fbf0179e0859080821fd7152..fb56771529747e8bc5b0a75913caf829582ffbfc 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 469cf7cb89a2c389a24b387cca3b59fabc5ce14c..f6a36c8b7bef120742c4485b0850996cb89c19d9 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 fb7fd0eeee093c5883d7056a651780dd9afa1219..bae3807b6c2683c26f9d40a2fbaf1ebd53df172f 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 508dde43eb7f1e26027efd27d516ec64aac25301..6ad18cabb296dc82772d2f6bfc8f22df13c4addc 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 e5b0faccfd23f209d1486a7bf493687852693875..ec184e3a7b04886bdb9019377f677a7ea24b17df 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 df34e873e208a6fa6840c2309a6fc2caa137dce8..1e7fe9aa883920e01c16018e879cd091246fc2a8 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 23c3c60b779b373213a692ddac0ead9e63f39ba3..a9f62faff22ade68c1525c16d28103d23b70cf7c 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 4babc05759dc8afe5763ed34b2c586c0ab5613fb..3d1e9f060d90ce81e02f635b51045d52c8c3e5c4 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 3f06e3ba7f195604e17972720b58b6d883aa14fe..4fae6d79a0f7e138640fd415789bbe80f838bc13 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 af489811edc58f8819b531e95f6683612a88a33b..7ad92fbb2cecebee94a38edc8ac73be1bfd1a2a3 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 431740b8457b1d4f8b14761b36f0b48e72b60b6a..1bc7730011b997020ff6a87696fc929b3a84c4f2 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 4a84d00d23bd67126f87b0fdb91f0fe5628ce62d..f7c90f77b062ea25c6a918a11db666cb7fbe24d3 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 7ff57e14407f740b08d2f89f0e1c25fd87a3a775..da6190539e9e6ffa6fb07b6dc92313102e993bfa 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 039a1141fe79c883ae6113cd0cd5f636576abbb8..131c160b6ce7494378d2dcaa49fb3d9cf805190d 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 6233529a18f8b8db3d5416d0b7a463baa1376e80..ace60ed0a6b681426956511183564ddbee5bf7f8 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 8fb364449155366c868660d12217ea94369a9c9f..55141014ebce8aa57cf44493d40d9bd26fb7dd37 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 70c87848b6c1ed978df56794242753d422762125..464341250edf1817cb22514a419dd173a9ce6e94 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 8db13c377ede2586c95bd2df36ab017fec3524f4..d94c2e6338c2b32a4dae07672bd8415073a0528a 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 08db3d7aefed17bba18f7786f7dea769114ed898..80fe881e97f02da243003cb343c50fbedc3c555d 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 94e3c9d7e3c0f7cd2937a61c1d8b91d7b0080975..9a80f4d49caff53943e569c669e4dab10b3f1729 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 085fd97bfabbd97f9c6b46274198cbfc85b8924b..e2328c5aa9a496e17baef70e25935bd4da4c1e88 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 26d98d08aeacc80b6e2480daccbeabf495c1b70b..6c446a842584e0b7485ff2976d315ef8c55e31b3 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 4c444515757bdeed21f78a869a0834760bb76adb..e3f0426900ea85c7680cd5d60728349fe2eda552 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 a63846b3223da474c06816fb570259b03aa05197..0b7317cd4751ca2b9de1c78ab9e436aa744d2d97 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 620b1b90d257584b1bbbbf1060c16cd03091d671..e630a6b4181516902731ff9e69c562b2c26dd34f 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 474ffca16038b84673b606d5828df3cfb128329e..88533312ae1a2fef880f161c3be9569107d49fed 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 fa0ca32509185bbbe2c0e2935268fa05adec2499..9a465c15858f8cae0dcdc06536f5c004bf658f61 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 93f21799f0e88a77d540b8d40597c558756376e9..0369267b02d5c67b19ba19fa8e47d05e425d8533 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 13a64f0271065776502b745b073313facff0421a..7307cf2b4fb0035182ba542b2494a874883784a5 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 db8baf054ac7b8b2cdfac8145f80f3de79c8bac8..a3edabf0fc0d4deeee5f23df6bcc7b8e741913fe 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 fa6c6c6fe35ec878ee49858da536977fbb6b3fda..aec53b08c58c6d7a8ef6c15786e449905cbfae88 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 b7784e54602aeb76618e0dd8b70cc9bef58af1aa..d61b5791355d82642c66046550a6babd443fa380 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 845f3baf7a4eecf5facf8d563a93e803a57b51c6..38a0fb03de1e2e4288b5f1b051de6b9e98e26793 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 1bbaa80d653c4b2ca09f5f4e9ea952872e7d57e1..e9075e9a929de10a8e3b6136b32bc15e7b1a4251 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 4a63820c185491ada7325f26ef22dd1feadaba1e..a69f02885611048a1a3bb1bcf5ef5d6d1d8a980d 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 9959419f9b7c88869daa180d70cd5272c5c602ee..c25f034a1a38849da75ad597e4905b3848936952 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 cbf615bb9ddfea111ee9fab3aa5d51f6fa0b815d..5ebd6853733f8650e128cb346ffdbef39029b436 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 9c4043f843fe4f91d7d7226505e2d89ce2febf93..1acde03260c88197bda178e36d6730bbc5e18978 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 9a3107c0b52926de1bc871171e1b71a0f01a18f0..6f7616d3bd3884d172f5aaf1075faa361ca3eded 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 967a9f375565cf6686a32824e19ff501323c0717..54fadb6cf28efacbdbf3353a9a07323bda717910 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 024b2bc07025f7fe7ee343d81f01a44559e10acb..a1fb19f3f640c44ca921463929c9422d90d1c07d 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 8758081a447c0e0f6362b6e62498a22f02d9680b..25c0ba2332611bc70621061891089b4d3cd7d9b6 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 1f7cc9ae8b2597aaf1176fef387f44fa0a7f25ad..36e0172db0f5559ed1e5ffe565c5bfbaec14e8c2 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 3f6a4de91db3247a9c17531e6b724179c4359cb6..0eba4359145e48057adfb085f3e4e7e948e35fb4 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 7490bbb5d091d09489fa103431576c99f3226459..933293838c603a5e1e6d97503d2aa1d728f4ee1d 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 37b0245e57c453e5e0c698fd601963cc7c706bdc..ac854ff91667415eb65c29e2de5a3cfbfc1ba445 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 83f8fc906db3b9ac5fde4e9858530da33bbf3851..6382f3b90a350349581791b510d18163e95cf628 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 572b1faa11d5bd3084d26f2b6d50a89e93c118b6..8f53b5dbfe7309c5ecb4a5db7abfe1a1889ba88a 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 18ba4b54a26821fae0a338f7f4851e789e95a706..41d7bd3dad3bf221fd9ba6e6feadc30e5f1a5066 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 ad60291401874348648b9733d5a8b670a3b1aa27..318345bed90aaa84ad4b022d7387ee9723f46aec 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 144313181f51cf7aef53ef97381a3ca3d94ba3b9..8f5f33fe894537bb57f2d21c3ea165700bcfe465 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 76bb4159b365698830b675779c40af0a2295df9f..4e321bfa40e9281566e0323141bf6858cbd9c33d 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 1cd8fe34ae2093ff378800a88e13e00e2ea53843..8a77280029c62943959c418d800dfbf74a231092 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 c2e34f80b0f57c44a5b7636e25b3d6fd2d258188..3f990214b1cf783bc008ff4a9756fac99ccc2779 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 4ae04243fa7197d9341086df169985a486149a17..78bab854157592ac34b2a01103a862c5a0f08944 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 6f8144f963902a373a293283cea15254ebab2d3e..b8e2f365ff41c8bf0f271db2ce7c518a425d632b 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 2b1b0ae6c6f2748d10de455233f545a2684d6f07..2fd008bcca79970cdb03ce07e764d39426485a40 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 01b238bfa1650bd38313a7f15804e8da1f6873ab..f9ef6795da2f5c3f3d6914b50c6bd8a44ac156a7 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 1bd4f20c52e3263ff50f61da74bcdd8c3b3b335b..0f17c8b202c224b0aa02deacdaec7b70d7a7659e 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 7d1d1bd545017a0cb073d779b779bd7ea85fbc5c..fbe5b67ccc5eb60d5d19c33150d570ae9497fb2f 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 15380cffdafd221ec06c71f3be768f998e0ce0b9..5358b98f3a6e50ef12ca9e5ba0b1034078dcf0f6 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 73ea319b391b0090975fda173e82eed5ed74b137..2055d93d8efcaded9beb483d5c637411f1002167 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 f23270e954bc192ff267e26e65957f15c81f36c9..50cbd6df771845c0cfd15178e70eb5704100e1f9 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 a6fe0cbd80d77640cc19483e587a18dfb8cb19d2..4ed1d070e83c828df5dcbdc7536502c660634a56 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 c0b607e96c61866cd0e796f6e33e92ac5bcab0a7..803e7fb90db5fd9461b6aef5177f9595bd578e7e 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 ee760ec77879e7ab644b68b3569bdc563a7adc41..8c8c70636d0a3507bd0a8c919c7a9dcb930d7884 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 11489b8795bf974a403228505e22fd324445e6a5..6b54770b344f1d87250bd7e78000d814b69b355b 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 6a516c9bd34305246f88f494c2e0b20b1bd50899..92bfd51d1ba83c3fc5e8e3e3936bf9ffc6ebed7c 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 cb31a04c69fea6c8957e46695c8b0a35aa448945..6967df9d94e0ec5818d0baf044ddcfacc7689fdf 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 6e62ae4e446190dfa2842cb59fd406ef5f171eea..4404d4a8d5181fe81676c33f6902b78f2c0636ab 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 fe6f32a6969cd8379707e8aef64905c1628bdba9..21b88c93ad7f9da9bfec2ad751d2b9513bc97efa 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 28dbce7877ec121567313c99fa7e73a0617fdc13..482bb752995f63239610ebf821e3f498c667f544 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 63ad912cc097454cdf96734e8dee8d3c6f852c79..5c2708c9fd0cbef2ec64eefc7ad8f5f560b87b6e 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 38b522b2e7e03430cf4b79fac69f9f42c587f2a8..5afdfec8b80e7fedadae80e043cb1a3f319619c8 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 827b51bb23cbc834f0b90f4784dc09c1e1d89845..2094c7e84d247fd01ec25b74ee0cf8cc9d81fd4b 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 04c20663ba995da046f572ce974676a6af7d08a2..ea4c1483ce70729a1df68d074bdc0e5707077e8a 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 11a025f1d1565549a5c8df3e5e80aec1f172f32b..8e76084980d4d53875bd0c23ecbdd3aaa765c342 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 5ba1f6ced77b8096d50a074c3e4ceec345433f2a..5d258f6a6175bbde718ca10ccabf53dc63639c54 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 d49ef2a0ccfa1b480cdff3650628646dfbd84ed0..a3007e5a49e2c31a3d29df99b6f67f62ce09bd29 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 7276e56c061dfd2cf7848833a2d51c4a6046fa26..1d737b4d01a94324e1ca4d9819a2f14838886494 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 ec842cbd2bbfb99207819a3e7ac3ca844ffe6f85..54d6cfcff8bd3a5acf5a219df2edbc232092d9ec 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 338b7db9e001f221eb2f1dccf53c52bd1c20e87c..3d15be45cd32913be3991287126389d083900491 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 a4a243c162ea3f3bd6967b34ad43994e09fc7dd0..758275e476b90ae01af92f6f57f054c2ce181956 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 6d9c991621d24e954b7f8178c05390cdda1f5fe6..bc639a2be58774bc1f706ccbef0c109757d26295 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 8ca37f6194ec22e7767141cbe8118c0b05fb0163..d2a73f7d33e6cbdf3ce926ffbf768aeac05619d5 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 58bb88ef90c19ad45a56520b68e736a083e31d09..6aca809c2c7210190fce58e04d050f0f3c0f5238 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 cd55af81c8e45aee5e865e4ceead7a94856e8456..67d2528276618e5aea858e39d0faa330ef6e00f0 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 eaab1890dfc49ba53298b49036a811ec1fa2ff58..a8adee0be6248f94d9dc39321c9714d261e80c26 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 84b0f887876ac5d3d220e05aae297690c8c2fc1f..9e2e9cd74c70f9cbb6c096315682dae721a85c44 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 b17e0f7bb9a222f6e9241206e534b3b2c99774a4..81e1584461defd350255dfae5bd5376bdc83d961 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 d420bd1f626c63b3c43a028474ba059dde25abcd..eb13503fdc3f814f0517c21e5dee1aea8e044317 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 3548897ec4ba0feb4a9c3268f460d8fea0ae9135..1bf2a01de053dd3e2f64c9d3bb1ba34dc1effa95 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 4e60b38c84b4496770369f21335b8d136215c0c3..d28bcb670fd20044255848caa9356d8aa5ca5248 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 f67acaa4565022926d0de9923f382e9c6172be27..b1cadaf3d43c4e583bf8940b326cf6e1d4aa4b6e 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 5b6bf6cca73a59c3a2ff4aada4da02f6f1a4ca8e..cdac2535a3efa051232a4a27fd34327252c34b92 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 ac122ec567da7965bdb9d34c81cdcef8c4746db3..d61c289b3c484f4d4d92b5e3df60bc48a7326045 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 8d89f4138a1aa2618f4571271ee2246b1a1d9b09..5345ff2dff9400123788a48fa891942dca125154 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 48162b55ed6417033486ede2e23ab1342afb7dca..088b94dd080cc1797d18d762640958d543710e5b 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 1b857d81f8553a2f9c501b7730542ef504aefc36..126e1f6bd1b8fe2530e71d3bd37064f171169995 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 a58e8de107c2d45c84558d09992bf8fd0c418f86..0c803fdf6bf5c0c03416522313e447032c56ab07 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 1879b1a364ddc18e147b92572c68923a2405f5fb..40664366e81f34795bfcb4eceb21c7c03f521062 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 a90ad83e7c5a6a9dc972e41377bf5c8782743a2a..b55ae9e8587877ed684400d5f00251a6f6b0bed2 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 b6c6aa15fde672dd6fc5fd88499502d788ad41f5..8b8d29cad0e4641b7a462a25a04e3cbe8ab676bb 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 f1cd4aa8c090e46fe49c26d3757caab0c24019d8..a2842d021783ee3c55b974c4bf1eeaa910d172ca 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 0b3fd937d23c0024706f218ce9207d4d4cb43be4..9f8eab624b40c6d963ea2597cf0edfc909dc8854 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 552634f430a80c32c389f327d61f09c9999d0aee..9eb07e27f5716b4b3930a0d57bc3dbd806c53cbc 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 fc52f2063d8dfa096130dd4ff7e20f33d57330da..8ba98020707c231c270e2fca5379ff223eb09206 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 1eb63f7a27f322d2f7fe006cfbe73a6fe0963686..53476f75654fafc2c346333f9949d77ed9bf37d9 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 c20eb3119688b6d8ec48ce15f5d5551ff42147a2..da642a0ba042a2ff42957122f866a4a4185b658d 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 8301c68b8fbd254f672c69f78085c3080c15bf64..72ee4f388e27af3867dc30fd76d1379a569d9c5d 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 8e82e38b2be3011c1dfc5c86079100bac90af861..762b5d9910df103b2c8daa28cb3913c32e4f8cc3 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 52039a5208223875c919bd4048f816514b8f8f7e..757ac5465fb48aca73c22f3e4df635fb8cb6363f 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 fb482b664361117f1839999e45d3ce52f0f198b5..e9715a651f404afaac213fa53cc8f29ba3ce7f3c 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 6b3254559489e77ff19639321e345d9a148e3a9c..c7bf2a7fe44566a501833c671e0fa9c9b01c5225 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 722166fd864889bcab2e411a2f04b11dcbb3b694..9ea48a933877e5952c30057b8fa568343ce3d99d 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 6c4badc4f6f69a07c7b2a7858d93805b4fe160bc..549682ed094bd25cc0b60a41574d90f91da94eb5 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 27b69cc0764d5ee5ab12f41d021b9c0ab1f4bf0c..f3c0ad18459f686bb56a92ffbf76fd555e86ab68 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 3ad982a195cc9610d34ab14279f96fc2ce251b08..45f61b4bdb0ac711a18ff310f9bfb5d5ef9a52bc 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 d32aadf6eabb46b35cd0b2f2d92fd0a6097ccb18..b20106f5f98fe72133985ed7134935a50548fb72 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 7611bae5dbd699564531077b435b7eb56f4fc74d..9b80a6d646955e35fa90aaaef6832b1e18c08c98 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 31467d943840e0527124eee6bb6824ab0110e595..75c9966fb807abf9f6eef18d1d7a3086d3126e14 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 8e7a353dfe6f47d8ec16c3370602da4f4833f94a..788e01fbc68f7c59e13dc7a075b493869d93cc2b 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 51ea970111aa8abc0f81b7242c52a64627103ae4..f74263cd462157e0ea8ee33a215e03ca0285081f 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 9bcc95f780e2f878a5ad294046f3510ec7ae931a..5c02b1eb014c6d4b296bd531bc55c97f8d22eaeb 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 1995e3155bd55e7aed2dc4083203a806952c87c6..eec50ddd40f8acfc384a7b0ae6130b34782350fe 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 8a193955574e1ea52d570d3ebb8217f078e7fd46..9cf1df8d018f06889e58b93782834c6c04ca5881 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 1a52169d5a938103e029e1bed647690f0eb13020..eee9c9bd33bb0af7fa0e7521cdc9578755bc891d 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 adc9d842171a01d4ec14d91863cb4466304540b5..cb7a5e80b504a24b86d1cfba61a47cefcc7fe389 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 d8a88832b4de912bbba1f6bd7d87c14e1fd5590c..6ac5afcc2ac1946100e78b89b9ad56c36f62e100 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 1d7887146705e4d9bbf3a2855c4b38a7029ba909..a393561f7db8382d5216b1e4b7ce2b160c4a124f 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 375495bb48411619400944a4a8ca5ad4c9f442e8..7728f570bc573550acc6eb7eb19a80992fed956b 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 815bcbb3bd8992f3a4e47ad5c0f6177f92a13d70..e6bf4297eb7af5c7ac018a70fe9f03f8608c9303 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 41f142afd5430bbb3d689d2ee61da8e332f5dfd7..1ff1ae2dc85606806a4720ddd3840e17a05d006a 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 f5cc566e7e50c521a200974980525ed09c1595c1..388ec7c4bbca32f6f96f12ab843c52b2a4c816fa 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 a98d400eb17a2216823f005a540a97d7cd0a4bac..3c1f4898c42619869d69dce63422a2af7846c4f5 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 ca50a1bc6f01a719ff24d072457f6f320c1eea65..e3391c9308f85a032c3da71e0ee98bb9393ff4d8 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 988b6620626ce6bb5d049808bacd9961fc3d5ebd..0c6a12f25332547356ef795283ae6249ffa097f3 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 32afe95531f97f95434b5c11b3fbb872a9a71428..d793242be1a0a175ee701333a86d75e39070d78a 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 a44f78116dbbee2d971c6c0de267f663a8f0574a..baf5c12a12aa86d930b5e6b6935863340596c08e 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 6e19ce864813f64ea3d96b3d589a3b01f93b429c..cc34613fe7ce30988bc3f928d935409374e7ddf7 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 32ca9ad4bf7db2ffa94148eb313945f63b046bde..4c4b3ea9f776c46012efd51c45f00605a87f22b3 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 c5adb42a6f17374d47a36f1ab636ecad3437b2fb..568051a36fe48643749c40f1302a711e5b43df97 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 807c460d3ec6caca66dd5f5207c69c3931ebe450..d8801fe887d4eeffa9b2b53b80f4c90bd3ebd6ae 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 a3b2875d25e1b5bbd6c99df2cfced13d7131e44d..e48284197e20128602d1ae50c3869baced20aa9c 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 13aafcff0fa13e4fcae76d95a3633f80e3747c33..4ead7671a39f967f04e3c764c9588c0eefb0a1e0 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 c94cde618a5d49ba570d6fc7c52700a018650cf0..58aec75dda2eea8b13cce7ad4beeec9d2600e5b6 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 862b8fe8b66dd4e2dd29e960a12619f4bcd40cd8..3d5155e41f2b1b15e8b8affb8d73f7fc7f449873 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 42181be92ace9e1c80f285e5955e91a0b4ca3692..1430076557e4f5a13072bed9c69f4d0122cd2e1d 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 afffaf5554debf8e308018437275ce5410026425..e6358b3d1b6b18773e2f084793e460ccec06a5a5 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 08b2fa8e96cb442cda1228e7769d9b042e74172f..9046ade7289a0196ad2269d0797aecdefd66a990 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 3a90159b469be9d66f3a996b985d99bfecf85eb3..62c41c2799fbd9eae15be7b771fb97db8de0adf7 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 6e2491d17f94f90b357009357a7445b6de7aff15..d388da3a10a804e147d27e511d31ca322ee683ba 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 525691358832f8781fc910c9e38f489e8b267bdb..864817876e82840ed386bfcb626e9d75ad759332 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 167a13c3ecb6d7694d0ce43992b03474ba696c6f..8c31613e76b92307cdea51a51c701dfa8de4eb63 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 4cf2b3b445b406122eacb55f74d1217c385b49e2..a1df4576ee476b2429b9dbd0b8f64a6b80a7a296 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 38f16eefd14df25871fe2ae15cfdee69aeea2d2f..ae01881bd83aaf367bd6f0035dc2b127e24b5c86 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 932b440bca11f2c6f8a89c828b80504f345cb9f5..b426ce96fa7fc0aaa5e3b3b95f36346ed24ae32b 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 cfeb42f5fe53a04e4c5722a945a6d098b74d7eb7..20fec803e56b6e5f49abb60ea0526cb024f75af6 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 7783172133773d8d53d06565e10a9a7af4fb9f4d..a23731f44ee95f16601d875d3da871de8d0455e4 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 932d36f4abbd2b187b3c3a042af68cdd78ff5bce..db94aed9c8c8ce1c3334fe20651ff210ee897bd6 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 d1bbf5d30f59ea6b88a9513090afbc556d97790d..d153a556eefacd563806a07e78addcdcbe9b110c 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 01eefd41d653e8dacdbdd91a193758383cce29f1..af8508b6463a701d1eb40d3bb8d6c948941f4335 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 f0be6de338980b7dbc442f329742ea6504a60e4c..80f45b532371c4996aa24fdbccc6f3b58bb279d8 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 e6bc7b13a221bc4be211cdf00929153e4fa5d822..d7219f185ba7d07a573248b505d7ca43cc407620 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 d639fac50bb06f5f1efc810c92f42c810dcce006..01aecfd9fe4d2444f5684eb5d38fd242b2218d16 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 81dd99dfb68ed6501c5b04c52396d15b69b45d77..92394d9383eb54218a0323fa31121b1fb9056a67 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 a41df6b735c041239b3ddeb39e03507c34b80619..811e8a3a4ea11fa4040e30c362bf179018a42321 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 c4fd4e5699cf39631fd8fded46a8ccee5f75af3b..ce24c8da575b0450243b6c9f26c207042caa6a4d 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 6105644c2d6843990ae6952f4575e6f8ab42d64c..a605fab33e3a2bacf6949f31db1a97c843d022b2 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 db1d8b8671d85d2fcbecfab6705d6b7a9dd9a4c2..886e97a8a10a7ade5d2e108ab576edf48d41b76e 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 105a72b4af1e1fbc447760379de6519294ffbbff..e5bc6db956eefcc9a0339cb4698ed027f7a24571 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 20c409f0c7884885680a089e93f704820ff79608..1375fe91c8f889a19cd3eb07dcb9b1935e6b2983 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 9531ab894a5ebdda1853bf510ee2b2e4f33abf24..838346cfc265ac121584bdb0f98bfc20c442d988 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 3a0d18d92d51389fe96602def917051bc9706a26..24e1beaf1824f055c00c9a3e6bea6610bc00bb55 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 366f8882ad4ab2e22645eebe8895a8a121445bca..5713517196149b84fc0aff9f831cf514f05d04ce 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 c31c359686343b35b35189e9fc55f79a72b080d7..573ee449aaae5abee59f3fae07f2207d840ffe78 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 3043a85fea38ec59939d6caacb2b03c2c7aa394b..d8ee6bb084b5e401a3928059440ef4435649f5c8 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 c9ae3c7f1aa53771c66f47cb136d097b6950ff0c..e97d1e05f587354eee4159937ed6b9c89fea6e15 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 64099e04d6d03dfd760093be6f4c32ae00a49428..9abb33ca704df40920649f6a6fd369f0e1947f83 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 5a4e2f3751a2a1ac5678ecaaf23463b4fa2c6dbf..09edc7f1f357b5cc6516a8e0123918ed75e98630 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 421167c7cdcc58cbd5f8cb5645218ece03240f04..5e08d625e34ec4a3ba0aedbf5e4724df2a9f5b1d 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 3490a8eb8007e26e0340d7458346f7d6c68f8eeb..88e882cdb1ef362af8451ea96e221b4d3c72c91c 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 464865d8f6f4b36af3cfa299bb7644ff15ab41b1..408c4f22f97d10a0eb1ef8e3d12328baad0d1f65 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 473c0b031f9f9dea7a086b2c52dab7348f820fdf..988fe5a4caae79580ba1e256fd59168edbc6800e 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 f57be6b4f6be410a2534baa902ae35d61db42f3e..a3cfd9ff55d03f6a7e8f6a58638ee62df039b611 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 87167d911ea8ef1bec8d3022174ce35809b288cc..c62c913893b456add1a9e162d6b9f8a7673a8db3 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 1571e4d83bb7155132881fb9302b0dbeb1a182df..f0f32b4c2b6d15b0d1aa13bf07aeab2e0167164a 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 d86e2bffdcdde56534e3c16f1ff55675544ec4b0..8f247c64b95972e3a1180608f288ee0bb5796670 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 88ed20dfae1d9c11af80279226ca167d072d9a02..870580c984f7c343cd8322bc8c66eb06d0e81ede 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 8c268c1b9deea9cd4e4f27e526082f3622602138..b62fdec3a06036bce90afc937255e0eed0befd3c 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 e1e9f80495713fcc5c5517829ca374881f3f119a..9cc622cd20eda7f1eee981ed1a7c0da4d1665f82 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 19c3135ecf97fd88e75014d553ad51d8a27176c0..7fddad22ed17838c51e4faa29d68d6df02a1a695 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 f5266b3d2478f2cf6ded422966e88eaf4e16aba2..997bbc3f6b1ee3afa270816b6cced8a3741a632c 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 a417b597c378935df09faed6b94badd338f0f276..e179bdacb2ef7236f4790afd7a3523217246f878 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 85f570ae3cbc8b160de2fc6896855028faba97b9..76d0543b20b1126e6339adc649c47034f3aa5fd4 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 35d9d0da592c0b89e3b1749b640b8b452d2abbf5..b574cc3ce4a66b1aa69b22af50bb809f4ebde842 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 146ad6047b912db1f0e65d6de243834e6503372b..e0c54894849a5fc7297831ad97ad7fcebc01ba15 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 99ab9fe2de898c2389c20a4055ef6add3bf1b276..d7aa831596304dcbeaef24f601a529532aec4b63 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 11f8b3868d4d9f3cf491f1070f8c5f399ecae8b4..30dafa5b3cb913b427b6bb66bf4d37361d8d277b 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 6f6aeac2086c3081f36174044b5759eb6685a5ac..63c338bc4be669a426e73c9139d6fc892733d2ec 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 00230cf07ef4975c8d67fa9b61636435b663e059..2747040ac0313941345fbfeddc93ce9de07fd859 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 02eb949f3663c674cc5ed7f3de8d5045c312679b..970339020286112f421bb991128d411dd62fc843 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 c7cd3bf1282426b22f8348ad8ad49aa52a189ac8..27fbcb3af5fe095229e1afaf4a1c344a949266b8 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 644da55fa6903836ff6e7c31e5f84c6f309baf04..1744e2e4e4852624629065a823a8e1511889dc2f 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 3b5a0e682fc703966292bbb62469567d05417c9f..cf08467a2382ce56562a27851c1853b756b42136 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 e46b891074e48316f921f21322586a06bdac35a5..d7d0ffe7fb2b37cd753af435d44a10266d99f3d0 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 4d1ca0dcc0a9f7598875af3d593f00b5469d9dba..4d03fef54960334dfd0f1907588aa96162f0490c 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 f82801239ad36996c17c9a2c0fa1e901e7a86989..62b046ebd5ecf1ab45ffc533c727f2cec34e74f0 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 16da002377c33ac5da4c183f22d6b5ccf8421f41..a85722d3680341651d7a06e79bdc33b62f2b2f22 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 1a840e61bc38cb67486edf60e14c438217330612..dabd0c202239d7996b7de6dcce4dba7c6ee2d896 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 91a099053aa427b31fc75da1e5d5adb219874ced..4eae1ae6eab61f846e965977ae6e590dd3ca607c 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 cb742e0ff6b4084e920b50bc411ab0a8ec40f9ed..635352004021675d30819039ff5a2a157f0767d7 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 2a8a3d8333546e98c8d71cf52550462686536e57..a5572958a643ea1f16c7173328f7f72ddcb49187 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 5a742f1bbfc854167749d618b6568007fd51ab9e..df3a5eaec08ae388839f8150c60dcc794a5a4a39 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 f5b36cac49f5e87da3dc1a37c5dfa1bff1075d38..6b55ad71cc7387d143dd3e25af282ede46af5f07 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 35afbb6aefe99ee41f525ce7e12a3f61e40e2ab6..2ad9a5aa6e638efe7cf4d1c6d66a52cc39344864 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 14b29f222fbe8ed31488092380e5e8c350c31929..ec6bbe36f16a7655c4f41091b713bdadb2de5419 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 85b9b7d334f9415b2c38d28ec612854355c4b615..a8745d6d5ad359e893e930f1305c11c0dfc2e28c 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 a0ce7832fbe36549c9ab94315c8621b898d45308..fb2641265bde35d18d0b411c0805f32adfd485c1 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 6ee113b41403f8fe49f3bf596543a29064aa539b..3e0f52be8646260b21be4f65f10829e52d9a9d2d 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 c4c857cdf0cc0c9e4c2ca157b27d07154d1589ed..be454e38c0b3bca4cc98b30a92d4cf7bf7ae725f 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 2c3b7f09191a72091e3921777cdc786e44289647..668af631a376d9b0ca299eb6c29900ea66ad0598 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 22e54910a1af55abee7e46f52ea761922ef81fea..1a12224fde6d1fff5d102b4bd91ea94838657e18 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 9946f3d0ff4269717fbf0be1ba44499cfaa6f266..13130b1bde5e09970881b2086ce2de08046a8e26 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 f98f454fe7296be5c2a746fdcd188096dbe60c52..331ab0a283a891fdc68a9e3febb113d51d5efd92 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 e3205162cbe97f30e9dc9db9f83d968ecb82ce32..b76fd8af5cc44b4e6b7d961b93cfd17b74e37fa2 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 3c9d8f8d06fef2e4a57ac5f1c8c80300fb9c291d..53f5e2de890bdeff485a00c6000b44bd286a0de9 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 8a2e4b65b8caa15883ac4cdf3dcc4332aba464c8..7d7296b5df78e0e12ae1f26124fd325f74f01231 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 a67f82e1afbea84d8887baa69ecc50f5610e8a66..80dfdf3602c6b9c591dae58ff8ab6bad0858ee6b 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 c48c39cc9fb0132fe95ced2c6736b50386770fd0..020868a8071291e8867cbd0fa4fbd4deb201e215 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 8b1643e3b3582a4591094668dfb3893720606f5c..cb1e6773fd56c3b45c207effe99dacb84f210017 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 261eb7fb3368b2dfe84716c69a377a21e9c88479..7c07289210e4d8f0a4304395767cffedbb74a599 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 78a70a00e072e85905fd705c0b092657aa809741..3e03ea81993ccbe0701a0abf18135c7bb1c394ae 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 ad620c0e2831ab30f6d810cbfd487b0d9009a590..fd2786fe01411039868bf7fd3dbed18ab28abe6f 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 7904b604500ac03fb55d5e2fecc5fbf4e4d831df..ce718bf9c7ca78c785dd40172e8d08d7f5a52cd3 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 1546ed2585db5b9f0b6ed2793c0e960858fac4f6..0b40b4d3ffb6d12ebf6917e12f2ee9ab706f2678 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 662c01c1993cb845d5ab97707e3041547ea903f9..0f9b0d450f721e9383255ce93d95f8a092eb6113 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 826622b94c1bb13316334691614b293043dc8aec..a01b5b74fc9db11384fc609b60541861f34b1b9d 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 e61fc9506918f1ebca737471edcdb792b03b0e31..9f3943f3ae0be8fc6c3d1f79e046fa845d6502ff 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 5a5e83f5f085efe64cbd0023cb32a82f0fa37f4f..d54a8882f6ce6e07687b3164d4e73ef21681629c 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 4c326dd0b4f73bf472ca165abf3ac919609703f6..88c07c1a41034c0f3c5371e51e17d8a93404f5fc 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 3f865c74e39ab7b103f19b27f2c00991e7765b5a..500fd112eef82a7bf1df119b94e1665a4a088e98 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 e4a8bf84df3d56a8517708f2bd1bf2919f6eb586..64a1d8cbc84d6f85303eb795e717497cc54a0ede 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 eba391ce2f08594e2e677ffe8fbbfdde90ce69b1..d09a00c7ea9aa1ffe351fce944d2e2be64b60855 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 7c9014d8c51eb0876c393779c0254c560e37b22d..e08de8fdacec207579104f470eea59c7a116ecf1 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 5ff13a2a1890aaa3093a30b27709eb311b12a2a7..f48436e72a98bbdc234b28afb857273c0c5caa81 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 95c1695030a0e8c90d554ffba241b266b55d4dbd..26459aec4c016b949789f355e0ddd3050a2348de 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 8727ff19a7d1e3f558b9dfb2a9fe5b3e6402e245..28849c86c2afc5e1c188ceb614dc41a326dc9a18 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 858f409207c202b5d3dd34010e1c47fa9d9f1b52..65e17a84f16395b535b18f3db2d567ab55efb2a0 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 c1aeea55441998cfc44122a03e23ffbc8ce276af..1ccfa36345c5e1d8c1fda1a37e67c9592ec68e1e 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 ef179c14d4f65a9778589066382fac836c0b5d78..d4962beeb58263b99cf8435766e075eb4cf80a2d 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 927281e501b91dd08ae45a534428629e13922163..311fbae757be08e1837a3726d46cfaab255d7e91 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 5eacca606c9eb7732681833df5aa4da981c28c02..4c8cc669705dd09758236ec825d6d08301b3e757 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 c4c0840a0b0b5a7593f2e31dd44a248b86b0935e..050c584774ba4e2f1ad7b7a1f4f0401c6416a3f1 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 7ec98350b39d297f7a9c81227b2b0e3766f13067..9ea2e192758b7d58c1c6495fb8249afc9cc652fa 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 906308674cce4b8eed88e171762ead6430101ded..e3a304d909505d2e1590dc9d3cada7a767abb226 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 1c9e6673c64ebcc9b6e6b36539cf347227b2e635..0095209820b314836c19643e48419076b3097597 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 018c263b093eb99b8e9090bec7131368ed86ed30..6213f0ac40b412c79969b0da373b9c9fea2d69f5 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 381d136450fc0f37546f6b0835cb91dad27c0892..0e22ddc9ec2a8d78a0b8d1d7c29214c4db8cadff 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 14544469ba2d94751b3b93bee1d877430dddda25..de35778fc4be1f24ac56227c67d20a9d23038c23 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 96ce9f601f7b180c183fca8edffaa584c5c64883..0e8260ad858bdc0341f093582c81368ce326f16c 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 876370115bfc42489560c6084abd6ebed858279e..fbb4b4d915d6c5918fad7914b919a728d869bc2d 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 c5ba9039dbb7e7f5df1a2d728c4303a06bfc2833..5d505ae1b44905d76d8833d1c45769be2e5df168 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 653848bd07c3ea56c95efea6606c2054171d1ebd..71225ae3f879710724822e33ff9d23830a5d25b4 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 286ab7e015c283bdad903ff2ea2dbf7b814d3960..c785a5d4764245382a4d6ed46b6647963409e1ab 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 ba144e8b39e4dc397798ff1d6ce71f956a6d62c6..38f723709e0291d5c46f73314f0a740150286cbb 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 905d1247f6fc30a4de92b29207117650d22d6d5d..bdb3804787ed763a351bc6a0828fb7f58bc38594 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 f2096dca55549bdb97e98065c0e6f1b4b97e321e..4377f6715490c95c7e6167410b71175de3e33d73 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 8e9123fb9b8305439028af149dc2db43c7145ad1..44af818a320e1c842dd2ac42c649aabec388fa80 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 8513bfa7c2338b220a80661989909e13aa3f3567..b943dbe678c8470b194dc4d8a4653a0ca5c7fe53 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 30fec75d41073d89ad2c55916cbbee80b26f95c8..ae8f34c081bf7fdba425f86c3dfadcdd190bc5d4 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 1d0693bf469d422ef43ae8146b65f23764f2285f..7e0a1d769f6ed6d0d7c8ad53c6ee53945717fe6f 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 837883ec4bb75f4a11da39dda10f596858a4fd1f..a580102f664befcb12cbe7fb391a5b4ebcf15112 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 1001e317f37954cf9d14f1a8aad734efb3253813..0d55cd3f3a265af320c20b64cb8e2dcc5bc02565 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 0f713625fdbf194e40ba046f2e54faac75f6a8e1..1728d4ec4bfb447b442b83897995919fa0659e96 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 823dd468b70d63d3968c6fa7b92cac85d2d49e90..7a1b06da4f5676fdb55148628f6ffbcd6d45d22c 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 0405a78738ab73b98b4a455d5937af44c2b8767d..81939617e0813802e8e162f28dedc4203177c2ee 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 e379d8625d6f4c7a2d4a3d60cf7054f40d1b8803..52273756381e8e61bbe947df1f871f4104fbe5df 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 9d3d27ea64efe15c4d7bfe8740d2c174554c3d97..5ba064c6126fb08cc01feed5b748bfa4368689d9 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 e0a39dbe51be61eff73c0a04ebf95146c47d3b53..93947c98ddb89c45ae26b56fba78dd9c03a4e92f 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 0c604bfc13532efde8ca37a30328f6790f6de50f..ad2a0d880f7c5ba83719816273d0c5627a87bb50 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 8da804d2eb894707246956cffa3e2a75fcb291e5..5f6361079655831be9e0124a56b88f5850134a92 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 94895b80affb0211f0d3b2d6163f17209af81289..90f39f1a89ece05ca5513c9440ba1a8a1672e6f3 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 07618fbfeb716422821e4300a850ed26aa1113a8..203d87fff06563f4616f74e791389f8ad0f93846 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 28e10e7b26a32ef792b690378b8ffe7a3060ff2c..72a8564e0888874e150d159fed8a767589ca27e1 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 64f48f6f04c8b1a58f8eddebb0322a31f1a286b5..cd37b5d8e77d45e25f8344ff87f38c131fa098b9 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 81afaf08155da9176ef6a5152920b873ebe2d071..d0baf808531c051f5711e987de76342ba8393cf1 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 120840bb14d2dd6a0c73a5e3a5fb0e154a0eac3b..8245f01028b9388999327afa68a5d52020617f45 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 fb1b4abe70f4c41bf2cb2838eca1bcc4e94c0d61..ab3f664fb5fec2875713abf81be9f3cb2af03dcf 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 dc764e05a0ae16700cdcb3d58a0282b2b01f90a1..03aac40258f527a741402624ed933e1b97f13960 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 d7be4d3320f18c0141c7e790c184639af95ce019..d1984f8f092fe9dd028587ee17effd41508ecd89 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 0ea6671e161c3470ef4f964c77f713eb36e562b3..92f6096b7e4db49d2ac372eee2213b21991bb31d 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 bb78b210d6bb0e6b2dfdc737b96df7d965364420..b4c1bd77c0ba233bb121a1ddb03ced132508405a 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 26242549bcd7ef7a785721b9b28eccfce2d62107..aa24e355fb0c628261cfecd1f1254b4aef829761 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 e481e4b228970e00c4f2eec04cbc4f1a57381393..4168cb2209f275f39128d4e7bc87de2d8006e0df 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 a7f07ae25109f27330513cadca549263d2400a43..adcf08701603ff23e423332ad9053f2480c456b0 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 c59aa59e82a8bf755e791ecebdbfb0a2aec213cf..0dc6bcb8c9511b6735b9009610ceef305292e11c 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 44a30835cf6fe6dbd0ed8026f880f7a7d985addf..998a8a579053edf92f33dfba4bd94c1dac75fec7 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 d54e3d88d9d6f8ef149f0d7752236559af51bf55..a3481c5c8f225639eca785307cfbd653adb360ad 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 6f04f222df8b8676b6bdce690a78d4bec7596e17..f28bf670e5585fe44caaa51e6ea72a757bdbca86 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 709afa32ac7d81f833ccefa27a18f4cfef8beebd..b81ccd964437d08e10bf5af1bbfc092d852daacc 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 46fae7fc1df3471a3f55b2db45f968dec94e9bae..6c99adf1e00570c4508a4b21fd8f4b9391393c88 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 21d409a4bb086b823119b8bd87ef05da63678215..07c4e6e71f20b6a5bb5d3beb5c028a49e2050a8b 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 7a6de17e2baa0be099866764b6f3958ba57348d1..2d6552999509bbec62fbea650422be6a2724d55d 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 1ecd820be45015a792320571366b70eb52d4eaa8..c280874dbb3f46c16f6c79f6c226c4ab2c21a6db 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 12e61b4501c647c7f0a10e113dfd320dc6b21ea0..fc3a056048b39b236cdebdbf354c220457d85a4e 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 33e40095ac2f4d94758bd867f964568344cb6282..63a1b33f355ad5b3ebabeaf1f7de42eacfa1d715 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 0a93388cbbc0c35c3d50afcd3f001007bc8b32a3..910ccfba6f7e93742ed222639bf9f8ea5757d720 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 485765dcef84cd9b8f45a8933b1e3b9e0d573614..966c210fe12b1beb677d5ee26d154c8bfcf92ac7 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 f1c66592073c477d8b5651fb6f182ad58f3d11fa..1542f1778fc77c8b57272e93536274bec9a740c6 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 a534828c3a89332b642c31bef625640328b02cf6..d9f62e64848ecb831cd2c44c633139e4b97c9db9 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 f382e7f23d773352fbf0621d4e33d90cb1b505dc..25ea52b2d5e79edf23df99bc8640b8c5e46b4d1d 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 70401b0c368c8646bc93a05e10d4ff311ffdb4ca..61f3d32127132f04bb24bac2f9b6dccb20cc37ab 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 b6361f234d381f9bc8b809840d6ebf3ad4fa94f8..df2a43888b85323a267cf064e01ca8281f06b549 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 bc0b5ef5362664ccc83391f10f12895ab3807acb..26cc48d2c223816b88e09bf6ef5735c35fbeac07 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 faa14e4bbcc02553c4ef87df9666ce7cb8fd4540..d0ad5b3a8f0fcf791bf9b9d8906a706e65d39062 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 dd633d14fade19a82a162deba0b61e133af63580..4c1ee256f42f23a8129c377cf34784ad8e59bae6 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 153e0a44334ba509de27e61063311a3da1215fce..6756653bd95b80a23fb7f69d1bf4eb32b3dfdca4 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 a8f898c4078e892530376e29c481e078651bfe08..d05763b3fcf8df114ea46e54db18cb5829bb567f 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 e1fb6ec709b727177e69b3c96df8aec2fa3bdb9d..d50607ca217f2f5816100c5d80efbeb1a51ec87e 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 e3ce7104d97bf06e947da8d7f5a777968d7b29a8..e3cc28e17d93779a0a2b0928651b50a9f16219e6 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 5e6c0001dc04f7f4625bdd165351f79cac76be6a..33a2e7f1008d584edb6acd21d36877ea37c5fbdc 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 1ca916bd3edb40fedf920cfddb5043602e79e95f..1a59b513fbdd8f5e9ba599d3cf49e1ea4c7f17e2 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 bc36933e94b088fd6278da696bc686a75acea98a..042ec06322769803d375b6038419e78df77b4f7e 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 d9dd5cbf981c68a5373721343e55aec98d721f89..0be92f6521609641ee8799a531fc120740b548c8 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 802dd59aa87b708d3e11db714eca0f11691a38e2..0e4b98996965d0ac441c64512b9127ad7f67e6be 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 dc31003a2d4312b348e4cccd9b313eeb437036df..5784f2be9cecc9588460eeded8d8ea958279656b 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 dad8575a831f3a6dd09efb4c056fc13d8a334446..c0ff258e8585db2ee3be8d9f11c65bdd612eb41f 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 245aa4176c7df9cd81f57f6ef9b7906007864d30..9fb35858219f8cbbe8a40d1cb7cf2f6f73a03e95 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 951bb11bf2b8ccf0a2b2145dd7d2945e07cecf08..76c218bcff05d9119376c8c0106278c32289324c 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 5e78326f71c75829634267ad41480bbbf39113f3..ccbbec388362f5c9a8d26aef3cb59918d6b6baa4 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 702265edd05b3fea0ea932408258d69b5daaf98b..a29d11466fdb8ea4d83d81a6772941c4f249a7d1 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 26e052b724bd1041a2dd04da10d35b80ad640005..f31371cf5231f08033de138b3fa7e3759168b112 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 500a81698f99c2c650494fdb3724fad5420b9252..5ef535f48a4ae8bcedfb834328c0659f65b183a9 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 28586efb40bfa5c953fdaab80601ee908db3e21f..43d7570b545cec3be838ad3c7c540ae3da1682bd 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 0f81d9928fce0ad3f22bc5ed7cd4d83239d333c2..ad277ef6d596418d296164173dc520170a340429 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 1d0b4f9bfea4cda55d78d80107fd5c7ba94e7c14..71b49e38c0da0077a3872fa42a9fda8c305b3a8a 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 869aeda13b15f4242676e650a8013e36bb11e116..539e21fcfbeebb2cabba13b4929af46c4e5609d4 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 a0ec2836874a6d820f455325d0268c58a09520b5..b95ecd9b902161f9984c54312f3521a3a2868993 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 918ee345658a0e1f8160e380f47af281978f2ed0..23925e6ad5aad6e3f1d085bc9634a975e4545704 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 ab4880d7cf23a369171627d93098bceba1abe5f7..bce0a7cb0d7212b54853e8d5959bae8a61b81cf0 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 18bd137b36e88abb703e5f013f43d1940b725792..259ad583edaa468d2468096a6d42a86a27281fbc 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 0fc0508e38c4ba6ef2a60bfaf5c18404d01f1a7d..8617949cea1c874b2f986a96c6e82281d80b6941 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 deaf6b9e00ad1df99781a12aacaf30d1f7171e46..fba284f8bef1cdcd48341d09ed715c6ad79efbd5 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 8f7e5c72a3cffe6685a5c72b54a25d1e1e3861f0..c3b295e85f2e9ea9bf81ca60879ea703bb3154ee 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 38c8508946fe69e062f44785ee4ec10a82d09a01..e3e6baafd66d3bc06db2d40b1baebe3023d46fb8 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 a758228da5eade150e56aa1da4e227370f31261c..4d33ea30e21d8dad8f6361aabdc9f42cc2129cae 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 ad4b3e47f45c59da679e6894a3a1ffb41e1da08f..5af90f52bdf3c0b495fc6a875c293b17e15a59f9 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 a7acefd0b462a3975b7dc072a8273d3efc179ea0..d32629d7c700c75c7550c448881c7c3f933751be 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 ec1dc57f878ca4b52aebf97bcb9536c93a51ebab..06c45448fd21438cdd0a7b7c617a0e2fc9160ff9 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 4211930a8bb2439399dcd1ee4c5627968c641149..aa29b9c0206168cf73987638fb0438aecd77fefe 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 5191bc40fe0baf48fb88ef1834f58e012329784a..748d83e07005a4dc556faaefa121fed67b3020fd 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 92e6ac6e9af25ced7f84ed62ead72dde4d8fbae9..769fbe8921b3ca71219b2b37246919a50f506f95 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 929f36498d42036944b30e4fdf1fe71b3e0de7eb..8fd9564ed02cde39114686136e9b6fbc58c1e19d 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 735a3fc073aa43d9fd23562c48622d0f368587e4..4b9ff7b3a1842822768bf7aa74b2e2b0c45675ee 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 61e4df67e85bacb88182e0e88bf85a4fa8852ccb..06cb262691ea072ed38804f94c2a418aa3cd6a53 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 ed6ae3361e40f3098c6f80e47cfa8cb06529ea5f..d74cee5cf1570351bb79dd9006d2f355b53b502f 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 763e8b7d29c86bc310a753e07d20616247c69326..dcee81594e780feb4bfe7a9c9ba31c4ab75f7d10 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 16d2586636f0d5e1f0d20223d090d6817cfdcfa7..4a81ecd2ff9b863e2b67115c22c61047980bee18 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 9ea6ce1d3de74d7d84aef043e2b6ede9edbae5a1..5b13645d49a575e20d3199d0fbd7a5edf979cf88 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 0bf8accf46289b72da6e59c5b600d164ab78137c..65974a29772a6b48f7e5ddec721127b6110c0bc6 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 c53919a6280e1b0cdc64984b74df19f7a2c7c2f5..748553e730606b8e67c4a64374e60f491b3961e0 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 cb1d715605dac81c96022515c0fd020511d7079a..756d0fcb62ba35a366cb11d66e2ec1351618c65d 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 bc0a2395080b842b16bb25ae50cf6dee5579ec14..eee6ec9a3687f925932355146fc79d08779c6216 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 999240bdbbd0a2ba123c0cc22cf3af9fe606dcfa..6d6f55500518b08a0818e1362694ec0aa5af494e 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 0e86d454a0e10946ffab953c2f68884ceac594ec..4e1323f35afbf9fe884fe5450b9d654992a17f5f 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 605c2d0bd023557f9ea1b2954ee616832cb6445f..3dbc6cf8e085dc2e63a2f2074f17652661069dea 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 765d87205eb61d04210971c0f635761b08de2ee7..39ffa5c13cc8ab824b3fe413e17dd330a7e032bf 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 a814dc7a93502f6c402e1530196ba878107e42ba..8e1d400e5087421e870d29732626513a7da7f8ed 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 4765a1b5dd3b3b62f405d3d4c0d57e0667e2a5ea..c0c1c4b0e279ad3d720347dd3d62590c51ad40ac 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 a0cc8450a890f69e5104953a6e8ec2dcae4fc187..103f0f01a0cc945bf9610a71e52f6db82a8f6308 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 0a25ee63b8ba182a664ba58d7a10cb4437bf952f..f10fe61ae78e78b1bb6b38c47897b7ed9a8defa5 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 da3ac4f3adbd670c1548edb965425f9484c9d949..3746b440ec6e97231ef70c7bb43e5064a47dc7e9 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 9b6c25d5f2a8f7b91941dd78c329f00822251fa4..2fc3348bed290101faa0bbeedc3bd0110bd93857 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 b7051f37ee2bc993278e118f67ee6a4e08654b50..ee4fb58d5a77ef4f33e0bbb78729591fe86a0186 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 d55200fbae73901958dad306b0e8ec2e0a7075a1..899765eb0a2df48d6b18cc728e09fd90e113e8ed 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 dc9eae69467ba42cbc807725dc2af18b12dc1f10..4f8d8ff0ae01e2ea4acb1c930df0ddbe30c445fa 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 35a668f165d62436e5af3630b7d2be2c2a01a6a0..2722c06fc8d93fde5d5b494c7d3594421ae0e1e4 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 6a48d9ae8f2cb3e01010839a15e72fd9ca2cd350..41ede39baa87096d063f28325e5de9a227fda211 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 cfbb123a7ccf908018424d01d117d9608bbc62da..2bd1d0135cddc73ca18a929f619a5b8bd4dfb81f 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 3be5535150c2d2e02605ce62d75c8d2ddaa60b5e..8447f44ae2c5fb515ed88f211fae2fb85dec1619 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 350ab714ac1c9a7f41508ebb406fddfd55ac340e..fb420a25f0b86cbe0b83d66cda002c52a1a16c20 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 95f158e6741273ac535a71ab786430c1899d8dd8..0a76105a94d5e26353758d614bd0fb8f63caeef3 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 4acba206717c5d286ef5a8771d34cee5145cc78c..1aca6b46c439c788b36979ae53efda7c06afd071 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 059c0b8adc6fb17caa9c355d504cc52c1172248f..67e58684e8114adb949f2ff1046b03d323bfb618 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 9fb2118ff2eb983ca7500ddf2347d9b29f68f880..64147615ca51433439de22d8edb2839634909e79 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 a8f754dd51e6235a86a289bb67759fce4b09da2e..6eff24baf8085056f9f17301912d295272dc4b5d 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 40454d2771789e9a4dd84e36abbde360788190f3..93e832f81ea2c21fae0c3b3d6bc619498ecc26ed 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 0ac526c92dbad333739ac742c22b4228ae95f7fa..2a99b36ea820079ad4e80dadf3fa76dda02a4ac0 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 376dd6a07755eeee67942100220f4c335f71508d..15432a72aa043b780a1d05f3d7c6d3c08f81b24e 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 b3a8f40a4a413482289e209548c53fa76070a2ee..7ef09bd691b12fa609fea7c90d0b551049fdb018 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 44263686432dce2d8a3b6407a5a1857bda40b355..fa0db914cd7cfd10794864771b549affb3d4fec9 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 47ee9d9aa392abefbbc54f41d40384e910f50e28..bb16ea97b6d6221fbfce48096c66791ca54a33af 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 8f1546d2cce3d0c2d0589eebe2ca68c5f708e532..c93ad44a051b272d67ee23e4e649d8bf25fbb2c6 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 d9eefb909653c7f14891d95ee7a0b95dd0143242..ec49e5af31da123ec9c215c62cb503475f4cc6fe 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 9f7c670a0714aebd9759e32b1198b0deaa1bf261..cf297ef8556063a9db0ebab14424151a748e91f1 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 8095d71dd153ada5ba863b250632906cd5a1ea7e..0e8872dece23ea341c414c5a8acce711b09b21cb 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 b7b81dd9e8450e5a59804a71939bac1985fe214d..c1abc03ad06dc37a3a848a04cfc92bbb24c6f2ec 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 a0f2abc93817ed1039bb41ac48841dbfa3d21434..791faf2be128950fba4168aeca677378d7b3a4da 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 6459f1a987afc6bc18442451cfceb92d2e37bd4c..4ccafc2df3fd1a7623ff79ad8734eae1db9b072e 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 0429b1ddb2b1439dda3303c7309ab04bff98dd86..21ddf805a9c0ad7ec7692f7c48a3f42802fda114 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 226314d052a354ad006cfb413ca9e1a14f4187b8..66c1bc56e8c958af599c2e1034cf5eec8a773203 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 0030437dcb4dc7e6fc47c0756c6372311d250b87..a9dd000964111a4ce70655e46beeaa0023184907 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 55c9468d36fd156ec12061b62286c2c823d1f25a..c2b0670077a676bfd43afae0264cc7399a86c714 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 e82d26429d05b2190da0dcf7021f233a849e6d96..de3250173a3fc3b32028124ee31679af4b3b714f 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 f70354ee080dc6e5e2c4d661581900b123bda392..ac3d568dc53d1a639249099444c0959ad0fd3c59 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 32473ea11c1e86439928bf1ff7aa9b7daef5c55c..679314dbc1d958c8dc20bd5f21b02c39e7157b4a 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 426c28d199546d7fa366dfb8c76a2c8b4596662e..a5368ecb0c0dadb3945b6ddf6ff29bfabb362360 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 7731de1b18e064441aa7facdc225a96b7026c8de..da3894dd7c7f5292910adea2cb260ba9d4f52e81 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 006a63f1d8566d931537ea65d54c530fb1e80b06..d89facd93135aab35b12c268300b2853028c1293 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 1b1a7a1e7004ed102a15ea4fec29a1a9a1c49f58..4ef6ee9a9c9465e5288057ef981e6019d9c8518c 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 da73444125760563274eb299a0a3f1b0e55ce932..f085c3562438b53c748dfd22cd25e32843cc2f36 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 bc74e75919bea23fcdd277d802a034e4f606113b..c7b903a9e45702208632d8d1874db5736d5aa1ed 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 169d45f288e6384643ec852afc2552b5ca57f1bf..340dca49c2a34277bc92857d7943a651dc08467f 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 5fad8a0b481f6ba37b72bda811505e8dcef342d6..824d055b16fb980ace0f76781ae8c1e9b5bcb03e 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 c3bd8b9b8782d28c8c02cae9d264dad652d7c166..f588a9983718ed67c16d7cc11ac4c7d09b8447f1 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 273d0bc127ec3384e397d33ee924de6984e52b53..5fcb89fe632bcca804f0311051b49cdf994dde7d 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 6236a7ed4f1a0656b05536d9561fbef82a3d2db3..a53ebf6918e2f8bfd4a43c2418628dc765cf8147 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 41f4d71ceac5a0b38032101022053300c15863c4..9cb455b5cc421de06d0adbeed9445bd9dd6874b1 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 27c6aa8d2fda48f29bbab3f5a5e6288108c89f21..7d24817042f4c17fcfb0d7b788c5f611e506ff87 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 2036055137557002f6d3afbeab8c672eaa70db16..e9851caf2ce218ad0996fe24f1ee360ca7623f66 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 b85eb4a4088e66580a859f8a407a6fff80cea85f..caa373720942a6e865baa6ee0411ab34268696b0 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 a7db898095ef0c52f7fe9f212e63ce0c5d30b1d9..70ac98e727d5c6467bf7aee7e781051e0fa5f32a 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 f1eed337b87378c63317b8e6cf53dbda98b6a8cb..dc7c543f00f8d2368afd6fe97e1968a0768ca77d 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 9f5033384e16fe387b3b9433b8f18f70b8355916..f8471fefac7cd8d64fbd804d9a490dbe70d00954 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 c20231556a906e72cffb3b682a269f5b9550f21f..d9c3d36d78704b4839b9d1d62fe85738ed897c28 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 2d88bc2afccd20390a6e9c89b9ca4546e64c98d7..e39e4f1904c376ae7218b02ebc08ff76446f65ff 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 472a99aef060d744d6beb3fa04da1c1e18312988..e64acc9d226da0b20c4a533d38c22df84dbfd5a7 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 6072143a56dd0e2bca312607c3df74c18897cfb2..b77b95e796135ebbfe4537eb956f70830f2c0f44 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 e8884d8fcf663ede385dcb62c2ac7e4c213f753a..169ee43ebe048e6aa53cd9787013aefc816c21b5 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 51918dadd8224ac401ba6dd3ed7d31fca849159b..13b084b853accdea96bac222ce9481e787da63a1 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 55b20c84d7ed05d03736495a0b8b67819fdec4a8..ec07a60a60668361bfcfde00fd7f177433a17208 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 92e324d0e02fbb89fd0ce299951cf54c55c79366..63944b03d8f966fd744f305710c968edbe0933a3 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 aecc045821aff38843c61ffe0546740b3430402b..c785bd19f2298f3a1752f9ce4aa77daf84c8369b 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 afbadfcf40c930ee5c2c93f5e68ea4ed3928d62b..f969aa9958bd66d22caf7cab059a9be0680f9373 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 b31e3d5f5fd0994fe52f36e27bb10a5ec875914c..05670d7e5e1a2076022a9acc6b9af6fe2735268a 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 0f9a250ea0647a99cc98f901602dafa985263aa8..d6ad22e609ea614372cd714650c096679fe10f99 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 9cadcc4762e05cda7910b21d602cf9356755f58b..83e5c0104d25a7082e7365920e1079379527a699 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 e6724f8f720d549c592d0ae0db08c7acfb379415..1de609a8a2e615f78dbc946c335e441097ebe273 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 d63c53f754577c6a7be31b863efb70762d1a6d26..81cda8963b2328a10518f60af4952579eecc703e 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 42138a761437773c6d84c940f89486eddf1c729f..50eea2a5606f484661a910cd273c3ae511852a4f 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 cb1ded0ce9886986c586403e8c3db999778443e0..f7bf65e2054dd7b5953ff12fa398ff0b14d2abff 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 11ad401de23a8cf7d14dd1a0f4a1cdd35e186581..eaedb9bbfde822dd51fe1d8dcccd43a4b9f8595d 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 95d684e4a92db418706e482d1a80b08f7a433ff6..7819a1ecb8e1c0fbbb1e2276993b54da5b47ff6c 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 7d969f150146eaf6d6ce17650800d9cd58e7d9c4..f0486ec162d5f56c56774917b995733bc45e7749 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 3c5ec86b1cc1ca0d6c84c8279556d2e2471917e6..679d1cf53d083c0ee461dbc7d2ab98784c16bfad 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 3a877aa43b51c24e07fb9b2f59212371e4ffbb0f..a608879ee97f939f494510152ea8ee827abc9649 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 d3687637eefab22bc7398e33a2646201dde5239c..4cc985d60424f72951e5e8cff6719286a1e4ed15 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 389aaa4628d4033b952bd11bcda3bcb1b33701c2..7e25d7f5a2f8b7f005d032b68fedbef068d22a63 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 c1a497b400eca1f5a1d60bdbdd95cd19b0905887..bdba92c0c805d3600e31ef38dd74981d34e47867 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 76f87003618244f973d85a2631428ea36b2aca4f..cf502da7e4a48f12c359a2b1238279e115230440 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 90aba9ce261dec8edb8d8c72aa502b1b14f6c670..0144f34cbba85124ea9cdf448bda2bc67d53cce7 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 cb015277ba7967b242b1dabbdd7b4920409e7b4c..aa02f65f78b14fb3cb37d7ff3b9044b8aa3ac98d 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 45957291e4a894c59f6ab24d402c62e7f22b1239..d18336dfd7c8c18f6081d6bad949094e9b3efc3b 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 e08d9dc7f979ba8890fa87ea41fde78d3e24804d..480acb7b6ffd9ed8e5e4d66d86f10db3f5dc8ed8 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 71e80bd0b29f5968d1b95d10dd1dd5da26ec851a..eb934f344b94d9decd0c98b7ef7624d4fef25fad 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 c73505d9f547d87d9841021d7ff969dcfb427791..fe22c7e98a537e88391d7a57708e015c6a4336bc 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 5a08cd853848def4fcf4c915275089e79816f026..364f826776c81747f4366bbdaa64001c963cf6ce 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 01f8d496a8ac5cd75a97cc0e8948f5840248adbf..0ae0c5dc2934da2eb0af16a9561b6d979fc17895 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 3e9b0fe56201328517d6de25d82cfdca416c4df9..725141d138fd6438ef8fb4b5d08a2988a85d5173 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 5b7d22a56bb916dddceb322f5efcd7808bc72b5b..0095a2f04dc417f121d8b9db147b03df41e1f9bb 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 b6e1d74ca65110453fd3e7347470f387d9ab0ffb..65e70954e043c0e88f6909f6f922e8bebea0ef85 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 734438069b9ae60e11752cdd771c6dc1fa9c29a7..39162c574d08c18330d4b22e349b560d3a8ea595 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 dc72cda7189a1bbe8058ab36df55f7633b62156d..c9651b4e1cd7eaebb3e0d5df1c27e1c70d7ed9af 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 1433380cd4e4b1f57c7f9280a47d733be427a8d1..3af09817e6b63f48ca5f7830b14c922c03996cc8 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 488db5757941a721150fb5ac3edab2316c5a675b..f34e7e21f60c177b9489b598759802f007cfef54 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 a847a4387a938de438da06df77152dadba84ede1..476ab9ba20e8ba3e4b2d63d1bde75dfb8681bba1 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 c1eabb84d6487d717db3828f10a04966b428225b..d811421e48767c17b6a6186d883435f1ecd88fa5 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 ffc810f335be81cb09c8222ad74e8b109ffd15a9..e89f28eb247b2123aa765cc70829fce3be8b4bbd 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 c039ac358f9fe2f575fcab83d675a8541df2196f..4875ecdd625b79aacb40d3f3ab268c4a8e98564b 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 ee76f9bb3fee289d4361f5b6c02ea9a5fa04efb7..d5554c5e654512e6a3255c00782444edbfc067f6 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 ba329e0b3fb130ad15a769b7828b9de26099b961..1d291177d4ce4a6b8babeda1678d67212e4b8723 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 36cfda77cf48ae11d752b024f77508984de68ec7..16737bc1c560e4e46c153b7f5b381e4687aa50ef 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 c428e237740a4331a09a480723cd2cb57dfee5f2..cff38c5543713059427cf3abb7155c8d0f6255e8 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 0152a72e608242843be10d3b2292775933ab9300..684c388a584ead69114293d4bd52022fb7440b14 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 2caa4a8c299c4efe3b58f04bf5b28ab2de505bbe..924014dc1c194cef31b39afb7a881950f109f66d 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 7b9f18d9b829bb15ada1248cd740e9c354031dcc..b6a60733d2b608d75a6d5ef9cac546d990c540ff 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 696847b85ca3df5ce4bdda06c89487ad9ef4a090..0bdeb464e77160733d5631736e62b8259863a038 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 246afeef5198e885a687757ee21c93068f4c9f1b..209448bba8ce4f3db9c808d39696677f7f807600 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 0f5b75fdaf9014adf5cb9f0eab239d3d0d87e4f2..96f19fe6a5e7e31635613f1de924af58843902ef 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 6fdbedffd236a365d554ccb5589de08455a29eac..1e76c60a242038c107ef1782c4c93622cea84955 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 f3bbbc5462b5cfea9441e8980a3c28d0b3ad97c4..de8ee030ae2c6f9e1751a62980ee008973c0d80b 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 baf703cd03aed7ba2d974b0a6c8147427d0886e8..861e520ec4465dd7fce8d0b4a98cdbba2249d9a2 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 08f3ca72ab942a34ebfc6f4192e4e425a3ed6028..69833f3161ddc36975249b815c54a195de01e4a6 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 fea44d17388256f83228ba31e3f9b3723c3eed47..2877bcb7bfe0f666e6667a6523b95df140a6e33d 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 669fdcd3cc0b3ea2caa7b4fee08f34c15854f1fb..99231879ece0604e2be789bec344a050a692292a 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 d128968a96d67cf40d41437ce7eaf8d6b6282773..8bdac0c495f29d63cbe0d4bc80c478ed14b1e412 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 4f7b2f0f1224fd3fd33346d82de22ed11277e8bb..86cd253bf2563072f4d4b5e9f27a6d24aa8d878a 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 258565f90bcbff462601e79d1b9dcf00da67bced..c3b64210bb498913a6d9861a4a626acce5b3f271 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 77787c9b64edb53af9fb9b3e8ab39b279607fb23..eef168e879103273604714891f704304a14079ff 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 1bbbb1b256d5dbcd705f8940ced4e5df29614a0b..42c834b10aa006df847fb3bf7d28977dadf26cba 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 676e07a5571ab60736185c0285e5c8618af58647..29ea709780f4b86719aee9715a5a6915692241d6 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 892c7a7188a63991213d6de955d9cb2b36e30948..430068ba7295d2debf0154cae68d80c8221fe885 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 5f4ea0e26d5d8b643ec2b535489ae8f502002cc3..f21ef5197d44e7d5aca1cbab254b59bf50a5dc06 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 51e56c3dca913058259ff25c00a5307c61a48541..16948dc61c347a92c3e1ce597781844d0ca11232 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 29bbd5a85554021995960f25ac38a22fcdeb4716..1549ff5e55620ba93dd230b4be7c23e6d60e9cd2 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 8a5adcf6ab55bdd82cd229726846cf6feb3dd5a0..aeb888efc7cf24f187c421d3c2e92001fdedaa33 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 38f20acb107f30669afec69d47a9ce8c3438a04a..b680fae5b993ff498b8887540c0e97b98414bfd1 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 0140672d9cb5e6fc1c2ae0f6cbff81603a0ba4c2..afbe0ebc8f19d27fb61658b1183eb81663c6ff65 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 be8b62457def4d2763903e950f1bd11b5e2b8ead..421bfb839ee308f2bf063411390363abf649afb9 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 a978fb939be123b35701500dd15777b0ac463a13..a305cc9966ad8f526f2213f347774326582e8491 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 54ec0f5e1a799430dbc5a149f2cf5c3476dd1ae3..1d82609cfb56e52b8e242da582faddecaf60665a 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 988e1bf02f3a900c778139096091ad5d476d754f..477afb45824b61b02f285e101c975d98b9e72437 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 c8d5d786c94d4974ad230afe9162cb82af96d9cd..55d7a03fffc94722caa05a40e9e14c4e649ced72 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 6bbfc5fee72f40fa3e7d40ee75a4d3d0e4c02a72..92ef7e9336150e6f75fa738b67a3b6b5f7ae2599 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 063244fbfd58dc04a81c1d9ee3cd945b5168b783..5193775fbedb29c3e9a7866fcbd19324ae26d8b0 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 33e4701630faaff74419dd3041f5e77bbcbb6c44..9702c972182d9faeb5466427fb6fd1baa4840faf 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 fa127f0b13bd75a69f4fae6a37973322a0082285..70e11415db969355ccae58b1c594b60af366b504 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 81afe2eb438b99b88331584a700e3d1b194e989e..ea63c0b1d439e63e2c97b56f498e471b6f3ac07f 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 c53c6601b3709aafc473d4c80e21ad91c4086731..bc27a630bb1e6ace98f0dd396ffca1ac456e537f 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 12eaafe7c8e1662265e47cec839a47dec92cff1b..338619715e12f24f36e05f7ea79ef6bc1abb27cc 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 a5933825f04816ac79dd8fa4e7efd31069954fa5..7aaa79b1e943fb8492e435fcb1b5833ca32c17d3 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 c84ff931038140f7b6f3ed5f0e9b591e81312cdb..328ee6bf46f0f7d22cfdfae19877a5f4da5bb33d 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 6ac361b9a1f8457e5ca31285a8cdcdd1242f27d5..961fc168be9c444455a15f6fe281beafbe517c84 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 a2c878646a5a33125d0977c73ff5c7a420feab6e..3ada56e939b0de55daaa03ef0361bc7a1f9c7d25 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 618c229fafde990a6fdb9f8d76cc10c9982f2388..129b56cbe92ddd1d75bcd5a2ef7350228ee9665b 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 0e19268b7f0b4852f3a7a0bdc82947063a2c510d..c294c79e2e0fc26396ba58874c20877ee8b1c889 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 1618bae2ed353a49c03cd84e6a0c421cef4ec9ba..b0326a40281328a389675875e0aefd15af7f521e 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 7c417eb9a6ef9074954c54ffc7d09fd6dfa4fa1a..cdcff03b770b967bab701b017550e910c2a46de7 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 082b04747b10d765d929be69cd64e7cb7ac0ce42..0ffaa260d45f92bd53a51a18ec0963ff4f8c649a 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 da417477aa12b07c3f0c2f5e21b586e7fedc7cde..98e76e01aac77827dea4e6e6a65779be3333a2f8 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 4b852518f912029eef7c667badc73d98f4a16029..e6121991e56b0f7e59ec33c9f25e3ef3b2cc3099 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 cc454f36afcfc27393cacc3ec62b44a646b0fc3d..a5c17a6dd45c7db884393aed6d97b1499c3e45a2 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 18ef0d8cabf5f1d8d104709d1584668382a87f89..028d78702fd936cea8b2663b963c1b66e7a9a95a 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 6a0c3c6fb7b7cd507ad457d89f444cdb41b7823b..42adf86b0f4fa9ed832e8fb3d4ae9fe6965b219f 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 3c7582a3e4d2a99b83e752d35b208b260f777e1b..aff1d474f706f9d5bb84e977519525f892b75264 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 ea4875d6a6ad30b093daca87b19fd71786c0dae8..f0d002caf61c44d7b5e76e9f6c422d182fefbc1f 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 f6135e7bd61a9e6130d65132ae7b0acd63e58834..e7b565dda537eeb1682e4c85fbdd0ff60f9f93b8 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 bbc30e3a80b4a440964a0f6927cde14a30ded0da..140ac4a7f3316d1da8012f592fd719d617fc3f5c 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 867f4a6b28cbbfa55ef4754385c32982b0db802d..0c5104fbb56a725fa5efae37b443ca0f6a6ff19d 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 a49168b95ca800d36f56a4a2035d8b049537c9ef..e0d59e88fe3332954b951c5d116e595eb88e8cce 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 b5b1aa4f1f5705556b7582135041a611d9d1f6c2..bc35fd02e9fc9f5130b87b882a942e0a89cae163 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 dbcd237f0f5c62ac8b10c2cf6303509b3557c557..4e1194d507d4bf83075c085b9db6cf003846f9f7 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 fb29d9f23511ed1a864be0c1e1864593721090a8..1b32b35f33a80cc5c2ca7a0f16bfecb4f760d22e 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 a3959264e7812b147862288c4475b74d6babddf4..6820a07e88ed2f0bf962a386807bcd31cde0a2b7 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 f9d0d2099a0cbc3bebdf382ce7801ca8b9f3305f..cde6efcbf29d3574fca7c4c6163b8d19d5b3f510 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 7dda94136c3783da6d2dbb498e5fd683c900b0fa..b8a5ee8fce620ff48fcbda3da9e86e5904bb9029 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 242ca3e199fc2b2aa6df90b509b1df08fa4058f9..1328ab7918ecee33cf3085bfaed67233fb9df6e8 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 d433fe42241663d50f6dd37faf44361680dd9d07..fce5890ad4ea589d8f189dde9e22c9557d173dcc 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 41f4e8d9734a1084e3d682cb7b15d300bc28cd4c..2838c44f2f2af31537ee41ddd1d945054396f7c9 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 34236dd646c8f0aecf4b67c8a615bd7d54bac36f..60029e7c9fc0e129ca6645d169df5b4273005b26 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 37ed7b3c1c876fd39b85ab0d0e9186bb22f6e392..d5c2796bcf348ff8d95bc3fbb677215304666442 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 69c7eecefd7549649b83969ff9577e63a45ced60..4cea4f6eb17cbd597fd0dcaefb371eaff1252b8f 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 9fd5bb57406c6cf8180ff09787f477d80334bece..58db706e3ce9657b93b58e5c8b5c066720219693 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 ae38b82283da4c8b8324a512401472b1535f400c..c0f530ecda370f6bd2684dbf4e5e0116d732462b 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 d20cdb822b6492ac1319f483969f5d83a58e198e..6e6fb1c24cc6e5ed5f19f4ac234224fd1c322325 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 f9dcea78932519fd2a8a2cb0773254a20781bfb4..c813a3b9f49ab963f1b2c7301f532927202bd412 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 2941504ab78d87978381a9a70622d762da68efb3..cf37d7597e3ac1b277a3ccb16804eaa8c1a6d99e 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 86673f8c35dd706dc92fc0a1c36e9e927fa76eef..29d21afb61ff1ab8e9052698f3e1f5198460ee43 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 b7d1dc1bb13f02cde116ee16080dc9333a14beab..85067017cd78b101b156c053c7a7760518c730b2 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 48d94e95a05cfed7f7e948406473877ad77b3109..7f046be81f6d790fcceda421288fb777549820a5 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 0ec99c505834b7aa9d9ff647e930e8ac950ea008..7c2fdc21f8e173e1a46d500e857d816bfbfd2747 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 616dd932635f6df2dc47969c5a6c17757c828d6c..05cd5702f37381378a89b6979c0c784bfa3f6f03 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 acb11d5c84d73e4bc22cfc1e0e96aefc154a289e..8ef4ebe97aff7b79c00d8a2a97557d6cfc00ebae 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 513c435d97abff833be893503c0da74c0d0b1f3d..ef361051c19860ab1286639672a8fe4d8aca8817 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 793dd6f7dbed563d459a74a194b3c6cb0c140c63..0b697b0ca8928c86b6ec2bad80dbb84af5f35eff 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 bfb7f14d20f1f3c1805f28330b98a9776b43dc09..ec50a83d3c194c82306724a062693de61f09b235 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 a3d71fd923d4ebd4e526cf86bf3a72d5a451442e..b31b422ab758cf2da6f643e6032f76bfe3454585 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 067cfd8c730f42555ce27bc83d51af70371f2be5..b3d2c4833ed10671c0e8e4e1709c10f5b20d700e 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 10398cb25d0be6e9e38d392a663f87a6e7edc05b..04e27e5d44aee40ee4b17527dfd800b3c7fbaaca 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 bc9a37ea828ce13ed637df553f4175f065fa8bb0..c1431ea48be2244deaa21f0c63e85e9d4c21be9b 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 a4270f0328b4285f8b079376021d4f8d48c389a5..f5d2956925e7f3549084f80516c6920256c9b8c7 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 4af9e296941211396da5098fc05b979fb357c2c0..48c8d4023d310c1f610ab12b405bb05321d63264 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 6841ab4a5a00fd12f18e669762170dc3624ff94a..926ee36f1a4ad9aeb54bf568c68bd2afb3d5e950 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 b85515ea7045ee0e4e7e2936dd23a9b40be76eee..d1457dc76d2614908961a393020aeb6df8076ad1 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 4c1c90cb19e7e64550096d9358bd544b13a50f46..8a52791a1df2b35b4632139d2a517c1985b11be2 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 9aa8adbb3776e39832da97339ae2d1c86e6a4262..4a772afabd436235e20e8032531ac8a8155167b7 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 dcbc06c9e9e817b5faa37ace5182ca9dee60e8c0..af8c2d6e21b0b68322b6bd5b13617b3cf4c46621 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 1abc63bf32e0c0ac099bb8ee61b82d170438578b..8e729388c5ed58f273d045ab31a3d3efcbfbfe0b 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 52304ea22fabc27f73dc629db18b323651b8662f..65ccd6242ad64ca6fdc1334180a1f673d2ec101a 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 01020a07a26f5ca25cfa4b3f67f265d4511e7c8b..fc2e73bb26e6073a30f2a82c95dde294032a0ed6 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 0cde38665c5882e5e021ea321104cc997ad769a2..7b737fe61d66f90678c8bb56066d42945ddd24b7 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 0652c51dc30eaf31dd287ab0407a3996bb227d6b..53e0d23ef22951388ef8541ab2428786b1ea170f 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 ff34ff5a8881b59e7b52aad7d04cb28be5fb9b06..e54b1cdaab3af7ca846ab6ed68a3d0c0bc2dc8fd 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 d6c64ea3c60ef245a89d700d5c82739b5ba8836f..f98bdbc460d324fdc4f0cd9de8480930de0559ff 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 2af6ec150f4157c431dac6e096f3a7eabb6a505e..ee397b332570ecb18f2322a3ce6e9340a486ee6c 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 60650656a0635ab09c671a70d9c857553d749dfd..59bc87d503f63e0f41f931a449f9151a7ca653a1 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 c9a54147fcbb175ce79973dd7f1faa7b9f17d628..e2a2acd647b608dfea0459bac515879d4e353cce 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 6136563e1f0bfbd995a1f3a48c366c1a9ac782fb..91e0b62fd588c5f7258ed9e01e8120a12ff2ab6c 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 27eb0543a6a07d4cea4ddc6c7e3740f55e8ba24c..416fd97ad668c803d0ad66d597563560f8971d3e 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 a7a83f6f0c0097944d19bf36f4c78fdca44dba4f..46afdf16889c9ead6af7e05b34ef02551f7967a5 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 c379773aade3e467b406376e38dd4ee8749d9a9c..da3106c295ba61c96a57cc45fe1619ba0803ef4b 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 5b8c2ddf08a18ae798719ec388a4a013df40b1ae..47504b5d7ba037a285a9fb2be2dc501acc8763ae 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 71e97a16f3c62b498bb467b7e781da88d6c22509..de34ac827069f7a60b48ace8f9ee99577b18f12b 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 3d514298c3799e36ed9dd3e0b3b5a52671cf3ed5..51f412f3e7ca7c0af67546c58f6ecdad18dee5c6 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 5d70147fdc8753c1863d6c9f44b3faee6a724184..0c7871c6d4f7226f3ad0b306b006baa25e9634d1 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 9c1d2de68c4c8f3be80e177a13b185e30f8bb8e9..964d1a0f20223c34683f0999ebadba2511b43f0c 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 e5559f7e2262c9182035a0f55930cccfb3cfa1d0..599ee8542c98f789e8595eada1df99e062de8e1e 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 316607d30f12843a129e2fa7ed06e045cda2a261..7a7eed7373112fa6237c05ad4630e03573024c99 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 96bc31c90cc69cec51c5b0188c9edd2025cb24eb..428b65563cc34430cec35d67b049f2186977b3d4 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 b24c00cc852b1c90c080de27a406c41e615cf616..25d16253607d700180a6c2aae70c61a094de673f 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 c1d0888b5fff7b66a8238f3b2cc324025971a561..def62de1136e86adfc00528f5d7ac166151afeb6 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 7cbcb2ad54246c48f3543f0deb58bd83f98c9776..e343a383102ab6db48671ca099c56d33d9587489 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 c3dcf439ffb0b128ae5d7a1f992770020f3d1bfc..f6790ea6d47b79c92c2f52bbe07c2f886135d667 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 5058fbd0fa9f98d1019749d1e7f996f7b19648b5..85ead11d2fabe19109846e8800ea2199f455b9eb 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 74f092cbd42167216e126df497369843aff33740..4c35b5c4ef4e5d63cf9882c33a7b911bbb560727 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 58791bbb4761a801ac4b87cc8d2f149d250da97c..52aa5f9ca5a9e83abd0946e136b93e6235ce7db6 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 fa1e4a86898a143602ce9ff5a4007ae9c3f05d8b..209cdd6035cd39784faa4d37c2efb93be69af889 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 7dbeac711954085d1e6791de7e77473b92a080e9..ff7a134e04ebfad665b022f2ba8c370e07aed39b 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 ea4b66cc7daecfa294cf4f61312031a5dcd00438..222aebf53a7d18dd971878a2155f6a70b96a8d7b 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 499cd271293b72bbed9df076fce2a30b508ad519..7456341a63dc95aa09beb9e23c376fdcea771cef 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 a5bccb029fa3df14ea7177eaa8912bfd0a019404..6a5e19f88d808ddf998c556c121acf1abceeaa46 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 d35c4864eb2084055267c9629d2e2229f8b09f68..28d9a5ac7a827182f62e48c6d2a1b8a54de015dc 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 cfe0ddc33867d8448e1f0c9e2cb79d777eefa42a..0e23a7d3d3755f66063e5478add2d9b20c849139 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 630a5e85dd913180deda71223bc2a78c19400283..9f3fb3176b4e805deb0e8d71b9390cec54ebf8ca 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 5a90709debc4ee845266184b86d250bbfb9b2311..24a9ea274e5cd684a3e0bead50a9c90adf34e6ab 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 130840d46650d83243dd0346b04a2b218c8aaa7a..039dff085b79ee38738b9fa8397e9c463821ce4c 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 4e0adc6c11f58aeb16722c89200e4540325068e9..f0d0a4ddec44dc56b5a6000c501fac0dd149e5c3 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 7b665df6e28e27e1915fa45695e195f7d8dc8170..42a6fafa6758bdb642c45784bc26dd0fd86687db 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 a5cc602a8fa9d460d068ace5e16b2c151212bf8a..ba7051520c7be776db17001808069e7ce2750a2f 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 5a0d91af316e258b359fafa214c3d15362a240f2..4cdce0e5432682dd8f4621e7af11c5db5cef9023 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 a678e517846fcd41ed727ced11eb42e59b9c8f36..07fe5b8e171516cf5844c2f05687fa13f794aed7 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 789113a6b9e30fb6e33c83f431013d52100d1b04..d891828a77a4c6e79fb5bd676dfe92fd758bbfaf 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 23c2124a7e43e68082ff7ac9852a8327fcd855fe..3ea922c91947e38520ed0d03f7bb769e5cf9595a 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 d0a8d0ebb0feda7d35e60edcae618a134a353106..b4ae70e0a39cba340d3c0f6a620c461bc8ad9589 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 4acca7a7f69a320f8785b300d142051d22edea1a..381db6d5f08cb66de0de398f08444db70663a2e0 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 b827d1539b997c9724fb7823c2724c74da474070..6695fe1d3f660a20aa82a7300a68d389c2c9a931 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 e2ce2fdeb2e3a71e84c394938026730a87b3c805..468fe93485cc043367361cfda719e8b9e7ae6663 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 59f79a14a48ffc036247f6013b4b81609daf345b..1e000abf4b361413ea8d4b38033c3d95bc323419 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 ab58d21739cdaba3dcfebda57a33581537cc25f5..9b38043420b66b2737822739644d89bcb10adf72 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 aea44d55a606a410543221e18c82236c826944c6..cce1e014b623bc17402180fb56f8b1bc842de69c 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 d3d70511b18513838712d8f06f9775e80fdeca96..f66db13b9b9a3117ceeb3e9e02ee4312556c9885 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 20d4e2ab6da79559dc156eed791e96e537616aef..af21fe8e8f444189a30df1eff4fd2f6f54832970 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 d5a80f55eb82e691fb7a0e429d26b81b4d0191b7..419e92da44ebcf6ff9279a6279604fd4cf8773be 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 e016a3d58bb92fe65747a1d5f1840e2dde6fdfea..13b6df18f62800a391a38da572305e28d1cb9595 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 17cf0351ef4f53fdbacab97cf8d8620aa6e079de..311ec0b0ab935686e0c0567b07fdf70c24cf508b 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 e5a9a947d037085747dd87e7c493c2f20157570d..93acb3188e3e0f066a0df2e319a4175caa1aa069 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 38dab478427432d7a13517eab04dfa6c989bc5ee..46fa41e55c72cd1553a10408630ba18867937ce6 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 d2eea7c9a677cd922abd5389adf5177ef2deefb2..f198b8bf5d14365b7a7dd21a2f61b7720fbb7725 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 2e38d5e23c208acc5028b566783b064214c82a03..bbffc79752fddb9ead0b992892be584a94ac63ec 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 ffc25b9cc497872c1c75b137405c1a7f63eec41c..eebfeb1e1de89713a97a92a22a195062151a92d9 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 dc417edcbc21683f888902f7571bc953bcc84dd6..3de20cb0fda3aa626198f7279da9a32ea6724e02 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 bac5289aa83624a06361185f21660598f49fff9e..caff7c8e9d8f6438d52ab98a6c26655f418aa6c0 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 8e033ccd90b0e8b8208c11e1e41d02772ff6a5de..09731fa06f48e6aaa3f4989053b0f7c039994484 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 6b05292ad4fb5c2284ba9b54830d8ef22b3cce57..fca708c9bbe8a119ab422243bfcaf3671d7b831e 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 f8e380bd62d1eaf9c1a0a923c69a4df39a0c5a30..ed9a2e932661a8add9374dcbf5792e113a2d3524 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 a752c8f3ee569e676f355835d387994c7849b48f..934c81cfa0b087c7b6ddde5368b90e564985f577 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 aafb88bf7b012b91826ea4d0b842ba5398a3ca02..04e57dec3acc3d0220c02a19c3bd47f8a67daa0f 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 3203d961dd0a49a28a755f6220d20223b3fd0497..31c6d1e01491a74d1cb00377d884bdf8c4daaeb4 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 48440735d88ea95a73eabbed8719d8d954fa3b64..06e085112aa1357331d1cc87f1fd6c76a6f61279 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 3a9720986137ca0f7bda6bbc9783f73d8b499d8a..f42e200a5f3798eaf4e5e5947805b960dba80b73 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 4e68908a5e415e3781059749d68656e15602aaa3..56d3056d55756db20c0e4c5ad0348576e0c0bb79 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 3aeef00733d1f4faba6bf0d328f01b8efce24004..7a679574638fda0a090968656e4fb48c91ed8ad4 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 4435b6826307b2441832fbc2a7afcfba38dc19f3..1143fe8f50d538da37c1f267040798f7d0374745 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 a94b454595e29ed982a386b431b3b331b8419417..31dad5836549c278d052c50b7385acb09e11216a 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 2a071c844d320349282cb77fe79a795a653d8b01..477cd6977375b993750d3e8a74ee4535153a0fdb 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 b98f0de7d4d38b5ea9fed627485c3b08834edeec..7aee651aba225584cb7b7510597aeb2292238afc 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 f8ea923268bc42038ea10b1c07f29454489e2916..8ccefeee8455a0ac97e717f1fefff3bc225371f4 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 40368b4ac042b854a3846b3758764f36cc7e6565..4a46e1193e1f2d85a04ec9c1f8a7b37e5dcb77b5 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 5c77aaf4cf90d61127a520e25719d84b70fe3378..2183352000d67fe9ea54f6265f1b2d2510505c07 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 d634002ddb3c076e21657bd9f2fb64278fdcd5a1..4f2680074dcd0eed3c677ec031a7249c5ab01d1b 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 9c5b4f8f78e39932747b85cfab557bb08dbb31e2..172cb07c93c63761565fa7ff70ab3045b1f9c900 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 000d8f0dc3b42a2381424903ac83bd18b5883e39..ec3bbda4dd4c7a0b4f390786c43317778072f872 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 025f7c0cf169c6e13e4fdf3a38271e46c4c5c191..f4fba20f959f837ea403dcb65a7635d40bf1ad60 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 652cd8fd2454b066c4ddbca55d27297a5317faab..53944d57095ea61c02cefb8fa7929cbb8aa61c1e 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 e85474bffff594ab9ea836b4f987c8730962acf9..a0702ad7dfafec3e21fe1dd8e22df8a697a18774 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 1f892d296320fb5207bb91eb3a814f92a7b117c3..a26a0ce9570983d2e55a5e305fc3b3aacf99d2e6 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 85cbed29960cd6dd7a622b0b21c3ced74b2d8fa9..d8369a5fee21717f2f1750e185049bb47f8d433a 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 0b30243f21d5846ad848ffac39fb73b7205b978d..40eeb11e0bf8243d8c61229899a394cb1f5cd486 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 233af21e87798ffa3b76be6a50e5a143a60208f5..af2b0629120b649b4460a8464274d51d2c60898b 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 f9ef48ea0aeb5cc962989342eb15309f868c51a9..8fd9ad608e949543535437caa294e2f26456a39f 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 72778fc0c7eea9a645d04c539180aac9d9e71cc3..0578b3d28253462df0fc9cedf3fd1d4511729d45 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 14ea760944bdbb24ab4397d46de7d943c58c2168..acdc5898b026f14de600d09e4d1b1967a98a0338 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 11e29db972bc9ace0239bec97eb5270fbc454863..b801f81473b3c1d3faacd24cb7336e6edc52eb78 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 b95af164c285d5d7fd62f13a8c67b438ced816e9..e10d49e6761c9849f46e3d07b488f1292bca4b04 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 6b4c2feeb53a29c81d5b22a2f57763372bbf3b48..6a09e14d88cfa426fc7b7599cd3c48920cd85b15 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 4e6eaed0ef8f5fb7b21e47879134bc61df4383fb..24bd4cd7d9221ca81b2a05ff3f07ced507b04ed6 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 7cf1c93bcf7caaf7a53ef382475a588c5db3256a..58c2858f623898c43053a4ff14cd97fea9273da1 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 a4f441c95f5dfcf7316acd36a62d0e02d89a450d..97a6f82242b87ab6b8f5b23fd12c00e29463a4ea 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 0e9ad0ebfc8c06c774279a7cd80decb70553c0bf..7e690e1a917d5f0ac41e37f94dbf376a705bef19 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 8a78aa05d0b0810f219d2acc91bf3e0ee7e7b101..62735ca073ea9f997b5d20beabb2cb009ffbdd8e 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 d8201780635365e8dd06457cfdb20c20bdcccd98..cc088ab3424a9883721742fc6d8c00571107c2ae 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 37012ea59a756b77d4df976378cb8f29ad02860e..036d2603329b08fbbab5d79790c3d529989e9f3d 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 d44ab5a65d5af53736d5b85c4e186440d61b069a..2a723421c47c5e43cc56665e361047e65074b8ad 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 146cf1640a6edf8558f10e260ff5cb7baeda0c9a..c5309b22c6b58a92a587a3fdf68911bc063d63c9 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 aae22c3745925d836c4b5bf32bf1154467e7c138..1e3d8f7ab4a961705b76e54c7d33e5e5bff1f486 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 cfff11a6c3169acfb2a52141b7dae2ca7616a604..32674f3156acdd99326cc22babd2a99aca191dfe 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 d6d0724da49f8358413b258c4d38ead5064d7cd0..2a60f368479a284fc9865fd41a154ecff527399d 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 95e64748fb1fbfdd4d4321ce377c903523db71a1..163af4f728420e6cce6c2e7fa4dfffa401f0a207 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 69b34f96820d37b0f8aee6bbc494088933abb220..604e418bf5d53965f742ea1a9b702ff15b3f45d1 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 713e65f3d9b35c59ccad6eaaf52ee87a32c0eb08..a1e033eb7811fd211f01299df25de7adf7443a9e 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 ee4a5a402687a5e48f0428800d3eefc621beebdf..cfe115ea1ca4b2a0fb8b0b9a71d8e5eff63648ec 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 5fd3b4bd7d40e73caa445c1cf3695dedb2ca0581..025f65cb35a5498d73a32cf303f01e36de374d7b 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 e0a6ba4f0691b95e102d0ae1639c2008246972fb..1eee9b491665acb56f9871791f8bba0b84f9f2a9 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 4157207a9ac42798c8550338b42d6bd8fa119e62..ceab0e2634c5c78a309df70e18a7d8fafb27aa5d 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 6723a33cbd4e014dfcbbcf057e3a8de6a282b2a9..91923af371653e6d46428ae01b10595554c4966c 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 f3164400d8479a64f493626c7bfe5e2de7285357..12d4620ecaf7fbaaeb82153a1fd602ff23ab269a 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 3381bd61c31ca74db7a5e411c005f9b0f63c3671..866bd8f6268740507107bf3f31d137b822c3cf75 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 e4ad544607b03d848bf44462d41a49e7cddbf506..d62a37412a9e4662619701189f83b18952ab8f1d 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 c4502d2adf2eb86a985c6bdb6cd11977ed02390e..40d9f54c2ebdc653119fd614c50f7d2aebc5b39a 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 81965a3768e9f31d631320ebe92c8b42176c5048..554e9768926369f616b16896495d5f3c303d2958 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 0172c9b37c97d9c3bc357293608fd4ce571348ff..1b720747b5cd6b6455ce8dcdd5517b65477003df 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 8c1b1eae021f6a5cbe6f89d43fe93a95502d1290..871ac00ba8679bd997745169d71e09ddd7fc379d 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 4839bdff61795ba9ee06e468371fe4f5d8bfa37b..284ae97b0f88fb66ac94b6d279b9073fd8581635 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 30c8bb754c2cd21b224dff4d0483c5ca93665b9e..962a5f63fb75d8ddb9ba3f62d1e672ec305b622b 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 4a605b3d7ddf69308542d54aa79f3b2fe8191d6c..4d51d055f5e974d2a0818ac2abbcf52bc566da91 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 170e80d7a9efbeaad4f1ce6babde4a53b584724a..37176c66de4b66765c3a9f012276ee5768f3c581 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 23c78497b37e48263bfc9f1725099af97ef11fd9..e7c6e2d7db061bebdd661753f1b3b64c6930f338 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 5cc27560496dfe89ddf127adfb9af51e564c1f41..212ca8803b6fb95cabfbcd0f062d8d878a9f1b1c 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 234500c517583ac7d436ecd6c9e1505a98a08cc1..21e6f8ed7868a73910754132b9d80d30db80cc7f 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 66efab046278a89c25a67c890a81ef1485daffc6..dd41f04036391b9399288b052fe0738019d03e3a 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 acbc09f49e7981a352f092d98c426be502de52db..9e3979690ab25191faa32018deaf5e211b47dd46 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 0a0133c21383d72908f8f21070b9fcda7751a3b5..3da59e1abe0947d91b343e95c11bd68c659777ae 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 155a2fd4e2ab441d48338de179a450286f902202..9e353ef1d14c4e30d8be605a939858e4903709d1 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 358816d31a5cc31035c7cf1c294ab60aff0f1763..ad437693a10ed260ca55ae023aced6fbae05a916 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 a4f83fadd15cecdc9e5fe756c999788dd1ff8347..e27c0848ef37e887d917472b1045fa7baca72b7d 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 6af865e53bd429f34c6a08163385fa726e0049d5..9831ab7952b1a88745e523331b43f728c2ae8d4e 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 730d7e390f1d0fb63aea9ca7b913a5eb991c94bb..2215560a341728a75a12d4b818b1ad34e2aea4ff 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 2658d2a62228443506433bdcc43007cf4fa7ab0d..64986d3103e11b1ffbf3259a45e84a577d09fe07 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 2897d022f681ab3475113e26da937e79183b7a74..0f1a972d0aa0558ecb712560cae03f0a9fa753d5 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 108ddc08d14351a2402046ef71790e1216736c17..c6d2a99251be48a3c120d7549db7d3336ff41eda 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 0286cb0cfc09ac596f2cf3e75835170198cd2f68..5c427ad8fef1084b151ccae0a382d762ff9218c4 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 8950e2fcd8d1965ea5febcf9ea798841eb3a2aa8..e95c06cfc61ac8bca366fdd7640cb9ba618a735f 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 0699349dabc4cc346dfdce37d0171240d65b0c89..a7f5ee1d771063cdec37c5044dd6df22b0ac8e0d 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 997ac2b5721df3d0ec942cefa0744f910fb5f277..5d0aa2af73601c7854f13be9c97c65a07a12a44f 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 8e91724b38157fe6b55709fdb6c2777f0ce2f3c4..082fb2868c639ed179019c1fc231e3e297371479 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 415739755abcdebf7703c429f619eb868d328cf3..82d1820bf9f31bc1475ef086d7d097406e86e48d 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 7885af2b403ed572cfbb297bc2af7c929d0e06ae..726187ed0763acb709cff06e9a27308068b9257c 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 65c93c99002e1f06189e0d11e86171e89e802472..02a9e14cd4fe7899d3129e0c6d358f7d3a6f8439 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 96be8dda977356029c9f2d23a1c517a644366a56..bf95e7c64beb5023c337f7ff2dbcbf9448b8ca3e 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 abd7dbe18a0e6a1555636a27c66e22a9bd4e09aa..d2133240cb14a47f8544f779706815809bbf7412 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 4d420efd23b8164cc2bb1a2f93c7d89f6496496d..67bfdf5532b5dc939f5b235d6d792c9522921212 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 da548b7dea11b6a21cb9c6e755fdd1a1910459fe..1dbd1037f5b5430c73fde189980a30dd12877bf0 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 f11a058b23bc347f19cbc2548bcbe8653106ca43..8317e7c0dbc6a98f6608a777fe42cabd00fc0f89 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 41c30fffb80a70956873dc25f94bc4d1b0f191db..785679c21f1faeece6ec9f085a50f67ba67edbd7 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 7b5697bfab56a8396c19a9f0c0d6f7806b783be0..e816110d6dc225c7e50825d70cbad1a360efab07 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 4036908eef1c3c1ef97e5e6c23dedb5b59c33518..1b3f1761e4f3c3123cf6079a051965f590681e36 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 d77cebdeba50035471d34b7ad7c398f2258285eb..6e9572169ce1850a385281fdc2002e387f0410f9 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 11bc42315421d62d202c06d340190be0c2bf3368..1bb8cd760e024ec3b3c7fdddc2e94e739e1c9e86 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 09dc1d7d428b04b91642ad0843ad1f75fa59a99d..cedd2c720d90930776c75ed6fff02ff4fdfc2b37 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 beac50e449e96d49a94175902a0082e2208c7a64..971cea621e8653b510edb379bb6c2cc726ca7b2f 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 2bfe7203367503b85d5d4334171fa06e22071c0d..1c6a6d7212665dfb6900701e9eebd7a460ddaf59 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 fc65fd16f8c302d139aff54c7e20bab5f8cc1fec..1013d5dff1167ef2c411e4010bd8308b85a6f77b 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 75136083dfc66c3a1ee27fe2118270273932848b..641cfc8af7ce991aaeb77ba8964297a6c4bb5550 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 881aed96c7acb411e9f008e3038b5dac00ba2c2d..ab75a4f8ca44680d7bf92264671bc67caeac6b0f 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 972c231267fdf6a6358cad7f9c35b1440791357c..993e3391fe21b27163e0e7c4384e26e4aabe7b83 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 70a500ea89f117f6846d053541752864eada9a65..da9be1229a549eacec4e42c5d7d47c2702945f34 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 3e07c349f0a1c0ffee72bbde363436c3dbaa5a7a..dbcef500b57967de588a761e6656fce18129073a 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 23745dc14154747a549d1d9bbf49398088390d9a..b186583a7d82bb910c6a1ff410a1fce83b8bacae 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 4be4b3fc3e7705ec6ba4d2de8db613954a66c4f5..1598d0e35a050b1663099e12cd8350dd2b7887b5 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 74b991a398c9140fe329f83db3121cecaddabe55..871d64b4c2ebbbff1f09ffcb187066de458b8284 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 a10a0cd4f2e0b956889a5271ff3face273f57455..46ba74aeddd44e2d713f23c737bcbaa55f25e8db 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 e98a66ca9cab9f493cf40b1126c7c17a2c0c7eb4..4dd3bd2ca94f7ce453453f6083bf8c76892ef177 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 006d37356f691f570406199c51f3d25814446e43..bfa9d17dbc21766572c06badf2e8a2604ce91ca2 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 e6f0a25b38ea80ca12be702e0534b4e8aade0197..122819c3eeade13872f21308430b28ac4c98fbdd 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 25df3366f28bbe4aeddc44a805fbe0f94e8aa417..aaf4af18e24bf46cd74054ec77c156c386f1d994 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 161c5e7fdf67af1e50445a1b8103e9378e68bf3b..081ee25e7cdba4eb827337aea6b79edc9fea9a6a 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 77c756e080e459e4172adac0c067b77337a71cf7..9923a9ed29d923692b4356d3615339275a1552f9 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 097123d3fe5236095b2ab0cc86e76ab63d400e14..f7395683c3f5d65109348af0323d55f79cef0524 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 295b8fb108e89801a9c18a64bad6ae958906c2c8..f33f60de9fdd4e36273c479b4ff356ece68de07e 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 52f6e928d4c4509e1b965777e09dc5514c7c632d..6b714dbe038f5decb80e26f4c71c8e8c51ee1888 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 ee556f9eb291551f9101ad3c7706be64189a7912..9d04536e0f1b900c8a78e8d74bb66d5c12e04d7d 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 c9f38a4c7ed05e04e9ce6954c9bb1a13b73d524a..a70b905bb80a94c9ed6e934f26d5ed95d4ea396a 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 7d66f7ea9b7c4aa0a356577fbe78adec39b83448..689585e0cf12c80a69286aa05a46ccc09ccb7ad1 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 f00c140c3b9d087e134d7f65206872629e3cf2e7..18c59c8c10ff4f6bb76db897ac6de85cbba12403 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 45332fd15b5d4ee72e601fafb2859ac1743ec1d1..63619b52b97026e98b26cbfd4c8f5349c4dca749 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 7f1af5bbee4f93955517395c712f324e131e4f58..ef45e61ef3771741ecffb789825375da4308482e 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 c37a75bd3e8e2b949a02dfdbee75a1e6197281bc..26a70dfb9d5bb8b1fbc506e26587267f569449cd 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 b8a0fa277b56565b8294c88f06e776219a346c61..bbd17e7fe9b57164892cd6f678550c8055776733 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 790c96c9fe4514a5c44085f98ace02386a782e94..960542c03a0d463d8e33dba88c2705bb7bc24d22 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 c83c2e795824a57ec4df7a87beb1f5e759b1a03d..0c7b13a56ee8fdd5294a92e321f2ae3625f8304a 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 3a5361e0b559211c5ea210760f5a072dec2c0073..78a01ba2d358a4e349bee4acfee6ba6bcc3e3d4e 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 0af9e5b68b00df6746d8b2efff6becd5cc17152a..abaf611b0df809a2d8f0b5bf5c3a4465dc11b07f 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 a17eec0ab15f7331fa9d31b295b5ab6cd11094bf..a1bbe748d12da7e15e8c711cce87440df8605b71 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 50d6f85cd323fb5f831c0a98c57cc4a7b4cb0dc6..a3d9de6fff846c9d0faa09c733a7308902e4f9ce 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 4370ffede1dfdd18d08a1b9d8fe54cecae454f76..309fdc75dbd7911a92b9fa7a63f407ca29548258 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 400b471600e0277965cf7a8d0342d8a2ff04f06d..618229af207e7c86ce087a9b01edda4195244392 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 ca7f9624c08e609a0fcf6f3bcafc380020f8c6ec..de0db219cb9b78775ac535c2239bdf533a9342b5 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 034e65eb1cbb6922cccad0830ac697984799105d..9eccfca933c786d9ad2a4a4b95965223f9f82def 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 e5207775f000bf3141a0039e5126d0620a13d41f..083209fa5e3153f2d169dcc6c8206ab14d7aaf1f 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 7ea70b91ca06b3ace0b97fdedc799557724ff0f8..cc7c6de7b37fa0a2a202bddc381879ff032d848c 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 d083162ee6f5435c9d2e44bfb3f7630c77b79a7d..8b95c7f6f28d3cb6bf8184e7cb2e9904e01e91b2 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 0802ec70204639c80b4137f0ad8ce06160964602..cca883adc4b5d545854bd54c799c68ed80b20b8f 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 c009f4b7cf98d1a21816078f2936dc9a4a271150..67d76b85e7ababc33ae9fdc03694d2e648960b78 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 2498f19ae6f563a262e2688f88e59dd9a494da3c..bf4f6430bae065096b05790db0b9433dc237de3e 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 4fa55beaaa67fc9b25dfa62394c19a5bff00ed1a..3b4857ae0e9e2c6f32df0bd82a6c33dde56d189b 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 94a00f4914d17575533bc54e7567df5645f13494..779274431d5fa9ae95139a1c70a94d76444b488a 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 fdc34ddcd89931d9c2c75547ab9204d9a887d1fb..ad167e985b27cc640bff5b06f01e0091dcace3e8 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 6cc2ed9a842c2825948651fe4d6d9dad00e14ebb..199dce0ec6b67c36787adc76c8f1f3e462db5b1b 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 2b4a9b0319defc71781518df275a1176ba289422..e7366077d8febf8c9c3b6f996c3f1fd35be96a40 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 ece776b63a731bba4667577c152ed9b5fd308c61..957c3ec9b271ec3b11d6b8f6245490864b87d8f4 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 8a1ebc78e7403bfe74601f0cfdecd52a4b523492..07b6480c1f9bec904b1210817f29ead898cd93b6 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 64bf193c5836b9f2e42a28de8bd2ec5a82f0b20d..418d296452b421e3a27dc067363ce221bcf0683a 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 d0aa67c90d4dcad933df1c6f5a4c12ee20699cf2..cc540f6431bd9cb3b2933807e1ab987587c33645 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 a249ebe2b180a69daa2c2739a4c02e9f88fb6bf0..fd0d388ca9c6529b67a0a92d7d9fb34d8a525625 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 b91eb309d7f5b4e4e0a425f6288f8b8ac8140f7c..6d96cc84aaae7f9779ecccd66f401d7aa3879d23 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 7fd9f804a83e222e2beab14864029d0a86614bb1..59daef1ce64ba2d0ede1f2e9b63c645604e66a0a 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 1e140e8a2f9b14fb5a26d6f88d51daeb1ab94013..ec385af5821143c1c40fe5188288d71a00a8405a 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 fc5a84d92a35ded098e58c6420c829317063290c..833998d4250a89d00700fe0f7a560fff07fdc81f 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 0e7b69085b0d2ed98048a30587dfded94753fe92..b4b34036c7cd04b68fc9821548dccc0df2839ffc 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 0bc0de42c73ff6bc19fc8f298098659289db4dd5..cf823ae2b22fa638f19316a3d345d3085170142c 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 c1bffc442e31f7352e643d0ee8382e649b9148b0..2b98f01e914f4caee0c51b4ace4653c49f534291 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 95fbb2b74c5c2df0a2764ae3b46db7bbbb5cb541..bcc1f4b45b239fa0bc70f79568e8db40f2b65c92 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 aaf8256d314eec8061a2860a2ee46e98a3e220e8..d23af8c05059f7049aa047ed7c0fda947bd39731 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 497e017da92ae30d00159af47f6d2f56fd420c3f..83a07e94f2b96a3693462c9b9b1d5cd5799e47b1 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 349ab9f0fd9b58f68964a8069c39c1203c8b5b68..f06a137cc209339851bfe7f9827be522b91a9dc6 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 f005d526ad75bde2e38ce6948c10040e8887991d..3b4c79d200a1956d145501fdc1dc1932cdbc265a 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 1599688c169b958bb7d8f11ca73282d607680a73..d3ada73ec7529ca412ef25e68dbc8d261e51fd00 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 06dacf6b13e782713ea5c1f36a12c9dea543b14b..3c0e3f2885400bb3747253904797c42798396c66 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 8989fac7c2481f71a65ddbcf8fa717c818904a2a..1805b852fb186c0caba9d515fc665481ec53715b 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 7cc4d824ab52fbba9f7c473e3bf25bb206cc3e33..05353d2506d89e4001647ad00a6ea9bfda1856b6 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 033339eb2defa059f6bc68b7d41dfde67b24969d..c2cc1c8274ed2358b71da1d5b32a777db6e6ea75 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 79bcf28d250c09a0b18628aeded9e7ae1578ea5a..cd7968fc7294da25d22bd12f23f24fb8684df293 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 68e4f70702cc67e48545868cd6eafe17f0d56156..a4917e6b78af31f19a5e613b25e2b477d9ad1dd6 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 4b946712c0027cb59b1a70ff2fdafbfcf9ab350b..1a965ab922c0d590d5f10a65c47f13d08a52e022 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 343203fe82e31f3da1daf98fe2c1837bb09fade2..7d1e7008e8e0ea2fc0b1d7692d2b2b78fc66f00f 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 37e1416d5e8dad03643d298be886667c01811476..6084289b1f830199eb6cf7fcc13e645ae6d58115 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 f26edfc93096eb32208a6f79eb454391a7c9bd00..e9dcbd993cb36f0f4f5c3bb17038df4e3451d54f 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 a5945c2fe6364f64b577c3f8e37c5123ad444043..94c680489d916f8e291c3d06577beed0237b56f7 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 d08ea67375fda9aa6698435039a1450e687c5d1e..80092fc31c1adbc00612e4e7b7677190e00d376e 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 11be5a33b577efcd2fa2bc2bd5bd8f4c7cff477d..e3a97fb900c4801eecd4800136eea81d05090499 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 2ef44abc5d85aecc8080b20a81260ae22cba9a62..d5cbc8a822d487a9330bbc99c949ef7eb5bdfede 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 aab5c28fd65518ca88fa659c32c573d430d23958..1c2d9f6d0e86d8133ac0f4b3a17ed06f4c60eda9 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 8509e6f358523081a046b8c5199480da7b26c684..a587dd10db5f0a70ad7fcdbc3301819a3e25f080 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 f8c012951203dbc2281e6c1f94d2615c72007334..4a13d1f0646544c9841f245b24d57503d6006e31 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 410494c6d527ed73e8acb021643e41bb176aa786..87e9e5e86e5034a2978c825154bfc2844e6f1f32 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 1c8ba8f22dc7d1359e947771d83d367dabab3cf5..6c28178de0ecb6bccc66085bdb614d5f4733dc1c 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 a98abdf6039cbead2fa7d4ec9fb3c815540e066c..211c47246460879f25a41069f357b4243a265112 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 d98564c04a15273b1a8b0133ae9de4e05c18a12b..ffa16e70bf85340f0fa4715ffa3ac5b0d2212376 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 4fe46dd22fd85b42269044544015efef23c1e507..89ac550578c57f5eaa029f15c79255c08dc3b111 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 89486f0336422beb6500b956a18b640d033c7b77..39b66bc8e88f8b92d93a4eaac60c8ea89a6ba6ad 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 e427c6179214bf57c969cc5e1af36b5a4d1013bd..0e88c44ae0ffde91706e2c27a9c18dc6e5d4c7c7 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 ee3f0c1f5853b862d794cb36805ddb775a54a0f5..ccfd3ef0e39f802a0d5d31fb7c2867a54e5df603 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 2399b24fccca4de0eadad7deea7a426384261045..446d2be0378e491322d370032504d4ed8ccbd4ab 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 c6bc24b3133a1b6962b6949289c59bce5c923a1b..a939707d5276e5aa31a9e127eb1e8daca9bcb6f0 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 dee85cb088513bef2f3e7e3714bbbc34102c1125..73f9d308d5f09168cbbcce683d4842f31a558623 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 2658f2f1930bd8ed40d2a6b2531aeebabf6e6cf5..51a899341e31c95894ae5d3d7495e49f07afe77e 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 e3096d3045a3d210fe59bf67d7673b93bb6bc5fb..7c936e653fbabdf867cc09c4226e5965913aaac0 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 fda82289ad2ac9a0241069e9114926ebe69a9347..fa99269daf5aa2cf9b9733f9debb4f66a9e2e770 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 0f4f7add531ab60930890e6ab906f44a8ef0665f..e9df28209f00d6827505c2a8aaba2a67ebda21c5 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 ed941dbe985d884466d007d1987b1972ab2bf8fb..5f16a6e654f15a17df4964948116eef924ab769e 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 09c3a7261bd58b8b839e124f33d1228cd17b7c95..f89aba294b86d8f95ec3cdebf39fd99f0a31c5d2 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 c0c38aa980547c435b0011e52237387bef68c139..56bcfc2de6fd02ca23aa9d0bdc7b350282b26535 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 baf81f91247c9d317f9e7af2ae8b1a1b228372d8..5b4a8632b27f5f9fb6207a228ccc1507267ffc5e 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 bf945c6029ab9a181747be8d9222857631992702..35f4e75314bd196f0e434ad5d07fb8610aaa57c9 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 e707b7dcca6e6570a57177e7b67fc59c760bb0e2..033980c38c73040effc842d0b8f51d1914df3a85 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 f8ab07eb0b1f63202499ea34951c1644d1f36981..d0d6be84a65e04e7e6e1220f99d06840f15ff8a4 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 b5d31bb1c1df3d989c8896af381f681f82997753..8378c3f9f8bf02c9083fcda65a49c50968b19747 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 b24583fce27d58d92eecdf00dfc9c3e98bd24b04..83aa796309f52e318703fd63c99d2fca7633e4fc 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 4850514cb6dac0cbc0609b4caaca52970cadad61..47e1ce284bb8cea41f58c6080229fc6fb99e2d43 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 bbf154c6c4016675cd9d73f3a30664281c063b1d..c1bd0b5ed46384fe16e269b3d4de3627d23cce29 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 4be8039c9f9793b2a8704f3c1b20c7686d2dd799..c3c072a0042b088d4e444af93213a9000a923646 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 392a8a9b24894faab6430b8ffc0237ad55d2e127..c005147d394b9a8ede04d442f60612442a73feb3 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 76cd1554e72c22e870fe46ede37c58334de5b45d..573434b3b324d9b9c9f6f038ae440d77482e3f3d 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 ec67baf4dd002a0f5e8a3812a4f5030fc5cdc2d0..1980b91dbe98e39ae146f480c02c0f79db1821e3 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 5d253d2d8a8a2e234451bd478dcf40b54b56b294..9a05408aa06067be9b78bebd9e409933dd950f96 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 cbc037cbc2710ec4ebf70e62b0d1ab6e454db3b7..61ce9317c51975760c8b7a544c820207906571df 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 df091139f3b78e1cd33782fb8ddf4e041fa99a46..1cfa664956cdbf0c082f36f93e1d83993da46293 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 e8dd495e8c9238205f9b9c8bcc9545f3bdcfcf3d..f8aa10b703bf1345310ef658a74e7df14ba5dcc3 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 4d296a61bba74740427572dadb9bc3b9d66b2b38..e80a330e320d4bd93433c4fe7ec0fa2295f30caa 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 5b7203f98a03b389814e5b817ad7f18448f4eb7d..7ec333723b66c6fc1c8b321d172cba3bd7a48bab 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 ddfe7e13f0bcecb0523ad2cf1e50c2d88f654ce7..aa7e3405c57b74823982e5c34ac8b0eba4bdb958 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 efeef20fa97328cac6631ff11fe5f63934b6dd49..696768d470bc3dda9f876af10c9cf06c00937dcb 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 7edfa66ec8f97488b763f473e493adfefcbc847c..d63164dc9804b04725b105400ec1b73ccb510862 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 13dc677a623b6634df07416dead9c88953ca079f..987eb85f33d3a32fbb4df4a10d75cb79f225de0d 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 3ada25c9b790d94e0853f7f3bb13b9c459c28b5d..2a5e0dca77049f6cd98d87c08a564ddd9ff46d81 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 4c7f60d1c0b4b2c2d6f03d696f0887f9992a6a82..7e795c718829f2abe13ae361cc41a17f31fa9f90 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 406e267aba632f9f24fd496f8d267087fe02e19a..13dc8e5bb13fbc6939d8b99a69fb4cf51e40c7bd 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 413161c2ef2d4991b5927ecced3f4d076651d1b3..3072347ab5e97424f1ec1158eaf74fc5f0828108 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 dcf46d3cdbfbcb6a67fa0aa15a1d7ab75f48780d..10ae20d62e919cd35e4a8d66c7ce350b1e654cc1 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 ff6c546e32179c4f99a16022e7e49582e333c28f..e90f28aa1a12baddb8bbc36e2af6c01ec0ce15fd 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 13965092df78e8421ffc88bf9c53e0e0472ecf3d..421c23b575ad695002f358c8ea33e71e06020759 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 de2ef5ecb57c613e45f21ea6a0a7bd6306ac4fff..0177c85ecbc9fadc901503602c00846761bad945 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 40c1d31b1fd4cddf55754e72cb1a04095c4aca18..8eb350fc194d568098330aeb7667c1db5fba43eb 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 20fec93b653bd57bfa937635c200325f25c3106c..e8b1d64f07c13d886103c9a315e77fa43791849e 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 90983c6aaa867debf1c0f8d56e6b9159c31b2a0b..85c6c875014b382302bb89e33440839e12259224 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 50e9c4f9313a20837e094e38977a60990a91cceb..80dc335362801e94bf4dc19283b5caff0726bddd 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 b1628b3596fb2a79a80a575f5c334ca5aa931e3c..583bb4dd891d0309ec676fd57af11c4ebfff237f 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 fa367dcf9a049ac6fadafb2e32b14beeb4494a82..70c77dc45de90b33210ab740c0139adb39ee3ab2 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 9868ac59088edf284bb106a6abb2aeb010e02b49..e7d8494c9935504740881e1c5f6eca61a4d096a2 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 7d05f22ee0607b0f2e5299ead8cbda947b6ce668..f088ca32b6adf90a54dddd1a735b4d1539746d79 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 e599758dcafe7e5c2bc69a8ea2b7edbbe09422a3..a09f49a6827950b6300dd9b0ca3384a515b5fac1 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 bed3f0ad40563889552907ceb6987ae70a3b979a..c6281f0987dec0030217b1cae24c94a38f072813 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 12cad98455c9f45c316294c2f13c6474ef267172..1ed28c8191729facc8c2436b5ce101dedb96cea9 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 8284a2a92413f6040f41e417fe63570be3146105..3650f45d90be5ad1cd4aadf43d1ba21be76630b1 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 cd5bddc96b87392c8c13334a5c7b8202e00c85d7..910cda5f07d148071cbd93c658cb6dfa56e1c5e0 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 2fe2f5cd8c0b4a350be53fb8edb3c1278932699d..3e383eff8ab6ba72dbfd5d69619479df73ee040b 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 ba7728d74776310b7fa6851a1691661b3f5efb8e..164327096fe40f0b615aee322f4d3569309f8ad9 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 9972a587a07461d5ef2ac3ba023fc64d71138e10..ffd740f7fc446b07befbce240603d63059e592ac 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 1dae6bfea010bd254aecf2c1f90e8ba126b08446..dc15d4ac2d420dc02a2745e13efbc0f1c12b8363 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 98014e12f70aa07b32ae3c5c0219bf5ddadf7bc6..c90e4780688d8d983782937c5b8a2716dd0f51a9 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 898ffac99692ceda1106b8a47eba550af0eafcb7..57f432c717a191be63ded6531cfd797d3bc7ec4b 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 20568ac201288646e25d51bcbf1d1cd968faa02f..e5f0f7b73e014404cd778d8054306f748de92a1c 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 4497e9710a10a9b53338e8a5f71e700ca3e9da92..14e192637855d36e93b61114e8dfaf8426da9b3e 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 5b567822f1d96e1e9e6d4ceadf727f223e51385d..6193136bf3e7ae36fd5c1918fd3b52c22398934b 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 070701bb5d463a702f188736aad20ec5daefa341..03178fcada3eca80ec3c903125f55d138d975277 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 7edd2d82eceff804b08979fc32ccde0b9d1fa338..65f0d5534e07650a6821e393e1fe1706cb2d42d2 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 3ecf224612c80802765f6a1bae5b98bcf58bc2d9..2da629e566a855c70a014c06bed4749fabf1a37d 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 92527fecd4c4a8e8fa70037ea82e0fad44b15254..d74ae8f154fde79365758830cf8a4b8e8dd3a2d0 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 8857c3cbd84fe126bf6d99a988eb6c6fd5e32090..ff2c4898a4112892000aed7491b78395a2116983 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 40d3ea42dff45af75bbf77c1efc15b8c18107bf2..05cac5fbb12c7185edd9869a224d70f75658b09a 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 e1080cbfeaddd252a58bdca1fcaaa300ccbc5bc5..c581500d02c837ae1a64c206267e1d070b191e2f 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 38ab34a5cee76ecfb63a09e8988f96fd65dc540c..235d6fe5e9d7166d7f099df88af241efef2fb7ba 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 285f24c890265e51578af3549807afe217f22c99..12e0e4c80d6fcce0745be8553b27dcc1658a9200 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 63eb6e83024ec379d25cd5de747e40b0c6bb46e1..2d4e868cdf8251d1f4901343c8849481c3e8d5cd 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 214acbdd2bf05547cba29a643d14704161e88621..c951db2ca1a3118e4f34bbd801f74145a5c7e82d 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 a2422a542fa59ab7875fe0e0e1b48593c5173d25..e22140d446c3d92227ca1231b1fc15b1bb59c65d 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 cf0915dde39b428947f9b1d26a4b5e952cb4212e..c41d142a40851be537f8b2a270928cb0662dca37 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 e105ac18c8c9b4cdadfdc64625185016594ba4c7..fc6ff7b1fe801a9ad0a8668319f088fd889798ab 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 7e8ff56446204a110df6c2c2522dfc1814b39877..d7dbd458a419c53a9229ac0192ab934a94a2abe0 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 7ec22cfec9e343291ca8833395908a2bb36a9394..0f73b1e8f02fa929cf328d6eb4bdace3d0d2e48a 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 2092afd99c433ce726c536d2e365f1523a011a06..7051ac689cc024a27827cae01d9e0c20f9140980 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 434db4a9ce3be59b79b81e9db39ffeec838034cc..9bbff24be990429116792ca3ecf60f211fbf5432 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 7e114969c100255174eba2d93977081a7123193b..af4797f1b64ecc4277ae7a020131d75c3fedf2dc 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 e36c6966cb660b16851cc7136c689351b0eef902..605cf9f1bfa8693ff66017fcba2baa96a4a7d9bd 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 d7961049c94d02eab9ebb0f1d6c6e5ed1eeef008..9638da46c18fab264944e08d8207e9430cef2f90 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 a099bdd67976834bce627622b9dda8767633ee1b..037bf24ce92dd8a5df26fc07a26dfd3ee68e65ac 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 eb17845e508f50a8ef749106616b995aa7a1d765..f5a038f5adf5de4e74c24c2d45c66256c7b63055 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 f5548afa57e9717cc0049d77dc157389981dc88b..218aad85e673b6f627a42470dab1854c75d681e4 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 fa978b8c6eae5a8a8e3e89798dc421967ee0e959..d522e899eb0b96eb84e5e8ea0fb430990451c51a 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 88d307ddca43ca1455fc09e11d8cfe42bdecfd25..f44cc8f0f60bccf9e24ad01f14ec12fa6ac196bf 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 4f116abaa84f9d658bfbb3267f2c654fcfb53d3e..d3c9b7b2198e6b0cbac01d275a862c66b53db0af 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 f775a32d1f80445c4b20f4553fccdf314cdc8010..b013c9d265e74ee4bc955da9d634c41729755f99 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 0ab97a2cfbb242d85da56963f5128afbe2eeae52..8ceda21c083aa0ec73fd3c3e34817dc431194052 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 0c7b21356e55e449137b7b57e59f8b4ae0a8b172..7de7edf1eee60edaca96e83155239dc4c48f1003 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 fc02a70bf187ad18377b6419d94f36a632f67be8..9c9f6961ad9336f5eae5694283d9cf479dbcbab0 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 698bcaa2c8ad328a79914e766b080e4dc804f367..9941189357ba1efa37983962339c72bcfaa5ba1d 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 6471ff22ef316a0260febbf1c4e6adb068e2e3c3..bd4162c6820472e7272db2d7dd235ec89b08f60a 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 78eda584fc33c25dd4cd65cf48be128157b5fd55..7a5fd8e153ec59dfa54ee83088ba52110860b8a2 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 3d2a132cba804bf89ea26ef9d11327784302f8a5..35b2b90d323c310ce1ab9f11b866b132fa9214eb 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 da421cf679837ed5f5001d247a7397645b1ce41b..17110c47576e8a250bc838d54cbca2493e9c89b0 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 142765f5e2608f93122ce621e16b3d6d428a9bd4..92edb059cab2872a80e49332a1a29f7de59f9467 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 58dd07d6351cc41dcfdd1a03c8d3285e10048778..e9f58b0e73aa5d35c1527e6e702560cb9470a688 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 aa7dc955fb5feb2706d9f27351eb1686a072a626..c4523643f32b9408db3992aaccb534d6c852eb03 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 4b2b42976579e80ea6b68416568809fc5b33dd65..83fb4d3cc497eb46191fe5b614ec60ef7dffd237 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 fac582700cc79572adfbf054fa10da0c6f076900..b5cadbd6037f9c17d999c6d39b7cb2713afc2915 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 de9953db42a5eab7acba7c8654c546eadb4cf95e..f7473cc0f32a57b96322217c287793d305fc39b5 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 2f527c61d30971cef4455fdae0a6dd5d62e01723..de6fbe9f9caa93b9644572b7296661fd6f03a5a0 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 e56678436bf30f5ebe1a5dbd1c09b5fb49c0219a..06c2e87c5b1fe250d1dcb84f52f9f89cbf1dd6e2 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 1826f3b9690e199544ee4619c2b07d73bfecf5ff..524e6868fa700cf759d06f96e17ca6583aeb6e77 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 0445494c5e8269765b233a82b706faacedb7ea60..e5fdef640c372bdc7d8bd53ebacb28cc6b847a98 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 d7272d5f60af5c0e52710db77fdb92e60b9da8d0..ebb42ebbbb4074f7afde996a18b4cf756a82ef96 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 07c38c5c4222a73de14e6b4484704d93d4ff07a6..8e29f915275089174426cd7b52ee21bba50b12c0 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 eb2825d15805e1a9309814e04ffa4644c12af716..77efd556928cd4a5237e14f3857a71e67e2df965 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 842d2a1ac1ecc3e559043017b44e0704b72afafa..b777c29178d5c704f643a4a33511fe348a42ed45 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 623de5be3b4cefc5f9cb3b4324ebed9c37416c15..608a521f4724ab119ee6c9b0ad3172eb83cac9d6 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 98dd88c3bc98e383a4ce57eda6f1de26f1c2b3a0..b6d884760d294ec848daee894585c91e598a4478 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 34cbb7241dcc4c16a569f2d59abb29e61e006099..1fc5ef66b88a76e9803e21da2169fc9ed9c59554 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 836255251a636e4aceb9a81cadad6786d9cf4b50..6869bca90d0afd9fac13f1e4b8b0e1a50c24eda0 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 6886a31e44edc02dc73a844bcd0afc992922fade..f35e93661e4fbe6a6e431e4df758d53b56fbf3b2 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 7a3ed8dbfb1a886925936c04ed5a4f89cd93d2c5..5fc311aa90adfe30959c153cec856b08b042eded 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 a513c668b44089446a1075253afe0d14156c1ecf..8f2aa2d1ad7bd29056ef7d89d0bff84fb7a2d0cb 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 46699608e7af0592d1452e0329ffe1a45ce18ff3..d6220f66fa9ab83d210e0c02bffbf6dcf6c181be 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 ed7e89cf5fcc3d6507105bc6f236ef7e29463534..623143d54967bd9ce9d5fc81a49c75ae5b178e0d 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 854572e56a282d9b098f0888b9a258475f7984d6..5c652fa472e7c90d8f09e46e9fad5f56c3170fd7 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 86fd598d3f9bbd2704693c5a8113501ef5c63e8b..ccf5e9b2a86fca139eeb39137217bb0bca9af9c2 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 b914862cd9228763da07618769b05ee5143981f2..135b0057618f5e87997b24bd9afbf393b063bf7c 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 55290d0110c0244949dbf34f6e6dc22a22957c26..71265e5f8c20155c330ec11f48f9b62fd757dfd2 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 a42901414807600dda227cecbf1f67ce4249c669..45e098baa891d2b40698d532b09fdf21acb9458e 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 642b651be2209035b69f26a2fd4c30c5b9d0bdd0..4a5f1959dc0eeda328152ee97ed5521553573ca5 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 01afd0a1e9a34ae5243f2dae98f8b37e60df6b08..c49916e10d90da0fd05b8d8cba7af5664aa17c4b 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 1fc111b11d23b08e306744c4affe953a5170237a..7ac13807675159b0ce44de14862c1784d9316968 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 19d27b331389c42f588112772453209a97ffcfc7..6215f70abc108917a453e84037b2749156818a79 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 ff601b55e0081e30652924ad35e2f589c2e249b7..eefc0df40cc49f77ef90c5f544fa2401f73a63c5 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 c96b0ee7b172755ddae801d07368a389d158298b..cd223ddd1ff3a92e7c586cf7687c678ed7d3ac93 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 7c676eb2f1c52e14160770a81e06834b985813dd..38aa32c50607f08b365210e4cd7edf9448272c1b 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 18b9e491e4a1c30000117ec17aa9994fb5ce13f0..3ebf0a81159c5bcaa72ea8e2e1ff8928ccd06288 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 2bd5ff6153f52c54d0dc71f28639ceb774fe381c..029a0723ad2cb8dd379a05502e37bd38bab52438 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 fa0e8e6a921336ca499ae80141c86cfcb25d2095..96ef3eddecb15ce33a7ca6393470788f7d123d5d 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 2dba8f2ce12b3576e1a60f0f7accac3b7363663d..f83c560acb3fe8cfd35c367c9cf8257e137d3194 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 6b0447fa7c1981b3c6eab13f13675e7a36dac66d..7674c2b3a2cdfed007bdb80b5beb94e272b9cf9f 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 a20736aadced45cb91918cd2a623a53d534c1050..64123f261df59f1156fc3a968ecdad9a5461ea65 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 ffb04fff6d04de26ff396d64a41e6ee6d6e1f525..0b1d0bffa9b71d7a4750ecbe5294b6d75a10ad44 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 9786aab6ebc0f28948771d16f2b3884cb1511a1b..d5767eb27ba91ee8da1c6011dd50dc0c89ec7b95 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 58d84ff893dd5df1b69048a3ab2964d3b34f5dc1..503eef11ca68a9b6c92f1b2e6df139d137d62c3d 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 2b900a4382d3f1b714fb639e1bade606b7e67cf4..ca875b06b202e9d996d8e8591b24ac8ca2cd1452 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 77c10fa21b77fc48a9b8c65a561b31cf6e35c385..ebb9b634b4b613dc5ca2163c8ddd17d112617e1f 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 ed11341cdfc865a88601d25f229b49a0a155cd5f..a6276b816d76bd5ba205b59f6d2bfeb72e5bc031 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 c47d9c958c8bbc2c4a436ec6cfb5ed41f4035d74..d1d5612ef0edd9c38215c849cbf8b6e01c29d097 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 a6f74e175af4ca8508cc167d6611456e0231f8dc..afde67b6028df004985c9c98bd1922275f4e8376 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 873adb5dc8dcb3636313c4aa9c63210e4c533748..f81bc6ca8cd83832be0ac835a12403134ef418e4 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 4e37511bc341b343c9c435b3b646a8f086738825..cefb5d782f99e9524cfd4845efa0f66386d17b2b 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 1eb7b17b6742216ea8d6136a9829c9c593683fcf..6b7e9c40990aa4323e9f3400f7d13787946c88eb 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 e563ee9331f591637133d25382683f4b37f59c34..f74d6e2e2207b855b0b90e20dc50c3c0f5a3085e 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 828a6a2f28a09d0262e50ccf153cdaa730d44861..a4e69597765c5ff69e63a6fce00b98dab774c110 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 c6f88f26164ab685ffb300c35244dba3537ab399..563dca05db795b5e5263ab728fb4a4a48d5feaed 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 9de1b7bfd82c7112b852c2ca7a522ce320a76863..e9d5f064ab3d9d58ca20a1e7b86a5735ad1f73e6 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 23a0c801821b1e71fb3dc59e01c591e96ff66a7b..0bd99faf76a8d5d1f7574972d2d810b97d9cbd45 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 02bbf616ac1fbf1bc9c17c340ccdeec04b5ca0ef..34dd724517134b2d19837340ee3923b947a8e7c4 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 3a574a1ed2df134962c82a84c2655ad1510f8347..63691280403b214723106db5bfd5b5c5d9a7eef7 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 d2bd3f4c81976ea8cd7147a60396c76c68773fad..e0f5f43f3319aff9e5ec2a880b3915f2287f581d 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 0847698a5592e43e9606ddfee0c6f0c96afbe2e5..36a9ef571d5ab502abcb15771490d3185424ce87 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 fd497025edb124404b7acc19f8d27be852109a0d..a14ad909dde38fcf2a8e41500b3075331e891698 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 32f51f965cbf5cae2a4eae873398e6a4c9fd0345..7e205ca756182c908d8d6cbe2e7adca6b71da049 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 f8218d06db9bfc4fda3c3f7789afe3be37beb603..8c59151c2bdd56c3aa699f0730c9babcb46bcd7e 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 81b08390b10cc3e7fed60965178bf91d197500e1..a340c15696bd91aa0afcdd95e01419ec174ed45f 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 a9ef7cb32cb01b950fe7c64568090fad20f0aa0d..8325b16295773b826a62e1a746c50b0cb747f07a 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 40940d1796b0a0f470ac6b2bcc212dbbff060173..fdf907eee429a338139ac6c258e94092948e1603 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 8ab4f5a66114c4aaa0f5b02897b05aa98df399a2..6fa9b4bec5a26a0e0cb65947124139aa376422d3 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 9ada8c2ad6920bbacd5ff87a389b58a22b704df3..d0db5e452f0478ab52a49d7e1abda20a19327241 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 9d6df802484d8f3c6abf843f6ce4d97bd774f0d2..1e2d56fe1d989341b584573f72449f260cac103c 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 7e3864e2b0ddb133000f1e42abe272f3513fe9d8..37429cde0543e8d6055c61757f861b5190ff2f68 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 0a7b1166aa2256417ff6bb2aea86b9bc34ef0b8b..17a7e8116c904d911c9125b0ed46b2ff2cfcb349 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 a86dc6376e5d9ba41c4bdff9b49d01b2800bef60..84a70388103a3a5fa5e18210549be0c60976e389 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 4407660efa94969ca3ad69bf53def67136e64a92..3dddaa613ef1e9dc3dc5a87dddfe20bc888db75d 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 4952bd878d15637acf69a9567a7c545657df4c71..d25175f40c7575f69d4ec48e9a9f8902b1356d6b 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 356d34cf539c3241557b2e35ab31e405fb6a7b53..a9649b644c3101a84c49472ab2af21d667063f75 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 340f3cfe2743ced4b1bdcb63956a56c5d2a011d4..bfcd894316ac9c046df41a069a7c0fab7d9df031 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 5635f5f56fcf8cbce47d3bbcd70a56062f1df3dd..47e0ab0960af1350bae39cfd6a1bfedd574f9567 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 11fd97f2c00d819b6c6fb3df51f5b4f2cca57eb1..6a27acb6304a38c84c7fa208aabcd7ea6204327d 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 d0e23eabcb59858ebf173ad4c8f116f0ce288463..ad94eb71a29fec23f8b3dda3d0e4e91cc5ce019f 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 735d5ae9096cade401419665d7b433aec2537241..270d879a7c687ad2544450357ee8f9628c9553ea 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 cc56fcc9d20b82509934580849195cc4590a2d36..7dda02d989fc5fb9083402bb9f03303baddd8b76 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 ce1009e220139943b5ec1542be0775ae533594a3..661ff363603fea8b9cec3d2cdcadd25028593e3d 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 75bea2c73643984c427355df3cc5df6211b18e7b..52067c73d981712e4bef6b14ba6de6576655e278 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 def52ce6a81c08945dca1b655ddc721fa615f55d..16f1e40410120659f7895c334d93a72b71ef924b 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 dbe8dc1cf1ae17f28f9c096a2a48fea578372d6e..27030dd94a82512965a182682e9a04f5c0f0726b 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 a6d967f580e5cce20abfee5f539ba82dfce3d75a..a8fa32efeede87393ebf30039a63de1450a73676 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 30c11d6dd34f71f7c129ce4ecd0c94406166c6ea..349a27a795c2f93c4252586e202aa194fac2bc91 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 92c83617f4ea16d04b72439092326d834e7c4a0c..440b2886f01dc966f7323f7e5b6bfb82e546215e 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 93be031baa9a638b93671caf6389535e710a5504..f9530721dac6862f6192a2711e51197ca503055b 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 db3c0c5869ec736c482565a574dd5fa7a3788fb3..99fdf530afd86729a735a1f6cb5827bfd6245436 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 e9de8979020965de6d25be66fbcba9ba1eee4c31..cb118c3caf4bfecae27bf9229384b8576fa7e36e 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 a5d587cf2a2b5824007b6534db031eec76df3593..7d5934f481b3825cadccbda1c77b98597846b56c 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 f69ca09b356739101b4e7c00c311d7b213371018..6326ab88f27abdca7fee43849968d65ab80cb760 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 64e38b433dcf3b41b79a416301b8fab62b8b3419..70dd394845ce1fda13502f829b7fc16c304592cf 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 1424c4fed4246d83a4ac4c8c005e2fa1e846ee25..981e1bd5a7daa40cf20ad33a491f6c45f7159d89 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 174e7deba089bb2518687be51fdf092b384af1e7..88cf2c26b62b53275fd32750d9ef3a52f0cae546 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 db67abc9935ef52575f84f5027b08868d0b418df..85f1868371df53dccc41bf26a8f6fea501df2de5 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 68d5170b2f69b001e5d5c92ec4d5ee6626508628..a335e0266a179e6169c678125994e203343af8e3 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 cbddd0ff21679055d92f7a61325e3f0f9f84e9fc..e3d96da13bb792a8a878186baae04c17f29d8b56 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 429e3994a62e77bb21ea1de512b48ab871812747..d306a924e9b4634ac7f893dcb49ab891f7983196 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 eb468bd9d97fcde61628ecd31d389bb804d18b68..23d07b1b41fa8f9c6fe5ab4b82ee143888848fd4 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 584fe3e535189c0dcac82e314ea809fed13910c0..43e29e086ab0a4a6e327220945e2a0ac56481c47 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 74f712be519310f07ea8bff537d044e25e60479b..10338667b78bea478dd828e5a84d785474dff1a3 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 d75077bb29717eebd48a877c567d418d7e78e98c..aaf4eb83735caa5e93b735e73762d4e5b6af804e 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 1edc612454394cbaef73cdca289edd6f546a1175..743fabf667a1e417cf5bc57f575e99fd1fca0e8d 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 a3862bebfa3a35ecd1a11b21b8f15b783f0c4cbe..12a3be3022bbc1721bd77bd99aec32f0d3c14fd1 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 581eadae96bd3cf594ae3fde79a43bc380023b10..b5d57740eec01f31c175291a67a599ba00051bad 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 a5daeeffc70a9cd23c92ad09d3344f1f3cb86052..7baf383581998048d92a953d291840d154b1166a 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 2e0baaa449942b4a0337450cf2db5a7875c38b82..1e4df741422aec7a51b0333d9b44ad96c20b1f41 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 8ee01ad46c67543d9cacaa3ea0ca26eefa03c15e..910b5c7be978b0f18a42a467f99ed1dc525671f3 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 64cfd02ec18c09a1e3a3043b1ef178bbf04fc089..e8580cf685b415e9971200355fac9bdd18951f9a 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 94d151f93d0222d1702a1c7c469f54c3148f14b7..6528748df3935f6009d99cacda183614b965c537 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 6bdba94868ab02b54cda7d3df272d8ebf0f2dd44..3f7f76da5be2e1e74d5fb1a4dbb2060d4478d2a9 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 dfb304a949cf30dd4410f8ef99e561dddb8d286c..244c3f7d0193e5f92bbde80e7cba73051462be83 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 0ae91ab985ac14eb84d80954a70ff82382fc8f70..644a269feeaefed95607acde3bc2112c7aa17abc 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 d7775688487f1967ec104f0887e20ce8b0f3f990..086abc98891610d5d46e0b7641b8e7c7c2ce1f5c 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 1f968449508a651db766876108b3cec0ac82a3a0..063ce3275913221c3aeed83240f6ba3f09416f4a 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 256f850b7a10fb4975fece914460599b60f82fad..41bb4ff37a0af187907a1561bb5cd220f317a262 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 89a62961f7e014d42d5b42246da3ad69172b07a1..cf55b5733a7bddc16d0b829796aeba4db1c0a00d 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 a9b16c6521e4ebf86d5d99000073a225b227df50..0f982bae62a768e870d6d864cd6446cb63140f7d 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 589e66db51ac8079388f14084780f1a83104bda1..25445cc68c5e8cc8a63359cc2e207648a5bfddcb 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 8134b82ebacbb93129cdaf3006bc38fda02e49ae..f1aecab23a9d40fad3b37ffc3451f1fba0c6a73a 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 b3de43573023a1184f4517fa5e10dbac14671098..815ae3833d721926e1f420724b2477101f935132 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 a2dc89e62d0b01506d4cdd0a68b446f22c83ab32..4035d00b8a45a609fbc9c4906fbb8e282f7b06a8 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 bdac8225261afd1c5452a732d28db8b6ef754d6d..d0d7922252e65a761f017963f0aaff4d00dd9817 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 21f129ffd149d1b157a97648e1a96f3c2b991ea7..f6b849b955836c180d35812043d36566d008d48f 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 7fd4ca8b272bd8f12953b45a18bb3dc277d509b1..8ea4dabe16dd7db75af247f05be0eb736020c51f 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 1feb210e1bcb7f6f2a59fa59dd765764485d8a98..91bd0c83b31b31e77f31c467ebe8ee33d76fe21c 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 03c8395911f459b909ba56361328190755517aa1..e39815d3e9cd9fb06799e4fb9248b9acda8bc909 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 17967b15ee4f3def0e625c7422ee497bc52f9810..b3504e96346f0a8bed0ddc4f6c81726163468679 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 5e479f5f27456090b291494098c880e4d149685d..b80eb8fb87379e2e0870b74c70d6a82475e0b865 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 5b67b9ea9edb27bf6173a25c5ffd93012d7b5d52..1498275b0b98bfbdeed247115c2bdb44492eca00 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 a6bc30213081675e1ef60ac29b283679e89ef141..25b57a9a5c686c90199bb8e0c5b77e83430bb1a8 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 9190cff3bda5974af2b6b5164f80e60e7d50b955..b62ed05f1592a6d46436f60c37b481d34f8a5048 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 ec82d63ea908b9108d2ddd4f6960bc054391e3c7..87421f94677f33d40648d84c616cbc4a3fd0f8c6 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 eef24ca9dd45aa4f5a4c1a6934032012d7670d46..0b5c998bd755f859ffe8deab4952adf7007fc3d3 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 69a174c9a42c12689cee93a1b5e65c47ce85e5cf..c5521c14353de95db78dab1aa4ee6d2f02d36e02 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 0a86ee9f329fffbc78a5774495f6aa26df344097..ccede2afd48c4c0614ed9027815e88f97f67ce5d 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 907163b7115b324322b82529e646be8bbeef2d8e..83a3438b7421a5be9b9aef46f67fab527d84ac48 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 66755f3d413fd92aca4b0d87aa79ace709bc543a..51fd03eb536889480226114ab9600ed0b522ee16 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 6cb913792a6eb6a7a0f70ecbc902f5785019dbba..03e61457409132e577da57916750d1ea9f60546a 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 75423b431ae5691cf1fd8c8464187b4385deaa9f..d6485b3ac28c68641bc48d6816f317a839b47a07 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 3a2a9f35882d63a8fd817fc70759cb1b3228b057..c7560e72b7200e92f11b2cb611a2e6589e9a23d4 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 31ee43a3c27d8c9cabb2724353d22bdec4620d85..02e7dddb8c5dd8b72534f0d37475de9b4460cb49 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 1c4e1470beef56d72e66ae634c11ec8cf0c76129..7bb4fab3d3fd9ff662ffbbce2459a65016cac288 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 61bfd764f2f44a7c9cd92917dd02bbba84e89f97..cfac9f30dbd4c76ecf2f4b07f9f731ab5288168d 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 0982c81284a84b84706beae8c4a2d2ee9dd3aacc..dcd40eb66f693e9391f7b1ab5cdd0f34147260b1 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 c493d9941124337dc217a8566b88fb74ef0e1d4d..6ab07b8f3b801f57fb4a9f4f20132011244a5887 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 2f23ec037a43c18ba157fb3f3a002dc04ea45dcb..06570c16b674011e6800e6dd11237d64d811f524 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 fc5f712fba8fad30db8841e3f197d0a5fdb654f0..fa552076fb92af14d8629e3b9b988dc39198d945 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 38624e9cd350ffd93146fc5bd2ff8f9776a030d1..3f8a082a84a2dbb46a84df54cac55784330479a5 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 88a830a6ed6029e2d3cba2535fb0b5437c9cf226..e89dee1e2c7ae8e2ef43a9bfe3a26945d48c2366 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 d2c44927e32d1fdd3f8af14c19e041324f6c36c1..97151fd7fa49f436d11e21aa1fe769e67654133d 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 28c8ec3f3b026b7fbad38eb3a59b85ee5884e1a3..7cc811b6b056b6eeae84382773839dd47d74acc1 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 eade4f629042462e6b760c9f77a20351a4d86eb9..0752800d04084e4f527a6198990a627b867bab26 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 a89dc60cfa3470757afb376d0f730c404cb31fba..f9cd6c78a43e30ec40d515a85644ca38e7b188f2 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 2556fe86e1b486459a13818a86d8e3e27f157d7e..54bb9d6cfb158e52d4ad0a90a4590b6f4902431e 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 4972c57a719229b276c696235afa83682de42743..1aa456553599c876577da38b3db900588087f0c1 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 6c26711a2f1779ba514a0cf2d4cdaf18277c9448..1e94614f371daa9415f99e37dafbe579185df215 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 2e4583a1573df3f6c7eff654da5c259619895581..7d4a2ff6a3ffa20b8048fa09984da4384db43a0c 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 f9553e334c7043888e08b0db987fec82b2541ff5..430516aaac5b521a6a9deda8d6bc8868b9247095 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 0b84df69562e2c0c9250e1db4023851fc34a63d1..c457c03baba0f5db46b5b514347f6d0008526276 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 a2821c6014955290ad9717be0fc710ff3c452cbd..fe0b494b9a571388bc9da3085071f9f4bccec4e8 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 1e69be4d195ff945ac5421fbce7b016681b857a5..76919e265fd32789581ef31a5b2b680324b236e6 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 e091de669fab484f61fa7c26e33329de523f2450..55bc57430937f7439d4936f0f374a6303c6b2628 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;