diff options
| author | Abramo Bagnara <abramo.bagnara@bugseng.com> | 2012-11-08 16:27:30 +0000 |
|---|---|---|
| committer | Abramo Bagnara <abramo.bagnara@bugseng.com> | 2012-11-08 16:27:30 +0000 |
| commit | ad9f2e21cdb0160a298ed265b41912997ac2cc09 (patch) | |
| tree | af035a1a4075dbca22ac7ecea9c4a613754d9270 /clang/lib/Sema | |
| parent | 3b8a9e5e6bce2eb188173018b5d13e27a7548b56 (diff) | |
| download | bcm5719-llvm-ad9f2e21cdb0160a298ed265b41912997ac2cc09.tar.gz bcm5719-llvm-ad9f2e21cdb0160a298ed265b41912997ac2cc09.zip | |
Avoid to write function name in comment. Thanks to Dmitri Gribenko.
llvm-svn: 167588
Diffstat (limited to 'clang/lib/Sema')
| -rw-r--r-- | clang/lib/Sema/SemaDecl.cpp | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/clang/lib/Sema/SemaDecl.cpp b/clang/lib/Sema/SemaDecl.cpp index dde875007bb..628d2245a87 100644 --- a/clang/lib/Sema/SemaDecl.cpp +++ b/clang/lib/Sema/SemaDecl.cpp @@ -3805,9 +3805,9 @@ Decl *Sema::HandleDeclarator(Scope *S, Declarator &D, return New; } -/// TryToFixInvalidVariablyModifiedType - Helper method to turn variable array -/// types into constant array types in certain situations which would otherwise -/// be errors (for GCC compatibility). +/// Helper method to turn variable array types into constant array +/// types in certain situations which would otherwise be errors (for +/// GCC compatibility). static QualType TryToFixInvalidVariablyModifiedType(QualType T, ASTContext &Context, bool &SizeIsNegative, @@ -3875,7 +3875,6 @@ static QualType TryToFixInvalidVariablyModifiedType(QualType T, Res, ArrayType::Normal, 0); } -/// FixInvalidVariablyModifiedTypeLoc static void FixInvalidVariablyModifiedTypeLoc(TypeLoc SrcTL, TypeLoc DstTL) { if (PointerTypeLoc* SrcPTL = dyn_cast<PointerTypeLoc>(&SrcTL)) { @@ -3903,9 +3902,9 @@ FixInvalidVariablyModifiedTypeLoc(TypeLoc SrcTL, TypeLoc DstTL) { DstATL->setRBracketLoc(SrcATL->getRBracketLoc()); } -/// TryToFixInvalidVariablyModifiedTypeSourceInfo - Helper method to turn -/// variable array types into constant array types in certain situations -/// which would otherwise be errors (for GCC compatibility). +/// Helper method to turn variable array types into constant array +/// types in certain situations which would otherwise be errors (for +/// GCC compatibility). static TypeSourceInfo* TryToFixInvalidVariablyModifiedTypeSourceInfo(TypeSourceInfo *TInfo, ASTContext &Context, |

