Skip to content

Commit a25b8af

Browse files
committed
Fix wrong type
1 parent 4fe574a commit a25b8af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang-tools-extra/clang-tidy/llvm/MLIROpBuilderCheck.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class TypeAsWrittenStencil : public StencilInterface {
3131

3232
llvm::Error eval(const MatchFinder::MatchResult &match,
3333
std::string *result) const override {
34-
RangeSelector n = node(id)(match);
34+
llvm::Expected<CharSourceRange> n = node(id)(match);
3535
if (!n)
3636
return n.takeError();
3737
SourceRange srcRange = n->getAsRange();

0 commit comments

Comments
 (0)