]> granicus.if.org Git - clang/commit
AddInitializerToDecl can't take a FullExprArg. Make it take an ExprArg, and create...
authorAnders Carlsson <andersca@mac.com>
Sun, 16 Aug 2009 05:13:48 +0000 (05:13 +0000)
committerAnders Carlsson <andersca@mac.com>
Sun, 16 Aug 2009 05:13:48 +0000 (05:13 +0000)
commit9abf2aedae7538cfd85f3ff0898a6d14385c8e36
treea173ddcd8f0aa57278b894e1c9917e79bb556e0f
parent2d46eb21eb2c904831b0e9f75ab3523384c70e66
AddInitializerToDecl can't take a FullExprArg. Make it take an ExprArg, and create the CXXExprWithTemporaries before setting the initializer on the VarDecl.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79176 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Parse/Action.h
lib/Frontend/PrintParserCallbacks.cpp
lib/Parse/ParseDecl.cpp
lib/Sema/Sema.h
lib/Sema/SemaDecl.cpp
lib/Sema/SemaDeclCXX.cpp
lib/Sema/SemaExprCXX.cpp
lib/Sema/SemaInit.cpp