vector.com|Contact
Search tips

apple banana
Find rows that contain at least one of the two words.

+apple +juice
Find rows that contain both words.

+apple macintosh
Find rows that contain the word 'apple', but rank rows higher if they also contain 'macintosh'.

+apple -macintosh
Find rows that contain the word 'apple' but not 'macintosh'.

+apple ~macintosh
Find rows that contain the word 'apple', but if the row also contains the word 'macintosh', rate it lower than if row does not. This is "softer" than a search for '+apple -macintosh', for which the presence of 'macintosh' causes the row not to be returned at all.

+apple +(>turnover >strudel)
Find rows that contain the words 'apple' and 'turnover', or 'apple' and 'strudel' (in any order), but rank 'apple turnover' higher than 'apple strudel'.

apple*
Find rows that contain words such as 'apple', 'apples', 'applesauce', or 'applet'.

"some words"
Find rows that contain the exact phrase 'some words' (for example, rows that contain 'some words of wisdom' but not "some noise words").

By continuing to use this site you agree to the use of cookies. For more information and to find out how to change this click here. Accept Cookies
Please enable cookies in your browser for this website.
Search:
Advanced search

VectorCAST Suppress Instrumentation for Specific Functions or Files

Last updated: 2019-07-04

VectorCAST version 2018 SP3 includes the ability to specify that coverage instrumentation for specific functions or whole files be suppressed in C/C++ source files. This functionality is available on the Options dialog | Coverage tab | Cover Environment sub-tab.

Click the [+] button to add a file or function to be suppressed during instrumentation, using the following syntax:

file.ext:function (for C sources)

file.ext:class::function (for C++ sources)

The wildcard character can be used to match any text.

For example:

  • manager.c:* suppresses instrumentation of all functions in manager.c
  • manager.c:Place* suppresses instrumentation of any functions in manager.c starting with "Place"
  • manager.cpp:Manager::Place* suppresses instrumentation of any functions in manager.cpp, in the class Manager, starting with "Place"
  • templates.cpp:List<*>::push_back suppresses instrumentation for all types of the push_back function in the List template class. Suppressing only one type but not another is not supported.

Instrumentation for two source files in the Cover environment having the same name but residing in different locations is suppressed in both files.

Changes to this option require reinstrumentation to take effect.

clicast -lc option VCAST_SUPPRESS_COVERABLE_FUNCTIONS
<file.ext>:<function>,[<file.ext>:<function>]

 
Article Options
2019-07-04
Views: 21
Error(s) occurred processing form.
Please complete all required fields. Fields marked with * are required.