Fixing Clang tidy errors (#195)
* Fixing Clang tidy errors
* format-fix
* Update code_object.hpp
* Clang Tidy Fixes on the whole Source folder
* Update source/CMakeLists.txt
Co-authored-by: Madsen, Jonathan <Jonathan.Madsen@amd.com>
* Addressing reviews
* Correcting the logic for parsing att counters
* Format Fix
* Update source/lib/rocprofiler-sdk-att/tests/dummy_decoder.cpp
Co-authored-by: Madsen, Jonathan <Jonathan.Madsen@amd.com>
* Update source/lib/rocprofiler-sdk-att/tests/standalone_tool_main.cpp
Co-authored-by: Madsen, Jonathan <Jonathan.Madsen@amd.com>
* Update source/lib/rocprofiler-sdk-tool/config.cpp
Co-authored-by: Madsen, Jonathan <Jonathan.Madsen@amd.com>
* Formatting
* Deactivate clang-tidy in source/lib/rocprofiler-sdk-att/tests
---------
Co-authored-by: Ammar ELWazir <aelwazir@amd.com>
Co-authored-by: Madsen, Jonathan <Jonathan.Madsen@amd.com>
Co-authored-by: Jonathan R. Madsen <jonathanrmadsen@gmail.com>
[ROCm/rocprofiler-sdk commit: 5410fabd3d]
This commit is contained in:
@@ -48,7 +48,7 @@ navigate(nlohmann::json& json, std::vector<std::string>& path, const std::string
|
||||
navigate(j, path, filename);
|
||||
}
|
||||
|
||||
CodeFile::CodeFile(const Fspath& _dir, std::shared_ptr<AddressTable> _table)
|
||||
CodeFile::CodeFile(const Fspath& _dir, std::shared_ptr<AddressTable>& _table)
|
||||
: dir(_dir)
|
||||
, filename(_dir / "code.json")
|
||||
, table(_table)
|
||||
@@ -145,7 +145,7 @@ CodeFile::~CodeFile()
|
||||
nlohmann::json jsnapfiletree;
|
||||
size_t num_snap = 0;
|
||||
|
||||
for(auto& source_ref : snapshots)
|
||||
for(const auto& source_ref : snapshots)
|
||||
{
|
||||
if(rocprofiler::common::filesystem::exists(source_ref))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user