Skip to main content



      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 02:26
Eclipse UserFriend
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: Mon Jul 07 02:58:22 EDT 2025

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

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

Back to the top