MantisBT - KWStyle
View Issue Details
0007792KWStylepublic2008-10-08 13:462010-07-16 13:46
Tom Vercauteren 
 
normalmajoralways
newopen 
0007792: KWStyle blocks on one file
KWstyle is not capable of processing the following (very large) file:
http://cimg.cvs.sourceforge.net/viewvc/*checkout*/cimg/CImg/CImg.h [^]

It seems to be locked forever in an infinite loop.
No tags attached.
Issue History
2008-10-08 13:46Tom VercauterenNew Issue
2010-07-16 13:46Brad DavisNote Added: 0021410
2010-07-16 13:52Brad DavisNote Edited: 0021410
2010-07-19 08:25Brad DavisNote Edited: 0021410

Notes
(0021410)
Brad Davis   
2010-07-16 13:46   
(edited on: 2010-07-19 08:25)
Seems to be stuck in the indent check. Parser::InitIndentation takes forever; there may be additional problems. InitIndentation uses an algorithm that is inefficient for large files; it can and should be improved (speed up).

The following do complete:
Checking: LineLength
Checking: DeclarationOrder
Checking: Typedefs
Checking: InternalVariables
Checking: SemicolonSpace
Checking: EndOfFileNewLine
Checking: Tabs
Checking: Spaces
Checking: Comments
Checking: NameOfClass
Checking: IfNDefDefine
Checking: EmptyLines
Checking: Template
Checking: Operator <<-- takes a minute or so
Checking: MemberFunctions