compilerplugins/clang/sallogareas.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 962c820d34d0e00dc3d947b17db752110cf35e40 Author: Tor Lillqvist <[email protected]> Date: Mon Feb 20 13:11:32 2017 +0200 SAL_DEBUG_TRACE is like SAL_DEBUG Change-Id: I7b4585259255b9869e5f6ec03fc901db29c10bc8 Reviewed-on: https://gerrit.libreoffice.org/34481 Tested-by: Jenkins <[email protected]> Reviewed-by: Tor Lillqvist <[email protected]> diff --git a/compilerplugins/clang/sallogareas.cxx b/compilerplugins/clang/sallogareas.cxx index 512177d..a91461b 100644 --- a/compilerplugins/clang/sallogareas.cxx +++ b/compilerplugins/clang/sallogareas.cxx @@ -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_TRACE" ) return true; // ok } report( DiagnosticsEngine::Warning, "missing log area", _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
