!17 代码差异处理
Some checks failed
Linux / build (push) Has been cancelled
Linux / test (push) Has been cancelled
Linux / build-with-python (ubuntu:14.04) (push) Has been cancelled
Linux / build-with-python (ubuntu:16.04) (push) Has been cancelled
Linux / build-with-python (ubuntu:18.04) (push) Has been cancelled
Linux / Build Linux ARM64 (push) Has been cancelled
macOS / build (push) Has been cancelled
Windows / build (arm64, arm64) (push) Has been cancelled
Windows / build (x64, ) (push) Has been cancelled

Merge pull request !17 from liangxinyan123/master
This commit is contained in:
openharmony_ci 2024-10-15 11:35:38 +00:00 committed by Gitee
commit 0d3c72634d
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -293,7 +293,7 @@ bool Plan::CleanNode(DependencyScan* scan, Node* node, string* err) {
// wanted.
bool outputs_dirty = false;
if (!scan->RecomputeOutputsDirty(*oe, most_recent_input,
&outputs_dirty, err)) {
&outputs_dirty, err)) {
return false;
}
if (!outputs_dirty) {
@ -752,7 +752,8 @@ static std::string &Trim(std::string &s)
return s;
}
static std::vector<std::string> SplitStringBySpace(std::string content) {
static std::vector<std::string> SplitStringBySpace(std::string content)
{
std::string space_delimiter = " ";
std::vector<std::string> words{};
size_t pos = 0;