llvm-project/clang/test/utils/update_cc_test_checks/Inputs
Johannes Doerfert 97ce7fd89f [UpdateTestChecks] Match unnamed values like "@[0-9]+" and "![0-9]+"
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
2020-08-12 01:04:16 -05:00
..
basic-cplusplus.cpp [update_cc_test_checks.py] Handle C++ methods 2020-06-18 18:09:21 +01:00
basic-cplusplus.cpp.expected [UpdateTestChecks] Match unnamed values like "@[0-9]+" and "![0-9]+" 2020-08-12 01:04:16 -05:00
check-attributes.cpp [Utils] Check function attributes in update_test_checks 2020-07-19 20:07:24 +02:00
check-attributes.cpp.funcattrs.expected [Utils][Fix] remove unnecessary ; at the end 2020-07-19 20:48:28 +02:00
check-attributes.cpp.plain.expected [Utils] Check function attributes in update_test_checks 2020-07-19 20:07:24 +02:00
def-and-decl.c [update_cc_test_checks.py] Correctly skip function definitions 2020-06-18 18:09:21 +01:00
def-and-decl.c.expected [update_cc_test_checks.py] Correctly skip function definitions 2020-06-18 18:09:21 +01:00
mangled_names.c
mangled_names.c.expected [utils] change default nameless value to "TMP" 2020-06-01 06:54:45 -04:00
mangled_names.c.funcsig.expected [UpdateTestChecks] Match unnamed values like "@[0-9]+" and "![0-9]+" 2020-08-12 01:04:16 -05:00
on_the_fly_arg_change.c [UpdateTestChecks] Add UTC_ARGS support for update_{llc,cc}_test_checks.py 2020-07-08 11:00:10 +01:00
on_the_fly_arg_change.c.expected [UpdateTestChecks] Add UTC_ARGS support for update_{llc,cc}_test_checks.py 2020-07-08 11:00:10 +01:00