Skip to content

Commit

Permalink
Final changes made for the draft PR review
Browse files Browse the repository at this point in the history
  • Loading branch information
zaidtahirbutt committed Aug 31, 2023
1 parent c0a4f23 commit 464a84f
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 16 deletions.
7 changes: 3 additions & 4 deletions src/DesignQuery/DesignQuery.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ using ms = std::chrono::milliseconds;
using json_sdt = nlohmann::json;
using json = nlohmann::ordered_json;


int SdtCpuInstSubNode::total_instances;
int SdtCpuClusterInstSubNode::total_instances;
int SdtMemoryInstSubNode::total_instances;
Expand All @@ -73,7 +72,8 @@ std::filesystem::path DesignQuery::GetProjDir() const {

std::filesystem::path DesignQuery::GetHierInfoPath() const {
std::filesystem::path dir = GetProjDir();
std::filesystem::path hier_info = "./tests/Testcases/DesignQuery/hier_info.json";
std::filesystem::path hier_info =
"./tests/Testcases/DesignQuery/hier_info.json";
return dir / hier_info;
}

Expand Down Expand Up @@ -939,8 +939,7 @@ bool DesignQuery::RegisterCommands(TclInterpreter* interp, bool batchMode) {
status = false;
} else {
std::string ret = "";
for (auto it = file_ids_obj.begin(); it != file_ids_obj.end(); it++)
{
for (auto it = file_ids_obj.begin(); it != file_ids_obj.end(); it++) {
ret += " ";
ret += it.key();
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* @file main_sdtgen_cpp_nlohman_lib_v5.cpp
* @author Zaid Tahir ([email protected] or [email protected] or https://github.com/zaidtahirbutt)
* @author Zaid Tahir ([email protected] or [email protected] or
* https://github.com/zaidtahirbutt)
* @date 2023-08-30
* @copyright Copyright 2021 The Foedag team
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* @file sdtgen_cpp_nlohman_lib_v5.cpp
* @author Zaid Tahir ([email protected] or [email protected] or https://github.com/zaidtahirbutt)
* @author Zaid Tahir ([email protected] or [email protected] or
* https://github.com/zaidtahirbutt)
* @date 2023-08-30
* @copyright Copyright 2021 The Foedag team
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* @file sdtgen_cpp_nlohman_lib_v5.h
* @author Zaid Tahir ([email protected] or [email protected] or https://github.com/zaidtahirbutt)
* @author Zaid Tahir ([email protected] or [email protected] or
* https://github.com/zaidtahirbutt)
* @date 2023-08-30
* @copyright Copyright 2021 The Foedag team
Expand Down
8 changes: 4 additions & 4 deletions src/DesignQuery/sdtgen.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* @file sdtgen.cpp
* @author Zaid Tahir ([email protected] or [email protected] or https://github.com/zaidtahirbutt)
* @author Zaid Tahir ([email protected] or [email protected] or
* https://github.com/zaidtahirbutt)
* @date 2023-08-30
* @copyright Copyright 2021 The Foedag team
Expand All @@ -24,12 +24,12 @@
*/

#include "sdtgen.h"

#include <cstdio>

#include "nlohmann_json/json.hpp"

#include "sdtgen.h"

using namespace std;

#include <fstream>
Expand Down
4 changes: 2 additions & 2 deletions src/DesignQuery/sdtgen.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* @file sdtgen.h
* @author Zaid Tahir ([email protected] or [email protected] or https://github.com/zaidtahirbutt)
* @author Zaid Tahir ([email protected] or [email protected] or
* https://github.com/zaidtahirbutt)
* @date 2023-08-30
* @copyright Copyright 2021 The Foedag team
Expand Down

0 comments on commit 464a84f

Please sign in to comment.