[PATCH] D111597: [RISCV][Clang] Fix RISCV vector header comment.

Jianjian Guan via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 11 18:58:06 PDT 2021


jacquesguan created this revision.
jacquesguan added reviewers: HsiangKai, khchen, craig.topper.
Herald added subscribers: achieveartificialintelligence, vkmr, frasercrmck, evandro, luismarques, apazos, sameer.abuasal, s.egerton, Jim, benna, psnobl, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, rogfer01, edward-jones, zzheng, jrtc27, shiva0217, kito-cheng, niosHD, sabuasal, simoncook, johnrusso, rbar, asb.
jacquesguan requested review of this revision.
Herald added subscribers: cfe-commits, MaskRay.
Herald added a project: clang.

Fix wrong comment for macro endif.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D111597

Files:
  clang/utils/TableGen/RISCVVEmitter.cpp


Index: clang/utils/TableGen/RISCVVEmitter.cpp
===================================================================
--- clang/utils/TableGen/RISCVVEmitter.cpp
+++ clang/utils/TableGen/RISCVVEmitter.cpp
@@ -1035,7 +1035,7 @@
 
   OS << "\n#ifdef __cplusplus\n";
   OS << "}\n";
-  OS << "#endif // __riscv_vector\n";
+  OS << "#endif // __cplusplus\n";
   OS << "#endif // __RISCV_VECTOR_H\n";
 }
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D111597.378853.patch
Type: text/x-patch
Size: 396 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20211012/be3803c0/attachment.bin>


More information about the cfe-commits mailing list