mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
Remove declaration of classes that do not exist
Some headers contain class Foo; whereas there is no class Foo. The list of class statements is given by classes=`git grep '^\(class\|struct\) [a-zA-Z_:]*;' src | sed 's/^.* \(.*\);/\1/'|sort -u` The ones that are useless are: for c in $classes ; do grep -r "\\<$c\\>" src| grep -vq '^[^:]*:\(class\|struct\) [a-zA-Z_:]*;' || echo "$c"; done
This commit is contained in:
parent
7628f0bf97
commit
b639056981
@ -42,7 +42,6 @@ class Font;
|
|||||||
class HSpace;
|
class HSpace;
|
||||||
class IndicesList;
|
class IndicesList;
|
||||||
class Language;
|
class Language;
|
||||||
class LatexFeatures;
|
|
||||||
class LayoutFile;
|
class LayoutFile;
|
||||||
class LayoutFileIndex;
|
class LayoutFileIndex;
|
||||||
class Lexer;
|
class Lexer;
|
||||||
|
@ -39,12 +39,10 @@ class DocumentClass;
|
|||||||
class Inset;
|
class Inset;
|
||||||
class InsetBibitem;
|
class InsetBibitem;
|
||||||
class LaTeXFeatures;
|
class LaTeXFeatures;
|
||||||
class Inset_code;
|
|
||||||
class InsetList;
|
class InsetList;
|
||||||
class Language;
|
class Language;
|
||||||
class Layout;
|
class Layout;
|
||||||
class Font;
|
class Font;
|
||||||
class Font_size;
|
|
||||||
class MetricsInfo;
|
class MetricsInfo;
|
||||||
class OutputParams;
|
class OutputParams;
|
||||||
class PainterInfo;
|
class PainterInfo;
|
||||||
|
@ -28,7 +28,6 @@
|
|||||||
namespace lyx {
|
namespace lyx {
|
||||||
|
|
||||||
class Buffer;
|
class Buffer;
|
||||||
class LyXRC_PreviewStatus;
|
|
||||||
class MetricsInfo;
|
class MetricsInfo;
|
||||||
class PainterInfo;
|
class PainterInfo;
|
||||||
|
|
||||||
|
@ -85,11 +85,9 @@ class MaximaStream;
|
|||||||
class MathematicaStream;
|
class MathematicaStream;
|
||||||
class MathStream;
|
class MathStream;
|
||||||
class WriteStream;
|
class WriteStream;
|
||||||
class InfoStream;
|
|
||||||
|
|
||||||
class MathMacroTemplate;
|
class MathMacroTemplate;
|
||||||
class MathMacro;
|
class MathMacro;
|
||||||
class MathPosFinder;
|
|
||||||
class Cursor;
|
class Cursor;
|
||||||
class TextPainter;
|
class TextPainter;
|
||||||
class TextMetricsInfo;
|
class TextMetricsInfo;
|
||||||
|
Loading…
Reference in New Issue
Block a user