Skip to content

Commit

Permalink
Fix clang compiling
Browse files Browse the repository at this point in the history
  • Loading branch information
jiaolu committed Nov 24, 2021
1 parent 23ba4cb commit 13d1bc8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tools/clang/lib/SPIRV/SpirvEmitter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12608,7 +12608,6 @@ SpirvInstruction *
SpirvEmitter::processSpvIntrinsicTypeDef(const CallExpr *expr) {
auto funcDecl = expr->getDirectCallee();
auto typeDefAttr = funcDecl->getAttr<VKTypeDefExtAttr>();
SpirvIntrinsicType *elementType = nullptr;
llvm::SmallVector<uint32_t, 2> capbilities;
llvm::SmallVector<llvm::StringRef, 2> extensions;

Expand Down Expand Up @@ -12649,7 +12648,6 @@ SpirvEmitter::processSpvIntrinsicTypeDef(const CallExpr *expr) {

// Emit dummy OpNop with no semantic meaning, with possible extension and
// capabilities

SpirvInstruction *retVal = spvBuilder.createSpirvIntrInstExt(
static_cast<unsigned>(spv::Op::OpNop), QualType(), {}, extensions, {},
capbilities, expr->getExprLoc());
Expand Down

0 comments on commit 13d1bc8

Please sign in to comment.