]> granicus.if.org Git - clang/commitdiff
Documentation cleanup: eliminated Doxygen warnings by deleting a doc comment
authorJames Dennett <jdennett@google.com>
Fri, 15 Jun 2012 08:02:32 +0000 (08:02 +0000)
committerJames Dennett <jdennett@google.com>
Fri, 15 Jun 2012 08:02:32 +0000 (08:02 +0000)
on ASTContext::CreateTypeSourceInfo that duplicated information from the
(more complete) version in ASTContext.h.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@158504 91177308-0d34-0410-b5e6-96231b3b80d8

lib/AST/ASTContext.cpp

index b2c3c5e1d4740458654b9ec28a92f14983324632..af2adb5f7b3ddd8c0d012745e6db01300d8f9dbf 100644 (file)
@@ -1342,14 +1342,6 @@ void ASTContext::setBlockVarCopyInits(VarDecl*VD, Expr* Init) {
   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)