MantisBT - KWStyle | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0009934 | KWStyle | public | 2009-11-20 13:29 | 2009-11-20 16:22 | |
| Reporter | Jean-Christophe Fillion-Robin | ||||
| Assigned To | Julien Jomier | ||||
| Priority | normal | Severity | major | Reproducibility | always |
| Status | resolved | Resolution | fixed | ||
| Platform | OS | OS Version | |||
| Summary | 0009934: Function name starting with 'switch' cause indent error | ||||
| Description | Header file MyAwesomeBug.h and corresponding xml config file MyAwesomeBug.kws.xml illsutrates the problem. Use the following command: KWStyle -v -xml MyAwesomeBug.kws.xml MyAwesomeBug.h Give the following error whereas it shouldn't. KWStyle -v -xml MyAwesomeBug.kws.xml MyAwesomeBug.h Processing MyAwesomeBug.h Error 0000012 (40) Special Indent is wrong 4 (should be 2) Error 0000012 (42) Indent is wrong 2 (should be 0) Error 0000012 (43) Indent is wrong 4 (should be 2) Error 0000012 (44) Indent is wrong 4 (should be 2) Error 0000012 (45) Indent is wrong 4 (should be 2) Error 0000012 (47) Special Indent is wrong 0 (should be -2) The, as expected, renaming the function 'switchToMyAwesomeBug' to 'sXwitchToMyAwesomeBug' doesn't return any error. (also renamed the ifdef, the classname, constructor etc ... to match the filename) KWStyle -v -xml MyAwesomeBug.kws.xml MyAwesomeNoBug.h | ||||
| Steps To Reproduce | |||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | https://public.kitware.com/Bug/file/2668/MyAwesomeBug.h https://public.kitware.com/Bug/file/2669/MyAwesomeNoBug.h https://public.kitware.com/Bug/file/2670/MyAwesomeBug.kws.xml | ||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2009-11-20 13:29 | Jean-Christophe Fillion-Robin | New Issue | |||
| 2009-11-20 13:29 | Jean-Christophe Fillion-Robin | File Added: MyAwesomeBug.h | |||
| 2009-11-20 13:29 | Jean-Christophe Fillion-Robin | File Added: MyAwesomeNoBug.h | |||
| 2009-11-20 13:30 | Jean-Christophe Fillion-Robin | File Added: MyAwesomeBug.kws.xml | |||
| 2009-11-20 15:50 | Julien Jomier | Status | new => assigned | ||
| 2009-11-20 15:50 | Julien Jomier | Assigned To | => Julien Jomier | ||
| 2009-11-20 16:22 | Julien Jomier | Note Added: 0018496 | |||
| 2009-11-20 16:22 | Julien Jomier | Status | assigned => resolved | ||
| 2009-11-20 16:22 | Julien Jomier | Resolution | open => fixed | ||
| Notes | |||||
|
|
|||||
|
|
||||