diff options
author | David Blaikie <dblaikie@gmail.com> | 2015-05-14 22:47:19 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2015-05-14 22:47:19 +0000 |
commit | f0f00dc33b43fb05e3ab1c8a8c370c02098951a1 (patch) | |
tree | abd6bdecfdfc5e3906b47aa9651638f6699fce01 /clang/lib/Sema/SemaExpr.cpp | |
parent | 96eab65d81db648d30c819dfa86e3af9c29e0566 (diff) | |
download | bcm5719-llvm-f0f00dc33b43fb05e3ab1c8a8c370c02098951a1.tar.gz bcm5719-llvm-f0f00dc33b43fb05e3ab1c8a8c370c02098951a1.zip |
Fix Clang -Wsequence-point
llvm-svn: 237401
Diffstat (limited to 'clang/lib/Sema/SemaExpr.cpp')
-rw-r--r-- | clang/lib/Sema/SemaExpr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Sema/SemaExpr.cpp b/clang/lib/Sema/SemaExpr.cpp index 0c5c23a3e2a..a2b0fe8fc26 100644 --- a/clang/lib/Sema/SemaExpr.cpp +++ b/clang/lib/Sema/SemaExpr.cpp @@ -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(); |