r207895 - Update Preprocessor::Initialize() documentation following r207825

Alp Toker alp at nuanti.com
Fri May 2 20:45:43 PDT 2014


Author: alp
Date: Fri May  2 22:45:43 2014
New Revision: 207895

URL: http://llvm.org/viewvc/llvm-project?rev=207895&view=rev
Log:
Update Preprocessor::Initialize() documentation following r207825

Modified:
    cfe/trunk/include/clang/Lex/Preprocessor.h

Modified: cfe/trunk/include/clang/Lex/Preprocessor.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Lex/Preprocessor.h?rev=207895&r1=207894&r2=207895&view=diff
==============================================================================
--- cfe/trunk/include/clang/Lex/Preprocessor.h (original)
+++ cfe/trunk/include/clang/Lex/Preprocessor.h Fri May  2 22:45:43 2014
@@ -463,10 +463,10 @@ public:
 
   ~Preprocessor();
 
-  /// \brief Initialize the preprocessor, if the constructor did not already
-  /// perform the initialization.
+  /// \brief Initialize the preprocessor using information about the target.
   ///
-  /// \param Target Information about the target.
+  /// \param Target is owned by the caller and must remain valid for the
+  /// lifetime of the preprocessor.
   void Initialize(const TargetInfo &Target);
 
   /// \brief Retrieve the preprocessor options used to initialize this





More information about the cfe-commits mailing list