diff options
| author | Douglas Gregor <dgregor@apple.com> | 2008-11-17 22:58:34 +0000 | 
|---|---|---|
| committer | Douglas Gregor <dgregor@apple.com> | 2008-11-17 22:58:34 +0000 | 
| commit | 92751d41a0a09020db5868e8aafb6aef2de3ad8e (patch) | |
| tree | 57fbc8fe4d663182ace304fb6c6a6d79a52d4393 /clang/lib/Parse/Parser.cpp | |
| parent | c775712192b4069ea41031276662e1c2e6370e27 (diff) | |
| download | bcm5719-llvm-92751d41a0a09020db5868e8aafb6aef2de3ad8e.tar.gz bcm5719-llvm-92751d41a0a09020db5868e8aafb6aef2de3ad8e.zip | |
Eliminate all of the placeholder identifiers used for constructors,
destructors, and conversion functions. The placeholders were used to
work around the fact that the parser and some of Sema really wanted
declarators to have simple identifiers; now, the code that deals with
declarators will use DeclarationNames.
llvm-svn: 59469
Diffstat (limited to 'clang/lib/Parse/Parser.cpp')
| -rw-r--r-- | clang/lib/Parse/Parser.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/clang/lib/Parse/Parser.cpp b/clang/lib/Parse/Parser.cpp index ee4cd7b554f..3b36ebec7b9 100644 --- a/clang/lib/Parse/Parser.cpp +++ b/clang/lib/Parse/Parser.cpp @@ -424,7 +424,7 @@ Parser::DeclTy *Parser::ParseDeclarationOrFunctionDefinition() {    Declarator DeclaratorInfo(DS, Declarator::FileContext);    ParseDeclarator(DeclaratorInfo);    // Error parsing the declarator? -  if (DeclaratorInfo.getIdentifier() == 0) { +  if (!DeclaratorInfo.hasName()) {      // If so, skip until the semi-colon or a }.      SkipUntil(tok::r_brace, true);      if (Tok.is(tok::semi)) | 

