<html>
<head></head>
<body>
<p>Hi,</p>
<p>I don't know if this is a bug, but I have the following initializer in an initialization list:</p>
<p><strong>     : KTextEditor::Cursor(c)</strong></p>
<p>This is the AST for that initializer:</p>
<blockquote class="replyBlock" style="border-left: 2px solid #000083; margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><p><span style="font-size: 8pt;">| | |-CXXCtorInitializer 'KTextEditor::Cursor':'class KTextEditor::Cursor'</span><br /><span style="font-size: 8pt;">| | | |-CXXConstructExpr 0x34f5ef8 <line:877:20, col:28> 'KTextEditor::Cursor':'class KTextEditor::Cursor' 'void (const class KTextEditor::Cursor &)'</span><br /><span style="font-size: 8pt;">| | | | `-DeclRefExpr 0x34f5e78 <col:27> 'const KTextEditor::Cursor':'const class KTextEditor::Cursor' lvalue ParmVar 0x34f1c80 'c' 'const KTextEditor::Cursor &'</span></p>
</blockquote><p>I am trying to delete the initializer completely. To that end, I use "CXXConstructorDecl::init_const_iterator" to iterate over the initializers of the constructor and then I invoke "getSourceRange()" when I locate this initializer. In the documentation of this method in "CXXCtorInitializer" says: "Determine the source range covering the <strong>entire</strong> initializer.". However, when removing the text in this range, I obtain:</p>
<p><strong>     : KTextEditor::</strong></p>
<p>That is, the qualifier is not considered as part of the range of the initializer. Is this a bug or am I overlooking something? (I'm using the verison 3.4)</p>
<p>Thanks.</p>

</body>
</html>