File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -128,7 +128,10 @@ public void Emit(DiagnosticInfo info)
128128 {
129129 Console . WriteLine ( message ) ;
130130 }
131- Debug . WriteLine ( message ) ;
131+
132+ // Don't output debug messages to VS output window. This is extremely slow.
133+ if ( info . Kind > DiagnosticKind . Debug )
134+ Debug . WriteLine ( message ) ;
132135 }
133136
134137 public void PushIndent ( int level )
Original file line number Diff line number Diff line change @@ -344,7 +344,7 @@ public override bool VisitProperty(Property property)
344344 {
345345 var expr = $ "_S->{ fieldName } = static_cast<AST::{ typeName } >(WalkExpression(S->{ methodName } ()));";
346346
347- if ( fieldName == "base" && typeName is "CXXDependentScopeMemberExpr" )
347+ if ( fieldName == "base" && @class . Name == "CXXDependentScopeMemberExpr" )
348348 {
349349 // Clang asserts that 'getBase()' is not called when 'isImplicitAccess()' returns true
350350 WriteLine ( "if (!S->isImplicitAccess())" ) ;
Original file line number Diff line number Diff line change 1- #include " ../Tests.h"
1+ #pragma once
2+ #include " ../Tests.h"
23#include " AnotherUnit.h"
34
45#ifdef _WIN32
You can’t perform that action at this time.
0 commit comments