llvm-project/clang/test
Hubert Tong 65db5d4cb5 [analyzer][tests] Use normalize_plist in place of diff_plist (`cat` cases)
Summary:
The `%diff_plist` lit substitution invokes `diff` with a non-portable
`-I` option. The intended effect can be achieved by normalizing the
inputs to `diff` beforehand. Such normalization can be done with
`grep -Ev`, which is also used by other tests.

This patch applies the change (adjusted for review comments) described
in http://lists.llvm.org/pipermail/cfe-dev/2019-April/061904.html
mechanically to the cases where the output file is piped to
`%diff_plist` via `cat`.

The changes were applied via a script, except that
`clang/test/Analysis/NewDelete-path-notes.cpp` and
`clang/test/Analysis/plist-macros-with-expansion.cpp` were each adjusted
for the line-continuation on the relevant `RUN` step.

Reviewers: NoQ, sfertile, xingxue, jasonliu, daltenty

Subscribers: xazax.hun, baloghadamsoftware, szepet, a.sidorin, mikhail.ramalho, Szelethus, donat.nagy, dkrupp, Charusso, jsji, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D62950

llvm-svn: 362996
2019-06-10 22:37:31 +00:00
..
ARCMT
AST Factor out commonality between variable capture initialization and 2019-06-02 04:00:43 +00:00
ASTMerge Fix ASTMerge/namespace/test.cpp after r360701 2019-05-14 20:01:03 +00:00
Analysis [analyzer][tests] Use normalize_plist in place of diff_plist (`cat` cases) 2019-06-10 22:37:31 +00:00
CXX If capturing a variable fails, add a capture anyway (and mark it 2019-05-28 23:09:44 +00:00
CodeCompletion Re-land "[CodeComplete] Improve overload handling for C++ qualified and ref-qualified methods." 2019-06-10 15:17:52 +00:00
CodeGen [ARM] Fix bugs introduced by the fp64/d32 rework. 2019-06-07 12:42:54 +00:00
CodeGenCUDA LLVM IR: Generate new-style byval-with-Type from Clang 2019-06-05 21:12:14 +00:00
CodeGenCXX DebugInfo: Add support for 'nodebug' attribute on typedefs and alias templates 2019-06-08 00:01:21 +00:00
CodeGenCoroutines
CodeGenObjC Fix FileCheck prefixes in test case. 2019-06-05 21:11:06 +00:00
CodeGenObjCXX [Clang] Disable new PM for tests that use optimization level -O1, -O2 and -O3 2019-06-05 03:17:11 +00:00
CodeGenOpenCL LLVM IR: Generate new-style byval-with-Type from Clang 2019-06-05 21:12:14 +00:00
CodeGenOpenCLCXX Introduce Value::stripPointerCastsSameRepresentation 2019-06-04 20:21:46 +00:00
Coverage Re-check in clang support gun asm goto after fixing tests. 2019-06-03 15:57:25 +00:00
CoverageMapping Fix clang tests broken by r353547 that depend on InstrProf 2019-02-10 20:17:07 +00:00
Driver [WebAssembly] Cleanup toolchain test files. NFC. 2019-06-10 16:18:04 +00:00
FixIt [c++20] P0780R2: Support pack-expansion of init-captures. 2019-05-21 20:10:50 +00:00
Format
Frontend Add clang source minimizer that reduces source to directives 2019-06-03 22:59:17 +00:00
Headers [OpenCL] Undefine cl_intel_planar_yuv extension 2019-06-03 13:02:43 +00:00
Import [ASTImporter] Copy Argument Passing Restrictions setting when importing a CXXRecordDecl definition 2019-04-26 18:51:28 +00:00
Index [CodeComplete] Include more text into typed chunks of pattern completions 2019-06-04 09:26:08 +00:00
Integration
Layout
Lexer Add clang source minimizer that reduces source to directives 2019-06-03 22:59:17 +00:00
Misc DebugInfo: Add support for 'nodebug' attribute on typedefs and alias templates 2019-06-08 00:01:21 +00:00
Modules Fix r361428 for Windows buildbots/mangling 2019-05-22 21:58:17 +00:00
OpenMP LLVM IR: Generate new-style byval-with-Type from Clang 2019-06-05 21:12:14 +00:00
PCH Convert MemberExpr creation and serialization to work the same way as 2019-06-06 23:24:15 +00:00
Parser Re-check in clang support gun asm goto after fixing tests. 2019-06-03 15:57:25 +00:00
Preprocessor [CUDA] Fix grep pattern in cuda-types.cu 2019-06-10 22:28:20 +00:00
Profile [PGO] Fix buildbot failure in 359215 2019-04-25 21:16:41 +00:00
Refactor
Rewriter
Sema DebugInfo: Add support for 'nodebug' attribute on typedefs and alias templates 2019-06-08 00:01:21 +00:00
SemaCUDA Permit redeclarations of a builtin to specify calling convention. 2019-03-21 13:30:56 +00:00
SemaCXX PR42104: Support instantiations of lambdas that implicitly capture 2019-06-04 17:17:20 +00:00
SemaObjC Add the `objc_class_stub` attribute. 2019-05-30 04:09:01 +00:00
SemaObjCXX If capturing a variable fails, add a capture anyway (and mark it 2019-05-28 23:09:44 +00:00
SemaOpenCL [OpenCL] Undefine cl_intel_planar_yuv extension 2019-06-03 13:02:43 +00:00
SemaOpenCLCXX [OpenCL][PR42031] Prevent deducing addr space in type alias. 2019-06-05 14:50:01 +00:00
SemaTemplate PR42104: Support instantiations of lambdas that implicitly capture 2019-06-04 17:17:20 +00:00
TableGen Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Templight
Tooling Remove a bogus sed option in test. 2019-04-08 16:34:38 +00:00
Unit [lit] Set shlibpath_var on AIX 2019-03-29 23:33:04 +00:00
VFS
clang-rename
.clang-format
CMakeLists.txt Fix bug in r362328 -- append to dependency list instead of overwrite it. 2019-06-02 17:56:26 +00:00
TestRunner.sh
cxx-sections.data
lit.cfg.py [Analysis] Only run plugins tests if plugins are actually enabled 2019-05-17 06:07:37 +00:00
lit.site.cfg.py.in [Analysis] Only run plugins tests if plugins are actually enabled 2019-05-17 06:07:37 +00:00
make_test_dirs.pl