We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2e9ed78 commit 2afb6f8Copy full SHA for 2afb6f8
compiler_opt/tools/profgen/toolchain.py
@@ -57,7 +57,7 @@ def __init__(
57
tool_suffix="",
58
extra_build_flags=None,
59
):
60
- extra_build_flags = [] if extra_build_flags is None else extra_build_flags
+ extra_build_flags = extra_build_flags or []
61
tool_names = ["clang", "llc", "llvm-extract", "llvm-profdata"]
62
tools = [
63
os.path.join(toolchain_path, tool + tool_suffix) for tool in tool_names
0 commit comments