summaryrefslogtreecommitdiff
path: root/compilerplugins/clang/unusedvariablecheck.cxx
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@suse.cz>2012-10-15 14:58:19 +0200
committerLuboš Luňák <l.lunak@suse.cz>2012-10-15 15:40:33 +0200
commit41d6a0ea2d2d3c8daa758771bf956036d84cbe1a (patch)
treec75bc715ffda0b0dd3496c0c89e081203a1d3945 /compilerplugins/clang/unusedvariablecheck.cxx
parent683928f27cb34fcfaf071fde5c308848ab3b4786 (diff)
some namespacing improvements
Change-Id: I95bd78340519bc1457385561b64c74e938b40bb2
Diffstat (limited to 'compilerplugins/clang/unusedvariablecheck.cxx')
-rw-r--r--compilerplugins/clang/unusedvariablecheck.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/compilerplugins/clang/unusedvariablecheck.cxx b/compilerplugins/clang/unusedvariablecheck.cxx
index 733c2be42d78..340cd9ef863b 100644
--- a/compilerplugins/clang/unusedvariablecheck.cxx
+++ b/compilerplugins/clang/unusedvariablecheck.cxx
@@ -67,7 +67,7 @@ bool UnusedVariableCheck::VisitVarDecl( VarDecl* var )
}
if( !warn_unused )
{
- std::string n = type->getQualifiedNameAsString();
+ string n = type->getQualifiedNameAsString();
// Check some common non-LO types.
if( n == "std::string" || n == "std::basic_string"
|| n == "std::list" || n == "std::__debug::list"