]> granicus.if.org Git - clang/commitdiff
Update documentation to match API change in r215323.
authorNick Lewycky <nicholas@mxc.ca>
Tue, 21 Oct 2014 06:43:08 +0000 (06:43 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Tue, 21 Oct 2014 06:43:08 +0000 (06:43 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@220267 91177308-0d34-0410-b5e6-96231b3b80d8

docs/RAVFrontendAction.rst

index 2f60ce9e8279e3282037c47f2a3f67bc4f1d94ff..827e6007a78bbf87dc91d0ca8ebe12efe31bce66 100644 (file)
@@ -25,7 +25,7 @@ unit.
 
       class FindNamedClassAction : public clang::ASTFrontendAction {
       public:
-        virtual clang::ASTConsumer *CreateASTConsumer(
+        virtual std::unique_ptr<ASTConsumer> CreateASTConsumer(
           clang::CompilerInstance &Compiler, llvm::StringRef InFile) {
           return new FindNamedClassConsumer;
         }