Extract logger into own header
This commit is contained in:
parent
63c1fd50e7
commit
3c9d53ae0c
4 changed files with 75 additions and 61 deletions
|
|
@ -42,6 +42,7 @@ set(header
|
|||
../include/cppast/cpp_variable_base.hpp
|
||||
../include/cppast/cpp_variable_template.hpp
|
||||
../include/cppast/diagnostic.hpp
|
||||
../include/cppast/diagnostic_logger.hpp
|
||||
../include/cppast/libclang_parser.hpp
|
||||
../include/cppast/parser.hpp
|
||||
../include/cppast/visitor.hpp)
|
||||
|
|
@ -71,7 +72,7 @@ set(source
|
|||
cpp_type_alias.cpp
|
||||
cpp_variable.cpp
|
||||
cpp_variable_template.cpp
|
||||
parser.cpp
|
||||
diagnostic_logger.cpp
|
||||
visitor.cpp)
|
||||
set(libclang_source
|
||||
libclang/class_parser.cpp
|
||||
|
|
|
|||
|
|
@ -2,13 +2,11 @@
|
|||
// This file is subject to the license terms in the LICENSE file
|
||||
// found in the top-level directory of this distribution.
|
||||
|
||||
#include <cppast/parser.hpp>
|
||||
#include <cppast/diagnostic_logger.hpp>
|
||||
|
||||
#include <cstdio>
|
||||
#include <mutex>
|
||||
|
||||
#include <cppast/diagnostic.hpp>
|
||||
|
||||
using namespace cppast;
|
||||
|
||||
bool diagnostic_logger::log(const char* source, const diagnostic& d) const
|
||||
Loading…
Add table
Add a link
Reference in a new issue