View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0007792KWStylepublic2008-10-08 13:462010-07-16 13:46
ReporterTom Vercauteren 
Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
StatusnewResolutionopen 
PlatformOSOS Version
Summary0007792: KWStyle blocks on one file
DescriptionKWstyle 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.
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0021410)
Brad Davis (manager)
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


 Issue History
Date Modified Username Field Change
2008-10-08 13:46 Tom Vercauteren New Issue
2010-07-16 13:46 Brad Davis Note Added: 0021410
2010-07-16 13:52 Brad Davis Note Edited: 0021410
2010-07-19 08:25 Brad Davis Note Edited: 0021410


Copyright © 2000 - 2018 MantisBT Team