]> granicus.if.org Git - clang/commit
[REFACTOR] Refactored some of the generic-lambda capturing code.
authorFaisal Vali <faisalv@yahoo.com>
Sat, 7 Dec 2013 20:22:44 +0000 (20:22 +0000)
committerFaisal Vali <faisalv@yahoo.com>
Sat, 7 Dec 2013 20:22:44 +0000 (20:22 +0000)
commit4bcebfe1e9f0560b9c1bd2791e3175ccfad47748
tree2992b74e8bbeab653e1095807d0a61705f41ca3a
parenta64e88b2d81e4fa41b70477088dbc1ad5797f53a
[REFACTOR] Refactored some of the generic-lambda capturing code.

Employed the following refactorings:
  - Renamed some functions
  - Introduced explaining variables
  - Cleaned up & added comments
  - Used Optional<unsigned> for return value instead of an out parameter
  - Added assertions
  - Constified a few member functions

No functionality change.
All regressions pass.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@196662 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Sema/ScopeInfo.h
include/clang/Sema/SemaLambda.h
lib/Sema/ScopeInfo.cpp
lib/Sema/SemaExprCXX.cpp
lib/Sema/SemaLambda.cpp