Differential D11136 Diff 29096 plugins/custom-definesandincludes/compilerprovider/compilerfactories.h
Changeset View
Changeset View
Standalone View
Standalone View
plugins/custom-definesandincludes/compilerprovider/compilerfactories.h
Show All 26 Lines | |||||
27 | #include "icompilerfactory.h" | 27 | #include "icompilerfactory.h" | ||
28 | 28 | | |||
29 | class ClangFactory : public ICompilerFactory | 29 | class ClangFactory : public ICompilerFactory | ||
30 | { | 30 | { | ||
31 | public: | 31 | public: | ||
32 | CompilerPointer createCompiler( const QString& name, const QString& path, bool editable = true ) const override; | 32 | CompilerPointer createCompiler( const QString& name, const QString& path, bool editable = true ) const override; | ||
33 | 33 | | |||
34 | QString name() const override; | 34 | QString name() const override; | ||
35 | bool isSupported(const KDevelop::Path& path) const override; | ||||
mwolff: here and below: style: space before & | |||||
35 | 36 | | |||
36 | void registerDefaultCompilers(CompilerProvider* provider) const override; | 37 | void registerDefaultCompilers(CompilerProvider* provider) const override; | ||
37 | }; | 38 | }; | ||
38 | 39 | | |||
39 | class GccFactory : public ICompilerFactory | 40 | class GccFactory : public ICompilerFactory | ||
40 | { | 41 | { | ||
41 | public: | 42 | public: | ||
42 | CompilerPointer createCompiler( const QString& name, const QString& path, bool editable = true ) const override; | 43 | CompilerPointer createCompiler( const QString& name, const QString& path, bool editable = true ) const override; | ||
43 | 44 | | |||
44 | QString name() const override; | 45 | QString name() const override; | ||
46 | bool isSupported(const KDevelop::Path& path) const override; | ||||
45 | 47 | | |||
46 | void registerDefaultCompilers(CompilerProvider* provider) const override; | 48 | void registerDefaultCompilers(CompilerProvider* provider) const override; | ||
47 | }; | 49 | }; | ||
48 | 50 | | |||
49 | class MsvcFactory : public ICompilerFactory | 51 | class MsvcFactory : public ICompilerFactory | ||
50 | { | 52 | { | ||
51 | public: | 53 | public: | ||
52 | CompilerPointer createCompiler( const QString& name, const QString& path, bool editable = true ) const override; | 54 | CompilerPointer createCompiler( const QString& name, const QString& path, bool editable = true ) const override; | ||
53 | 55 | | |||
54 | QString name() const override; | 56 | QString name() const override; | ||
57 | bool isSupported(const KDevelop::Path& path) const override; | ||||
55 | 58 | | |||
56 | void registerDefaultCompilers(CompilerProvider* provider) const override; | 59 | void registerDefaultCompilers(CompilerProvider* provider) const override; | ||
57 | }; | 60 | }; | ||
58 | 61 | | |||
59 | #endif // COMPILERFACTORIES_H | 62 | #endif // COMPILERFACTORIES_H |
here and below: style: space before &