From bedd50319a11e2a5482d7c715e1d64998e8009e2 Mon Sep 17 00:00:00 2001 From: bloodstalker Date: Thu, 13 Apr 2017 13:45:22 +0430 Subject: added a newer method for checking macro expansions. marked the old one as deprecated. --- mutator_aux.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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); -- cgit v1.2.3