Searched refs:NSAssert (Results 1 – 6 of 6) sorted by relevance
| /llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/bugprone/ |
| H A D | assert-side-effect.m | 18 #define NSAssert(condition, description, ...) \ macro 33 #define NSAssert(condition, description, ...) do {} while (0) macro 44 NSAssert((++x) == 1, @"Ugh."); 45 …// CHECK-MESSAGES: :[[@LINE-1]]:3: warning: side effect in NSAssert() condition discarded in relea…
|
| /llvm-project-15.0.7/clang/test/Preprocessor/ |
| H A D | macro_fn.c | 51 #define NSAssert(condition, desc, ...) /* expected-warning {{variadic macros are a C99 feature}} */… macro 53 NSAssert(somecond, somedesc)
|
| /llvm-project-15.0.7/clang/test/SemaObjC/ |
| H A D | format-strings-system.h | 10 #define NSAssert(fmt, arg) NSLog(fmt, arg, 0, 0) macro
|
| H A D | warn-called-once.m | 989 #define NSAssert(condition, desc, ...) NSLog(desc, ##__VA_ARGS__); 992 NSAssert(0, @"Subclass must implement"); 1006 NSAssert(0, @"Subclass must implement"); 1012 NSAssert(0, @"%@ doesn't support", [self class]); 1017 #undef NSAssert 1018 #define NSAssert(condition, desc, ...) \ 1024 NSAssert(0, @"%@ doesn't support", [self class]); 1029 #undef NSAssert 1030 #define NSAssert(condition, desc, ...) \ 1036 NSAssert(0, @"%@ doesn't support", [self class]);
|
| H A D | format-strings-objc.m | 162 NSAssert(@"Hello %@", @"World"); // no-warning
|
| /llvm-project-15.0.7/clang/test/Analysis/ |
| H A D | CFRetainRelease_NSAssertionHandler.m | 32 // NSParameterAssert and NSAssert. 55 // Expansion of: NSAssert( x != 0, @"" );
|