diff options
Diffstat (limited to 'compilerplugins')
-rw-r--r-- | compilerplugins/clang/badvectorinit.cxx | 2 | ||||
-rw-r--r-- | compilerplugins/clang/getimplementationname.cxx | 6 | ||||
-rw-r--r-- | compilerplugins/clang/unusedmethods.cxx | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/compilerplugins/clang/badvectorinit.cxx b/compilerplugins/clang/badvectorinit.cxx index 7f67ffc3a9b4..b8c2dfe2d985 100644 --- a/compilerplugins/clang/badvectorinit.cxx +++ b/compilerplugins/clang/badvectorinit.cxx @@ -25,7 +25,7 @@ Killing the 1-argument vector fill constructor: in general is probably a Good Thing(tm). It can just be too misleading. Requiring at least the explicit two-value fill constructor for the rare cases where -someone wants a filled vector isnt too much to ask and less prone to +someone wants a filled vector isn't too much to ask and less prone to misunderstandings: std::vector< basebmp::Color > aDevPal(2, basebmp::Color(0,0,0)); diff --git a/compilerplugins/clang/getimplementationname.cxx b/compilerplugins/clang/getimplementationname.cxx index b918dc62da01..7e90b3818011 100644 --- a/compilerplugins/clang/getimplementationname.cxx +++ b/compilerplugins/clang/getimplementationname.cxx @@ -8,7 +8,7 @@ */ // only compile this on unixy system -// as we dont want to bother with x-platform system()/mkdir() +// as we don't want to bother with x-platform system()/mkdir() #if defined(__unix__) // only compile this on clang 3.7 or higher, which is known to work // there were problems on clang 3.5 at least @@ -292,7 +292,7 @@ std::string GetImplementationName::initOutdir() { return result; } report( - clang::DiagnosticsEngine::Error, "WORKDIR unset, dont know where to write service implementation info."); + clang::DiagnosticsEngine::Error, "WORKDIR unset, don't know where to write service implementation info."); return std::string(); } } @@ -302,7 +302,7 @@ std::string GetImplementationName::initSrcdir() { char* pSrcdir = getenv("SRCDIR"); if(!pSrcdir) { report( - clang::DiagnosticsEngine::Error, "SRCDIR unset, dont know where the source base is."); + clang::DiagnosticsEngine::Error, "SRCDIR unset, don't know where the source base is."); } return std::string(pSrcdir); } diff --git a/compilerplugins/clang/unusedmethods.cxx b/compilerplugins/clang/unusedmethods.cxx index b05ffe3dae5d..3649fc6c24dc 100644 --- a/compilerplugins/clang/unusedmethods.cxx +++ b/compilerplugins/clang/unusedmethods.cxx @@ -261,7 +261,7 @@ bool UnusedMethods::VisitCallExpr(CallExpr* expr) } /* expr->dump(); - throw "Cant touch this"; + throw "Can't touch this"; */ return true; } |