Review Request 122975: small changes to enhance CppLanguageSupport::specialLanguageObjectNavigationWidget

Zhang HuiJie yitianbuji at gmail.com
Tue Mar 17 12:22:30 UTC 2015


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/122975/
-----------------------------------------------------------

(Updated 三月 17, 2015, 8:22 p.m.)


Review request for KDevelop.


Changes
-------

flag function_like_alias added to check whether if function macro.


Summary (updated)
-----------------

small changes to enhance CppLanguageSupport::specialLanguageObjectNavigationWidget


Repository: kdevelop


Description (updated)
-------

small changes to enhance CppLanguageSupport::specialLanguageObjectNavigationWidget by adding a function_like_alias flag.


Diffs (updated)
-----

  languages/cpp/cpplanguagesupport.cpp a0f47b1 
  languages/cpp/parser/rpp/pp-engine.cpp d8fc81d 
  languages/cpp/parser/rpp/pp-macro.h 9998dc9 
  languages/cpp/parser/rpp/pp-macro.cpp 6209c83 

Diff: https://git.reviewboard.kde.org/r/122975/diff/


Testing (updated)
-------

1, this patch will make kdevelop work well with these code:
#define A() function_body;
#define B A;
//call B;
B();
the  function like macro "foreach" is defined by this way in Qt .

2, remove  extra spaces and the fomatter wiil work better.


Thanks,

Zhang HuiJie

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20150317/e5f38833/attachment.html>


More information about the KDevelop-devel mailing list