[PATCH] D117199: [RISCV] Add missing namespace (NFC)
Yeting Kuo via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jan 13 01:31:19 PST 2022
fakepaper56 created this revision.
Herald added subscribers: VincentWu, luke957, achieveartificialintelligence, vkmr, frasercrmck, evandro, luismarques, apazos, sameer.abuasal, s.egerton, Jim, benna, psnobl, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, rogfer01, edward-jones, zzheng, jrtc27, kito-cheng, niosHD, sabuasal, simoncook, johnrusso, rbar, asb.
fakepaper56 requested review of this revision.
Herald added subscribers: cfe-commits, MaskRay.
Herald added a project: clang.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D117199
Files:
clang/utils/TableGen/RISCVVEmitter.cpp
Index: clang/utils/TableGen/RISCVVEmitter.cpp
===================================================================
--- clang/utils/TableGen/RISCVVEmitter.cpp
+++ clang/utils/TableGen/RISCVVEmitter.cpp
@@ -297,7 +297,7 @@
}
// Illegal vscale result would be less than 1
if (Log2ScaleResult < 0)
- return None;
+ return llvm::None;
return 1 << Log2ScaleResult;
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D117199.399585.patch
Type: text/x-patch
Size: 381 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220113/141163be/attachment-0001.bin>
More information about the cfe-commits
mailing list