mirror of
				https://github.com/MaskRay/ccls.git
				synced 2025-10-31 12:42:34 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			22 lines
		
	
	
		
			469 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			469 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| void foo(int a, int b);
 | |
| 
 | |
| /*
 | |
| OUTPUT:
 | |
| {
 | |
|   "funcs": [{
 | |
|       "id": 0,
 | |
|       "usr": "c:@F@foo#I#I#",
 | |
|       "short_name": "foo",
 | |
|       "detailed_name": "void foo(int, int)",
 | |
|       "is_constructor": false,
 | |
|       "parameter_type_descriptions": ["int", "int"],
 | |
|       "declarations": [{
 | |
|           "spelling": "1:6-1:9",
 | |
|           "extent": "1:1-1:23",
 | |
|           "content": "void foo(int a, int b)",
 | |
|           "param_spellings": ["1:14-1:15", "1:21-1:22"]
 | |
|         }]
 | |
|     }]
 | |
| }
 | |
| */
 |