]> granicus.if.org Git - clang/commit
Avoid repeatedly evaluating subexpressions when checking for unsequenced
authorRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 20 Jun 2013 22:21:56 +0000 (22:21 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 20 Jun 2013 22:21:56 +0000 (22:21 +0000)
commit674700516fb7ef0277fbb2a01f56f0c2fa8e7ce5
tree7603d36c53202743d66547e4196f492ce9434732
parentcac18add73d095eaab600aefe27ea7174aec4922
Avoid repeatedly evaluating subexpressions when checking for unsequenced
operations in the case where evaluating a subexpression fails. No functionality
change, but test/Sema/many-logical-ops.c gets ~100x faster with this change.

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