forked from qt-creator/qt-creator
C++: Revive TranslationUnit::blockErrors()
Removed in f0f406ba
Required when CPLUSPLUS_NO_DEBUG_RULE is uncommented
Change-Id: I18ce50a84ed1ac4a77ca0aaa9d38ef070587ce49
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
2e6155353f
commit
a18b5e27a1
@@ -82,6 +82,7 @@ public:
|
||||
MemoryPool *memoryPool() const;
|
||||
AST *ast() const;
|
||||
|
||||
bool blockErrors() const { return f._blockErrors; }
|
||||
bool blockErrors(bool block)
|
||||
{
|
||||
const bool previous = f._blockErrors;
|
||||
|
||||
Reference in New Issue
Block a user