mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 03:32:29 +00:00 
			
		
		
		
	add IdString::isPublic()
This commit is contained in:
		
							parent
							
								
									c66d1dfad1
								
							
						
					
					
						commit
						4af04be0b7
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		|  | @ -375,6 +375,8 @@ namespace RTLIL | |||
| 		bool in(const char *rhs) const { return *this == rhs; } | ||||
| 		bool in(const std::string &rhs) const { return *this == rhs; } | ||||
| 		bool in(const pool<IdString> &rhs) const { return rhs.count(*this) != 0; } | ||||
| 
 | ||||
| 		bool isPublic() { return begins_with("\\"); } | ||||
| 	}; | ||||
| 
 | ||||
| 	namespace ID { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue