From 8a474add195ebd489dbe3bef1a55211cc14ba65c Mon Sep 17 00:00:00 2001 From: PKEuS Date: Sun, 2 Sep 2012 14:30:00 +0200 Subject: [PATCH] Fixed compilation error - added missing function in symboldatabase. --- lib/symboldatabase.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/symboldatabase.h b/lib/symboldatabase.h index 99ca80ce5..ded0687ec 100644 --- a/lib/symboldatabase.h +++ b/lib/symboldatabase.h @@ -474,6 +474,10 @@ public: return (type == eClass || type == eStruct); } + bool isExecutable() const { + return type != eClass && type != eStruct && type != eUnion && type != eGlobal && type != eNamespace; + } + bool isLocal() const { return (type == eIf || type == eElse || type == eElseIf || type == eFor || type == eWhile || type == eDo ||