diff options
| author | Richard Smith <richard-llvm@metafoo.co.uk> | 2014-04-07 15:16:58 +0000 |
|---|---|---|
| committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2014-04-07 15:16:58 +0000 |
| commit | 151b8a38673d42ed533c2e06051a86943d883b9e (patch) | |
| tree | a5825ed2e5759e0f2887e13ab35fea5a76657b4d /clang | |
| parent | e570ede5d1f88e95003ecde3b528c139123faacb (diff) | |
| download | bcm5719-llvm-151b8a38673d42ed533c2e06051a86943d883b9e.tar.gz bcm5719-llvm-151b8a38673d42ed533c2e06051a86943d883b9e.zip | |
Fix clang-tidy warning (argument comments don't match parameter names).
llvm-svn: 205715
Diffstat (limited to 'clang')
| -rw-r--r-- | clang/include/clang/Sema/DeclSpec.h | 4 | ||||
| -rw-r--r-- | clang/lib/Sema/SemaDecl.cpp | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/clang/include/clang/Sema/DeclSpec.h b/clang/include/clang/Sema/DeclSpec.h index 2cd10da7180..948fb9cbfdb 100644 --- a/clang/include/clang/Sema/DeclSpec.h +++ b/clang/include/clang/Sema/DeclSpec.h @@ -1414,8 +1414,8 @@ struct DeclaratorChunk { /// DeclaratorChunk::getFunction - Return a DeclaratorChunk for a function. /// "TheDeclarator" is the declarator that this will be added to. - static DeclaratorChunk getFunction(bool hasProto, - bool isAmbiguous, + static DeclaratorChunk getFunction(bool HasProto, + bool IsAmbiguous, SourceLocation LParenLoc, ParamInfo *Params, unsigned NumParams, SourceLocation EllipsisLoc, diff --git a/clang/lib/Sema/SemaDecl.cpp b/clang/lib/Sema/SemaDecl.cpp index 43d855c0cb9..6a013a71381 100644 --- a/clang/lib/Sema/SemaDecl.cpp +++ b/clang/lib/Sema/SemaDecl.cpp @@ -10088,9 +10088,9 @@ NamedDecl *Sema::ImplicitlyDefineFunction(SourceLocation Loc, Declarator D(DS, Declarator::BlockContext); D.AddTypeInfo(DeclaratorChunk::getFunction(/*HasProto=*/false, /*IsAmbiguous=*/false, - /*RParenLoc=*/NoLoc, - /*ArgInfo=*/0, - /*NumArgs=*/0, + /*LParenLoc=*/NoLoc, + /*Params=*/0, + /*NumParams=*/0, /*EllipsisLoc=*/NoLoc, /*RParenLoc=*/NoLoc, /*TypeQuals=*/0, |

