diff options
| author | Ted Kremenek <kremenek@apple.com> | 2008-09-02 20:13:32 +0000 |
|---|---|---|
| committer | Ted Kremenek <kremenek@apple.com> | 2008-09-02 20:13:32 +0000 |
| commit | 123f025b295f59f8382cf9ecce299c52df3640e4 (patch) | |
| tree | f2bcbd3400d5ece19b1054944425c1ecc2cf1de1 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | c84e8b779ed816bbaecc8c82fd60d157dbfbab71 (diff) | |
| download | llvm-123f025b295f59f8382cf9ecce299c52df3640e4.zip llvm-123f025b295f59f8382cf9ecce299c52df3640e4.tar.gz llvm-123f025b295f59f8382cf9ecce299c52df3640e4.tar.bz2 | |
CXXRecordDecl and RecordDecl:
- Change constructor and create methods to accept a CXXRecordDecl* (RecordDecl*)
instead of a ScopedDecl* for PrevDecl. This causes the type checking
to be more tight and doesn't break any code.
RecordDecl:
- Don't use the NextDeclarator field in ScopedDecl to represent the previous
declaration. This is a conflated use of the NextDeclarator field, which will
be removed anyway when DeclGroups are fully implemented.
- Instead, represent (a soon to be implemented) chain of RecordDecls using a
NextDecl field. The last RecordDecl in the chain is always the 'defining'
RecordDecl that owns the FieldDecls. The other RecordDecls in the chain
are forward declarations.
llvm-svn: 55640
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
