Searched refs:ErrorReported (Results 1 – 2 of 2) sorted by relevance
22 bool ErrorReported = false; in TEST() local23 auto ErrHandler = [&](const Twine &Msg) { ErrorReported = true; }; in TEST()34 ASSERT_FALSE(ErrorReported); in TEST()
5978 bool ErrorReported = false; in checkCUDADeviceBuiltinSurfaceClassTemplate() local5979 auto reportIllegalClassTemplate = [&ErrorReported](Sema &S, in checkCUDADeviceBuiltinSurfaceClassTemplate()5981 if (ErrorReported) in checkCUDADeviceBuiltinSurfaceClassTemplate()5986 ErrorReported = true; in checkCUDADeviceBuiltinSurfaceClassTemplate()6032 bool ErrorReported = false; in checkCUDADeviceBuiltinTextureClassTemplate() local6033 auto reportIllegalClassTemplate = [&ErrorReported](Sema &S, in checkCUDADeviceBuiltinTextureClassTemplate()6035 if (ErrorReported) in checkCUDADeviceBuiltinTextureClassTemplate()6040 ErrorReported = true; in checkCUDADeviceBuiltinTextureClassTemplate()