Generic identifier queries


The generic identifier query feature of CScout is one of its most powerfull features, allowing you to accurately specify the properties of identifiers you are looking for, by means of the following form.

Identifier Query

Writable
Read-only
Tag for struct/union/enum
Member of struct/union
Label
Ordinary identifier
Macro
Undefined macro
Macro argument
File scope
Project scope
Typedef
Enumeration constant
Crosses file boundary
Unused

Match any marked         Match all marked         Exclude marked         Exact match


Identifier names should ( not) match RE
Select identifiers from filenames matching RE

Query title   

Main page


CScout 1.16 - 2003/08/17 12:13:01
In the form you specify: You can either select to see the identifiers that match the specific query, or the files containing identifiers that match the query. In the second case, each file in the file list will provide you with a link (marked source) showing the file's source code with all matched identifiers marked using hyperlinks.

As an example, the following query could be used to identify unused file-scoped writable identifiers, but excluding the copyright and rcsid identifiers:

Identifier Query

Writable
Read-only
Tag for struct/union/enum
Member of struct/union
Label
Ordinary identifier
Macro
Undefined macro
Macro argument
File scope
Project scope
Typedef
Enumeration constant
Crosses file boundary
Unused

Match any marked         Match all marked         Exclude marked         Exact match


Identifier names should ( not) match RE
Select identifiers from filenames matching RE

Query title   

Main page


CScout 1.16 - 2003/08/17 12:13:01

Contents Previous Next (Options)


Last change: Sunday, August 17, 2003 3:54 pm
(C) Copyright 2000-2003 Diomidis Spinellis. May be freely viewed using web browsers and similar programs. All other rights reserved.