llvm/clang/test/Headers/lit.local.cfg

config.substitutions = list(config.substitutions)

# Enable substituting Clang Sema source directory for TableGen input.
config.substitutions.append(
    ("%clang_src_sema_dir", os.path.join(config.clang_src_dir, "lib", "Sema"))
)