diff options
Diffstat (limited to 'src/libs/cplusplus/CppDocument.h')
-rw-r--r-- | src/libs/cplusplus/CppDocument.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/libs/cplusplus/CppDocument.h b/src/libs/cplusplus/CppDocument.h index 68f78def55b..484a1b3d9e9 100644 --- a/src/libs/cplusplus/CppDocument.h +++ b/src/libs/cplusplus/CppDocument.h @@ -79,7 +79,8 @@ public: void appendMacro(const Macro ¯o); void addMacroUse(const Macro ¯o, unsigned offset, unsigned length, - unsigned beginLine, const QVector<MacroArgumentReference> &range); + unsigned beginLine, + const QVector<MacroArgumentReference> &range); void addUndefinedMacroUse(const QByteArray &name, unsigned offset); Control *control() const; @@ -254,8 +255,7 @@ public: unsigned _beginLine; public: - inline MacroUse(const Macro ¯o, - unsigned begin, unsigned end, unsigned beginLine) + inline MacroUse(const Macro ¯o, unsigned begin, unsigned end, unsigned beginLine) : Block(begin, end), _macro(macro), _beginLine(beginLine) @@ -371,10 +371,10 @@ public: Snapshot simplified(Document::Ptr doc) const; - QByteArray preprocessedCode(const QString &source, - const QString &fileName) const; + Document::Ptr preprocessedDocument(const QString &source, + const QString &fileName) const; - Document::Ptr documentFromSource(const QByteArray &preprocessedCode, + Document::Ptr documentFromSource(const QByteArray &preprocessedDocument, const QString &fileName) const; private: |