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>
This commit is contained in:
@@ -102,7 +102,7 @@ TEST(att_decoder_test, warn_failures)
|
||||
codeobjs.at(4).name = "myfile123.out";
|
||||
|
||||
std::vector<std::string> att_files;
|
||||
att_files.emplace_back(std::string("file123.att"));
|
||||
att_files.emplace_back("file123.att");
|
||||
|
||||
ATTDecoderTest decoder;
|
||||
ROCP_FATAL_IF(!decoder.valid()) << "Failed to initialize decoder library!";
|
||||
@@ -116,7 +116,7 @@ TEST(att_decoder_test, code_write)
|
||||
rocprofiler::att_wrapper::OutputFile::Enabled() = false;
|
||||
GlobalDefs::get().output_formats = "json,csv";
|
||||
|
||||
CodeFile file(".", nullptr);
|
||||
CodeFile file{};
|
||||
|
||||
pcinfo_t addr{};
|
||||
addr.marker_id = 0;
|
||||
|
||||
Reference in New Issue
Block a user