Move local helper class into anonymous namespace.

llvm-svn: 265364
This commit is contained in:
Richard Smith 2016-04-04 23:29:43 +00:00
parent b10079e936
commit 8921007090
1 changed files with 2 additions and 0 deletions

View File

@ -3354,6 +3354,7 @@ static bool EvaluateCond(EvalInfo &Info, const VarDecl *CondDecl,
return EvaluateAsBooleanCondition(Cond, Result, Info);
}
namespace {
/// \brief A location where the result (returned value) of evaluating a
/// statement should be stored.
struct StmtResult {
@ -3362,6 +3363,7 @@ struct StmtResult {
/// The location containing the result, if any (used to support RVO).
const LValue *Slot;
};
}
static EvalStmtResult EvaluateStmt(StmtResult &Result, EvalInfo &Info,
const Stmt *S,