This resource has not currently been approved, and is not currently linked to from our directory of resources. It is being displayed here for preview by the author and moderators only.
1. Skip of development environment keywords not influencing the program processing
While developing a code analyzer for a specific development environment, you are likely to come across with its specific language constructions. These constructions are often guidance for a concrete compiler and may not be of interest for you. But such constructions cannot be processed by OpenC++ library as they are not a part of C++ language. In this case one of the simplest ways to ignore them is to add them into rw_table table with ignore key. For example:
static rw_table table[] = {
...
{ "__ptr32", Ignore},
{ "__ptr64", Ignore},
{ "__unaligned", Ignore},
...
};
|
While adding you should keep in mind that words in rw_table table should be arranged in alphabetic order. Be careful.