From 2618247c61c25cf9bd4cb315ee51cff2b3ab3add Mon Sep 17 00:00:00 2001 From: Tyker Date: Tue, 27 Oct 2020 09:46:06 +0100 Subject: [PATCH] Correct examples after d3205bbca3e0002d76282878986993e7e7994779 --- clang/examples/AnnotateFunctions/AnnotateFunctions.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clang/examples/AnnotateFunctions/AnnotateFunctions.cpp b/clang/examples/AnnotateFunctions/AnnotateFunctions.cpp index 1724704..d872020 100644 --- a/clang/examples/AnnotateFunctions/AnnotateFunctions.cpp +++ b/clang/examples/AnnotateFunctions/AnnotateFunctions.cpp @@ -32,8 +32,8 @@ public: return true; for (auto D : DG) if (FunctionDecl *FD = dyn_cast(D)) - FD->addAttr(AnnotateAttr::CreateImplicit(FD->getASTContext(), - "example_annotation")); + FD->addAttr(AnnotateAttr::CreateImplicit( + FD->getASTContext(), "example_annotation", nullptr, 0)); return true; } }; -- 2.7.4