aboutsummaryrefslogtreecommitdiffstats
path: root/mutator-lvl0.cpp
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2017-02-08 09:32:26 +0000
committerbloodstalker <thabogre@gmail.com>2017-02-08 09:32:26 +0000
commita80c571e17148676df8303da2378f22a18ececd7 (patch)
tree9c771188686fa4fdf4cbe58eba97104cf7cd5de8 /mutator-lvl0.cpp
parent20.2 is now tagged as not implemented (diff)
downloadmutator-a80c571e17148676df8303da2378f22a18ececd7.tar.gz
mutator-a80c571e17148676df8303da2378f22a18ececd7.zip
added 19.14 and 20.1
Diffstat (limited to '')
-rw-r--r--mutator-lvl0.cpp13
1 files changed, 12 insertions, 1 deletions
diff --git a/mutator-lvl0.cpp b/mutator-lvl0.cpp
index 46ed8e7..0aec6bc 100644
--- a/mutator-lvl0.cpp
+++ b/mutator-lvl0.cpp
@@ -7380,9 +7380,20 @@ public:
JSONDocOUT.JSONAddElement(SpellingLine, SpellingColumn, FileName, "14.2", "Expression result is unused:");
}
- if (Info.getID() == 0U)
+ if (Info.getID() == 966U)
{
+ std::cout << "19.14:" << "\"defined\" has undefined behaviour:" << SL.printToString(SM) << ":" << std::endl;
+ XMLDocOut.XMLAddNode(SpellingLine, SpellingColumn, FileName, "19.14", "\"defined\" has undefined behaviour:");
+ JSONDocOUT.JSONAddElement(SpellingLine, SpellingColumn, FileName, "19.14", "\"defined\" has undefined behaviour:");
+ }
+
+ if (Info.getID() == 895U)
+ {
+ std::cout << "20.1:" << "Redefining built-in macro:" << SL.printToString(SM) << ":" << std::endl;
+
+ XMLDocOut.XMLAddNode(SpellingLine, SpellingColumn, FileName, "20.1", "Redefining built-in macro:");
+ JSONDocOUT.JSONAddElement(SpellingLine, SpellingColumn, FileName, "20.1", "Redefining built-in macro:");
}
}