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:
Orgad Shaneh
2013-12-10 20:42:47 +02:00
committed by Orgad Shaneh
parent 2e6155353f
commit a18b5e27a1

View File

@@ -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;