Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 325783

Summary: [formatter] Function call arguments' indentation is wrong if there is a templated argument
Product: [Tools] CDT Reporter: Dmitry Katsubo <dma_k>
Component: cdt-editorAssignee: Anton Leherbauer <aleherb+eclipse>
Status: RESOLVED FIXED QA Contact: Anton Leherbauer <aleherb+eclipse>
Severity: normal    
Priority: P3 CC: yevshif
Version: 7.0   
Target Milestone: 7.0.2   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Result of actual formatting
none
Result of expected formatting
none
Formatting rules none

Description Dmitry Katsubo CLA 2010-09-20 14:54:15 EDT
Build Identifier: CDT Build id: 201006141710

If the list of arguments of the function contains arguments with templates, this confuses the formatter. See attached examples.

Reproducible: Always
Comment 1 Dmitry Katsubo CLA 2010-09-20 14:54:50 EDT
Created attachment 179265 [details]
Result of actual formatting
Comment 2 Dmitry Katsubo CLA 2010-09-20 14:55:10 EDT
Created attachment 179266 [details]
Result of expected formatting
Comment 3 Dmitry Katsubo CLA 2010-09-20 14:55:28 EDT
Created attachment 179267 [details]
Formatting rules
Comment 4 Anton Leherbauer CLA 2010-10-14 07:04:17 EDT
Fixed in HEAD and 7.0.2.