Add documentation to ApplyDebugLocation.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@228002 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/CGDebugInfo.h b/lib/CodeGen/CGDebugInfo.h
index e16dbc3..e3d6724 100644
--- a/lib/CodeGen/CGDebugInfo.h
+++ b/lib/CodeGen/CGDebugInfo.h
@@ -443,8 +443,8 @@
   }
 };
 
-/// A scoped helper to set the current debug location to the specified location
-/// or preferred location of the specified Expr.
+/// \brief A scoped helper to set the current debug location to the specified
+/// location or preferred location of the specified Expr.
 class ApplyDebugLocation {
 private:
   void init(SourceLocation TemporaryLocation);
@@ -454,6 +454,8 @@
   CodeGenFunction &CGF;
 
 public:
+  /// If TemporaryLocation is invalid, the IRBuilder will be set to not attach
+  /// debug locations, thus marking the instructions as prologue.
   ApplyDebugLocation(CodeGenFunction &CGF,
                      SourceLocation TemporaryLocation = SourceLocation());
   ApplyDebugLocation(CodeGenFunction &CGF, const Expr *E);