clang API Documentation
#include <DeclSpec.h>

Public Member Functions | |
| ParamInfo () | |
| ParamInfo (IdentifierInfo *ident, SourceLocation iloc, Decl *param, CachedTokens *DefArgTokens=0) | |
Public Attributes | |
| IdentifierInfo * | Ident |
| SourceLocation | IdentLoc |
| Decl * | Param |
| CachedTokens * | DefaultArgTokens |
ParamInfo - An array of paraminfo objects is allocated whenever a function declarator is parsed. There are two interesting styles of arguments here: K&R-style identifier lists and parameter type lists. K&R-style identifier lists will have information about the identifier, but no type information. Parameter type lists will have type info (if the actions module provides it), but may have null identifier info: e.g. for 'void foo(int X, int)'.
Definition at line 1057 of file DeclSpec.h.
| clang::DeclaratorChunk::ParamInfo::ParamInfo | ( | ) | [inline] |
Definition at line 1069 of file DeclSpec.h.
| clang::DeclaratorChunk::ParamInfo::ParamInfo | ( | IdentifierInfo * | ident, |
| SourceLocation | iloc, | ||
| Decl * | param, | ||
| CachedTokens * | DefArgTokens = 0 |
||
| ) | [inline] |
Definition at line 1070 of file DeclSpec.h.
DefaultArgTokens - When the parameter's default argument cannot be parsed immediately (because it occurs within the declaration of a member function), it will be stored here as a sequence of tokens to be parsed once the class definition is complete. Non-NULL indicates that there is a default argument.
Definition at line 1067 of file DeclSpec.h.
Definition at line 1058 of file DeclSpec.h.
Definition at line 1059 of file DeclSpec.h.
Definition at line 1060 of file DeclSpec.h.
Referenced by clang::Sema::ActOnMethodDeclaration().