diff options
| author | bloodstalker <thabogre@gmail.com> | 2017-02-08 09:32:26 +0000 | 
|---|---|---|
| committer | bloodstalker <thabogre@gmail.com> | 2017-02-08 09:32:26 +0000 | 
| commit | a80c571e17148676df8303da2378f22a18ececd7 (patch) | |
| tree | 9c771188686fa4fdf4cbe58eba97104cf7cd5de8 | |
| parent | 20.2 is now tagged as not implemented (diff) | |
| download | mutator-a80c571e17148676df8303da2378f22a18ececd7.tar.gz mutator-a80c571e17148676df8303da2378f22a18ececd7.zip | |
added 19.14 and 20.1
| -rw-r--r-- | mutator-lvl0.cpp | 13 | 
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:");      }    } | 
