HomePhabricator

[gn] Tag unneeded variable.

Authored by bryant on Jul 12 2019, 6:09 AM.

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

llvm-svn: 365897

Details