HomePhabricator

[gn] Tag unneeded variable.

Description

[gn] Tag unneeded variable.

When only building targets without assembly parsers (e.g. `llvm_targets_to_build

["NVPTX"]), all_targets` is empty and causes GN to warn about an

assigned-but-unused variable.

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

Details