Skip to content

Conversation

@lhames
Copy link
Contributor

@lhames lhames commented Dec 15, 2025

Custom error types (ErrorInfoBase subclasses) should use ErrorExtends as of 8f51da3. Adding a static_assert allows us to enforce that at compile-time.

Custom error types (ErrorInfoBase subclasses) should use ErrorExtends as of
8f51da3. Adding a static_assert allows us to enforce that at compile-time.
@github-actions
Copy link

github-actions bot commented Dec 15, 2025

✅ With the latest revision this PR passed the C/C++ code formatter.

@lhames lhames merged commit 61908c5 into llvm:main Dec 15, 2025
10 checks passed
@lhames lhames deleted the orc-rt-ensure-errors-use-errorextends branch December 15, 2025 06:21
mahesh-attarde pushed a commit to mahesh-attarde/llvm-project that referenced this pull request Dec 19, 2025
Custom error types (ErrorInfoBase subclasses) should use ErrorExtends as
of 8f51da3. Adding a static_assert allows us to enforce that at
compile-time.
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.

1 participant