diff options
-rw-r--r-- | include/clang/Sema/ParseAST.h | 2 | ||||
-rw-r--r-- | lib/Sema/ParseAST.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/clang/Sema/ParseAST.h b/include/clang/Sema/ParseAST.h index 36b79266e2..8a245d03cd 100644 --- a/include/clang/Sema/ParseAST.h +++ b/include/clang/Sema/ParseAST.h @@ -33,7 +33,7 @@ namespace clang { void ParseAST(Preprocessor &pp, ASTConsumer *C, ASTContext &Ctx, bool PrintStats = false, bool CompleteTranslationUnit = true, - CodeCompleteConsumer *(CreateCodeCompleter)(Sema &, void *Data) = 0, + CodeCompleteConsumer *(*CreateCodeCompleter)(Sema &, void *Data) = 0, void *CreateCodeCompleterData = 0); } // end namespace clang diff --git a/lib/Sema/ParseAST.cpp b/lib/Sema/ParseAST.cpp index d09af0a450..d3f26d875c 100644 --- a/lib/Sema/ParseAST.cpp +++ b/lib/Sema/ParseAST.cpp @@ -35,7 +35,7 @@ using namespace clang; void clang::ParseAST(Preprocessor &PP, ASTConsumer *Consumer, ASTContext &Ctx, bool PrintStats, bool CompleteTranslationUnit, - CodeCompleteConsumer *(CreateCodeCompleter)(Sema &, void *Data), + CodeCompleteConsumer *(*CreateCodeCompleter)(Sema &, void *Data), void *CreateCodeCompleterData) { // Collect global stats on Decls/Stmts (until we have a module streamer). if (PrintStats) { |