aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Contributions.md4
-rw-r--r--README.md3
-rw-r--r--bruiser/ORCmutation.h2
-rw-r--r--mutator-lvl0.cpp4
4 files changed, 12 insertions, 1 deletions
diff --git a/Contributions.md b/Contributions.md
index 5b4e8c9..51ea25a 100644
--- a/Contributions.md
+++ b/Contributions.md
@@ -14,3 +14,7 @@ For discussions regarding the implementations or feature requests or enhancement
### Labels
We have quite a varied range of labels for issues. please use them.<br/>
+
+
+### Contributers.md
+Don't forget to add your name to the `Contributers.md` file in the repo root.<br/>
diff --git a/README.md b/README.md
index 0194aae..03ac132 100644
--- a/README.md
+++ b/README.md
@@ -362,6 +362,9 @@ Besides that, If you have any suggestions or have any feature requests for proje
* Using Appveyor to test windows builds<br/>
* Have the server capture stderr<br/>
+### Contributions
+For a full description please read `Contributions.md` in the repo root.<br/>
+
### Support
Well, I don't have the Misra-C:2012 Document. If you or your organization/company are willing to donate a copy to mutator, hit me up.<br/>
If the company/organization you represent wants to sponsor mutator, let me know.<br/>
diff --git a/bruiser/ORCmutation.h b/bruiser/ORCmutation.h
index c026a1b..0a67c80 100644
--- a/bruiser/ORCmutation.h
+++ b/bruiser/ORCmutation.h
@@ -23,7 +23,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.*
/*inclusion guard*/
#ifndef ORC_MUTATION_H
#define ORC_MUTATION_H
-#if __clang_major__ == 5
+#if __clang_major__ >= 5
/**********************************************************************************************************************/
/*included modules*/
/*project headers*/
diff --git a/mutator-lvl0.cpp b/mutator-lvl0.cpp
index fb8d5d8..8121030 100644
--- a/mutator-lvl0.cpp
+++ b/mutator-lvl0.cpp
@@ -7232,6 +7232,8 @@ public:
if (MI->getNumArgs() != Args->getNumArguments() - MI->getNumArgs())
#elif __clang_major__ == 5
if (MI->getNumArgs() != Args->getNumMacroArguments() - MI->getNumArgs())
+#elif __clang_major__ == 6
+ if (MI->getNumParams() != Args->getNumMacroArguments() - MI->getNumParams())
#endif
{
if (Devi::IsTheMatchInSysHeader(CheckSystemHeader, SM, MDSL))
@@ -7247,6 +7249,8 @@ public:
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";
+#elif __clang_major__ == 6
+ std::cout << Range.getBegin().printToString(SM) << ":" << Args->getNumMacroArguments() << " " << MI->getNumParams() << ":" << "\n";
#endif
XMLDocOut.XMLAddNode(SM, SL, "19.8", "Funciton-like macro invoked with wrong number of arguments:");