From d399910103de05bc15ebc90a732f55a50732146e Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Tue, 19 Mar 2019 21:56:50 +0000 Subject: Clang tidy our own generated code Builds tools with gcc to run a real slicer for the codegen. Fixs results tidy warnings --- slicer/test/Jamfile.jam | 8 ++++++-- slicer/test/slicer.jam | 2 -- 2 files changed, 6 insertions(+), 4 deletions(-) (limited to 'slicer/test') diff --git a/slicer/test/Jamfile.jam b/slicer/test/Jamfile.jam index c288fc9..4c0acbd 100644 --- a/slicer/test/Jamfile.jam +++ b/slicer/test/Jamfile.jam @@ -22,9 +22,13 @@ lib types : [ glob *.ice ] conversions.cpp : - ../tool//slicer + gcc:../tool//slicer/gcc + clang:../tool//slicer/clang + tidy:../tool//slicer/gcc pure - ../tool//slicer + gcc:../tool//slicer/gcc + clang:../tool//slicer/clang + tidy:../tool//slicer/gcc . ..//adhocutil boost_date_time diff --git a/slicer/test/slicer.jam b/slicer/test/slicer.jam index f43d087..f413628 100644 --- a/slicer/test/slicer.jam +++ b/slicer/test/slicer.jam @@ -14,13 +14,11 @@ toolset.flags slicer INCLUDES ; actions slicer bind SLICERBIN { slice2cpp -I"$(INCLUDES)" --checksum --output-dir $(1[1]:D) $(2) --dll-export JAM_DLL_PUBLIC - touch $(1[2]) "$(SLICERBIN)" -I"$(INCLUDES)" $(2) $(1[2]) --headerPrefix="\"\"" } actions slicer.pure bind SLICERBIN { - touch $(1[1]) "$(SLICERBIN)" -I"$(INCLUDES)" $(2) $(1[1]) --headerPrefix="\"\"" } -- cgit v1.2.3