Fix incorrect code indentation and silence dead store warning due to idiomatic code.

llvm-svn: 137870
This commit is contained in:
Ted Kremenek 2011-08-17 21:09:35 +00:00
parent 29cc642f68
commit 897af91e1a
1 changed files with 45 additions and 43 deletions

View File

@ -1002,6 +1002,8 @@ void DeclPrinter::VisitObjCPropertyDecl(ObjCPropertyDecl *PDecl) {
Out << (first ? ' ' : ',') << "atomic"; Out << (first ? ' ' : ',') << "atomic";
first = false; first = false;
} }
(void) first; // Silence dead store warning due to idiomatic code.
Out << " )"; Out << " )";
} }
Out << ' ' << PDecl->getType().getAsString(Policy) << ' ' << PDecl; Out << ' ' << PDecl->getType().getAsString(Policy) << ' ' << PDecl;