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)
llvm-svn: 325261

clang/lib/Sema/SemaDeclAttr.cpp

index fd1b781..6126c7f 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);