[cfe-commits] r158504 - /cfe/trunk/lib/AST/ASTContext.cpp
James Dennett
jdennett at google.com
Fri Jun 15 01:02:32 PDT 2012
Author: jdennett
Date: Fri Jun 15 03:02:32 2012
New Revision: 158504
URL: http://llvm.org/viewvc/llvm-project?rev=158504&view=rev
Log:
Documentation cleanup: eliminated Doxygen warnings by deleting a doc comment
on ASTContext::CreateTypeSourceInfo that duplicated information from the
(more complete) version in ASTContext.h.
Modified:
cfe/trunk/lib/AST/ASTContext.cpp
Modified: cfe/trunk/lib/AST/ASTContext.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/ASTContext.cpp?rev=158504&r1=158503&r2=158504&view=diff
==============================================================================
--- cfe/trunk/lib/AST/ASTContext.cpp (original)
+++ cfe/trunk/lib/AST/ASTContext.cpp Fri Jun 15 03:02:32 2012
@@ -1342,14 +1342,6 @@
BlockVarCopyInits[VD] = Init;
}
-/// \brief Allocate an uninitialized TypeSourceInfo.
-///
-/// The caller should initialize the memory held by TypeSourceInfo using
-/// the TypeLoc wrappers.
-///
-/// \param T the type that will be the basis for type source info. This type
-/// should refer to how the declarator was written in source code, not to
-/// what type semantic analysis resolved the declarator to.
TypeSourceInfo *ASTContext::CreateTypeSourceInfo(QualType T,
unsigned DataSize) const {
if (!DataSize)
More information about the cfe-commits
mailing list