Skip to content

Commit dcde72d

Browse files
committed
remove unused function
1 parent 0dbe999 commit dcde72d

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

clang/lib/Sema/HLSLExternalSemaSource.cpp

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -162,14 +162,6 @@ struct BuiltinTypeDeclBuilder {
162162
VD, false, NameInfo, Ty, VK_PRValue);
163163
}
164164

165-
static Expr *emitResourceClassExpr(ASTContext &AST, ResourceClass RC) {
166-
return IntegerLiteral::Create(
167-
AST,
168-
llvm::APInt(AST.getIntWidth(AST.UnsignedCharTy),
169-
static_cast<uint8_t>(RC)),
170-
AST.UnsignedCharTy, SourceLocation());
171-
}
172-
173165
BuiltinTypeDeclBuilder &addDefaultHandleConstructor(Sema &S) {
174166
if (Record->isCompleteDefinition())
175167
return *this;

0 commit comments

Comments
 (0)