mirror of
				https://github.com/nomic-ai/gpt4all.git
				synced 2025-11-03 23:47:16 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			18 lines
		
	
	
		
			400 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			400 B
		
	
	
	
		
			C
		
	
	
	
	
	
#pragma once
 | 
						|
 | 
						|
#include <cassert>
 | 
						|
 | 
						|
#ifdef NDEBUG
 | 
						|
#   ifdef __has_builtin
 | 
						|
#       if __has_builtin(__builtin_unreachable)
 | 
						|
#           define UNREACHABLE() __builtin_unreachable()
 | 
						|
#       else
 | 
						|
#           define UNREACHABLE() do {} while (0)
 | 
						|
#       endif
 | 
						|
#   else
 | 
						|
#       define UNREACHABLE() do {} while (0)
 | 
						|
#   endif
 | 
						|
#else
 | 
						|
#   define UNREACHABLE() assert(!"Unreachable statement was reached")
 | 
						|
#endif
 |