Documented ClangResultSynthesizer and added very minor
API fixes.


git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@111202 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Expression/ClangResultSynthesizer.cpp b/source/Expression/ClangResultSynthesizer.cpp
index 6fc7886..b3922ee 100644
--- a/source/Expression/ClangResultSynthesizer.cpp
+++ b/source/Expression/ClangResultSynthesizer.cpp
@@ -76,7 +76,7 @@
         !strcmp(function_decl->getNameAsCString(),
                 "___clang_expr"))
     {
-        SynthesizeResult(*m_ast_context, function_decl);
+        SynthesizeResult(function_decl);
     }
 }
 
@@ -99,9 +99,10 @@
 }
 
 bool 
-ClangResultSynthesizer::SynthesizeResult (ASTContext &Ctx,
-                                          FunctionDecl *FunDecl)
+ClangResultSynthesizer::SynthesizeResult (FunctionDecl *FunDecl)
 {
+    ASTContext &Ctx(*m_ast_context);
+    
     Log *log = lldb_private::GetLogIfAllCategoriesSet (LIBLLDB_LOG_EXPRESSIONS);
     
     if (!m_sema)