Have clang-format ignore auto-generated files
Subsystems (2)
PATCH 1/1 Have clang-format ignore auto-generated files
Added .clang-format-ignore with auto-generated files to ignore pulled from the .gitignore files.
Signed-off-by James Carter <[email protected]>
--- .clang-format-ignore | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .clang-format-ignore
.clang-format-ignore new file +13 -0
@@ -0,0 +1,13 @@ +checkpolicy/lex.yy.c +checkpolicy/y.tab.c +checkpolicy/y.tab.h +libselinux/src/selinux.py +libselinux/src/selinuxswig_python_wrap.c +libselinux/src/selinuxswig_ruby_wrap.c +libsemanage/src/conf-parse.c +libsemanage/src/conf-parse.h +libsemanage/src/conf-scan.c +libsemanage/src/semanageswig_wrap.c +libsemanage/src/semanage.py +libsemanage/src/semanageswig_ruby_wrap.c +libsepol/cil/src/cil_lexer.c
Signature · 1 line
2.54.0
Quoted 31 lines · James Carter
Added .clang-format-ignore with auto-generated files to ignore pulled from the .gitignore files.
Signed-off-by James Carter <[email protected]>--- .clang-format-ignore | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .clang-format-ignore.clang-format-ignore new file +13
-1@@ -0,0 +1,13 @@ +checkpolicy/lex.yy.c +checkpolicy/y.tab.c +checkpolicy/y.tab.h +libselinux/src/selinux.py +libselinux/src/selinuxswig_python_wrap.c +libselinux/src/selinuxswig_ruby_wrap.c +libsemanage/src/conf-parse.c +libsemanage/src/conf-parse.h +libsemanage/src/conf-scan.c +libsemanage/src/semanageswig_wrap.c +libsemanage/src/semanage.py +libsemanage/src/semanageswig_ruby_wrap.c +libsepol/cil/src/cil_lexer.c --
Quoted 2 lines
2.54.0
Actually, it would be better to put these next to the .gitignore files. v2 coming soon.
Jim