File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -582,7 +582,7 @@ $(libcppdir)/pathmatch.o: lib/pathmatch.cpp lib/config.h lib/path.h lib/pathmatc
582582$(libcppdir ) /platform.o : lib/platform.cpp externals/tinyxml2/tinyxml2.h lib/config.h lib/path.h lib/platform.h
583583 $(CXX ) ${INCLUDE_FOR_LIB} $(CPPFLAGS ) $(CXXFLAGS ) -c -o $@ $(libcppdir ) /platform.cpp
584584
585- $(libcppdir ) /preprocessor.o : lib/preprocessor.cpp externals/simplecpp/simplecpp.h lib/color.h lib/config.h lib/errorlogger.h lib/errortypes.h lib/importproject.h lib/library.h lib/mathlib.h lib/path.h lib/platform.h lib/preprocessor.h lib/settings.h lib/standards.h lib/suppressions.h lib/timer.h lib/utils.h
585+ $(libcppdir ) /preprocessor.o : lib/preprocessor.cpp externals/simplecpp/simplecpp.h lib/color.h lib/config.h lib/errorlogger.h lib/errortypes.h lib/importproject.h lib/library.h lib/mathlib.h lib/path.h lib/platform.h lib/preprocessor.h lib/safeptr.h lib/ settings.h lib/standards.h lib/suppressions.h lib/timer.h lib/utils.h
586586 $(CXX ) ${INCLUDE_FOR_LIB} $(CPPFLAGS ) $(CXXFLAGS ) -c -o $@ $(libcppdir ) /preprocessor.cpp
587587
588588$(libcppdir ) /programmemory.o : lib/programmemory.cpp lib/astutils.h lib/calculate.h lib/config.h lib/errortypes.h lib/importproject.h lib/infer.h lib/library.h lib/mathlib.h lib/platform.h lib/programmemory.h lib/settings.h lib/smallvector.h lib/sourcelocation.h lib/standards.h lib/suppressions.h lib/symboldatabase.h lib/templatesimplifier.h lib/timer.h lib/token.h lib/utils.h lib/valueflow.h lib/valueptr.h lib/vfvalue.h
Original file line number Diff line number Diff line change 2222// ---------------------------------------------------------------------------
2323
2424#include " config.h"
25+ #include " safeptr.h"
2526
2627#include < atomic>
2728#include < cstddef>
@@ -201,7 +202,7 @@ class CPPCHECKLIB Preprocessor {
201202 void error (const std::string &filename, unsigned int linenr, const std::string &msg);
202203
203204 Settings& mSettings ;
204- ErrorLogger * mErrorLogger ;
205+ safe_ptr< ErrorLogger> mErrorLogger ;
205206
206207 /* * list of all directives met while preprocessing file */
207208 std::list<Directive> mDirectives ;
You can’t perform that action at this time.
0 commit comments