aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2017-04-13 09:15:22 +0000
committerbloodstalker <thabogre@gmail.com>2017-04-13 09:15:22 +0000
commitbedd50319a11e2a5482d7c715e1d64998e8009e2 (patch)
treec7157ea67d9ebfe89c552b007397242481cfc776
parentadded a newerv method for checking Macro expansions (diff)
downloadmutator-bedd50319a11e2a5482d7c715e1d64998e8009e2.tar.gz
mutator-bedd50319a11e2a5482d7c715e1d64998e8009e2.zip
added a newer method for checking macro expansions. marked the old one as deprecated.
-rw-r--r--mutator_aux.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/mutator_aux.h b/mutator_aux.h
index 5385742..f1ad3fe 100644
--- a/mutator_aux.h
+++ b/mutator_aux.h
@@ -44,7 +44,9 @@ enum class Scope {NoValue, TU, Block};
enum class FunctionDeclKind {NoValue, Definition, Declaration};
/*********************************************************************************************************************/
-SourceLocation SourceLocationHasMacro (SourceLocation SL, Rewriter &Rewrite, std::string Kind);
+SourceLocation SourceLocationHasMacro [[deprecated("doesnt work")]] (SourceLocation SL, Rewriter &Rewrite, std::string Kind);
+
+SourceLocation SourceLocationHasMacro(SourceLocation __sl, Rewriter &__rewrite);
/*********************************************************************************************************************/
bool IsTheMatchInSysHeader(bool SysHeaderFlag, const ast_matchers::MatchFinder::MatchResult &MR, SourceLocation SL);