search for: rightparen

Displaying 2 results from an estimated 2 matches for "rightparen".

2012 Aug 16
1
[LLVMdev] Question on C++ code completion - function parameter list
...name. If the function is a C function, "c-index-test" returns a function parameter list for the function with the node 'CurrentParameter' which is important for code completion: NotImplemented:{ResultType int}{Text geti}{LeftParen (}{CurrentParameter int i}{Comma , }{Text char c}{RightParen )} (1) But if I use the same command line asking for the C++ function parameter list, the expected result is not returned. Hereafter is the source code x.cpp: int geti(int i, char c) { return 1; } // C function class myclass { public: myclass() {} ~myclass() {} int func(int i, char c) { re...
2012 Nov 30
0
[LLVMdev] clang and libclang: one more code-completion missing feature
...ning defaulted arguments, e.g., - a Comma chunk for "," - a Placeholder chunk for "float y" - an Optional chunk containing the last defaulted argument: - a Comma chunk for "," - a Placeholder chunk for "double z" - a RightParen chunk for ")" So, completion string does not contain actual default values for arguments. But I'm pretty sure this is important information, and it should be returned in completion string, and I would include it in the placeholder. I.e. placeholder for y argument should actually co...