Home
last modified time | relevance | path

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 Dassert-side-effect.m18 #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 Dmacro_fn.c51 #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 Dformat-strings-system.h10 #define NSAssert(fmt, arg) NSLog(fmt, arg, 0, 0) macro
H A Dwarn-called-once.m989 #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 Dformat-strings-objc.m162 NSAssert(@"Hello %@", @"World"); // no-warning
/llvm-project-15.0.7/clang/test/Analysis/
H A DCFRetainRelease_NSAssertionHandler.m32 // NSParameterAssert and NSAssert.
55 // Expansion of: NSAssert( x != 0, @"" );