summaryrefslogtreecommitdiff
path: root/tools/ide_query/cc_analyzer
AgeCommit message (Collapse)Author
2025-01-22Merge "Link ide_query cc_analyzer README to clang-tools" into main Kadir Çetinkaya
2025-01-21Link ide_query cc_analyzer README to clang-tools Kadir Çetinkaya
Change-Id: I7653c8e6a463a6c13f8fde3ae7dda238065500b7
2025-01-21Disable warnings and errors during include-scanning. Kadir Çetinkaya
This makes include-scanning more robust against incomplete code and version discrepancies between clang-tooling and toolchain clang. Change-Id: I64d7da93f8858c3eec486caabbd651527f7c5262
2024-06-12Update ide_query script to new format Michael Merg
This includes using a separate (but backward compatible) proto for the cc_analyzer since some of the fields/messages were removed in the new ide_query format. Tested the ide_query.go with the old and the new cc_analyzer to ensure backward compatibility. Change-Id: If149f5f9dd88a8f50c184274e8b258dfce117498
2024-03-20Write ide_qeury results to stdout Michael Merg
All other output will be written to stderr. Change-Id: Iefbd8292bb136e4723d5c168e4508ae183585c7c
2024-02-28Add CC analysis support to ide_query Kadir Çetinkaya
Introduces ide_query_cc_analyzer, which figures out relevant build targets that needs to be built for a given C++ source or header file. Once these targets are built, it analyzes the sources in question and reports any generated files that are used back. Full ide_query integration relies on this binary also being available in prebuilts clang-tools, it'll be done in a future patch. Change-Id: Ib0ef6da7a2bc8ecf66940b326e037fb1ee230bf9