mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-21 17:51:03 +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 IndicesList;
|
||||
class Language;
|
||||
class LatexFeatures;
|
||||
class LayoutFile;
|
||||
class LayoutFileIndex;
|
||||
class Lexer;
|
||||
|
@ -39,12 +39,10 @@ class DocumentClass;
|
||||
class Inset;
|
||||
class InsetBibitem;
|
||||
class LaTeXFeatures;
|
||||
class Inset_code;
|
||||
class InsetList;
|
||||
class Language;
|
||||
class Layout;
|
||||
class Font;
|
||||
class Font_size;
|
||||
class MetricsInfo;
|
||||
class OutputParams;
|
||||
class PainterInfo;
|
||||
|
@ -28,7 +28,6 @@
|
||||
namespace lyx {
|
||||
|
||||
class Buffer;
|
||||
class LyXRC_PreviewStatus;
|
||||
class MetricsInfo;
|
||||
class PainterInfo;
|
||||
|
||||
|
@ -85,11 +85,9 @@ class MaximaStream;
|
||||
class MathematicaStream;
|
||||
class MathStream;
|
||||
class WriteStream;
|
||||
class InfoStream;
|
||||
|
||||
class MathMacroTemplate;
|
||||
class MathMacro;
|
||||
class MathPosFinder;
|
||||
class Cursor;
|
||||
class TextPainter;
|
||||
class TextMetricsInfo;
|
||||
|
Loading…
Reference in New Issue
Block a user