diff options
author | Tor Lillqvist <tml@collabora.com> | 2017-02-20 13:11:32 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2017-02-20 17:30:40 +0000 |
commit | 962c820d34d0e00dc3d947b17db752110cf35e40 (patch) | |
tree | 16910fe59c9e49cf436741063053d924ad1348dc /compilerplugins | |
parent | bdc6f7254cc3df6c2a5be2f8dd7c0e3b0d140ed2 (diff) |
SAL_DEBUG_TRACE is like SAL_DEBUG
Change-Id: I7b4585259255b9869e5f6ec03fc901db29c10bc8
Reviewed-on: https://gerrit.libreoffice.org/34481
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Diffstat (limited to 'compilerplugins')
-rw-r--r-- | compilerplugins/clang/sallogareas.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compilerplugins/clang/sallogareas.cxx b/compilerplugins/clang/sallogareas.cxx index 512177d4cdb2..a91461b77299 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", |