forked from OSchip/llvm-project
97ce7fd89f
With this patch we will match most *uses* of "temporary" named things in the IR via regular expressions, not their name at creation time. The new "values" we match are: - "unnamed" globals: `@[0-9]+` - debug metadata: `!dbg ![0-9]+` - loop metadata: `!loop ![0-9]+` - tbaa metadata: `!tbaa ![0-9]+` - range metadata: `!range ![0-9]+` - generic metadata: `metadata ![0-9]+` - attributes groups: `#[0-9]` We still don't match the declarations but that can be done later. This patch can introduce churn when existing check lines contain the old hardcoded versions of the above "values". We can add a flag to opt-out, or opt-in, if necessary. Reviewed By: arichardson, MaskRay Differential Revision: https://reviews.llvm.org/D85099 |
||
---|---|---|
.. | ||
basic-cplusplus.cpp | ||
basic-cplusplus.cpp.expected | ||
check-attributes.cpp | ||
check-attributes.cpp.funcattrs.expected | ||
check-attributes.cpp.plain.expected | ||
def-and-decl.c | ||
def-and-decl.c.expected | ||
mangled_names.c | ||
mangled_names.c.expected | ||
mangled_names.c.funcsig.expected | ||
on_the_fly_arg_change.c | ||
on_the_fly_arg_change.c.expected |