[cfe-commits] r41542 - in /cfe/trunk: Parse/ParseDecl.cpp include/clang/Parse/Parser.h
Steve Naroff
snaroff at apple.com
Tue Aug 28 09:31:47 PDT 2007
Author: snaroff
Date: Tue Aug 28 11:31:47 2007
New Revision: 41542
URL: http://llvm.org/viewvc/llvm-project?rev=41542&view=rev
Log:
Tweak declaration...
Modified:
cfe/trunk/Parse/ParseDecl.cpp
cfe/trunk/include/clang/Parse/Parser.h
Modified: cfe/trunk/Parse/ParseDecl.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/Parse/ParseDecl.cpp?rev=41542&r1=41541&r2=41542&view=diff
==============================================================================
--- cfe/trunk/Parse/ParseDecl.cpp (original)
+++ cfe/trunk/Parse/ParseDecl.cpp Tue Aug 28 11:31:47 2007
@@ -640,7 +640,7 @@
/// [GNU] declarator[opt] ':' constant-expression attributes[opt]
///
void Parser::ParseStructDeclaration(DeclTy *TagDecl,
- llvm::SmallVector<DeclTy*, 32> &FieldDecls) {
+ llvm::SmallVectorImpl<DeclTy*> &FieldDecls) {
// FIXME: When __extension__ is specified, disable extension diagnostics.
if (Tok.getKind() == tok::kw___extension__)
ConsumeToken();
Modified: cfe/trunk/include/clang/Parse/Parser.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Parse/Parser.h?rev=41542&r1=41541&r2=41542&view=diff
==============================================================================
--- cfe/trunk/include/clang/Parse/Parser.h (original)
+++ cfe/trunk/include/clang/Parse/Parser.h Tue Aug 28 11:31:47 2007
@@ -376,8 +376,8 @@
void ParseStructUnionBody(SourceLocation StartLoc, unsigned TagType,
DeclTy *TagDecl);
void ParseStructDeclaration(DeclTy *TagDecl,
- llvm::SmallVector<DeclTy*, 32> &FieldDecls);
-
+ llvm::SmallVectorImpl<DeclTy*> &FieldDecls);
+
bool isDeclarationSpecifier() const;
bool isTypeSpecifierQualifier() const;
More information about the cfe-commits
mailing list