MantisBT - KWStyle
View Issue Details
0009078KWStylepublic2009-05-28 13:562009-05-28 13:56
Tom Vercauteren 
 
normalfeaturealways
newopen 
0009078: More flexible IfNDefDefine rules - feature request
It would be great if one could specify more complex IfNDefDefine rules. Currently, it is only possible to use a mixture of the filename without extension, the extension and some given fixed characters.

I would like to be able to specify for example:
- if the file name and file extension should be transformed to uppercase before being matched
- if the file name and file extension matching should be done in a case insensitive manner
- use the "full" path in the include guard
- use some regular expression
For example,
FooEngine/projBarWheel.hxx
could be mapped to
FOO_ENGINE_PROJ_BARWHEEL_HXX_
No tags attached.
Issue History
2009-05-28 13:56Tom VercauterenNew Issue

There are no notes attached to this issue.