[PATCH] D105049: [NFC] Remove extra semicolons in clang/lib/APINotes/APINotesFormat.h

Evan Wilde via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 28 12:18:06 PDT 2021


etcwilde created this revision.
etcwilde added a reviewer: compnerd.
etcwilde added a project: clang.
etcwilde requested review of this revision.
Herald added a subscriber: cfe-commits.

There are some trailing semicolons on namespaces in clang/lib/APINotes/APINotesFormat.h.
These result in warnings while building and don't need to be there.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D105049

Files:
  clang/lib/APINotes/APINotesFormat.h


Index: clang/lib/APINotes/APINotesFormat.h
===================================================================
--- clang/lib/APINotes/APINotesFormat.h
+++ clang/lib/APINotes/APINotesFormat.h
@@ -220,7 +220,7 @@
                                           // below)
                          llvm::BCBlob     // map from name to tag information
                          >;
-}; // namespace tag_block
+} // namespace tag_block
 
 namespace typedef_block {
 enum { TYPEDEF_DATA = 1 };
@@ -231,7 +231,7 @@
                                           // below)
                          llvm::BCBlob // map from name to typedef information
                          >;
-}; // namespace typedef_block
+} // namespace typedef_block
 
 namespace enum_constant_block {
 enum { ENUM_CONSTANT_DATA = 1 };


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D105049.354983.patch
Type: text/x-patch
Size: 793 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210628/7384bbab/attachment.bin>


More information about the cfe-commits mailing list