MantisBT - KWStyle
View Issue Details
0010465KWStylepublic2010-03-26 10:162010-03-26 10:17
Alex Neundorf 
 
normalmajoralways
newopen 
0010465: Indentation rules errors
Hi,

in the attached cpp file kwstyle reports indentation errors in lines 8, 12, 14, 19 and 22, although they are all correct.
It seems it doesn't handle if-statements correctly:
if(something())
  doSomething();

This OTOH works:
if(something()==1)
  doSomething();


Alex
No tags attached.
cpp indentation-1.cpp (309) 2010-03-26 10:16
https://public.kitware.com/Bug/file/2993/indentation-1.cpp
xml MyConfiguration.kws.xml (935) 2010-03-26 10:17
https://public.kitware.com/Bug/file/2994/MyConfiguration.kws.xml
html issues_indentation-1.cpp.html (5,678) 2010-03-26 10:17
https://public.kitware.com/Bug/file/2995/issues_indentation-1.cpp.html
Issue History
2010-03-26 10:16Alex NeundorfNew Issue
2010-03-26 10:16Alex NeundorfFile Added: indentation-1.cpp
2010-03-26 10:17Alex NeundorfFile Added: MyConfiguration.kws.xml
2010-03-26 10:17Alex NeundorfFile Added: issues_indentation-1.cpp.html

There are no notes attached to this issue.