[all-commits] [llvm/llvm-project] f21282: [HLSL][NFC] Remove RegisterBindingFlags struct (#1...
Helena Kotas via All-commits
all-commits at lists.llvm.org
Wed Sep 18 10:51:52 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f2128267c26e548bef59209e7a351ff94d343bf3
https://github.com/llvm/llvm-project/commit/f2128267c26e548bef59209e7a351ff94d343bf3
Author: Helena Kotas <hekotas at microsoft.com>
Date: 2024-09-18 (Wed, 18 Sep 2024)
Changed paths:
M clang/lib/Sema/SemaHLSL.cpp
Log Message:
-----------
[HLSL][NFC] Remove RegisterBindingFlags struct (#108924)
When diagnosing register bindings we just need to make sure there is a
resource that matches the provided register type. We can emit the
diagnostics right away instead of collecting flags in the
RegisterBindingFlags struct. That also enables early exit when scanning
user defined types because we can return as soon as we find a matching
resource for the given register type.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list