forked from OSchip/llvm-project
Reorder initializers in CallStackFrame so that we don't get a warning.
llvm-svn: 281923
This commit is contained in:
parent
92b146e5fa
commit
1197a1612d
|
@ -961,8 +961,8 @@ void SubobjectDesignator::diagnosePointerArithmetic(EvalInfo &Info,
|
|||
CallStackFrame::CallStackFrame(EvalInfo &Info, SourceLocation CallLoc,
|
||||
const FunctionDecl *Callee, const LValue *This,
|
||||
APValue *Arguments)
|
||||
: Info(Info), Caller(Info.CurrentCall), CallLoc(CallLoc), Callee(Callee),
|
||||
Index(Info.NextCallIndex++), This(This), Arguments(Arguments) {
|
||||
: Info(Info), Caller(Info.CurrentCall), Callee(Callee), This(This),
|
||||
Arguments(Arguments), CallLoc(CallLoc), Index(Info.NextCallIndex++) {
|
||||
Info.CurrentCall = this;
|
||||
++Info.CallStackDepth;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue