commit | b60359105f0b08d53530e8e313d8ea12968977dc | [log] [tgz] |
---|---|---|
author | Matt Spinler <spinler@us.ibm.com> | Fri May 09 11:22:20 2025 -0500 |
committer | Matt Spinler <spinler@us.ibm.com> | Mon May 19 14:51:26 2025 -0500 |
tree | cef1e3f9b362908c42aeeaef294cc8a5ff71785d | |
parent | a9eb99d6e98322f3c7fbcab22cb4b0c21c7739cc [diff] |
clang-tidy: Rename mako files Rename the mako template files to end in .mako so that clang-tidy doesn't run on them. Tested: elog-errors.hpp is still generated callouts-gen.hpp is still generated Change-Id: I9af4b9c31db9743b5af81d801f98901431bc7e2f Signed-off-by: Matt Spinler <spinler@us.ibm.com>
diff --git a/tools/elog-gen.py b/tools/elog-gen.py index 2b7fc49..b6991a9 100755 --- a/tools/elog-gen.py +++ b/tools/elog-gen.py
@@ -288,7 +288,7 @@ "-m", "--mako", dest="elog_mako", - default="elog-gen-template.mako.hpp", + default="elog-gen-template.hpp.mako", help="input mako template file to use", )
diff --git a/tools/phosphor-logging/templates/elog-gen-template.mako.hpp b/tools/phosphor-logging/templates/elog-gen-template.hpp.mako similarity index 100% rename from tools/phosphor-logging/templates/elog-gen-template.mako.hpp rename to tools/phosphor-logging/templates/elog-gen-template.hpp.mako
diff --git a/tools/phosphor-logging/templates/elog-lookup-template.mako.cpp b/tools/phosphor-logging/templates/elog-lookup-template.cpp.mako similarity index 100% rename from tools/phosphor-logging/templates/elog-lookup-template.mako.cpp rename to tools/phosphor-logging/templates/elog-lookup-template.cpp.mako
diff --git a/tools/phosphor-logging/templates/elog-process-metadata.mako.cpp b/tools/phosphor-logging/templates/elog-process-metadata.cpp.mako similarity index 100% rename from tools/phosphor-logging/templates/elog-process-metadata.mako.cpp rename to tools/phosphor-logging/templates/elog-process-metadata.cpp.mako
diff --git a/tools/phosphor-logging/templates/meson.build b/tools/phosphor-logging/templates/meson.build index e4dd26f..e713aaf 100644 --- a/tools/phosphor-logging/templates/meson.build +++ b/tools/phosphor-logging/templates/meson.build
@@ -1 +1 @@ -template_elog_gen = files('elog-gen-template.mako.hpp') +template_elog_gen = files('elog-gen-template.hpp.mako')