What is the keyword "incr" in the KDevelop development environment?

I just downloaded KDevelop because it looks at the header files to offer better suggestions when the code completes.
I considered all the keywords he suggests when no header files are included at all: enter image description here
Why does he recommend "incr"?
This is not a C ++ keyword.


What is it and what is it used for?
I thought this could be short for increment ..?

+7
source share
2 answers

This is probably a mistake. Looking at the source of KDevelop, incr was added to complete the code in the languages/cpp/codecompletion/context.cpp file on line 2326. It looks like a synonym for the increase operation, but only valid synonyms: and (&&), bitand (&), and_eq (&=), or (||), bitor (|), or_eq (|=), xor (^), xor_eq (^=), not (!), not_eq (!=), compl (~)

+3
source

I do not see incr mentioned as a keyword or an alternative token (e.g. and for && ) in C ++ 98 or C ++ 11, so I can only conclude that some other languages ​​use this keyword, and KDevelop does not correctly retract C ++ keyword for defining names.

+1
source

All Articles