Bug 68933

Summary: [Content Assist] removes asterisks from parameter prompt
Product: [Tools] CDT Reporter: Brent Nicolle <bnicolle>
Component: cdt-coreAssignee: Hoda Amer <hamer>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 2.0   
Target Milestone: 2.0.1   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Brent Nicolle CLA 2004-06-29 17:16:52 EDT
CDT 2.0.0.200406280300
On Linux Redhat EL3 and Suse LES 9.

1. Add the following code in a project (with paths already discovered):
#include <stdio.h>

char buf[30];
void foo()
{
   //sprintf(buf, "Hello");
   sprintf([^SPC]

Content assist prompts for the parameters:
  sprintf( char, const char)

Expected:
  sprintf( char*, const char*)
or
  sprintf( char* __restrict, const char* __restrict)
Comment 1 Hoda Amer CLA 2004-07-06 13:37:22 EDT
Fixed in HEAD.