summaryrefslogtreecommitdiff
path: root/compilerplugins/clang/externandnotdefined.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-06-20 10:26:46 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-06-20 10:26:46 +0200
commit4c0198b02c4a514bc61772d8c671c47c9553fd7a (patch)
tree33a5a91f23f075db507cb88672d96ea760bdc0ec /compilerplugins/clang/externandnotdefined.cxx
parent03ee996717dcf9e20529a6a3295df69d0d86dcce (diff)
reformat some loplugin code
to match our more normal conventions. Also drop the 'using std' and some other cruft Change-Id: I02ef81c5427188bc03a20b157a57a900a9d7bf0d
Diffstat (limited to 'compilerplugins/clang/externandnotdefined.cxx')
-rw-r--r--compilerplugins/clang/externandnotdefined.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/compilerplugins/clang/externandnotdefined.cxx b/compilerplugins/clang/externandnotdefined.cxx
index 2558ec62684d..b15a1c28a06b 100644
--- a/compilerplugins/clang/externandnotdefined.cxx
+++ b/compilerplugins/clang/externandnotdefined.cxx
@@ -45,7 +45,7 @@ bool ExternAndNotDefined::VisitFunctionDecl(const FunctionDecl * functionDecl) {
return true;
}
// this is the bison/flex C API, it has to be defined this way
- string functionName = functionDecl->getNameAsString();
+ std::string functionName = functionDecl->getNameAsString();
if (functionName == "yyerror" || functionName == "YYWarning" || functionName == "yyparse" || functionName == "yylex") {
return true;
}