You've already forked gnatstudio
mirror of
https://github.com/AdaCore/gnatstudio.git
synced 2026-02-12 12:42:33 -08:00
(Create_CPP_Handler): Incorporate in the C++ handler the id of the subprocess running c++filt (program used to unmangle C++ names). * kernel/src_info/entities-queries.adb (Recursive_LI_Information_Iterator.Next): Handle C++ files. These files were not properly handled because C and C++ share the LI handler. * kernel/src_info/ali_parser.ads (ALI_Handler_Record): Adding new field Unmangle_Pd. * kernel/src_info/ali_parser.adb (Create_ALI_Handler): Adding null initialization to the new field Unmangle_Pd (CPP_Unmangled_Name): New subprogram which invokes the process executing c++filt and returns the unmangled name of a C++ mangled name. (Process_Entity_Ref): Handle references of entities imported from C++ * language/src/language-cpp.ad[sb] (Entities_Indexed): Primitive overridden to return True and thus activate the support for indexing C++ entities in the trie database. * language/src/language-c.ads (Entities_Indexed): Complete documentation. For K907-014 [GPS] GPS 5.2: navigate across language boundary (C++) This patch incorporates support for navigating in Ada sources through entities imported from C++. This new feature relies on the availability of the GNU Binary Utility c++filt to provide its functionality. Restriction: Navigation through C++ constructors not supported. git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/gps@180629 936e1b1b-40f2-da11-902a-00137254ae57