[PATCH] D123273: [utils] Avoid hardcoding metadata ids in update_cc_test_checks
Jan Korous via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 6 19:45:47 PDT 2022
jkorous created this revision.
jkorous added reviewers: lebedev.ri, arichardson, jdoerfert.
Herald added subscribers: jeroen.dobbelaere, kosarev.
Herald added a project: All.
jkorous requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Specifically for: !tbaa, !tbaa.struct, !annotation, !srcloc, !nosanitize.
The goal is to avoid test brittleness caused by hardcoded values.
https://reviews.llvm.org/D123273
Files:
clang/test/utils/update_cc_test_checks/Inputs/annotation-id.c
clang/test/utils/update_cc_test_checks/Inputs/nosanitize-id.c
clang/test/utils/update_cc_test_checks/Inputs/srcloc-id.c
clang/test/utils/update_cc_test_checks/Inputs/tbaa-id.c
clang/test/utils/update_cc_test_checks/Inputs/tbaa-struct-id.c
clang/test/utils/update_cc_test_checks/annotation-id.test
clang/test/utils/update_cc_test_checks/nosanitize-id.test
clang/test/utils/update_cc_test_checks/srcloc-id.test
clang/test/utils/update_cc_test_checks/tbaa-id.test
clang/test/utils/update_cc_test_checks/tbaa-struct-id.test
llvm/utils/UpdateTestChecks/common.py
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D123273.421070.patch
Type: text/x-patch
Size: 6522 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220407/6cce63a5/attachment.bin>
More information about the llvm-commits
mailing list