Extending Qt Creator Manual | FastPreprocessor

Extending Qt Creator Manual 4.5.2

# FastPreprocessor Class

(CPlusPlus::FastPreprocessor)

Inherits: | CPlusPlus::Client

- List of all members, including inherited members

## Public Functions

| FastPreprocessor(const Snapshot &snapshot)
QByteArray | run(Document::Ptr newDoc, const QByteArray &source, bool mergeDefinedMacrosOfDocument = false)

## Reimplemented Public Functions

virtual void | failedMacroDefinitionCheck(unsigned, unsigned, const ByteArrayRef &)
virtual void | macroAdded(const Macro &)
virtual void | markAsIncludeGuard(const QByteArray &macroName)
virtual void | notifyMacroReference(unsigned, unsigned, unsigned, const Macro &)
virtual void | passedMacroDefinitionCheck(unsigned, unsigned, unsigned, const Macro &)
virtual void | sourceNeeded(unsigned line, const QString &fileName, IncludeType mode, const QStringList &initialIncludes = QStringList())
virtual void | startExpandingMacro(unsigned, unsigned, unsigned, const Macro &, const QVector<MacroArgumentReference> &)
virtual void | startSkippingBlocks(unsigned)
virtual void | stopExpandingMacro(unsigned, const Macro &)
virtual void | stopSkippingBlocks(unsigned)

- 10 public functions inherited from CPlusPlus::Client

### Additional Inherited Members

- 1 static public member inherited from CPlusPlus::Client

## Member Function Documentation

### FastPreprocessor::FastPreprocessor(const Snapshot &snapshot)

Default constructs an instance of FastPreprocessor.

### `[virtual]` void FastPreprocessor::failedMacroDefinitionCheck(unsigned, unsigned, const ByteArrayRef &)

### `[virtual]` void FastPreprocessor::macroAdded(const Macro &)

### `[virtual]` void FastPreprocessor::markAsIncludeGuard(const QByteArray &macroName)

### `[virtual]` void FastPreprocessor::notifyMacroReference(unsigned, unsigned, unsigned, const Macro &)

### `[virtual]` void FastPreprocessor::passedMacroDefinitionCheck(unsigned, unsigned, unsigned, const Macro &)

### QByteArray FastPreprocessor::run(Document::Ptr newDoc, const QByteArray &source, bool mergeDefinedMacrosOfDocument = false)

### `[virtual]` void FastPreprocessor::sourceNeeded(unsigned line, const QString &fileName, IncludeType mode, const QStringList &initialIncludes = QStringList())

### `[virtual]` void FastPreprocessor::startExpandingMacro(unsigned, unsigned, unsigned, const Macro &, const QVector<MacroArgumentReference> &)

### `[virtual]` void FastPreprocessor::startSkippingBlocks(unsigned)

### `[virtual]` void FastPreprocessor::stopExpandingMacro(unsigned, const Macro &)

### `[virtual]` void FastPreprocessor::stopSkippingBlocks(unsigned)