xe6 c++builder Find Definitions/Find References

本文介绍了C++Builder XE6中的Find Definitions和Find References功能,包括查看函数定义、引用关系、继承层次和头文件依赖。此外,还提到了Clang编译器对这些功能的支持,并提供了启用C++索引的设置路径。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >



Find Definitions/Find References


1、查看函数全部定义

2、查看所有引用继承关系

3、类或方法的基类继承、派生关系层次

4、所有依赖的头文件


You can access the four new results panes for the C++ Indexer functionality through:



Clang-based C++ Compilers (BCC64, BCCIOSARM, and BCCAARM) support the newFind Definitions and Find References feature. RAD Studio provides theFind (C++) commands on the context menu when you right-click an identifier in theCode Editor. Depending on the identifier type, these commands return various information that increases the productivity of your work. For example, you can get all references to the selected identifier in the entire project, the identifier declaration, the base or derived classes (when the identifier refers to a class), and so on.

This feature is introduced with some detail in "IDE Changes in XE6" (#New Menu Entries and Results Panes for C++ Find References / Find Definitions).

For more information, see Find Definitions and References (C++).

Find Definition.png

C++ Find References.png

Show Derived Types.png

Type Hierarchy.png

Header Dependency.png


New Menu Entries and Results Panes for C++ Find References / Find Definitions


The C++ Indexer feature enables Find References/Find Definitions for C++. C++ Indexing is supported by ourClang-based C++ Compilers (that is, for the 64-bit Windows, iOS, and Android target platforms).

To enable C++ indexing, enable the Index files for 'Definitions and References' option, located here:



After indexing, the C++ Find menu commands are available on theCode Editor Context Menu.

The new context menu commands on the Code Editor are:




评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值