The idea here is that when indexing GCC builds, we should have a way to try to succeed even when we can't. For example, we should try to interpret the commands "as if" they were Clang commands.
This could take the form of passing in --resource_dir, etc. to the indexer. Or maybe in the form of applying QA overrides, the way clang does it with ApplyQAOverride in its driver. For example, the following QA override would "do the trick":
The idea here is that when indexing GCC builds, we should have a way to try to succeed even when we can't. For example, we should try to interpret the commands "as if" they were Clang commands.
This could take the form of passing in
--resource_dir
, etc. to the indexer. Or maybe in the form of applying QA overrides, the way clang does it withApplyQAOverride
in its driver. For example, the following QA override would "do the trick":But this environment variable doesn't affect PASTA.