[cfe-commits] r136929 - /cfe/trunk/lib/AST/ASTContext.cpp
Chad Rosier
mcrosier at apple.com
Thu Aug 4 14:50:30 PDT 2011
Author: mcrosier
Date: Thu Aug 4 16:50:29 2011
New Revision: 136929
URL: http://llvm.org/viewvc/llvm-project?rev=136929&view=rev
Log:
Whitespace.
Modified:
cfe/trunk/lib/AST/ASTContext.cpp
Modified: cfe/trunk/lib/AST/ASTContext.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/ASTContext.cpp?rev=136929&r1=136928&r2=136929&view=diff
==============================================================================
--- cfe/trunk/lib/AST/ASTContext.cpp (original)
+++ cfe/trunk/lib/AST/ASTContext.cpp Thu Aug 4 16:50:29 2011
@@ -556,35 +556,33 @@
bool ASTContext::ZeroBitfieldFollowsNonBitfield(const FieldDecl *FD,
const FieldDecl *LastFD) const {
return (FD->isBitField() && LastFD && !LastFD->isBitField() &&
- FD->getBitWidth()-> EvaluateAsInt(*this).getZExtValue() == 0);
-
+ FD->getBitWidth()->EvaluateAsInt(*this).getZExtValue() == 0);
}
bool ASTContext::ZeroBitfieldFollowsBitfield(const FieldDecl *FD,
const FieldDecl *LastFD) const {
return (FD->isBitField() && LastFD && LastFD->isBitField() &&
- FD->getBitWidth()-> EvaluateAsInt(*this).getZExtValue() == 0 &&
- LastFD->getBitWidth()-> EvaluateAsInt(*this).getZExtValue() != 0);
-
+ FD->getBitWidth()->EvaluateAsInt(*this).getZExtValue() == 0 &&
+ LastFD->getBitWidth()->EvaluateAsInt(*this).getZExtValue() != 0);
}
bool ASTContext::BitfieldFollowsBitfield(const FieldDecl *FD,
const FieldDecl *LastFD) const {
return (FD->isBitField() && LastFD && LastFD->isBitField() &&
- FD->getBitWidth()-> EvaluateAsInt(*this).getZExtValue() &&
- LastFD->getBitWidth()-> EvaluateAsInt(*this).getZExtValue());
+ FD->getBitWidth()->EvaluateAsInt(*this).getZExtValue() &&
+ LastFD->getBitWidth()->EvaluateAsInt(*this).getZExtValue());
}
bool ASTContext::NoneBitfieldFollowsBitfield(const FieldDecl *FD,
const FieldDecl *LastFD) const {
return (!FD->isBitField() && LastFD && LastFD->isBitField() &&
- LastFD->getBitWidth()-> EvaluateAsInt(*this).getZExtValue());
+ LastFD->getBitWidth()->EvaluateAsInt(*this).getZExtValue());
}
bool ASTContext::BitfieldFollowsNoneBitfield(const FieldDecl *FD,
const FieldDecl *LastFD) const {
return (FD->isBitField() && LastFD && !LastFD->isBitField() &&
- FD->getBitWidth()-> EvaluateAsInt(*this).getZExtValue());
+ FD->getBitWidth()->EvaluateAsInt(*this).getZExtValue());
}
ASTContext::overridden_cxx_method_iterator
More information about the cfe-commits
mailing list