llvm-project/clang-tools-extra/clang-tidy/objc
Vy Nguyen aba8f320cc [clang-tidy][objc] Finds and fixes improper usages of XCTAssertEquals and XCTAssertNotEquals.
Using XCTAssertEqual on NSString* objects is almost always  wrong.

Unfortunately, we have seen a lot of tests doing this and reyling on pointer equality for strings with the same values (which happens to work sometimes - depending on the linker, but this assumption is not guaranteed by the language)

These fixes would make tests less brittle.

Differential Revision: https://reviews.llvm.org/D114975
2021-12-02 18:32:16 -05:00
..
AssertEquals.cpp [clang-tidy][objc] Finds and fixes improper usages of XCTAssertEquals and XCTAssertNotEquals. 2021-12-02 18:32:16 -05:00
AssertEquals.h [clang-tidy][objc] Finds and fixes improper usages of XCTAssertEquals and XCTAssertNotEquals. 2021-12-02 18:32:16 -05:00
AvoidNSErrorInitCheck.cpp
AvoidNSErrorInitCheck.h
CMakeLists.txt [clang-tidy][objc] Finds and fixes improper usages of XCTAssertEquals and XCTAssertNotEquals. 2021-12-02 18:32:16 -05:00
DeallocInCategoryCheck.cpp
DeallocInCategoryCheck.h
ForbiddenSubclassingCheck.cpp [clang-tidy] Applied clang-tidy fixes. NFC 2021-01-29 01:01:19 +01:00
ForbiddenSubclassingCheck.h
MissingHashCheck.cpp
MissingHashCheck.h
NSInvocationArgumentLifetimeCheck.cpp
NSInvocationArgumentLifetimeCheck.h
ObjCTidyModule.cpp [clang-tidy][objc] Finds and fixes improper usages of XCTAssertEquals and XCTAssertNotEquals. 2021-12-02 18:32:16 -05:00
PropertyDeclarationCheck.cpp [clang-tidy] Applied clang-tidy fixes. NFC 2021-01-29 01:01:19 +01:00
PropertyDeclarationCheck.h
SuperSelfCheck.cpp [llvm][clang][NFC] updates inline licence info 2021-08-11 02:48:53 +00:00
SuperSelfCheck.h [llvm][clang][NFC] updates inline licence info 2021-08-11 02:48:53 +00:00