Skip to content

Commit 9aa8605

Browse files
committed
remove redundant entry in getScopeFromNormalizedScopeName.
1 parent f9ea4f3 commit 9aa8605

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

clang/lib/Basic/Attributes.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,8 +213,7 @@ getScopeFromNormalizedScopeName(StringRef ScopeName) {
213213
.Case("vk", AttributeCommonInfo::Scope::VK)
214214
.Case("msvc", AttributeCommonInfo::Scope::MSVC)
215215
.Case("omp", AttributeCommonInfo::Scope::OMP)
216-
.Case("riscv", AttributeCommonInfo::Scope::RISCV)
217-
.Case("vk", AttributeCommonInfo::Scope::HLSL);
216+
.Case("riscv", AttributeCommonInfo::Scope::RISCV);
218217
}
219218

220219
unsigned AttributeCommonInfo::calculateAttributeSpellingListIndex() const {

0 commit comments

Comments
 (0)