aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--README.md2
-rw-r--r--mutator-lvl0.cpp12
2 files changed, 7 insertions, 7 deletions
diff --git a/README.md b/README.md
index c1e5d45..e224af9 100644
--- a/README.md
+++ b/README.md
@@ -35,7 +35,7 @@
- [Support](#support)
- [Contact](#contact)
-/<./bruiser/README.md>
+/<./bruiser>
## Overview
diff --git a/mutator-lvl0.cpp b/mutator-lvl0.cpp
index 783cb65..7c0c802 100644
--- a/mutator-lvl0.cpp
+++ b/mutator-lvl0.cpp
@@ -6761,9 +6761,9 @@ public:
assert(SL->isValid(), "the SourceLocation for MacroDefined is not valid.");
#endif
-#if __clang_major__ <= 5
+#if __clang_major__ < 5
unsigned MacroNumArgs = MI->getNumArgs();
-#elif __clang_major__ >= 6
+#elif __clang_major__ >= 5
unsigned MacroNumArgs = MI->getNumParams();
#endif
@@ -6830,9 +6830,9 @@ public:
/*end of 20.1*/
ArrayRef<Token> TokenArrayRef = MI->tokens();
-#if __clang_major__ <= 5
+#if __clang_major__ < 5
ArrayRef<const IdentifierInfo*> MacroArgsArrRef = MI->args();
-#elif __clang_major__ >= 6
+#elif __clang_major__ >= 5
ArrayRef<const IdentifierInfo*> MacroArgsArrRef = MI->params();
#endif
@@ -7239,7 +7239,7 @@ public:
#if __clang_major__ == 4
if (MI->getNumArgs() != Args->getNumArguments() - MI->getNumArgs())
#elif __clang_major__ == 5
- if (MI->getNumArgs() != Args->getNumMacroArguments() - MI->getNumArgs())
+ if (MI->getNumParams() != Args->getNumMacroArguments() - MI->getNumParams())
#elif __clang_major__ == 6
if (MI->getNumParams() != Args->getNumMacroArguments() - MI->getNumParams())
#endif
@@ -7256,7 +7256,7 @@ public:
#if __clang_major__ == 4
std::cout << Range.getBegin().printToString(SM) << ":" << Args->getNumArguments() << " " << MI->getNumArgs() << ":" << "\n";
#elif __clang_major__ == 5
- std::cout << Range.getBegin().printToString(SM) << ":" << Args->getNumMacroArguments() << " " << MI->getNumArgs() << ":" << "\n";
+ std::cout << Range.getBegin().printToString(SM) << ":" << Args->getNumMacroArguments() << " " << MI->getNumParams() << ":" << "\n";
#elif __clang_major__ == 6
std::cout << Range.getBegin().printToString(SM) << ":" << Args->getNumMacroArguments() << " " << MI->getNumParams() << ":" << "\n";
#endif