summaryrefslogtreecommitdiffstats
path: root/clang/lib
diff options
context:
space:
mode:
Diffstat (limited to 'clang/lib')
-rw-r--r--clang/lib/Sema/SemaDeclAttr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Sema/SemaDeclAttr.cpp b/clang/lib/Sema/SemaDeclAttr.cpp
index fd1b7811dbe..6126c7f516c 100644
--- a/clang/lib/Sema/SemaDeclAttr.cpp
+++ b/clang/lib/Sema/SemaDeclAttr.cpp
@@ -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);
OpenPOWER on IntegriCloud