Fix SAL_DEBUG_BACKTRACE
...after 56d071c10c
"rename SAL_DEBUG_TRACE to
SAL_DEBUG_BACKTRACE" (looks like this doesn't get used much...)
This commit is contained in:
@@ -84,7 +84,7 @@ bool SalLogAreas::VisitCallExpr( const CallExpr* call )
|
||||
loc = source.getImmediateExpansionRange( loc ).first )
|
||||
{
|
||||
StringRef inMacro = Lexer::getImmediateMacroName( loc, source, compiler.getLangOpts());
|
||||
if( inMacro == "SAL_DEBUG" )
|
||||
if( inMacro == "SAL_DEBUG" || inMacro == "SAL_DEBUG_BACKTRACE" )
|
||||
return true; // ok
|
||||
}
|
||||
report( DiagnosticsEngine::Warning, "missing log area",
|
||||
|
Reference in New Issue
Block a user