Changeset View
Changeset View
Standalone View
Standalone View
src/qmljsc/compilerpass.cpp
Show All 37 Lines | |||||
38 | void CompilerPass::process(QString) { | 38 | void CompilerPass::process(QString) { | ||
39 | failBecauseOfWrongType(); | 39 | failBecauseOfWrongType(); | ||
40 | } | 40 | } | ||
41 | 41 | | |||
42 | void CompilerPass::process(QQmlJS::AST::UiProgram*) { | 42 | void CompilerPass::process(QQmlJS::AST::UiProgram*) { | ||
43 | failBecauseOfWrongType(); | 43 | failBecauseOfWrongType(); | ||
44 | } | 44 | } | ||
45 | 45 | | |||
46 | void CompilerPass::process(IR::Component*) { | 46 | void CompilerPass::process(IR::File*) { | ||
47 | failBecauseOfWrongType(); | 47 | failBecauseOfWrongType(); | ||
48 | } | 48 | } | ||
49 | 49 | | |||
50 | void CompilerPass::failBecauseOfWrongType() { | 50 | void CompilerPass::failBecauseOfWrongType() { | ||
51 | Q_STATIC_ASSERT_X(1, "The type is not supported by this compiler pass, is the compiler pass order correct?"); | 51 | Q_STATIC_ASSERT_X(1, "The type is not supported by this compiler pass, is the compiler pass order correct?"); | ||
52 | } | 52 | } | ||
53 | 53 | |