]> granicus.if.org Git - clang/commit
REFACTOR: Have PushLambdaScope return the LambdaScopeInfo that it creates.
authorFaisal Vali <faisalv@yahoo.com>
Tue, 12 Nov 2013 01:40:44 +0000 (01:40 +0000)
committerFaisal Vali <faisalv@yahoo.com>
Tue, 12 Nov 2013 01:40:44 +0000 (01:40 +0000)
commitd78d6591fa2556b037d3571fde3631d0243c08d7
tree4c9a1705b5b48a7373f35f2635933c1b1623085d
parent537b8a8b4277c8dba6c29e7582acde72a0578bdc
REFACTOR: Have PushLambdaScope return the LambdaScopeInfo that it creates.

No Functionality change.

This refactoring avoids having to call getCurLambda right after PushLambdaScope, to obtain the LambdaScopeInfo that was created during the call to PushLambdaScope.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@194438 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Sema/Sema.h
lib/Sema/Sema.cpp
lib/Sema/SemaDecl.cpp
lib/Sema/TreeTransform.h