diff options
author | Douglas Gregor <dgregor@apple.com> | 2008-10-31 09:07:45 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2008-10-31 09:07:45 +0000 |
commit | 61956c460a55114d070f60b8c66509460189a2b1 (patch) | |
tree | 6de8cab7314636ccd9598aaead2fbcb41735c681 /clang/test/Analysis/array-struct.c | |
parent | f8362f9e5d8b3e2fdfc2d54cdc5cb45c84dff06b (diff) | |
download | bcm5719-llvm-61956c460a55114d070f60b8c66509460189a2b1.tar.gz bcm5719-llvm-61956c460a55114d070f60b8c66509460189a2b1.zip |
Add support for parsing and representing C++ constructor declarations.
Notes:
- Constructors are never found by name lookup, so they'll never get
pushed into any scope. Instead, they are stored as an
OverloadedFunctionDecl in CXXRecordDecl for easy overloading.
- There's a new action isCurrentClassName that determines whether an
identifier is the name of the innermost class currently being defined;
we use this to identify the declarator-id grammar rule that refers to
a type-name.
- MinimalAction does *not* support parsing constructors.
- We now handle virtual and explicit function specifiers.
llvm-svn: 58499
Diffstat (limited to 'clang/test/Analysis/array-struct.c')
0 files changed, 0 insertions, 0 deletions