[analyzer][NFC][tests] Pre-normalize expected-plists

As suggested in the review for D62949, this patch pre-normalizes the
reference expected output plist files by removing lines containing
fields for which we expect differences that should be ignored.

llvm-svn: 362877
This commit is contained in:
Hubert Tong 2019-06-08 13:51:37 +00:00
parent 7081efcc58
commit 15e3e95263
31 changed files with 0 additions and 62 deletions

View File

@ -3,7 +3,6 @@
<plist version="1.0">
<dict>
<key>clang_version</key>
<string>clang version 8.0.0 </string>
<key>diagnostics</key>
<array>
<dict>
@ -492,7 +491,6 @@
</array>
<key>files</key>
<array>
<string>/clang/test/Analysis/NewDelete-path-notes.cpp</string>
</array>
</dict>
</plist>

View File

@ -3,7 +3,6 @@
<plist version="1.0">
<dict>
<key>clang_version</key>
<string>clang version 8.0.0 </string>
<key>diagnostics</key>
<array>
<dict>
@ -1766,7 +1765,6 @@
</array>
<key>files</key>
<array>
<string>/clang/test/Analysis/conditional-path-notes.c</string>
</array>
</dict>
</plist>

View File

@ -3,7 +3,6 @@
<plist version="1.0">
<dict>
<key>clang_version</key>
<string>clang version 8.0.0 </string>
<key>diagnostics</key>
<array>
<dict>
@ -2140,7 +2139,6 @@
</array>
<key>files</key>
<array>
<string>/clang/test/Analysis/cxx-for-range.cpp</string>
</array>
</dict>
</plist>

View File

@ -3,7 +3,6 @@
<plist version="1.0">
<dict>
<key>clang_version</key>
<string>clang version 8.0.0 </string>
<key>diagnostics</key>
<array>
<dict>
@ -7190,7 +7189,6 @@
</array>
<key>files</key>
<array>
<string>/clang/test/Analysis/generics.m</string>
</array>
</dict>
</plist>

View File

@ -3,7 +3,6 @@
<plist version="1.0">
<dict>
<key>clang_version</key>
<string>clang version 8.0.0 </string>
<key>diagnostics</key>
<array>
<dict>
@ -2042,7 +2041,6 @@
</array>
<key>files</key>
<array>
<string>/clang/test/Analysis/inline-plist.c</string>
</array>
</dict>
</plist>

View File

@ -3,7 +3,6 @@
<plist version="1.0">
<dict>
<key>clang_version</key>
<string>clang version 8.0.0 </string>
<key>diagnostics</key>
<array>
<dict>
@ -272,7 +271,6 @@
</array>
<key>files</key>
<array>
<string>/clang/test/Analysis/inline-unique-reports.c</string>
</array>
</dict>
</plist>

View File

@ -199,7 +199,6 @@
</array>
<key>files</key>
<array>
<string>/clang/test/Analysis/lambda-notes.cpp</string>
</array>
</dict>
</plist>

View File

@ -5256,7 +5256,6 @@
</array>
<key>files</key>
<array>
<string>/clang/test/Analysis/malloc-plist.c</string>
</array>
</dict>
</plist>

View File

@ -3,7 +3,6 @@
<plist version="1.0">
<dict>
<key>clang_version</key>
<string>clang version 8.0.0 </string>
<key>diagnostics</key>
<array>
<dict>
@ -839,7 +838,6 @@
</array>
<key>files</key>
<array>
<string>/clang/test/Analysis/method-call-path-notes.cpp</string>
</array>
</dict>
</plist>

View File

@ -3,7 +3,6 @@
<plist version="1.0">
<dict>
<key>clang_version</key>
<string>clang version 8.0.0 </string>
<key>diagnostics</key>
<array>
<dict>
@ -302,8 +301,6 @@
</array>
<key>files</key>
<array>
<string>/clang/test/Analysis/model-file.cpp</string>
<string>/clang/test/Analysis/Inputs/Models/notzero.model</string>
</array>
</dict>
</plist>

View File

@ -3,7 +3,6 @@
<plist version="1.0">
<dict>
<key>clang_version</key>
<string>clang version 8.0.0 </string>
<key>diagnostics</key>
<array>
<dict>
@ -1022,7 +1021,6 @@
</array>
<key>files</key>
<array>
<string>/clang/test/Analysis/null-deref-path-notes.m</string>
</array>
</dict>
</plist>

View File

@ -3,7 +3,6 @@
<plist version="1.0">
<dict>
<key>clang_version</key>
<string>clang version 8.0.0 </string>
<key>diagnostics</key>
<array>
<dict>
@ -199,7 +198,6 @@
</array>
<key>files</key>
<array>
<string>/clang/test/Analysis/nullability-notes.m</string>
</array>
</dict>
</plist>

View File

@ -6115,7 +6115,6 @@
</array>
<key>files</key>
<array>
<string>/home/szelethus/Documents/macro_expansion/clang/test/Analysis/plist-macros-with-expansion.cpp</string>
</array>
</dict>
</plist>

View File

@ -3,7 +3,6 @@
<plist version="1.0">
<dict>
<key>clang_version</key>
<string>clang version 8.0.0 </string>
<key>diagnostics</key>
<array>
<dict>
@ -1846,7 +1845,6 @@
</array>
<key>files</key>
<array>
<string>/clang/test/Analysis/plist-macros.cpp</string>
</array>
</dict>
</plist>

View File

@ -3,7 +3,6 @@
<plist version="1.0">
<dict>
<key>clang_version</key>
<string>clang version 9.0.0 </string>
<key>diagnostics</key>
<array>
<dict>
@ -26231,7 +26230,6 @@
</array>
<key>files</key>
<array>
<string>/Volumes/Transcend/code/monorepo/llvm-project/clang/test/Analysis/retain-release.m</string>
</array>
</dict>
</plist>

View File

@ -3,7 +3,6 @@
<plist version="1.0">
<dict>
<key>clang_version</key>
<string>clang version 9.0.0 </string>
<key>diagnostics</key>
<array>
<dict>
@ -26300,7 +26299,6 @@
</array>
<key>files</key>
<array>
<string>/Volumes/Transcend/code/monorepo/llvm-project/clang/test/Analysis/retain-release.m</string>
</array>
</dict>
</plist>

View File

@ -3,7 +3,6 @@
<plist version="1.0">
<dict>
<key>clang_version</key>
<string>clang version 8.0.0</string>
<key>diagnostics</key>
<array>
<dict>
@ -3015,7 +3014,6 @@
</array>
<key>files</key>
<array>
<string>/home/szelethus/Documents/analyzer_opts/clang/test/Analysis/unix-fns.c</string>
</array>
</dict>
</plist>

View File

@ -297,7 +297,6 @@
</array>
<key>files</key>
<array>
<string>/clang/test/Analysis/MismatchedDeallocator-path-notes.cpp</string>
</array>
</dict>
</plist>

View File

@ -3,7 +3,6 @@
<plist version="1.0">
<dict>
<key>clang_version</key>
<string>clang version 8.0.0 </string>
<key>diagnostics</key>
<array>
<dict>
@ -92,7 +91,6 @@
</array>
<key>files</key>
<array>
<string>/clang/test/Analysis/copypaste/plist-diagnostics-notes-as-events.cpp</string>
</array>
</dict>
</plist>

View File

@ -3,7 +3,6 @@
<plist version="1.0">
<dict>
<key>clang_version</key>
<string>clang version 8.0.0 </string>
<key>diagnostics</key>
<array>
<dict>
@ -93,7 +92,6 @@
</array>
<key>files</key>
<array>
<string>/clang/test/Analysis/copypaste/plist-diagnostics.cpp</string>
</array>
</dict>
</plist>

View File

@ -3,7 +3,6 @@
<plist version="1.0">
<dict>
<key>clang_version</key>
<string>clang version 8.0.0 </string>
<key>diagnostics</key>
<array>
<dict>
@ -651,7 +650,6 @@
</array>
<key>files</key>
<array>
<string>/clang/test/Analysis/diagnostics/deref-track-symbolic-region.c</string>
</array>
</dict>
</plist>

View File

@ -139,9 +139,6 @@
</array>
<key>files</key>
<array>
<string>/clang/test/Analysis/diagnostics/plist-diagnostics-include-check.cpp</string>
<string>/clang/test/Analysis/diagnostics/Inputs/include/plist-diagnostics-include-check-macro.h</string>
<string>/clang/test/Analysis/diagnostics/Inputs/include/plist-diagnostics-include-check-macro.def</string>
</array>
</dict>
</plist>

View File

@ -201,8 +201,6 @@
</array>
<key>files</key>
<array>
<string>/clang/test/Analysis/diagnostics/plist-multi-file.c</string>
<string>/clang/test/Analysis/diagnostics/plist-multi-file.h</string>
</array>
</dict>
</plist>

View File

@ -3,7 +3,6 @@
<plist version="1.0">
<dict>
<key>clang_version</key>
<string>clang version 8.0.0 </string>
<key>diagnostics</key>
<array>
<dict>
@ -1828,8 +1827,6 @@
</array>
<key>files</key>
<array>
<string>/clang/test/Analysis/diagnostics/report-issues-within-main-file.cpp</string>
<string>/clang/test/Analysis/diagnostics/Inputs/include/report-issues-within-main-file.h</string>
</array>
</dict>
</plist>

View File

@ -3,7 +3,6 @@
<plist version="1.0">
<dict>
<key>clang_version</key>
<string>clang version 8.0.0 </string>
<key>diagnostics</key>
<array>
<dict>
@ -135,8 +134,6 @@
</array>
<key>files</key>
<array>
<string>/clang/test/Analysis/diagnostics/undef-value-caller.c</string>
<string>/clang/test/Analysis/diagnostics/undef-value-callee.h</string>
</array>
</dict>
</plist>

View File

@ -3,7 +3,6 @@
<plist version="1.0">
<dict>
<key>clang_version</key>
<string>clang version 8.0.0 </string>
<key>diagnostics</key>
<array>
<dict>
@ -1338,7 +1337,6 @@
</array>
<key>files</key>
<array>
<string>/clang/test/Analysis/diagnostics/undef-value-param.c</string>
</array>
</dict>
</plist>

View File

@ -3,7 +3,6 @@
<plist version="1.0">
<dict>
<key>clang_version</key>
<string>clang version 8.0.0 </string>
<key>diagnostics</key>
<array>
<dict>
@ -1021,7 +1020,6 @@
</array>
<key>files</key>
<array>
<string>/clang/test/Analysis/diagnostics/undef-value-param.m</string>
</array>
</dict>
</plist>

View File

@ -3,7 +3,6 @@
<plist version="1.0">
<dict>
<key>clang_version</key>
<string>clang version 8.0.0 </string>
<key>diagnostics</key>
<array>
<dict>
@ -647,7 +646,6 @@
</array>
<key>files</key>
<array>
<string>/clang/test/Analysis/inlining/eager-reclamation-path-notes.c</string>
</array>
</dict>
</plist>

View File

@ -3,7 +3,6 @@
<plist version="1.0">
<dict>
<key>clang_version</key>
<string>clang version 8.0.0 </string>
<key>diagnostics</key>
<array>
<dict>
@ -371,7 +370,6 @@
</array>
<key>files</key>
<array>
<string>/clang/test/Analysis/inlining/eager-reclamation-path-notes.cpp</string>
</array>
</dict>
</plist>

View File

@ -3,7 +3,6 @@
<plist version="1.0">
<dict>
<key>clang_version</key>
<string>clang version 8.0.0 </string>
<key>diagnostics</key>
<array>
<dict>
@ -3774,7 +3773,6 @@
</array>
<key>files</key>
<array>
<string>/clang/test/Analysis/inlining/path-notes.c</string>
</array>
</dict>
</plist>

View File

@ -3,7 +3,6 @@
<plist version="1.0">
<dict>
<key>clang_version</key>
<string>clang version 8.0.0 </string>
<key>diagnostics</key>
<array>
<dict>
@ -5221,7 +5220,6 @@
</array>
<key>files</key>
<array>
<string>/clang/test/Analysis/inlining/path-notes.cpp</string>
</array>
</dict>
</plist>