Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restore lost nuance in DeveloperPolicy regarding input languages for test cases #79527

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dsandersllvm
Copy link
Collaborator

@dsandersllvm dsandersllvm commented Jan 26, 2024

While re-reading the various policies for changes I've missed, I noticed that the policy on test cases had been rewritten to be a bit overly restrictive and not accurately reflect the test cases in LLVM today.

Back in 2019 (git: e0ddc73, svn: 201619), some references to llvm-gcc were removed from the DeveloperPolicy. One of these removals removed some important nuance along with the example that referenced llvm-gcc. The original text was:

  • Test cases should be written in LLVM assembly language <LangRef.html>_ unless the feature or regression being
    tested requires another language (e.g. the bug being fixed or feature being implemented is in the llvm-gcc C++ front-end, in which case it must be written in C++).

and this was reduced to:

  • Test cases should be written in :doc:LLVM assembly language <LangRef>.

which is a bit too definite and restrictive.

This commit attempts to restore the original intent but with examples that exist in the current LLVM source.

… cases

While re-reading the various policies for changes I've missed, I noticed
that the policy on test cases had been rewritten to be a bit overly
restrictive and not accurately reflect the test cases in LLVM today.

Back in 2019 (git: e0ddc73, svn: 201619), some references to llvm-gcc
were removed from the DeveloperPolicy. One of these removals removed some
important nuance along with the example that referenced llvm-gcc. The
original text was:
> * Test cases should be written in `LLVM assembly language <LangRef.html>`_
>   unless the feature or regression being tested requires another language
>   (e.g. the bug being fixed or feature being implemented is in the llvm-gcc
>   C++ front-end, in which case it must be written in C++).
and this was reduced to:
> * Test cases should be written in :doc:`LLVM assembly language <LangRef>`.
which is a bit too definite and restrictive.

This commit attempts to restore the original intent but with examples that
exist in the current LLVM source.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant