Bug 68933 - [Content Assist] removes asterisks from parameter prompt
Summary: [Content Assist] removes asterisks from parameter prompt
Status: RESOLVED FIXED
Alias: None
Product: CDT
Classification: Tools
Component: cdt-core (show other bugs)
Version: 2.0   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 2.0.1   Edit
Assignee: Hoda Amer CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-29 17:16 EDT by Brent Nicolle CLA
Modified: 2004-07-06 13:37 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.