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:
Stephan Bergmann
2017-02-09 10:35:20 +01:00
parent cff6cdb2ee
commit 8458ec8c9c
2 changed files with 14 additions and 4 deletions

View File

@@ -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",