mirror of
				https://github.com/Zygo/bees.git
				synced 2025-11-04 04:00:36 +01:00 
			
		
		
		
	bees: make it build with clang
Remove unused "addr check" functions. We have ranged_cast for detecting overflow bits. Signed-off-by: Zygo Blaxell <bees@furryterror.org>
This commit is contained in:
		
							
								
								
									
										14
									
								
								src/bees.cc
									
									
									
									
									
								
							
							
						
						
									
										14
									
								
								src/bees.cc
									
									
									
									
									
								
							@@ -221,20 +221,6 @@ BeesNote::get_status()
 | 
			
		||||
 | 
			
		||||
// static inline helpers ----------------------------------------
 | 
			
		||||
 | 
			
		||||
static inline
 | 
			
		||||
bool
 | 
			
		||||
bees_addr_check(uint64_t v)
 | 
			
		||||
{
 | 
			
		||||
	return !(v & (1ULL << 63));
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
static inline
 | 
			
		||||
bool
 | 
			
		||||
bees_addr_check(int64_t v)
 | 
			
		||||
{
 | 
			
		||||
	return !(v & (1ULL << 63));
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
string
 | 
			
		||||
pretty(double d)
 | 
			
		||||
{
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user