Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Schorn2009-11-18 08:32:07 +0000
committerMarkus Schorn2009-11-18 08:32:07 +0000
commit1cf5491c651d7a0c03c442a2c0cd47156d2809be (patch)
tree7048ef321b56ad6d40d6a332fa8edfb385174702 /doc/org.eclipse.cdt.doc.user/concepts/cdt_c_search.htm
parentd8117374fcddf82cbaf6bc3eb2e5ec6b8a2de61a (diff)
downloadorg.eclipse.cdt-1cf5491c651d7a0c03c442a2c0cd47156d2809be.tar.gz
org.eclipse.cdt-1cf5491c651d7a0c03c442a2c0cd47156d2809be.tar.xz
org.eclipse.cdt-1cf5491c651d7a0c03c442a2c0cd47156d2809be.zip
C/C++ search for operators, bug 295150.
Diffstat (limited to 'doc/org.eclipse.cdt.doc.user/concepts/cdt_c_search.htm')
-rw-r--r--doc/org.eclipse.cdt.doc.user/concepts/cdt_c_search.htm6
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/org.eclipse.cdt.doc.user/concepts/cdt_c_search.htm b/doc/org.eclipse.cdt.doc.user/concepts/cdt_c_search.htm
index 1d279efece2..ccbfafd1ca7 100644
--- a/doc/org.eclipse.cdt.doc.user/concepts/cdt_c_search.htm
+++ b/doc/org.eclipse.cdt.doc.user/concepts/cdt_c_search.htm
@@ -125,7 +125,7 @@ is to be searched:</p>
<tr>
<td width="49%">&nbsp;<samp>*</samp></td>
<td width="51%">Any string<p><b>Tip:<br>
- </b> Use the character <samp>*</samp> to search for
+ </b> Use the character sequence <samp>\*</samp> to search for
operators that begin with *. See syntax examples in the table below.</td>
</tr>
<tr>
@@ -137,11 +137,13 @@ is to be searched:</p>
<td width="51%">Nested elements</td>
</tr>
</table>
+<!-- no support for function parameters
<p><b>Tip: </b>Do not use wild cards between the brackets of a function or
method pattern. For example, the search
string <samp>f( * )</samp> is an invalid search that results in a search for any function <samp>f</samp>
because
the asterisk is interpreted as a pointer rather than a wild card.</p>
+-->
<h2>Syntax examples</h2>
<p>The table below provides syntax examples and an explanation for each example
to help you conduct an effective search.</p>
@@ -163,6 +165,7 @@ to help you conduct an effective search.</p>
<td width="64%" height="32">&nbsp; <samp>::A</samp> </td>
<td width="36%" height="32">Searches for A not nested in anything</td>
</tr>
+<!-- no support for function parameters
<tr>
<td width="64%" height="17">&nbsp; <samp>*()</samp></td>
<td width="36%" height="17">Any function taking no parameters</td>
@@ -183,6 +186,7 @@ to help you conduct an effective search.</p>
<td width="36%" height="64">Will search for a function f, taking 2 parameters; one is a
const char array, the other is a reference to type A</td>
</tr>
+-->
<tr>
<td width="64%" height="32">&nbsp;<samp>operator \*</samp></td>
<td width="36%" height="32">Finds only operator *</td>

Back to the top