[PATCH] D134072: [Support] Provide access to the full mapping in llvm::Annotations

Eric Li via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 16 13:13:20 PDT 2022


li.zhe.hua created this revision.
li.zhe.hua added a reviewer: gribozavr.
Herald added a subscriber: hiraditya.
Herald added a project: All.
li.zhe.hua requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Providing access to the mapping of annotations allows test helpers to
be expressive by using the annotations as expectations. For example, a
matcher could verify that all annotated points were matched by a
matcher, or that an refactoring surgically modifies specific ranges.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D134072

Files:
  llvm/include/llvm/Testing/Support/Annotations.h
  llvm/lib/Testing/Support/Annotations.cpp
  llvm/unittests/Support/AnnotationsTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D134072.460872.patch
Type: text/x-patch
Size: 4463 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220916/c3454330/attachment.bin>


More information about the llvm-commits mailing list