]> granicus.if.org Git - clang/commit
Remove a redundant assignment to the FDecl variable from *inside* it's
authorChandler Carruth <chandlerc@gmail.com>
Tue, 3 Jul 2012 00:15:11 +0000 (00:15 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Tue, 3 Jul 2012 00:15:11 +0000 (00:15 +0000)
commit2e2c7a40b7164e8499b2551c363550d6da68dc97
tree56d8918f63c1b296163da87c3ca13694094cf30b
parente0c1168ec7910a1a7ed08df4d4f0c58c2fa2ecd1
Remove a redundant assignment to the FDecl variable from *inside* it's
initializer.

I really feel like Clang should warn about this, but I can't describe
a good reason. GCC will warn on this in some cases under
-Wsequence-point, but it actually seems like a false positive for that
warning....

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159631 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaDeclObjC.cpp