diff options
Diffstat (limited to 'shared/cplusplus/TranslationUnit.h')
-rw-r--r-- | shared/cplusplus/TranslationUnit.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/shared/cplusplus/TranslationUnit.h b/shared/cplusplus/TranslationUnit.h index 9e71b1a8ee..ada079ff48 100644 --- a/shared/cplusplus/TranslationUnit.h +++ b/shared/cplusplus/TranslationUnit.h @@ -102,6 +102,9 @@ public: bool qtMocRunEnabled() const; void setQtMocRunEnabled(bool onoff); + bool objCEnabled() const; + void setObjCEnabled(bool onoff); + void warning(unsigned index, const char *fmt, ...); void error(unsigned index, const char *fmt, ...); void fatal(unsigned index, const char *fmt, ...); @@ -187,6 +190,7 @@ private: unsigned _blockErrors: 1; unsigned _skipFunctionBody: 1; unsigned _qtMocRunEnabled: 1; + unsigned _objCEnabled: 1; }; }; }; |