HomePhabricator

[clang-query] Add check to prevent setting srcloc when no introspection is…

Authored by njames93 on Apr 28 2021, 3:21 AM.

Description

[clang-query] Add check to prevent setting srcloc when no introspection is available.

Checks if introspection support is available set output kind parser.
If it isn't present the auto complete will not suggest srcloc and an error query will be reported if a user tries to access it.

Reviewed By: steveire

Differential Revision: https://reviews.llvm.org/D101365