aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-09-22 10:19:04 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-09-22 10:19:04 +0000
commite119e84ea5ea66eb2090aec05310c23e9d6f63fc (patch)
tree3133036351ef102011ac3c457f89f3490e60dec8
parentb850ddd2ce2b6f4e223396fd160752f465b7ee29 (diff)
Spell function pointer correctly.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@82543 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/clang/Sema/ParseAST.h2
-rw-r--r--lib/Sema/ParseAST.cpp2
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) {