Skip to content

Commit

Permalink
[NVPTX] Remove extra ';' outside of a function (NFC)
Browse files Browse the repository at this point in the history
/llvm-project/llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp:224:2:
error: extra ';' outside of a function is incompatible with C++98 [-Werror,-Wc++98-compat-extra-semi]
};
 ^
1 error generated.
  • Loading branch information
DamonFool committed Dec 17, 2024
1 parent 932d9c1 commit f3a8f87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ getVectorLoweringShape(EVT VectorVT) {
}

llvm_unreachable("All cases in switch should return.");
};
}

/// ComputePTXValueVTs - For the given Type \p Ty, returns the set of primitive
/// EVTs that compose it. Unlike ComputeValueVTs, this will break apart vectors
Expand Down

0 comments on commit f3a8f87

Please sign in to comment.