diff options
author | Chris Lattner <sabre@nondot.org> | 2008-04-12 23:52:44 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-04-12 23:52:44 +0000 |
commit | 9e979557eea3875c9e3d100c68188233dd7f46c0 (patch) | |
tree | 2576060186b3181b93b67c0565e7eb6d79d474e2 /lib/AST/Decl.cpp | |
parent | 22cb282b29deb9a7b919a339d450d36a3fc205a6 (diff) |
Default argument cleanups and minor improvements, patch by
Doug Gregor!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@49598 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/Decl.cpp')
-rw-r--r-- | lib/AST/Decl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/AST/Decl.cpp b/lib/AST/Decl.cpp index c0ec3085e5..bcb117dbc6 100644 --- a/lib/AST/Decl.cpp +++ b/lib/AST/Decl.cpp @@ -425,7 +425,7 @@ void FunctionDecl::setParams(ParmVarDecl **NewParamInfo, unsigned NumParams) { /// getMinRequiredArguments - Returns the minimum number of arguments /// needed to call this function. This may be fewer than the number of /// function parameters, if some of the parameters have default -/// arguments. +/// arguments (in C++). unsigned FunctionDecl::getMinRequiredArguments() const { unsigned NumRequiredArgs = getNumParams(); while (NumRequiredArgs > 0 |