Move local helper class into anonymous namespace.
llvm-svn: 265364
This commit is contained in:
parent
b10079e936
commit
8921007090
|
@ -3354,6 +3354,7 @@ static bool EvaluateCond(EvalInfo &Info, const VarDecl *CondDecl,
|
||||||
return EvaluateAsBooleanCondition(Cond, Result, Info);
|
return EvaluateAsBooleanCondition(Cond, Result, Info);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
namespace {
|
||||||
/// \brief A location where the result (returned value) of evaluating a
|
/// \brief A location where the result (returned value) of evaluating a
|
||||||
/// statement should be stored.
|
/// statement should be stored.
|
||||||
struct StmtResult {
|
struct StmtResult {
|
||||||
|
@ -3362,6 +3363,7 @@ struct StmtResult {
|
||||||
/// The location containing the result, if any (used to support RVO).
|
/// The location containing the result, if any (used to support RVO).
|
||||||
const LValue *Slot;
|
const LValue *Slot;
|
||||||
};
|
};
|
||||||
|
}
|
||||||
|
|
||||||
static EvalStmtResult EvaluateStmt(StmtResult &Result, EvalInfo &Info,
|
static EvalStmtResult EvaluateStmt(StmtResult &Result, EvalInfo &Info,
|
||||||
const Stmt *S,
|
const Stmt *S,
|
||||||
|
|
Loading…
Reference in New Issue