[clang] [Clang] Refactor the tests to be more uniform (PR #191944)

Nick Desaulniers via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 14 13:49:52 PDT 2026


================
@@ -1,292 +1,330 @@
-// RUN: %clang_cc1 -triple i386-unknown-unknown -emit-llvm %s -o - | FileCheck %s
+// RUN: %clang_cc1 -triple x86_64-unknown-unknown -emit-llvm %s -o - | FileCheck %s
----------------
nickdesaulniers wrote:

Is this something that `llvm/utils/update_cc_test_checks.py` (or `llvm/utils/update_any_test_checks.py`) can improve? IMO, maintaining tests with those scripts makes future gardening much much simpler, easier, and more maintainable.  But in my experience, they don't always work, can be more verbose sometimes when a more concise test is preferred.

https://github.com/llvm/llvm-project/pull/191944


More information about the cfe-commits mailing list