summaryrefslogtreecommitdiff
path: root/src/shared/cplusplus/TranslationUnit.h
diff options
context:
space:
mode:
authorRoberto Raggi <roberto.raggi@nokia.com>2010-03-24 12:54:25 +0100
committerRoberto Raggi <roberto.raggi@nokia.com>2010-03-24 13:49:02 +0100
commit8329d7db943bef3f7929d3802fc31f60e314e179 (patch)
treedabef77315dda11ce9f01250e788a4b5e044a9a4 /src/shared/cplusplus/TranslationUnit.h
parent35be3a9f6c916ddb087628d66bb4bb4e76a1daa5 (diff)
downloadqt-creator-8329d7db943bef3f7929d3802fc31f60e314e179.tar.gz
Recognize C++0x lambda expressions.
Diffstat (limited to 'src/shared/cplusplus/TranslationUnit.h')
-rw-r--r--src/shared/cplusplus/TranslationUnit.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/shared/cplusplus/TranslationUnit.h b/src/shared/cplusplus/TranslationUnit.h
index 53e11abb9b..19324f6b87 100644
--- a/src/shared/cplusplus/TranslationUnit.h
+++ b/src/shared/cplusplus/TranslationUnit.h
@@ -98,6 +98,9 @@ public:
bool qtMocRunEnabled() const;
void setQtMocRunEnabled(bool onoff);
+ bool cxx0xEnabled() const;
+ void setCxxOxEnabled(bool onoff);
+
bool objCEnabled() const;
void setObjCEnabled(bool onoff);
@@ -195,6 +198,7 @@ private:
unsigned _blockErrors: 1;
unsigned _skipFunctionBody: 1;
unsigned _qtMocRunEnabled: 1;
+ unsigned _cxx0xEnabled: 1;
unsigned _objCEnabled: 1;
};
union {