Home
last modified time | relevance | path

Searched refs:defined_from (Results 1 – 16 of 16) sorted by relevance

/third_party/gn/src/gn/
Dc_tool.cc64 *err = Err(defined_from(), "This tool specifies runtime_outputs.", in ValidateRuntimeOutputs()
71 *err = Err(defined_from(), "This tool's runtime_outputs is bad.", in ValidateRuntimeOutputs()
91 *err = Err(defined_from(), in ValidateLinkAndDependOutput()
98 *err = Err(defined_from(), "This tool's link_output is bad.", in ValidateLinkAndDependOutput()
165 Err(defined_from(), in ReadOutputsPatternList()
225 *err = Err(defined_from(), in InitTool()
Dbuilder.cc70 GetOrCreateRecordOfType(item->label(), item->defined_from(), type, &err); in ItemDefined()
78 err = Err(item->defined_from(), "Duplicate definition.", in ItemDefined()
82 Err(record->item()->defined_from(), "Previous definition:")); in ItemDefined()
455 target->settings()->toolchain_label(), target->defined_from(), in AddToolchainDep()
566 target->settings()->toolchain_label(), target->defined_from(), in ResolveToolchain()
570 target->defined_from(), "Toolchain for target not defined.", in ResolveToolchain()
602 tool.second->pool().label, toolchain->defined_from(), in ResolvePools()
Dninja_build_writer.cc161 Err result(matches[0]->defined_from(), "Duplicate output file.", in GetDuplicateOutputError()
171 result.AppendSubErr(Err(matches[i]->defined_from(), "Collision.")); in GetDuplicateOutputError()
181 toolchain->defined_from(), "Duplicate toolchain.", in GetDuplicateToolchainError()
188 Err(previous_toolchain->defined_from(), "Previous toolchain.")); in GetDuplicateToolchainError()
Ditem.h38 const ParseNode* defined_from() const { return defined_from_; } in defined_from() function
Dswift_values.cc71 *err = Err(tool->defined_from(), "Incorrect outputs for tool", in FillModuleOutputFile()
Dtarget.cc48 from->defined_from(), "Test-only dependency not allowed.", in MakeTestOnlyError()
608 Err(defined_from(), "This target uses an undefined tool.", in SetToolchain()
1086 defined_from(), "Precompiled header setting conflict.", in ResolvePrecompiledHeaders()
1133 *err = Err(defined_from(), "source_set contained Rust code.", in CheckSourceSetLanguages()
1179 defined_from(), "assert_no_deps failed.", in CheckAssertNoDeps()
Drust_tool.cc86 *err = Err(defined_from(), "\"outputs\" must be specified for this tool."); in ReadOutputsPatternList()
Dvisibility.cc96 *err = Err(from->defined_from(), "Dependency not allowed.", in CheckItemVisibility()
Dbundle_file_rule.cc24 return Err(target->defined_from(), in ErrMissingPropertyForExpansion()
Dtool.cc176 pair.origin = defined_from(); in ReadLabel()
219 *err = Err(defined_from(), "This tool's command is bad.", in InitTool()
Daction_target_generator.cc184 pair.origin = target_->defined_from(); in FillPool()
Dtool.h71 const ParseNode* defined_from() const { return defined_from_; } in defined_from() function
Dxcode_writer.cc745 target->defined_from(), in AddCXTestSourceFilesForTestModuleTargets()
783 target->defined_from(), in AddDependencyTargetsForTestModuleTargets()
Dheader_checker.cc297 errors->emplace_back(from_target->defined_from(), "Source file not found.", in CheckFile()
Dcommands.cc202 return item->defined_from()->GetRange().begin().file()->physical_name(); in BuildFileForItem()
Dninja_c_binary_target_writer.cc783 target_->defined_from(), "Duplicate object file", in CheckForDuplicateObjectFiles()