File tree Expand file tree Collapse file tree 7 files changed +9
-9
lines changed
Expand file tree Collapse file tree 7 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -72,7 +72,6 @@ add_library(cs STATIC
7272 cwe-name -lookup.cc
7373 deflookup.cc
7474 instream.cc
75- json-writer.cc
7675 parser.cc
7776 parser-common.cc
7877 parser-cov.cc
@@ -83,6 +82,7 @@ add_library(cs STATIC
8382 version .cc
8483 writer.cc
8584 writer-html.cc
85+ writer-json.cc
8686)
8787
8888# link cslib.a and boost libraries
Original file line number Diff line number Diff line change 2121
2222#include " cswriter.hh"
2323#include " deflookup.hh"
24- #include " json- writer.hh"
24+ #include " writer-json .hh"
2525
2626#include < memory>
2727
Original file line number Diff line number Diff line change 2121#include " abstract-filter.hh"
2222#include " csfilter.hh"
2323#include " cswriter.hh"
24- #include " json-writer.hh"
2524#include " parser-common.hh"
2625#include " regex.hh"
2726#include " version.hh"
27+ #include " writer-json.hh"
2828
2929#include < cstdlib>
3030#include < fstream>
Original file line number Diff line number Diff line change 2121#include " cwe-mapper.hh"
2222#include " deflookup.hh"
2323#include " instream.hh"
24- #include " json-writer.hh"
2524#include " parser-gcc.hh"
2625#include " version.hh"
26+ #include " writer-json.hh"
2727
2828#include < boost/program_options.hpp>
2929#include < boost/property_tree/ini_parser.hpp>
Original file line number Diff line number Diff line change 1717 * along with csdiff. If not, see <http://www.gnu.org/licenses/>.
1818 */
1919
20- #include " json- writer.hh"
20+ #include " writer-json .hh"
2121
2222#include " abstract-tree.hh"
2323#include " regex.hh"
Original file line number Diff line number Diff line change 1717 * along with csdiff. If not, see <http://www.gnu.org/licenses/>.
1818 */
1919
20- #ifndef H_GUARD_JSON_WRITER_H
21- #define H_GUARD_JSON_WRITER_H
20+ #ifndef H_GUARD_WRITER_JSON_H
21+ #define H_GUARD_WRITER_JSON_H
2222
2323#include " writer.hh"
2424
@@ -41,4 +41,4 @@ class JsonWriter: public AbstractWriter {
4141 std::unique_ptr<Private> d;
4242};
4343
44- #endif /* H_GUARD_JSON_WRITER_H */
44+ #endif /* H_GUARD_WRITER_JSON_H */
Original file line number Diff line number Diff line change 2121
2222#include " cswriter.hh"
2323#include " instream.hh"
24- #include " json-writer.hh"
2524#include " regex.hh"
2625#include " writer-html.hh"
26+ #include " writer-json.hh"
2727
2828// /////////////////////////////////////////////////////////////////////////////
2929// implementation of AbstractWriter
You can’t perform that action at this time.
0 commit comments