diff options
| author | bloodstalker <thabogre@gmail.com> | 2017-01-20 20:44:45 +0000 | 
|---|---|---|
| committer | bloodstalker <thabogre@gmail.com> | 2017-01-20 20:44:45 +0000 | 
| commit | 22363d5e0f925b44c7545441e26bfc8bdafab38c (patch) | |
| tree | a4acf860dc420126ceaeff9de56b383b56c89e3e | |
| parent | updated 1/20/2017 (diff) | |
| download | mutator-22363d5e0f925b44c7545441e26bfc8bdafab38c.tar.gz mutator-22363d5e0f925b44c7545441e26bfc8bdafab38c.zip | |
added some enumerations
| -rw-r--r-- | mutator_aux.h | 7 | 
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); | 
