aboutsummaryrefslogtreecommitdiffstats
path: root/mutator_aux.h
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2017-01-20 20:44:45 +0000
committerbloodstalker <thabogre@gmail.com>2017-01-20 20:44:45 +0000
commit22363d5e0f925b44c7545441e26bfc8bdafab38c (patch)
treea4acf860dc420126ceaeff9de56b383b56c89e3e /mutator_aux.h
parentupdated 1/20/2017 (diff)
downloadmutator-22363d5e0f925b44c7545441e26bfc8bdafab38c.tar.gz
mutator-22363d5e0f925b44c7545441e26bfc8bdafab38c.zip
added some enumerations
Diffstat (limited to 'mutator_aux.h')
-rw-r--r--mutator_aux.h7
1 files changed, 6 insertions, 1 deletions
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);