[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Header files
From: |
Andreas Weber |
Subject: |
Re: Header files |
Date: |
Wed, 26 Apr 2017 19:52:15 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.6.0 |
Am 26.04.2017 um 19:20 schrieb Rik:
> Is anyone on Octave-Maintainers aware of a tool that would help with the
> drudge work of determining which header files are needed?
I've used googles cppclean (https://github.com/myint/cppclean) for my
own projects but I don't know how easy it would be to run it on the
Octave source tree.
I tried
$ cppclean src libinterp liboctave | grep "does not need"
which runs since 30min now and the only output is
libinterp/corefcn/base-text-renderer.h:35: 'text-renderer.h' does not
need to be #included; use a forward declaration instead
libinterp/corefcn/call-stack.h:35: 'input.h' does not need to be #included
libinterp/corefcn/defun-dld.h:32: 'defun-int.h' does not need to be
#included
libinterp/corefcn/defun-int.h:32: 'symtab.h' does not need to be #included
libinterp/corefcn/defun.h:32: 'defun-int.h' does not need to be #included
-- Andy