Bug 239709 - Indentation of Keyword in header file
Summary: Indentation of Keyword in header file
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-core (show other bugs)
Version: 5.0   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-06 06:36 EDT by Spyrus CLA
Modified: 2020-09-04 15:24 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Spyrus CLA 2008-07-06 06:36:20 EDT
Build ID: I20080617-2000

Steps To Reproduce:
1.Make a new header file
2.Copy code snipset
3.Indent
4.Indentation policy is 2 spaces and protected keyword +
body after protected keyword should be in the same level
as with public keyword statement/body


More information:
class LCNPUDbMgr
{
  public:
    class DbException : public snmpGen::Exception
    {
      public:
        DbException() : snmpGen::Exception() {;}
        DbException(const std::string &m) : snmpGen::Exception(m) {;}
    };

    LCNPUDbMgr();

    protected:
      //////////////////////////////////////////////////////////////////////////////
      // Table names
      std::string cesPortTableName;
};
Comment 1 Spyrus CLA 2008-07-06 07:22:51 EDT
Though in other header of my project it is working as expected the problem
seems to occur only in specific code.