]> granicus.if.org Git - clang/commitdiff
Amend r325256. This change was not properly merged locally before the commit happened.
authorAaron Ballman <aaron@aaronballman.com>
Thu, 15 Feb 2018 16:28:10 +0000 (16:28 +0000)
committerAaron Ballman <aaron@aaronballman.com>
Thu, 15 Feb 2018 16:28:10 +0000 (16:28 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@325261 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Sema/SemaDeclAttr.cpp

index fd1b7811dbea0477483e67ff397aca11bd2e3d9c..6126c7f516c249cc0d612ef577ac51126aa502d8 100644 (file)
@@ -6029,7 +6029,7 @@ static void ProcessDeclAttribute(Sema &S, Scope *scope, Decl *D,
     handleAlwaysInlineAttr(S, D, AL);
     break;
   case AttributeList::AT_Artificial:
-    handleSimpleAttribute<ArtificialAttr>(S, D, Attr);
+    handleSimpleAttribute<ArtificialAttr>(S, D, AL);
     break;
   case AttributeList::AT_AnalyzerNoReturn:
     handleAnalyzerNoReturnAttr(S, D, AL);