Commit a18b5e27 authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Orgad Shaneh

C++: Revive TranslationUnit::blockErrors()

Removed in f0f406ba

Required when CPLUSPLUS_NO_DEBUG_RULE is uncommented

Change-Id: I18ce50a84ed1ac4a77ca0aaa9d38ef070587ce49
Reviewed-by: default avatarNikolai Kosjar <nikolai.kosjar@digia.com>
parent 2e615535
...@@ -82,6 +82,7 @@ public: ...@@ -82,6 +82,7 @@ public:
MemoryPool *memoryPool() const; MemoryPool *memoryPool() const;
AST *ast() const; AST *ast() const;
bool blockErrors() const { return f._blockErrors; }
bool blockErrors(bool block) bool blockErrors(bool block)
{ {
const bool previous = f._blockErrors; const bool previous = f._blockErrors;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment