]> granicus.if.org Git - clang/commit
Rename Expr::Evaluate to Expr::EvaluateAsRValue to make it clear that it will
authorRichard Smith <richard-llvm@metafoo.co.uk>
Sat, 29 Oct 2011 00:50:52 +0000 (00:50 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Sat, 29 Oct 2011 00:50:52 +0000 (00:50 +0000)
commit51f4708c00110940ca3f337961915f2ca1668375
tree8507a7dfb0f17042f2373b7fa309b00967283c2c
parent7800212ef29be314d55814e8dcc568ff8beed106
Rename Expr::Evaluate to Expr::EvaluateAsRValue to make it clear that it will
implicitly perform an lvalue-to-rvalue conversion if used on an lvalue
expression. Also improve the documentation of Expr::Evaluate* to indicate which
of them will accept expressions with side-effects.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@143263 91177308-0d34-0410-b5e6-96231b3b80d8
15 files changed:
include/clang/AST/Expr.h
lib/AST/ExprConstant.cpp
lib/Analysis/CFG.cpp
lib/CodeGen/CGBuiltin.cpp
lib/CodeGen/CGDebugInfo.cpp
lib/CodeGen/CGExprConstant.cpp
lib/CodeGen/CGExprScalar.cpp
lib/CodeGen/CodeGenFunction.cpp
lib/Sema/SemaChecking.cpp
lib/Sema/SemaDecl.cpp
lib/Sema/SemaExpr.cpp
lib/Sema/SemaInit.cpp
lib/Sema/SemaStmt.cpp
lib/Sema/SemaType.cpp
lib/StaticAnalyzer/Core/ExprEngineC.cpp