From 22363d5e0f925b44c7545441e26bfc8bdafab38c Mon Sep 17 00:00:00 2001 From: bloodstalker Date: Sat, 21 Jan 2017 00:14:45 +0330 Subject: added some enumerations --- mutator_aux.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'mutator_aux.h') diff --git a/mutator_aux.h b/mutator_aux.h index c344f97..45316ea 100644 --- a/mutator_aux.h +++ b/mutator_aux.h @@ -19,8 +19,13 @@ using namespace clang; using namespace tinyxml2; /*********************************************************************************************************************/ namespace Devi { -SourceLocation SourceLocationHasMacro (SourceLocation SL, Rewriter &Rewrite, std::string Kind); +enum class NodeKind {NoValue, VarDecl, FieldDecl, RecordDecl, LabelDecl, FunctionDecl, TypedefDecl, ParmVarDecl, EnumDecl, EnumConstDecl}; + +enum class Scope {NoValue, TU, Block}; +enum class FunctionDeclKind {NoValue, Definition, Declaration}; +/*********************************************************************************************************************/ +SourceLocation SourceLocationHasMacro (SourceLocation SL, Rewriter &Rewrite, std::string Kind); /*********************************************************************************************************************/ bool IsTheMatchInSysHeader(bool SysHeaderFlag, const ast_matchers::MatchFinder::MatchResult &MR, SourceLocation SL); -- cgit v1.2.3