parent
c3a72c2e5f
commit
a8206fc00c
|
@ -3111,7 +3111,7 @@ public:
|
|||
struct FunctionScopeRAII {
|
||||
Sema &S;
|
||||
bool Active;
|
||||
FunctionScopeRAII(Sema &S) : Active(true), S(S) {}
|
||||
FunctionScopeRAII(Sema &S) : S(S), Active(true) {}
|
||||
~FunctionScopeRAII() {
|
||||
if (Active)
|
||||
S.PopFunctionScopeInfo();
|
||||
|
|
Loading…
Reference in New Issue