C++ keyword: "overload" vs "override"

Discussion about CodeLite development process and patches
petah
CodeLite Expert
Posts: 231
Joined: Sat Nov 24, 2012 8:04 pm
Genuine User: Yes
IDE Question: c++
Location: Los Angeles
Contact:

C++ keyword: "overload" vs "override"

Post by petah »

Hi,

you use the keyword "overload", f.ex. in cppwordscanner.cpp and tags_options_data.cpp, which I'm pretty sure should be "override". AFAIK "overload" is not a native C++ keyword but maybe it's used by some compilers. "override" is also missing from the default C++ lexer word group 0.

cheers,

-- p
main: Debian Jessie x64 + custom wxTrunk
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: C++ keyword: "overload" vs "override"

Post by eranif »

According to http://en.cppreference.com/w/cpp/keyword you are right

Eran
Make sure you have read the HOW TO POST thread
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: C++ keyword: "overload" vs "override"

Post by eranif »

Fixed in git head
Eran
Make sure you have read the HOW TO POST thread
Post Reply