File tree Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -64,10 +64,9 @@ bool Synchronizer::isProbablyOutdatedStubs(const fs::path &srcFilePath) const {
64
64
} catch (...) {
65
65
return true ;
66
66
}
67
- if (!fs::exists (srcFilePath)){
67
+ if (!fs::exists (srcFilePath)) {
68
68
srcTimestamp = time (NULL );
69
- }
70
- else {
69
+ } else {
71
70
srcTimestamp = Synchronizer::getFileOutdatedTime (srcFilePath);
72
71
}
73
72
return stubTimestamp <= srcTimestamp;
@@ -80,10 +79,9 @@ bool Synchronizer::isProbablyOutdatedWrappers(const fs::path &srcFilePath) const
80
79
}
81
80
long long wrapperTimestamp, srcTimestamp;
82
81
wrapperTimestamp = Synchronizer::getFileOutdatedTime (wrapperFilePath);
83
- if (!fs::exists (srcFilePath)){
82
+ if (!fs::exists (srcFilePath)) {
84
83
srcTimestamp = time (NULL );
85
- }
86
- else {
84
+ } else {
87
85
srcTimestamp = Synchronizer::getFileOutdatedTime (srcFilePath);
88
86
}
89
87
return wrapperTimestamp <= srcTimestamp;
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ class BaseTest : public testing::Test {
23
23
24
24
CompilerName compilerName = CompilerName::CLANG;
25
25
std::string buildDirRelativePath;
26
- std::string clientProjectPath;
26
+ std::string clientProjectPath = " " ;
27
27
fs::path buildPath;
28
28
std::vector<fs::path> srcPaths;
29
29
You can’t perform that action at this time.
0 commit comments