[clang] 19840a3 - Remove an unnecessary explicit 'WarnDiag'; NFC

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Sat Mar 14 14:17:49 PDT 2020


Author: Aaron Ballman
Date: 2020-03-14T17:15:59-04:00
New Revision: 19840a307e6d98017b68b14725c53d1ad89d98f9

URL: https://github.com/llvm/llvm-project/commit/19840a307e6d98017b68b14725c53d1ad89d98f9
DIFF: https://github.com/llvm/llvm-project/commit/19840a307e6d98017b68b14725c53d1ad89d98f9.diff

LOG: Remove an unnecessary explicit 'WarnDiag'; NFC

Added: 
    

Modified: 
    clang/include/clang/Basic/Attr.td

Removed: 
    


################################################################################
diff  --git a/clang/include/clang/Basic/Attr.td b/clang/include/clang/Basic/Attr.td
index c2504ba620e8..624995a2d572 100644
--- a/clang/include/clang/Basic/Attr.td
+++ b/clang/include/clang/Basic/Attr.td
@@ -677,7 +677,7 @@ def AlwaysInline : InheritableAttr {
 
 def Artificial : InheritableAttr {
   let Spellings = [GCC<"artificial">];
-  let Subjects = SubjectList<[InlineFunction], WarnDiag>;
+  let Subjects = SubjectList<[InlineFunction]>;
   let Documentation = [ArtificialDocs];
 }
 


        


More information about the cfe-commits mailing list