mirror of
				https://github.com/MaskRay/ccls.git
				synced 2025-10-31 20:53:01 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			31 lines
		
	
	
		
			631 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			31 lines
		
	
	
		
			631 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| void foo(int a, int b);
 | |
| 
 | |
| /*
 | |
| OUTPUT:
 | |
| {
 | |
|   "includes": [],
 | |
|   "skipped_by_preprocessor": [],
 | |
|   "types": [],
 | |
|   "funcs": [{
 | |
|       "id": 0,
 | |
|       "is_operator": false,
 | |
|       "usr": "c:@F@foo#I#I#",
 | |
|       "short_name": "foo",
 | |
|       "detailed_name": "void foo(int, int)",
 | |
|       "hover": "void foo(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"]
 | |
|         }],
 | |
|       "base": [],
 | |
|       "derived": [],
 | |
|       "locals": [],
 | |
|       "callers": [],
 | |
|       "callees": []
 | |
|     }],
 | |
|   "vars": []
 | |
| }
 | |
| */
 |