Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the keyword "incr" in the KDevelop IDE?

I just downloaded KDevelop because it scans header files to offer better suggestions in code completion.
I was looking at all the keywords it suggests when no header files are included at all: enter image description here
Why is it recommending "incr"?
That's not a C++ keyword.


What is it, and what is it used for?
I thought it might be short for increment..?

like image 981
Trevor Hickey Avatar asked Dec 18 '12 22:12

Trevor Hickey


1 Answers

Probably it's a bug. Looking at KDevelop source, incr has been add for code completion in file languages/cpp/codecompletion/context.cpp on line 2326. It looks like a synonym to increment operation, however only valid synonyms are: and (&&), bitand (&), and_eq (&=), or (||), bitor (|), or_eq (|=), xor (^), xor_eq (^=), not (!), not_eq (!=), compl (~)

like image 157
hate-engine Avatar answered Nov 03 '22 00:11

hate-engine