summaryrefslogtreecommitdiff
path: root/compilerplugins/clang
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2013-04-24 11:42:09 +0300
committerTor Lillqvist <tml@iki.fi>2013-04-24 11:42:09 +0300
commit294ad90704b7b19aa64c26bfa83442a96a31e57b (patch)
tree9748a07b42679bb61623275c39938c93583784b5 /compilerplugins/clang
parent81f077bcf2f1dab1ec72b4707f2e2782100d66eb (diff)
Update location of log-areas.dox
Change-Id: If54a3d7047f13ae9c9345c21737a89afee645403
Diffstat (limited to 'compilerplugins/clang')
-rw-r--r--compilerplugins/clang/sallogareas.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/compilerplugins/clang/sallogareas.cxx b/compilerplugins/clang/sallogareas.cxx
index 7ce64bc76b34..0724ca70150c 100644
--- a/compilerplugins/clang/sallogareas.cxx
+++ b/compilerplugins/clang/sallogareas.cxx
@@ -20,7 +20,7 @@ namespace loplugin
/*
This is a compile check.
-Check area used in SAL_INFO/SAL_WARN macros against the list in sal/inc/sal/log-areas.dox and
+Check area used in SAL_INFO/SAL_WARN macros against the list in include/sal/log-areas.dox and
report if the area is not listed there. The fix is either use a proper area or add it to the list
if appropriate.
*/
@@ -104,14 +104,14 @@ void SalLogAreas::checkArea( StringRef area, SourceLocation location )
readLogAreas();
if( !logAreas.count( area ))
{
- report( DiagnosticsEngine::Warning, "unknown log area '%0' (check or extend sal/inc/sal/log-areas.dox)",
+ report( DiagnosticsEngine::Warning, "unknown log area '%0' (check or extend include/sal/log-areas.dox)",
location ) << area;
}
}
void SalLogAreas::readLogAreas()
{
- ifstream is( SRCDIR "/sal/inc/sal/log-areas.dox" );
+ ifstream is( SRCDIR "/include/sal/log-areas.dox" );
while( is.good())
{
string line;