[PATCH] D147989: Fix Attribute Placememt

Priyanshi Agarwal via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 10 22:29:06 PDT 2023


ipriyanshi1708 updated this revision to Diff 512340.
ipriyanshi1708 added a comment.



1. Updating D147989 <https://reviews.llvm.org/D147989>: Fix Attribute Placememt #
2. Enter a brief description of the changes included in this update.

Fixes https://github.com/llvm/llvm-project/issues/61660


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D147989/new/

https://reviews.llvm.org/D147989

Files:
  clang/lib/Sema/SemaDecl.cpp


Index: clang/lib/Sema/SemaDecl.cpp
===================================================================
--- clang/lib/Sema/SemaDecl.cpp
+++ clang/lib/Sema/SemaDecl.cpp
@@ -5314,7 +5314,6 @@
       for (const ParsedAttr &AL : DeclAttrs)
         Diag(AL.getLoc(), diag::warn_declspec_attribute_ignored)
             << AL << GetDiagnosticTypeSpecifierID(TypeSpecType);
-
         }
   }
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D147989.512340.patch
Type: text/x-patch
Size: 387 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230411/bee7bd69/attachment.bin>


More information about the cfe-commits mailing list