Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Eclipse CDT preprocessor get statement under condition
Eclipse CDT preprocessor get statement under condition [message #1756018] Fri, 10 March 2017 07:26
Yutian Tang is currently offline Yutian TangFriend
Messages: 2
Registered: March 2017
Junior Member
Build a Eclipse plugin upon Eclipse CDT, by using the API in Eclipse CDT, for the following code snippet, in Eclipse CDT, we can detect the ifdef statement(See IASTPressorIfStatement), but how can we obtain the statements under this ifdef directive. Specifically, in this example, we want to get the code "#include ".

#ifdef HAVE_SYS_PRCTL_H
#include <sys/prctl.h>
#endif
Previous Topic:IASTPreprocessorIfStatement get macro and statements under the condition
Next Topic:GDB debugging with OpenOCD in Eclipse Mars on Windows Machine
Goto Forum:
  


Current Time: Thu Apr 25 00:59:25 GMT 2024

Powered by FUDForum. Page generated in 0.02239 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top