Displaying 2 results from an estimated 2 matches for "leftparen".
Did you mean:
leftpanel
2012 Aug 16
1
[LLVMdev] Question on C++ code completion - function parameter list
...column number just after the parenthesis behind the function 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:...
2012 Nov 30
0
[LLVMdev] clang and libclang: one more code-completion missing feature
...to functions with defaulted arguments.
In the clang docs for clang API Documentation <http://goo.gl/UYOmL> there
is one example:
void f(int x, float y = 3.14, double z = 2.71828);
The code-completion string for this function would contain:
- a TypedText chunk for "f".
- a LeftParen chunk for "(".
- a Placeholder chunk for "int x"
- an Optional chunk containing the remaining defaulted arguments, e.g.,
- a Comma chunk for ","
- a Placeholder chunk for "float y"
- an Optional chunk containing the last defaulted argu...