[PR #5133] [CLOSED] Add contrexpr for checks that are constant #26127

Open
opened 2026-01-31 09:14:08 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/microsoft/terminal/pull/5133
Author: @ghost
Created: 3/26/2020
Status: Closed

Base: masterHead: cleanup-edit


📝 Commits (2)

  • ed3945f Add contrexpr for checks that are constant
  • 832b49c Update SystemConfigurationProvider.cpp

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 src/host/ft_host/API_AliasTestsHelpers.hpp (+1 -1)

📄 Description

Summary of the Pull Request

Basically, some expressions are constant, but the check needs to be there, so I added a constexpr to them.

References

PR Checklist

  • CLA signed. If not, go over here and sign the CLA
  • Tests added/passed

Detailed Description of the Pull Request / Additional comments

Validation Steps Performed

  • Unit Testing

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/microsoft/terminal/pull/5133 **Author:** [@ghost](https://github.com/ghost) **Created:** 3/26/2020 **Status:** ❌ Closed **Base:** `master` ← **Head:** `cleanup-edit` --- ### 📝 Commits (2) - [`ed3945f`](https://github.com/microsoft/terminal/commit/ed3945f20cc3e3680d9c48bbd59a11a95ffd37a4) Add contrexpr for checks that are constant - [`832b49c`](https://github.com/microsoft/terminal/commit/832b49ca4f43f9032ac2b25e2c791e9d353ff91b) Update SystemConfigurationProvider.cpp ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `src/host/ft_host/API_AliasTestsHelpers.hpp` (+1 -1) </details> ### 📄 Description <!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? --> ## Summary of the Pull Request Basically, some expressions are constant, but the check needs to be there, so I added a constexpr to them. <!-- Other than the issue solved, is this relevant to any other issues/existing PRs? --> ## References <!-- Please review the items on the PR checklist before submitting--> ## PR Checklist * [X] CLA signed. If not, go over [here](https://cla.opensource.microsoft.com/microsoft/Terminal) and sign the CLA * [X] Tests added/passed <!-- Provide a more detailed description of the PR, other things fixed or any additional comments/features here --> ## Detailed Description of the Pull Request / Additional comments <!-- Describe how you validated the behavior. Add automated tests wherever possible, but list manual validation steps taken as well --> ## Validation Steps Performed - Unit Testing --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-31 09:14:08 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#26127