Bug 453

Summary: reserved identifier violation
Product: AspectC++ Reporter: Markus Elfring <Markus.Elfring>
Component: Parser-PumaAssignee: Matthias <urban.matthias>
Status: NEW ---    
Severity: normal    
Priority: P2    
Version: unspecified   
Hardware: All   
OS: All   

Description Markus Elfring 2011-10-29 20:49:39 CEST
I suggest to try the search pattern "\<_(?:(?:_(.*))|([A-Z]+))" on source files.
Some places will be found where names begin with two underscores or an
underscore and an uppercase letter.

Examples:
- __AdviceInfo_h__
- __Condition_h__
- __unknown_t
- _Anonymous

This does not fit to the expected naming conventions of the C/C++ language standard.
https://www.securecoding.cert.org/confluence/display/seccode/DCL37-C.+Do+not+use+identifiers+that+are+reserved+for+the+implementation