[cfe-commits] r82543 - in /cfe/trunk: include/clang/Sema/ParseAST.h lib/Sema/ParseAST.cpp

Daniel Dunbar daniel at zuster.org
Tue Sep 22 03:19:05 PDT 2009


Author: ddunbar
Date: Tue Sep 22 05:19:04 2009
New Revision: 82543

URL: http://llvm.org/viewvc/llvm-project?rev=82543&view=rev
Log:
Spell function pointer correctly.

Modified:
    cfe/trunk/include/clang/Sema/ParseAST.h
    cfe/trunk/lib/Sema/ParseAST.cpp

Modified: cfe/trunk/include/clang/Sema/ParseAST.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Sema/ParseAST.h?rev=82543&r1=82542&r2=82543&view=diff

==============================================================================
--- cfe/trunk/include/clang/Sema/ParseAST.h (original)
+++ cfe/trunk/include/clang/Sema/ParseAST.h Tue Sep 22 05:19:04 2009
@@ -33,7 +33,7 @@
   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

Modified: cfe/trunk/lib/Sema/ParseAST.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/ParseAST.cpp?rev=82543&r1=82542&r2=82543&view=diff

==============================================================================
--- cfe/trunk/lib/Sema/ParseAST.cpp (original)
+++ cfe/trunk/lib/Sema/ParseAST.cpp Tue Sep 22 05:19:04 2009
@@ -35,7 +35,7 @@
 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) {





More information about the cfe-commits mailing list