Fix Clang -Wsequence-point

llvm-svn: 237401
This commit is contained in:
David Blaikie 2015-05-14 22:47:19 +00:00
parent 96eab65d81
commit f0f00dc33b
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ DiagnoseAvailabilityOfDecl(Sema &S, NamedDecl *D, SourceLocation Loc,
// For typedefs, if the typedef declaration appears available look
// to the underlying type to see if it is more restrictive.
while (const TypedefNameDecl *TD = TD = dyn_cast<TypedefNameDecl>(D)) {
while (const TypedefNameDecl *TD = dyn_cast<TypedefNameDecl>(D)) {
if (Result == AR_Available) {
if (const TagType *TT = TD->getUnderlyingType()->getAs<TagType>()) {
D = TT->getDecl();