[LLVMbugs] [Bug 24229] New: No completions in ctor-initializer after colon (':')
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Thu Jul 23 06:19:23 PDT 2015
https://llvm.org/bugs/show_bug.cgi?id=24229
Bug ID: 24229
Summary: No completions in ctor-initializer after colon (':')
Product: clang
Version: 3.7
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: libclang
Assignee: unassignedclangbugs at nondot.org
Reporter: nikolai.kosjar at theqtcompany.com
CC: klimek at google.com, llvmbugs at cs.uiuc.edu
Classification: Unclassified
Observation #1: No completions are provided after the colon in the constructor
initializer, see below.
Observation #2: Adding "{}" before the comment does not help.
Expected completions would include the class members and the base class
constructors ("OVERLOAD:"). After a comma (',') in the list, only the remaining
members should be provided as completions.
---8<--- shell session start ---8<---
% cat members-in-meminitlist.cpp
struct Foo {
Foo(int) : // Complete before '/' of this comment
int HELLO;
};
% clang -cc1 -code-completion-at members-in-meminitlist.cpp:2:16
members-in-meminitlist.cpp
members-in-meminitlist.cpp:4:14: error: expected '{'
int HELLO;
^
1 error generated.
zsh: exit 1
---8<--- shell session end ---8<---
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150723/e4f64515/attachment.html>
More information about the llvm-bugs
mailing list